Руководство Разработчика для Cisco Cisco Virtual Topology System 2.0
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
VTS 2.0 Developer Guide
13
"enable-dhcp": true,
"cidr": "2.2.2.0/24",
"gateway-ip": "2.2.2.1",
"ip-version": "4",
"shared": false --
}
"cidr": "2.2.2.0/24",
"gateway-ip": "2.2.2.1",
"ip-version": "4",
"shared": false --
}
}
GET
Show subnet details associated to one VTS Subnet under topology <topology-
name> of a tenant <tenant-name>.
name> of a tenant <tenant-name>.
https://<vtc-ip>:8888/api/running/cisco-vts/tenants/tenant/<tenant-
name>/topologies/topology/<topology-name>/subnets/subnet/<id
name>/topologies/topology/<topology-name>/subnets/subnet/<id
>
LIST (GET)
Show list of all subnets under topology <topology-name> of a tenant <tenant-
name>.
name>.
https://<vtc-ip>:8888/api/running/cisco-vts/tenants/tenant/<tenant-
name>/topologies/topology/<topology-name>/subnets/subnet/
name>/topologies/topology/<topology-name>/subnets/subnet/
DELETE
Delete subnet under topology <topology-name> of a tenant <tenant-name> and
associated resources.
associated resources.
https://<vtc-ip>:8888/api/running/cisco-vts/tenants/tenant/<tenant-
name>/topologies/topology/<topology-name>/subnets/subnet/<id
name>/topologies/topology/<topology-name>/subnets/subnet/<id
>
4.6 VM Port
Shows/Lists information for creates, updates and deletes of port
Create (PUT)
Create a port in VTS
https://<vtc-ip>:8888/api/running/cisco-vts/tenants/tenant/<tenant-
name>/topologies/topology/<topology-name>/ports/port/<id>
name>/topologies/topology/<topology-name>/ports/port/<id>
Parameter
Value
Description
network-id
uuid
Network ID
id
uuid
port ID
name
String
Port name
status
active/build/down
Network Status
admin-state-
up
up
boolean
Admin state of the network up or
down
down
cidr
String
The CIDR
connid
uuid
Connection id of the device