5 "title": "MultiVIM Service rest API"
7 "basePath": "/api/multicloud/v0/",
10 "name": "MultiVIM services"
14 "/{vimid}/{tenantid}/subnets": {
19 "summary": "create a subnet",
20 "description": "create a subnet",
21 "operationId": "create_vim_subnet",
32 "description": "vim instance id",
39 "description": "tenant UUID",
46 "description": "create vim subnet request param",
49 "$ref": "#/definitions/CreateVimSubnet"
55 "description": "successful operation",
57 "$ref": "#/definitions/VimSubnetInfo"
61 "description": "the vim id or tenant UUID is wrong"
64 "description": "the vim subnet is not accessable"
72 "summary": "query vim subnets list",
73 "description": "query vim subnets list",
74 "operationId": "query_vim_subnets",
85 "description": "vim instance id",
92 "description": "tenant UUID",
99 "description": "subnet name to filter list",
106 "description": "successful operation",
108 "$ref": "#/definitions/VimSubnetsInfo"
112 "description": "the vim id or tenant UUID is wrong"
115 "description": "the vim subnet is not accessable"
120 "/{vimid}/{tenantid}/subnets/{subnetid}": {
125 "summary": "delete specific vim subnet",
126 "description": "delete specific vim subnet",
127 "operationId": "delete_vim_subnet",
138 "description": "vim instance id",
145 "description": "tenant UUID",
152 "description": "vim subnet id",
159 "description": "successful operation"
162 "description": "the vim id or tenant UUID is wrong"
165 "description": "the subnet is not accessable"
173 "summary": "query specific vim subnet",
174 "description": "query specific vim subnet",
175 "operationId": "query_vim_subnet",
186 "description": "vim instance id",
193 "description": "tenant UUID",
200 "description": "vim subnet id",
207 "description": "successful operation",
209 "$ref": "#/definitions/VimSubnetInfo"
213 "description": "the vim id or tenant UUID is wrong"
216 "description": "the vim subnet id is invalid"
234 "description": "network UUID"
238 "description": "subnet name"
242 "description": "subnet CIDR"
246 "description": "IP version: 4 for IPv4, 6 for IPv6"
250 "description": "Enable DHCP or not"
254 "description": "gateway IP address"
258 "description": "DNS Nameservers",
265 "description": "Host route entries",
267 "$ref": "#/definitions/VimHostRouteInfo"
272 "description": "IP address allocation pools",
274 "$ref": "#/definitions/VimIpAllocationPoolInfo"
279 "VimHostRouteInfo": {
284 "description": "destination field of a route entry"
288 "description": "next hop of a route entry"
292 "VimIpAllocationPoolInfo": {
297 "description": "start IP address of a pool"
301 "description": "end IP address of a pool"
321 "description": "tenant UUID"
325 "description": "subnets information",
327 "$ref": "#/definitions/VimSubnetInfo"
345 "description": "subnet name"
349 "description": "subnet UUID"
353 "description": "subnet status"
357 "description": "network UUID"
361 "description": "network name"
365 "description": "subnet CIDR"
369 "description": "IP version: 4 for IPv4, 6 for IPv6"
373 "description": "Enable DHCP or not"
377 "description": "gateway IP address"
381 "description": "DNS Nameservers",
388 "description": "Host route entries",
390 "$ref": "#/definitions/VimHostRouteInfo"
395 "description": "IP address allocation pools",
397 "$ref": "#/definitions/VimIpAllocationPoolInfo"
408 "description": "tenant UUID"
412 "description": "0: Already exist 1: Newly created"