GET /v2/vdc
Returns an array with a list of existing groups.
{
"networks": [
{
"id": "$vdc_id",
"name": "$vdc_name",
"owner": {
"id": "$owner_id",
"name": "$owner_name"
},
"zone": {
"id": "$zone_id",
"name": "$zone_name"
},
"subnets": [
{
"id": "$subnets_id",
"name": "$subnets_name",
"address": "$subnets_address",
"network": {
"id": "$network_id",
"name": "$network_name"
},
"virtual_machines": [
{
"id": "$virtual_machines_id",
"name": "$virtual_machines_name"
}, { ... }
],
"gateways": [
{
"id": "$gateways_id",
"type": "$gateways_type",
"address": {
"id": "$gateways_address_id",
"address": "$gateways_address_address"
},
"subnet": {
"id": "$gateways_subnet_id",
"name": "$gateways_subnet_name"
},
"owner": {
"id": "$gateways_owner_id",
"name": "$gateways_owner_name"
},
"routes": [
{
"id": "$gateways_route_id",
"destination": "$gateways_route_destination",
"routeTable": {
"id": "$gateways_route_routeTable_id"
}
}, { ... }
]
}, { ... }
],
"route_table":
{
"id": "$gateways_route_table_id",
"name": "$gateways_route_name"
}
}, { ... }
],
"route_tables": [
{
"id": "$route_tables_id",
"name": "$route_tables_name",
"network": {
"id": "$route_tables_network_id",
"name": "$route_tables_network_name"
},
"owner": {
"id": "$route_tables_owner_id",
"name": "$route_tables_owner_name"
},
"routes": [
{
"id": "$route_tables_routes_id",
"destination": "$route_tables_routes_destination",
"gateway": {
"id": "$route_tables_routes_gateway_id",
"label": "$route_tables_routes_gateway_label"
}
}, { ... }
]
}, { ... }
]
}, { ... }
]
}
NAT_IPV4, INTERNET_IPV4PUT /v2/vdc
Adds a new group.
{
"zone_id": "$zone_id",
"name": "$name"
}
{
"networks": [
{
"id": "$vdc_id",
"name": "$vdc_name",
"owner": {
"id": "$owner_id",
"name": "$owner_name"
},
"zone": {
"id": "$zone_id",
"name": "$zone_name"
},
"subnets": [
{
"id": "$subnets_id",
"name": "$subnets_name",
"address": "$subnets_address",
"network": {
"id": "$network_id",
"name": "$network_name"
},
"virtual_machines": [
{
"id": "$virtual_machines_id",
"name": "$virtual_machines_name"
}, { ... }
],
"gateways": [
{
"id": "$gateways_id",
"type": "$gateways_type",
"address": {
"id": "$gateways_address_id",
"address": "$gateways_address_address"
},
"subnet": {
"id": "$gateways_subnet_id",
"name": "$gateways_subnet_name"
},
"owner": {
"id": "$gateways_owner_id",
"name": "$gateways_owner_name"
},
"routes": [
{
"id": "$gateways_route_id",
"destination": "$gateways_route_destination",
"routeTable": {
"id": "$gateways_route_routeTable_id"
}
}, { ... }
]
}
],
"route_table":
{
"id": "$gateways_route_table_id",
"name": "$gateways_route_name"
}
}
],
"route_tables": [
{
"id": "$route_tables_id",
"name": "$route_tables_name",
"network": {
"id": "$route_tables_network_id",
"name": "$route_tables_network_name"
},
"owner": {
"id": "$route_tables_owner_id",
"name": "$route_tables_owner_name"
},
"routes": [
{
"id": "$route_tables_routes_id",
"destination": "$route_tables_routes_destination",
"gateway": {
"id": "$route_tables_routes_gateway_id",
"label": "$route_tables_routes_gateway_label"
}
}, { ... }
]
}
]
}
]
}
NAT_IPV4, INTERNET_IPV4GET /v2/vdc/$VDC_ID
Returns information about a single VDC with the specified $VDC_ID.
{
"networks": [
{
"id": "$vdc_id",
"name": "$vdc_name",
"owner": {
"id": "$owner_id",
"name": "$owner_name"
},
"zone": {
"id": "$zone_id",
"name": "$zone_name"
},
"subnets": [
{
"id": "$subnets_id",
"name": "$subnets_name",
"address": "$subnets_address",
"network": {
"id": "$network_id",
"name": "$network_name"
},
"virtual_machines": [
{
"id": "$virtual_machines_id",
"name": "$virtual_machines_name"
}, { ... }
],
"gateways": [
{
"id": "$gateways_id",
"type": "$gateways_type",
"address": {
"id": "$gateways_address_id",
"address": "$gateways_address_address"
},
"subnet": {
"id": "$gateways_subnet_id",
"name": "$gateways_subnet_name"
},
"owner": {
"id": "$gateways_owner_id",
"name": "$gateways_owner_name"
},
"routes": [
{
"id": "$gateways_route_id",
"destination": "$gateways_route_destination",
"routeTable": {
"id": "$gateways_route_routeTable_id"
}
}, { ... }
]
}
],
"route_table":
{
"id": "$gateways_route_table_id",
"name": "$gateways_route_name"
}
}
],
"route_tables": [
{
"id": "$route_tables_id",
"name": "$route_tables_name",
"network": {
"id": "$route_tables_network_id",
"name": "$route_tables_network_name"
},
"owner": {
"id": "$route_tables_owner_id",
"name": "$route_tables_owner_name"
},
"routes": [
{
"id": "$route_tables_routes_id",
"destination": "$route_tables_routes_destination",
"gateway": {
"id": "$route_tables_routes_gateway_id",
"label": "$route_tables_routes_gateway_label"
}
}, { ... }
]
}
]
}
]
}
NAT_IPV4, INTERNET_IPV4GET /v2/vdc/$SUBNET_ID/subnet
Returns information about a single subnet with the specified $SUBNET_ID.
{
"id": "$subnets_id",
"name": "$subnets_name",
"address": "$subnets_address",
"network": {
"id": "$network_id",
"name": "$network_name"
},
"virtual_machines": [
{
"id": "$virtual_machines_id",
"name": "$virtual_machines_name"
}, { ... }
],
"gateways": [
{
"id": "$gateways_id",
"type": "$gateways_type",
"address": {
"id": "$gateways_address_id",
"address": "$gateways_address_address"
},
"subnet": {
"id": "$gateways_subnet_id",
"name": "$gateways_subnet_name"
},
"owner": {
"id": "$gateways_owner_id",
"name": "$gateways_owner_name"
},
"routes": [
{
"id": "$gateways_route_id",
"destination": "$gateways_route_destination",
"routeTable": {
"id": "$gateways_route_routeTable_id"
}
}, { ... }
]
}
],
"route_table":
{
"id": "$gateways_route_table_id",
"name": "$gateways_route_name"
}
}
NAT_IPV4, INTERNET_IPV4GET /v2/vdc/$GATEWAY_ID/gateway
Returns information about a single gateway with the specified $GATEWAY_ID.
{
"id": "$gateways_id",
"type": "$gateways_type",
"address": {
"id": "$gateways_address_id",
"address": "$gateways_address_address"
},
"subnet": {
"id": "$gateways_subnet_id",
"name": "$gateways_subnet_name"
},
"owner": {
"id": "$gateways_owner_id",
"name": "$gateways_owner_name"
},
"routes": [
{
"id": "$gateways_route_id",
"destination": "$gateways_route_destination",
"routeTable": {
"id": "$gateways_route_routeTable_id"
}
}, { ... }
]
}
NAT_IPV4, INTERNET_IPV4GET /v2/vdc/$ROUTE_TABLE_ID/route_table
Returns information about a single VDC routing table with the specified $ROUTE_TABLE_ID.
{
"id": "$route_tables_id",
"name": "$route_tables_name",
"network": {
"id": "$route_tables_network_id",
"name": "$route_tables_network_name"
},
"owner": {
"id": "$route_tables_owner_id",
"name": "$route_tables_owner_name"
},
"routes": [
{
"id": "$route_tables_routes_id",
"destination": "$route_tables_routes_destination",
"gateway": {
"id": "$route_tables_routes_gateway_id",
"label": "$route_tables_routes_gateway_label"
}
}, { ... }
]
}
PUT /v2/vdc/$VDC_ID/subnet
Adds a new subnet to the virtual data center $VDC_ID.
{
"name": "$name",
"address": "$address"
}
{
"id": "$subnets_id",
"name": "$subnets_name",
"address": "$subnets_address",
"network": {
"id": "$network_id",
"name": "$network_name"
},
"virtual_machines": [
{
"id": "$virtual_machines_id",
"name": "$virtual_machines_name"
}, { ... }
],
"gateways": [
{
"id": "$gateways_id",
"type": "$gateways_type",
"address": {
"id": "$gateways_address_id",
"address": "$gateways_address_address"
},
"subnet": {
"id": "$gateways_subnet_id",
"name": "$gateways_subnet_name"
},
"owner": {
"id": "$gateways_owner_id",
"name": "$gateways_owner_name"
},
"routes": [
{
"id": "$gateways_route_id",
"destination": "$gateways_route_destination",
"routeTable": {
"id": "$gateways_route_routeTable_id"
}
}, { ... }
]
}
],
"route_table":
{
"id": "$gateways_route_table_id",
"name": "$gateways_route_name"
}
}
NAT_IPV4, INTERNET_IPV4PUT /v2/vdc/$SUBNET_ID/gateway
Adds a new gateway to the subnet $SUBNET_ID.
{
"type": "type",
"name": "$name",
"address_id": "$address_id"
}
NAT_IPV4, INTERNET_IPV4{
"id": "$gateways_id",
"type": "$gateways_type",
"address": {
"id": "$gateways_address_id",
"address": "$gateways_address_address"
},
"subnet": {
"id": "$gateways_subnet_id",
"name": "$gateways_subnet_name"
},
"owner": {
"id": "$gateways_owner_id",
"name": "$gateways_owner_name"
},
"routes": [
{
"id": "$gateways_route_id",
"destination": "$gateways_route_destination",
"routeTable": {
"id": "$gateways_route_routeTable_id"
}
}
]
}
NAT_IPV4, INTERNET_IPV4PUT /v2/vdc/$VDC_ID/route_table
Adds a new routing table to the virtual data center $VDC_ID.
{
"name": "$name"
}
{
"id": "$route_tables_id",
"name": "$route_tables_name",
"network": {
"id": "$route_tables_network_id",
"name": "$route_tables_network_name"
},
"owner": {
"id": "$route_tables_owner_id",
"name": "$route_tables_owner_name"
},
"routes": [
{
"id": "$route_tables_routes_id",
"destination": "$route_tables_routes_destination",
"gateway": {
"id": "$route_tables_routes_gateway_id",
"label": "$route_tables_routes_gateway_label"
}
}, { ... }
]
}
PUT /v2/vdc/$ROUTE_TABLE_ID/route
Adds a new route to the routing table $ROUTE_TABLE_ID.
{
"gateway_id": "$gateway_id",
"destination": "$destination"
}
{
"id": "$route_tables_id",
"name": "$route_tables_name",
"network": {
"id": "$route_tables_network_id",
"name": "$route_tables_network_name"
},
"owner": {
"id": "$route_tables_owner_id",
"name": "$route_tables_owner_name"
},
"routes": [
{
"id": "$route_tables_routes_id",
"destination": "$route_tables_routes_destination",
"gateway": {
"id": "$route_tables_routes_gateway_id",
"label": "$route_tables_routes_gateway_label"
}
}, { ... }
]
}
PUT /v2/vdc/$SUBNET_ID/attach-route-table
Attaches a routing table to the subnet $SUBNET_ID.
{
"route_table_id": "$route_table_id"
}
{
"success":true
}
PUT /v2/vdc/$SUBNET_ID/detach-route-table
Detaches a routing table from the subnet $SUBNET_ID.
{
"route_table_id": "$route_table_id"
}
{
"success":true
}
PUT /v2/vdc/$ID/rename
Changes the name of the resource $ID, which can be vdc_id, subnet_id, gateway_id, or route_table_id.
{
"name": "$name"
}
{
"success":true
}
DELETE DELETE /v2/vdc/$VDC_ID/vdc
Adds a task to delete the VDC with the specified $VDC_ID.
{
"success":true
}
DELETE DELETE /v2/vdc/$SUBNET_ID/subnet
Adds a task to delete the subnet with the specified $SUBNET_ID.
{
"success":true
}
DELETE DELETE /v2/vdc/$GATEWAY_ID/gateway
Adds a task to delete the gateway with the specified $GATEWAY_ID.
{
"success":true
}
DELETE DELETE /v2/vdc/$ROUTE_TABLE_ID/route-table
Adds a task to delete the routing table with the specified $ROUTE_TABLE_ID.
{
"success":true
}
DELETE DELETE /v2/vdc/$ROUTE_ID/route
Adds a task to delete the route with the specified $ROUTE_ID.
{
"success":true
}