2 This work is licensed under a Creative Commons Attribution 4.0
5 ================================
6 MultiCloud API Specification V1
7 ================================
14 `2. Terms, Definitions and Abbreviations`_
16 `3. Image Management`_
42 `4. Network Management`_
44 `4.1. Create Network`_
50 `4.2. Delete Network`_
68 `5. Subnetwork Management`_
70 `5.1. Create Subnets`_
76 `5.2. Delete Subnets`_
96 `6.1. Create Virtual Port`_
102 `6.2. Delete Virtual Port`_
108 `6.3. List Virtual Port`_
114 `6.4. Get Virtual Port`_
120 `7. Server Management`_
122 `7.1. Create Server`_
128 `7.2. Delete Server`_
146 `8. Flavor Management`_
148 `8.1. Create Flavor`_
154 `8.2. Delete Flavor`_
172 `9. Volume Management`_
174 `9.1. Create Volume`_
180 `9.2. Delete Volume`_
198 `10. Tenant Management`_
200 `10.1. List tenants`_
208 `11.1. List Limits of resouces`_
214 `12. Host Management`_
228 `13. VIM Management`_
230 `13.1. Update VIM Info`_
236 `13.2. Unregistry VIM`_
246 The scope of the present document is to describe the VIM Driver API
249 2. **Terms, Definitions and Abbreviations**
250 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
252 For the purposes of the present document, the following abbreviations
255 +--------------------+-------------------------------------------------------------+
256 | **Abbreviation** | |
257 +====================+=============================================================+
258 | NFVO | Network Functions Virtualization Orchestrator |
259 +--------------------+-------------------------------------------------------------+
260 | VNFM | Virtual Network Function Management |
261 +--------------------+-------------------------------------------------------------+
262 | VIM | Virtualized Infrastructure Manager |
263 +--------------------+-------------------------------------------------------------+
264 | MultiVIM | MultVIM driver services for OPEN-O to drive VIM instances |
265 +--------------------+-------------------------------------------------------------+
267 3. **Image Management**
268 ^^^^^^^^^^^^^^^^^^^^^^^
270 3.1. **Create Image**
271 ---------------------
273 +---------------------+-------------------------------------------------------------------------------+
274 | **IF Definition** | **Description** |
275 +=====================+===============================================================================+
276 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}_{region}/{tenantid}/images |
277 +---------------------+-------------------------------------------------------------------------------+
279 +---------------------+-------------------------------------------------------------------------------+
280 | Direction | NSLCM->MULTIVIM |
281 +---------------------+-------------------------------------------------------------------------------+
282 | Description | Create Image and Upload the image file to the VIM |
283 +---------------------+-------------------------------------------------------------------------------+
288 +-------------------+-----------------+-------------------+---------------------------+--------------------------------------------------------------------------------------------------+
289 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
290 +===================+=================+===================+===========================+==================================================================================================+
291 | name | M | 1 | String | Image Name |
292 +-------------------+-----------------+-------------------+---------------------------+--------------------------------------------------------------------------------------------------+
293 | imagePath | M | 1 | String | Image Local Path from catalog |
294 +-------------------+-----------------+-------------------+---------------------------+--------------------------------------------------------------------------------------------------+
295 | imageType | M | 1 | String | Image Type |
297 | | | | | ami, ari, aki, vhd, vhdx, vmdk, raw, qcow2, vdi, iso |
298 +-------------------+-----------------+-------------------+---------------------------+--------------------------------------------------------------------------------------------------+
299 | containerFormat | M | 1 | string | ami, ari, aki, bare, ovf, ova,  docker |
300 +-------------------+-----------------+-------------------+---------------------------+--------------------------------------------------------------------------------------------------+
301 | visibility | O | 1 | string | Visibility for this image. |
303 | | | | | public, private, shared, or community |
304 +-------------------+-----------------+-------------------+---------------------------+--------------------------------------------------------------------------------------------------+
305 | properties | O | 0..N | List of key-value pairs | Examples:--property vmware_disktype=streamOptimized --property vmware_adaptertype="lsiLogic" |
306 +-------------------+-----------------+-------------------+---------------------------+--------------------------------------------------------------------------------------------------+
312 "imageName": "cirros",
314 "imagePath": "/home/cirros.qcow2",
318 "containerFormat":"bare"
325 +-------------------+-----------------+-------------------+---------------------------+--------------------------------------------------------+
326 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
327 +===================+=================+===================+===========================+========================================================+
328 | id | M | 1 | String | Image UUID in the VIM |
329 +-------------------+-----------------+-------------------+---------------------------+--------------------------------------------------------+
330 | name | M | 1 | String | Image Name |
331 +-------------------+-----------------+-------------------+---------------------------+--------------------------------------------------------+
332 | returnCode | M | 1 | Int | 0: Already exist 1: Newly created |
333 +-------------------+-----------------+-------------------+---------------------------+--------------------------------------------------------+
334 | imageType | M | 1 | String | Image Type |
336 | | | | | ami, ari, aki, vhd, vhdx, vmdk, raw, qcow2, vdi, iso |
337 +-------------------+-----------------+-------------------+---------------------------+--------------------------------------------------------+
338 | containerFormat | M | 1 | string | ami, ari, aki, bare, ovf, ova,  docker |
339 +-------------------+-----------------+-------------------+---------------------------+--------------------------------------------------------+
340 | visibility | O | 1 | string | Visibility for this image. |
342 | | | | | public, private, shared, or community |
343 +-------------------+-----------------+-------------------+---------------------------+--------------------------------------------------------+
344 | properties | O | 0..N | List of key-value pairs | |
345 +-------------------+-----------------+-------------------+---------------------------+--------------------------------------------------------+
346 | vimid | M | 1 | String | vim id |
347 +-------------------+-----------------+-------------------+---------------------------+--------------------------------------------------------+
348 | vimName | O | 1 | string | vim name |
349 +-------------------+-----------------+-------------------+---------------------------+--------------------------------------------------------+
350 | tenantId | M | 1 | String | Tenant UUID |
351 +-------------------+-----------------+-------------------+---------------------------+--------------------------------------------------------+
360 "id": "3c9eebdbbfd345658269340b9ea6fb73",
365 3.2. **Delete Image**
366 ---------------------
368 +---------------------+-----------------------------------------------------------------------------------------+
369 | **IF Definition** | **Description** |
370 +=====================+=========================================================================================+
371 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}_{region}/{tenantid}/images/{imageId} |
372 +---------------------+-----------------------------------------------------------------------------------------+
373 | Operation | Delete |
374 +---------------------+-----------------------------------------------------------------------------------------+
375 | Direction | NSLCM->MULTIVIM |
376 +---------------------+-----------------------------------------------------------------------------------------+
377 | Description | Delete Image |
378 +---------------------+-----------------------------------------------------------------------------------------+
393 +---------------------+-------------------------------------------------------------------------------+
394 | **IF Definition** | **Description** |
395 +=====================+===============================================================================+
396 | URI | msb.onap.org:80/api/multicloud/v0/{cloud_owner}\_{region}/{tenantid}/images |
397 +---------------------+-------------------------------------------------------------------------------+
399 +---------------------+-------------------------------------------------------------------------------+
400 | Direction | NSLCM->MULTIVIM |
401 +---------------------+-------------------------------------------------------------------------------+
402 | Description | Query Image list |
403 +---------------------+-------------------------------------------------------------------------------+
408 +-----------------+-----------------+-------------------+---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
409 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
410 +=================+=================+===================+===============+==================================================================================================================================================================================================================================================================+
411 | limit | O | 1 | integer | Requests a page size of items. Returns a number of items up to a limit value. Use the limit parameter to make an initial limited request and use the ID of the last-seen item from the response as the marker parameter value in a subsequent limited request. |
412 +-----------------+-----------------+-------------------+---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
413 | marker | O | 1 | string | The ID of the last-seen item. Use the limit parameter to make an initial limited request and use the ID of the last-seen item from the response as the marker parameter value in a subsequent limited request. |
414 +-----------------+-----------------+-------------------+---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
415 | name | O | 1 | String | Filters the response by a name, as a string. A valid value is the name of an image |
416 +-----------------+-----------------+-------------------+---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
421 +-------------------------------------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
422 | \ **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
423 +=================================================+=================+===================+===============+========================================================+
424 | images | M | 0..N | List | Image List |
425 +-------------------------------------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
426 | id | M | 1 | String | Image ID |
427 +-------------------------------------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
428 | size | M | 1 | int | Image Size |
429 +-------------------------------------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
430 | name | M | 1 | String | Image Name |
431 +-------------------------------------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
432 | status | M | 1 | String | Image Status |
433 +-------------------------------------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
434 | imageType | M | 1 | String | Image Type |
436 | | | | | ami, ari, aki, vhd, vhdx, vmdk, raw, qcow2, vdi, iso |
437 +-------------------------------------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
438 | containerFormat | M | 1 | string | ami, ari, aki, bare, ovf, ova,  docker |
439 +-------------------------------------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
440 | visibility | O | 1 | string | Visibility for this image. |
442 | | | | | public, private, shared, or community |
443 +-------------------------------------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
444 | vimId | M | 1 | String | vim id |
445 +-------------------------------------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
446 | vimName | O | 1 | string | vim name |
447 +-------------------------------------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
448 | tenantId | M | 1 | String | Tenant UUID |
449 +-------------------------------------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
462 "id": "5e2757c1-f846-4727-915c-9a872553ed75",
464 "name": "vim-plus-cgsl40g-z.qcow2"
472 +---------------------+-----------------------------------------------------------------------------------------+
473 | **IF Definition** | **Description** |
474 +=====================+=========================================================================================+
475 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/images/{imageid} |
476 +---------------------+-----------------------------------------------------------------------------------------+
478 +---------------------+-----------------------------------------------------------------------------------------+
479 | Direction | NSLCM->MULTIVIM |
480 +---------------------+-----------------------------------------------------------------------------------------+
481 | Description | Query Image Information |
482 +---------------------+-----------------------------------------------------------------------------------------+
492 +-------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
493 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
494 +===================+=================+===================+===============+========================================================+
495 | id | M | 1 | String | Image ID |
496 +-------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
497 | size | M | 1 | int | Image Size |
498 +-------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
499 | name | M | 1 | String | Image Name |
500 +-------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
501 | status | M | 1 | String | Image Status |
502 +-------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
503 | imageType | M | 1 | String | Image Type |
505 | | | | | ami, ari, aki, vhd, vhdx, vmdk, raw, qcow2, vdi, iso |
506 +-------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
507 | containerFormat | M | 1 | string | ami, ari, aki, bare, ovf, ova,  docker |
508 +-------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
509 | visibility | O | 1 | string | Visibility for this image. |
511 | | | | | public, private, shared, or community |
512 +-------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
513 | vimId | M | 1 | String | vim id |
514 +-------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
515 | vimName | M | 1 | string | vim name |
516 +-------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
517 | tenantId | M | 1 | String | Tenant UUID |
518 +-------------------+-----------------+-------------------+---------------+--------------------------------------------------------+
530 "id": "5e2757c1-f846-4727-915c-9a872553ed75",
532 "name": "vim-plus-cgsl40g-z.qcow2"
535 4. **Network Management**
536 ^^^^^^^^^^^^^^^^^^^^^^^^^
538 4.1. **Create Network**
539 -----------------------
541 +---------------------+---------------------------------------------------------------------------------+
542 | **IF Definition** | **Description** |
543 +=====================+=================================================================================+
544 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/networks |
545 +---------------------+---------------------------------------------------------------------------------+
547 +---------------------+---------------------------------------------------------------------------------+
548 | Direction | VNFLCM,NSLCM->MULTIVIM |
549 +---------------------+---------------------------------------------------------------------------------+
550 | Description | Create network and subnetwork on the VIM |
551 +---------------------+---------------------------------------------------------------------------------+
556 +-----------------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
557 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
558 +=============================+=================+===================+===============+===========================================================================================================================================================================================================================================================================================+
559 | name | M | 1 | String | Logical network name |
560 +-----------------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
561 | shared | M | 1 | boolean | Whether to share(1:sharing;0:private) |
562 +-----------------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
563 | vlanTransparent | O | 1 | boolean | Whether to support VLAN pass through(1:true;0:false) |
564 +-----------------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
565 | networkType | O | 1 | String | Network type |
567 | | | | | flat, vlan, vxlan, gre, |
569 | | | | | portgroup |
570 +-----------------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
571 | segmentationId | O | 1 | Int | id of paragraph |
572 +-----------------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
573 | physicalNetwork | O | 1 | string | The physical network where this network should be implemented. The Networking API v2.0 does not provide a way to list available physical networks. For example, the Open vSwitch plug-in configuration file defines a symbolic name that maps to specific bridges on each compute host. |
574 +-----------------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
575 | routerExternal | O | 1 | boolean |Indicates whether this network can provide floating IPs via a router. |
576 +-----------------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
582 "networkName": "ommnet",
584 "vlanTransparent": 1,
585 "networkType": "vlan",
586 "segmentationId": 202,
587 "physicalNetwork": "ctrl",
594 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
595 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
596 +===================+=================+===================+===============+===========================================================================================================================================================================================================================================================================================+
597 | status | M | 1 | string | Network status |
598 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
599 | id | M | 1 | string | Network id |
600 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
601 | name | M | 1 | string | Network name |
602 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
603 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
604 | tenantId | M | 1 | String | Tenant UUID |
605 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
606 | segmentationId | O | 1 | int | Segmentation id |
607 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
608 | networkType | O | 1 | string | Network type |
609 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
610 | physicalNetwork | O | 1 | string | The physical network where this network should be implemented. The Networking API v2.0 does not provide a way to list available physical networks. For example, the Open vSwitch plug-in configuration file defines a symbolic name that maps to specific bridges on each compute host. |
611 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
612 | vlanTransparent | O | 1 | boolean | Whether to support VLAN pass through(1:true;0:false) |
613 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
614 | shared | O | 1 | boolean | Whether to share(1:sharing;0:private) |
615 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
616 | routerExternal | O | 1 | boolean | Indicates whether this network can provide floating IPs via a router. |
617 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
618 | returnCode | M | 1 | int | 0: Already exist 1: Newly created |
619 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
620 | vimId | M | 1 | String | vim id |
621 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
622 | vimName | O | 1 | string | vim name |
623 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
636 "id": "3c9eebdbbfd345658269340b9ea6fb73",
639 "networkName": "ommnet",
641 "vlanTransparent": 1,
642 "networkType": "vlan",
643 "segmentationId": 202,
644 "physicalNetwork": "ctrl",
648 4.2. **Delete Network**
649 -----------------------
651 +---------------------+---------------------------------------------------------------------------------------------+
652 | **IF Definition** | **Description** |
653 +=====================+=============================================================================================+
654 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/networks/{networkId} |
655 +---------------------+---------------------------------------------------------------------------------------------+
656 | Operation | Delete |
657 +---------------------+---------------------------------------------------------------------------------------------+
658 | Direction | NFLCM,NSLCM->MULTIVIM |
659 +---------------------+---------------------------------------------------------------------------------------------+
671 4.3. **List Network**
672 ---------------------
674 +---------------------+---------------------------------------------------------------------------------+
675 | **IF Definition** | **Description** |
676 +=====================+=================================================================================+
677 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/networks |
678 +---------------------+---------------------------------------------------------------------------------+
680 +---------------------+---------------------------------------------------------------------------------+
681 | Direction | NFLCM,NSLCM->MULTIVIM |
682 +---------------------+---------------------------------------------------------------------------------+
687 +-----------------+-----------------+-------------------+---------------+---------------------------------------------------------------------------------------+
688 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
689 +=================+=================+===================+===============+=======================================================================================+
690 | name | O | 1 | String | Filters the response by a name, as a string. A valid value is the name of a network |
691 +-----------------+-----------------+-------------------+---------------+---------------------------------------------------------------------------------------+
696 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
697 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
698 +===================+=================+===================+===============+===========================================================================================================================================================================================================================================================================================+
699 | vimId | M | 1 | String | vim id |
700 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
701 | vimName | O | 1 | string | vim name |
702 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
703 | networks | | 0..N | List | Network list |
704 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
705 | status | M | 1 | string | Network status |
706 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
707 | id | M | 1 | string | Network id |
708 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
709 | name | M | 1 | string | Network name |
710 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
711 | tenantId | M | 1 | String | Tenant UUID |
712 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
713 | segmentationId | O | 1 | int | Segmentation id |
714 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
715 | networkType | O | 1 | string | Network type |
716 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
717 | physicalNetwork | O | 1 | string | The physical network where this network should be implemented. The Networking API v2.0 does not provide a way to list available physical networks. For example, the Open vSwitch plug-in configuration file defines a symbolic name that maps to specific bridges on each compute host. |
718 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
719 | vlanTransparent | O | 1 | boolean | Whether to support VLAN pass through(1:true;0:false) |
720 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
721 | shared | O | 1 | boolean | Whether to share(1:sharing;0:private) |
722 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
723 | routerExternal | O | 1 | boolean | Indicates whether this network can provide floating IPs via a router. |
724 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
744 "id": "3c9eebdbbfd345658269340b9ea6fb73",
750 "networkName": "ommnet",
754 "vlanTransparent": 1,
756 "networkType": "vlan",
758 "segmentationId": 202,
760 "physicalNetwork ": "ctrl",
771 +---------------------+---------------------------------------------------------------------------------------------+
772 | **IF Definition** | **Description** |
773 +=====================+=============================================================================================+
774 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/networks/{networkId} |
775 +---------------------+---------------------------------------------------------------------------------------------+
777 +---------------------+---------------------------------------------------------------------------------------------+
778 | Direction | NFLCM,NSLCM->MULTIVIM |
779 +---------------------+---------------------------------------------------------------------------------------------+
789 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
790 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
791 +===================+=================+===================+===============+===========================================================================================================================================================================================================================================================================================+
792 | status | M | 1 | string | Network status |
793 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
794 | id | M | 1 | string | Network id |
795 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
796 | name | M | 1 | string | Network name |
797 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
798 | tenantId | M | 1 | String | Tenant UUID |
799 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
800 | segmentationId | O | 1 | int | Segmentation id |
801 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
802 | networkType | O | 1 | string | Network type |
803 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
804 | physicalNetwork | O | 1 | string | The physical network where this network should be implemented. The Networking API v2.0 does not provide a way to list available physical networks. For example, the Open vSwitch plug-in configuration file defines a symbolic name that maps to specific bridges on each compute host. |
805 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
806 | vlanTransparent | O | 1 | boolean | Whether to support VLAN pass through(1:true;0:false) |
807 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
808 | shared | O | 1 | boolean | Whether to share(1:sharing;0:private) |
809 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
810 | routerExternal | O | 1 | boolean | Indicates whether this network can provide floating IPs via a router. |
811 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
812 | returnCode | M | 1 | int | 0: Already exist 1: Newly created |
813 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
814 | vimId | M | 1 | String | vim id |
815 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
816 | vimName | O | 1 | string | vim name |
817 +-------------------+-----------------+-------------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
833 "id": "3c9eebdbbfd345658269340b9ea6fb73",
839 "networkName": "ommnet",
843 "vlanTransparent": 1,
845 "networkType":"vlan",
847 "segmentationId":202,
849 "physicalNetwork ":"ctrl",
855 5. **Subnetwork Management**
856 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
858 5.1. **Create Subnets**
859 -----------------------
861 +---------------------+--------------------------------------------------------------------------------+
862 | **IF Definition** | **Description** |
863 +=====================+================================================================================+
864 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/subnets |
865 +---------------------+--------------------------------------------------------------------------------+
867 +---------------------+--------------------------------------------------------------------------------+
868 | Direction | VNFLCM,NSLCM->MULTIVIM |
869 +---------------------+--------------------------------------------------------------------------------+
870 | Description | Create network and subnetwork on the VIM |
871 +---------------------+--------------------------------------------------------------------------------+
876 +-------------------+-----------------+-------------------+------------------------+----------------------+
877 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
878 +===================+=================+===================+========================+======================+
879 | networkId | M | 1 | String | Network Id |
880 +-------------------+-----------------+-------------------+------------------------+----------------------+
881 | name | M | 1 | String | SubnetName |
882 +-------------------+-----------------+-------------------+------------------------+----------------------+
883 | cidr | M | 1 | String | Subnet cidr |
884 +-------------------+-----------------+-------------------+------------------------+----------------------+
885 | ipVersion | M | 1 | Int | Ip type |
888 +-------------------+-----------------+-------------------+------------------------+----------------------+
889 | enableDhcp | O | 1 | boolean | Whether to allow |
891 | | | | | 1: yes;0: no |
892 +-------------------+-----------------+-------------------+------------------------+----------------------+
893 | gatewayIp | O | 1 | String | Gateway ip |
894 +-------------------+-----------------+-------------------+------------------------+----------------------+
895 | dnsNameservers | O | 1..n | List of servers | List of servers |
896 +-------------------+-----------------+-------------------+------------------------+----------------------+
897 | hostRoutes | O | 1..n | List of routes | List of routes |
898 +-------------------+-----------------+-------------------+------------------------+----------------------+
899 | allocationPools | O | 1..n | list of "allocation" | list of allocation |
900 +-------------------+-----------------+-------------------+------------------------+----------------------+
901 | -->allocation | | | | |
902 +-------------------+-----------------+-------------------+------------------------+----------------------+
903 | -->start | O | 1 | String | Start ip |
904 +-------------------+-----------------+-------------------+------------------------+----------------------+
905 | -->end | O | 1 | String | End ip |
906 +-------------------+-----------------+-------------------+------------------------+----------------------+
914 "network_id": "d32019d3-bc6e-4319-9c1d-6722fc136a22",
916 "subnetName": "subnet1",
918 "cidr": "10.43.35.0/24",
924 "gatewayIp": "10.43.35.1",
926 "dnsNameservers": [],
928 "allocationPools": [{
930 "start": "192.168.199.2",
932 "end": "192.168.199.254"
943 +-------------------+-----------------+-------------------+------------------------+-------------------------------------+
944 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
945 +===================+=================+===================+========================+=====================================+
946 | returnCode | M | 1 | int | 0: Already exist 1: Newly created |
947 +-------------------+-----------------+-------------------+------------------------+-------------------------------------+
948 | vimId | M | 1 | String | vim id |
949 +-------------------+-----------------+-------------------+------------------------+-------------------------------------+
950 | vimName | O | 1 | string | vim name |
951 +-------------------+-----------------+-------------------+------------------------+-------------------------------------+
952 | status | M | 1 | string | subnetwork status |
953 +-------------------+-----------------+-------------------+------------------------+-------------------------------------+
954 | id | M | 1 | string | subNetwork id |
955 +-------------------+-----------------+-------------------+------------------------+-------------------------------------+
956 | tenantId | M | 1 | String | Tenant UUID |
957 +-------------------+-----------------+-------------------+------------------------+-------------------------------------+
958 | networkId | O | 1 | String | Network Id |
959 +-------------------+-----------------+-------------------+------------------------+-------------------------------------+
960 | networkName | O | 1 | String | Network Name |
961 +-------------------+-----------------+-------------------+------------------------+-------------------------------------+
962 | name | M | 1 | String | SubnetName |
963 +-------------------+-----------------+-------------------+------------------------+-------------------------------------+
964 | cidr | M | 1 | String | Subnet cidr |
965 +-------------------+-----------------+-------------------+------------------------+-------------------------------------+
966 | ipVersion | M | 1 | Int | Ip type |
969 +-------------------+-----------------+-------------------+------------------------+-------------------------------------+
970 | enableDhcp | O | 1 | boolean | Whether to allow |
972 | | | | | 1: yes;0: no |
973 +-------------------+-----------------+-------------------+------------------------+-------------------------------------+
974 | gatewayIp | O | 1 | String | Gateway ip |
975 +-------------------+-----------------+-------------------+------------------------+-------------------------------------+
976 | dnsNameservers | O | 1..n | List of servers | List of servers |
977 +-------------------+-----------------+-------------------+------------------------+-------------------------------------+
978 | hostRoutes | O | 1..n | List of routes | List of routes |
979 +-------------------+-----------------+-------------------+------------------------+-------------------------------------+
980 | allocationPools | O | 1..n | list of "allocation" | list of allocation |
981 +-------------------+-----------------+-------------------+------------------------+-------------------------------------+
982 | -->allocation | | | | |
983 +-------------------+-----------------+-------------------+------------------------+-------------------------------------+
984 | -->start | O | 1 | String | Start ip |
985 +-------------------+-----------------+-------------------+------------------------+-------------------------------------+
986 | -->end | O | 1 | String | End ip |
987 +-------------------+-----------------+-------------------+------------------------+-------------------------------------+
1003 "status": " ACTIVE",
1005 "id": " d62019d3-bc6e-4319-9c1d-6722fc136a23",
1007 "tenant": "tenant1",
1009 "network_id": "d32019d3-bc6e-4319-9c1d-6722fc136a22",
1013 "cidr": "10.43.35.0/24",
1019 "gatewayIp": "10.43.35.1",
1021 "dnsNameservers": [],
1023 "allocationPools": [{
1025 "start": "192.168.199.2",
1027 "end": "192.168.199.254"
1035 5.2. **Delete Subnets**
1036 -----------------------
1038 +---------------------+-------------------------------------------------------------------------------------------+
1039 | **IF Definition** | **Description** |
1040 +=====================+===========================================================================================+
1041 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/subnets/{subnetId} |
1042 +---------------------+-------------------------------------------------------------------------------------------+
1043 | Operation | Delete |
1044 +---------------------+-------------------------------------------------------------------------------------------+
1045 | Direction | NFLCM,NSLCM->MULTIVIM |
1046 +---------------------+-------------------------------------------------------------------------------------------+
1058 5.3. **List Subnets**
1059 ---------------------
1061 +---------------------+--------------------------------------------------------------------------------+
1062 | **IF Definition** | **Description** |
1063 +=====================+================================================================================+
1064 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/subnets |
1065 +---------------------+--------------------------------------------------------------------------------+
1067 +---------------------+--------------------------------------------------------------------------------+
1068 | Direction | NFLCM,NSLCM->MULTIVIM |
1069 +---------------------+--------------------------------------------------------------------------------+
1074 msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/subnets?{……}
1076 +-----------------+-----------------+-------------------+---------------+------------------------------------------------------------------------------------------------+
1077 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1078 +=================+=================+===================+===============+================================================================================================+
1079 | name | O | 1 | String | Filters fields of the response by a name, as a string. A valid value is the name of a subnet |
1080 +-----------------+-----------------+-------------------+---------------+------------------------------------------------------------------------------------------------+
1085 +-------------------+-----------------+-------------------+------------------------+----------------------+
1086 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1087 +===================+=================+===================+========================+======================+
1088 | vimId | M | 1 | String | vim id |
1089 +-------------------+-----------------+-------------------+------------------------+----------------------+
1090 | vimName | O | 1 | string | vim name |
1091 +-------------------+-----------------+-------------------+------------------------+----------------------+
1092 | subnets | M | 0..N | List | Network list |
1093 +-------------------+-----------------+-------------------+------------------------+----------------------+
1094 | status | | 1 | string | subnetwork status |
1095 +-------------------+-----------------+-------------------+------------------------+----------------------+
1096 | id | | 1 | string | subNetwork id |
1097 +-------------------+-----------------+-------------------+------------------------+----------------------+
1098 | tenantId | M | 1 | String | Tenant UUID |
1099 +-------------------+-----------------+-------------------+------------------------+----------------------+
1100 | networkId | O | 1 | String | Network Id |
1101 +-------------------+-----------------+-------------------+------------------------+----------------------+
1102 | networkName | O | 1 | String | Network Name |
1103 +-------------------+-----------------+-------------------+------------------------+----------------------+
1104 | name | M | 1 | String | SubnetName |
1105 +-------------------+-----------------+-------------------+------------------------+----------------------+
1106 | cidr | M | 1 | String | Subnet cidr |
1107 +-------------------+-----------------+-------------------+------------------------+----------------------+
1108 | ipVersion | M | 1 | Int | Ip type |
1111 +-------------------+-----------------+-------------------+------------------------+----------------------+
1112 | enableDhcp | O | 1 | boolean | Whether to allow |
1114 | | | | | 1: yes;0: no |
1115 +-------------------+-----------------+-------------------+------------------------+----------------------+
1116 | gatewayIp | O | 1 | String | Gateway ip |
1117 +-------------------+-----------------+-------------------+------------------------+----------------------+
1118 | dnsNameservers | O | 1..n | List of servers | List of servers |
1119 +-------------------+-----------------+-------------------+------------------------+----------------------+
1120 | hostRoutes | O | 1..n | List of routes | List of routes |
1121 +-------------------+-----------------+-------------------+------------------------+----------------------+
1122 | allocationPools | O | 1..n | list of "allocation" | list of allocation |
1123 +-------------------+-----------------+-------------------+------------------------+----------------------+
1124 | -->allocation | | | | |
1125 +-------------------+-----------------+-------------------+------------------------+----------------------+
1126 | -->start | O | 1 | String | Start ip |
1127 +-------------------+-----------------+-------------------+------------------------+----------------------+
1128 | -->end | O | 1 | String | End ip |
1129 +-------------------+-----------------+-------------------+------------------------+----------------------+
1147 "status": " ACTIVE",
1149 "id": " d62019d3-bc6e-4319-9c1d-6722fc136a23",
1151 "tenant": "tenant1",
1153 "network_id": "d32019d3-bc6e-4319-9c1d-6722fc136a22",
1157 "cidr": "10.43.35.0/24",
1163 "gatewayIp": "10.43.35.1",
1165 "dnsNameservers": [],
1167 "allocationPools": [{
1169 "start": "192.168.199.2",
1171 "end": "192.168.199.254"
1183 5.4. **Get Subnets**
1184 --------------------
1186 +---------------------+-------------------------------------------------------------------------------------------+
1187 | **IF Definition** | **Description** |
1188 +=====================+===========================================================================================+
1189 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/subnets/{subnetid} |
1190 +---------------------+-------------------------------------------------------------------------------------------+
1192 +---------------------+-------------------------------------------------------------------------------------------+
1193 | Direction | NFLCM,NSLCM->MULTIVIM |
1194 +---------------------+-------------------------------------------------------------------------------------------+
1204 +-------------------+-----------------+-------------------+------------------------+----------------------+
1205 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1206 +===================+=================+===================+========================+======================+
1207 | vimId | M | 1 | String | vim id |
1208 +-------------------+-----------------+-------------------+------------------------+----------------------+
1209 | vimName | O | 1 | string | vim name |
1210 +-------------------+-----------------+-------------------+------------------------+----------------------+
1211 | status | | 1 | string | subnetwork status |
1212 +-------------------+-----------------+-------------------+------------------------+----------------------+
1213 | id | | 1 | string | subNetwork id |
1214 +-------------------+-----------------+-------------------+------------------------+----------------------+
1215 | tenantId | M | 1 | String | Tenant UUID |
1216 +-------------------+-----------------+-------------------+------------------------+----------------------+
1217 | networkId | O | 1 | String | Network Id |
1218 +-------------------+-----------------+-------------------+------------------------+----------------------+
1219 | networkName | O | 1 | String | Network Name |
1220 +-------------------+-----------------+-------------------+------------------------+----------------------+
1221 | name | M | 1 | String | SubnetName |
1222 +-------------------+-----------------+-------------------+------------------------+----------------------+
1223 | cidr | M | 1 | String | Subnet cidr |
1224 +-------------------+-----------------+-------------------+------------------------+----------------------+
1225 | ipVersion | M | 1 | Int | Ip type |
1228 +-------------------+-----------------+-------------------+------------------------+----------------------+
1229 | enableDhcp | O | 1 | boolean | Whether to allow |
1231 | | | | | 1: yes;0: no |
1232 +-------------------+-----------------+-------------------+------------------------+----------------------+
1233 | gatewayIp | O | 1 | String | Gateway ip |
1234 +-------------------+-----------------+-------------------+------------------------+----------------------+
1235 | dnsNameservers | O | 1..n | List of servers | List of servers |
1236 +-------------------+-----------------+-------------------+------------------------+----------------------+
1237 | hostRoutes | O | 1..n | List of routes | List of routes |
1238 +-------------------+-----------------+-------------------+------------------------+----------------------+
1239 | allocationPools | O | 1..n | list of "allocation" | list of allocation |
1240 +-------------------+-----------------+-------------------+------------------------+----------------------+
1241 | -->allocation | | | | |
1242 +-------------------+-----------------+-------------------+------------------------+----------------------+
1243 | -->start | O | 1 | String | Start ip |
1244 +-------------------+-----------------+-------------------+------------------------+----------------------+
1245 | -->end | O | 1 | String | End ip |
1246 +-------------------+-----------------+-------------------+------------------------+----------------------+
1256 "status": " ACTIVE",
1258 "id": " d62019d3-bc6e-4319-9c1d-6722fc136a23",
1260 "tenant": "tenant1",
1262 "network_id": "d32019d3-bc6e-4319-9c1d-6722fc136a22",
1266 "cidr": "10.43.35.0/24",
1272 "gatewayIp": "10.43.35.1",
1274 "dnsNameservers": [],
1276 "allocationPools": [{
1278 "start": "192.168.199.2",
1280 "end": "192.168.199.254"
1291 6.1. **Create Virtual Port**
1292 ----------------------------
1294 +---------------------+------------------------------------------------------------------------------+
1295 | **IF Definition** | **Description** |
1296 +=====================+==============================================================================+
1297 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/ports |
1298 +---------------------+------------------------------------------------------------------------------+
1299 | Operation | POST |
1300 +---------------------+------------------------------------------------------------------------------+
1301 | Direction | VNFLCM->MULTIVIM |
1302 +---------------------+------------------------------------------------------------------------------+
1307 +------------------------+-----------------+-------------------+---------------+-------------------------------------------------------+
1308 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1309 +========================+=================+===================+===============+=======================================================+
1310 | networkId | M | 1 | string | Network UUID |
1311 +------------------------+-----------------+-------------------+---------------+-------------------------------------------------------+
1312 | subnetId | O | 1 | string | Subnet UUID |
1313 +------------------------+-----------------+-------------------+---------------+-------------------------------------------------------+
1314 | name | M | 1 | string | Port name |
1315 +------------------------+-----------------+-------------------+---------------+-------------------------------------------------------+
1316 | macAddress | O | 1 | string | Mac address |
1317 +------------------------+-----------------+-------------------+---------------+-------------------------------------------------------+
1318 | ip | O | 1 | string | Ip address |
1319 +------------------------+-----------------+-------------------+---------------+-------------------------------------------------------+
1320 | vnicType | O | 1 | string | Virtual network card type, |
1322 | | | | | the value of three kinds of normal/direct/macvtap |
1323 +------------------------+-----------------+-------------------+---------------+-------------------------------------------------------+
1324 | \ **securityGroups** | **O** | **1** | **string** | **The IDs of security groups applied to the port.** |
1325 +------------------------+-----------------+-------------------+---------------+-------------------------------------------------------+
1330 +----------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1331 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1332 +======================+=================+===================+===============+=====================================================+
1333 | returnCode | M | 1 | int | 0: Already exist 1: Newly created |
1334 +----------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1335 | vimId | M | 1 | String | vim id |
1336 +----------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1337 | vimName | O | 1 | string | vim name |
1338 +----------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1339 | status | M | 1 | string | status |
1340 +----------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1341 | id | M | 1 | string | Port Id |
1342 +----------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1343 | name | M | 1 | string | Port name |
1344 +----------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1345 | tenantId | M | 1 | String | Tenant UUID |
1346 +----------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1347 | networkName | M | 1 | string | Network name |
1348 +----------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1349 | networkId | M | 1 | string | Network Id |
1350 +----------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1351 | subnetName | M | 1 | string | Subnet name |
1352 +----------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1353 | subnetId | M | 1 | string | SubnetId |
1354 +----------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1355 | macAddress | O | 1 | string | Mac address |
1356 +----------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1357 | ip | O | 1 | string | Ip address |
1358 +----------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1359 | vnicType | O | 1 | string | Virtual network card type, |
1361 | | | | | the value of three kinds of normal/direct/macvtap |
1362 +----------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1363 | **securityGroups** | **O** | **1** | **string** | **List of security group names.** |
1364 +----------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1366 6.2. **Delete Virtual Port**
1367 ----------------------------
1369 +---------------------+---------------------------------------------------------------------------------------+
1370 | **IF Definition** | **Description** |
1371 +=====================+=======================================================================================+
1372 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/ports/{portid} |
1373 +---------------------+---------------------------------------------------------------------------------------+
1374 | Operation | DELETTE |
1375 +---------------------+---------------------------------------------------------------------------------------+
1376 | Direction | VNFLCM->MULTIVIM |
1377 +---------------------+---------------------------------------------------------------------------------------+
1389 6.3. **List Virtual Port**
1390 --------------------------
1392 +---------------------+-----------------------------------------------------------------------------+
1393 | **IF Definition** | **Description** |
1394 +=====================+=============================================================================+
1395 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/tenantid}/ports |
1396 +---------------------+-----------------------------------------------------------------------------+
1398 +---------------------+-----------------------------------------------------------------------------+
1399 | Direction | VNFLCM->MULTIVIM |
1400 +---------------------+-----------------------------------------------------------------------------+
1405 +-----------------+-----------------+-------------------+---------------+-------------------------------------------------+
1406 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1407 +=================+=================+===================+===============+=================================================+
1408 | name | M | 1 | string | Port name to filter out list of virtual ports |
1409 +-----------------+-----------------+-------------------+---------------+-------------------------------------------------+
1414 +-------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1415 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1416 +===================+=================+===================+===============+=====================================================+
1417 | vimId | M | 1 | String | vim id |
1418 +-------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1419 | vimName | O | 1 | string | vim name |
1420 +-------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1421 | tenantId | M | 1 | String | Tenant UUID |
1422 +-------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1423 | Ports | M | 0..N | List | ports |
1424 +-------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1425 | id | M | 1 | string | Port Id |
1426 +-------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1427 | name | M | 1 | string | Port name |
1428 +-------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1429 | status | M | 1 | string | status |
1430 +-------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1431 | **networkName** | O | 1 | string | Network name |
1432 +-------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1433 | networkId | M | 1 | string | Network Id |
1434 +-------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1435 | subnetName | O | 1 | string | Subnet name |
1436 +-------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1437 | subnetId | M | 1 | string | SubnetId |
1438 +-------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1439 | macAddress | O | 1 | string | Mac address |
1440 +-------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1441 | ip | O | 1 | string | Ip address |
1442 +-------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1443 | vnicType | O | 1 | string | Virtual network card type, |
1445 | | | | | the value of three kinds of normal/direct/macvtap |
1446 +-------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1447 | securityGroups | O | 1 | string | List of security group names. |
1448 +-------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1455 6.4. **Get Virtual Port**
1456 -------------------------
1458 +---------------------+---------------------------------------------------------------------------------------+
1459 | **IF Definition** | **Description** |
1460 +=====================+=======================================================================================+
1461 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/ports/{portid} |
1462 +---------------------+---------------------------------------------------------------------------------------+
1464 +---------------------+---------------------------------------------------------------------------------------+
1465 | Direction | VNFLCM->MULTIVIM |
1466 +---------------------+---------------------------------------------------------------------------------------+
1476 +------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1477 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1478 +==================+=================+===================+===============+=====================================================+
1479 | vimId | M | 1 | String | vim id |
1480 +------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1481 | vimName | O | 1 | string | vim name |
1482 +------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1483 | status | M | 1 | string | status |
1484 +------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1485 | id | M | 1 | string | Port Id |
1486 +------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1487 | name | M | 1 | string | Port name |
1488 +------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1489 | tenantId | M | 1 | String | Tenant UUID |
1490 +------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1491 | networkName | M | 1 | string | Network name |
1492 +------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1493 | networkId | M | 1 | string | Network Id |
1494 +------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1495 | subnetName | M | 1 | string | Subnet name |
1496 +------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1497 | subnetId | M | 1 | string | SubnetId |
1498 +------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1499 | macAddress | O | 1 | string | Mac address |
1500 +------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1501 | ip | O | 1 | string | Ip address |
1502 +------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1503 | vnicType | O | 1 | string | Virtual network card type, |
1505 | | | | | the value of three kinds of normal/direct/macvtap |
1506 +------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1507 | securityGroups | O | 1 | string | **List of security group names.** |
1508 +------------------+-----------------+-------------------+---------------+-----------------------------------------------------+
1515 7. **Server Management**
1516 ^^^^^^^^^^^^^^^^^^^^^^^^
1518 7.1. **Create Server**
1519 ----------------------
1521 +---------------------+--------------------------------------------------------------------------------+
1522 | **IF Definition** | **Description** |
1523 +=====================+================================================================================+
1524 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/servers |
1525 +---------------------+--------------------------------------------------------------------------------+
1526 | Operation | POST |
1527 +---------------------+--------------------------------------------------------------------------------+
1528 | Direction | VNFLCM->MULTIVIM |
1529 +---------------------+--------------------------------------------------------------------------------+
1534 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1535 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1536 +======================+=================+===================+=======================================+========================================================================================================================================================================================+
1537 | name | M | 1 | string | server name |
1538 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1539 | boot | M | 1 | String | Start parameters |
1540 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1541 | nicArray | O | 1..n | List of nic | List of nic |
1542 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1543 | contextArray | O | 1..n | list of context | list of context |
1544 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1545 | volumeArray | O | 1..n | list of volume | list of volume |
1546 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1547 | availabilityZone | O | 1 | string | Usable field |
1548 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1549 | flavorId | M | 1 | String | server Flavor id |
1550 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1551 | metadata | O | 1 | List of metadata | Metadata key and value pairs. The maximum size of the metadata key and value is 255 bytes each. |
1552 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1553 | userdata | O | 1 | string | Configuration information or scripts to use upon launch. Must be Base64 encoded. |
1555 | | | | | NOTE: The ‘null’ value allowed in Nova legacy v2 API, but due to the strict input validation, it isn’t allowed in Nova v2.1 API. |
1556 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1557 | securityGroups | O | 1 | List of names of security group | One or more security groups. Specify the name of the security group in the name attribute. If you omit this attribute, the API creates the server in the default security group. |
1558 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1559 | serverGroup | O | 1 | string | the ServerGroup for anti-affinity and affinity |
1560 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1564 +-----------------+-----------------+-------------------+---------------+---------------------------+
1565 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1566 +=================+=================+===================+===============+===========================+
1567 | type | M | 1 | int | Startup mode |
1569 | | | | | 1. boot from the volume |
1571 | | | | | 2. boot from image |
1572 +-----------------+-----------------+-------------------+---------------+---------------------------+
1573 | volumeId | O | 1 | string | Volume Id(type=1) |
1574 +-----------------+-----------------+-------------------+---------------+---------------------------+
1575 | imageId | O | 1 | String | ImageId(type=2) |
1576 +-----------------+-----------------+-------------------+---------------+---------------------------+
1580 +-----------------+-----------------+-------------------+---------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
1581 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1582 +=================+=================+===================+===============+===========================================================================================================================================================+
1583 | fileName | M | 1 | String | Injection file name |
1584 +-----------------+-----------------+-------------------+---------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
1585 | fileData | M | 1 | string | Injection file content (injection file content inside the <mac>$MAC\_1</mac> $MAC\_1 need to be replaced by the MAC address, of which 1 is NIC index. ) |
1586 +-----------------+-----------------+-------------------+---------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
1590 +-----------------+-----------------+-------------------+---------------+-------------------+
1591 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1592 +=================+=================+===================+===============+===================+
1593 | volumeId | M | 1 | String | Volume Id |
1594 +-----------------+-----------------+-------------------+---------------+-------------------+
1598 +-----------------+-----------------+-------------------+---------------+-------------------+
1599 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1600 +=================+=================+===================+===============+===================+
1601 | portId | M | 1 | String | Port Id |
1602 +-----------------+-----------------+-------------------+---------------+-------------------+
1606 +-----------------+-----------------+-------------------+---------------+-------------------+
1607 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1608 +=================+=================+===================+===============+===================+
1609 | keyName | M | 1 | String | Key name |
1610 +-----------------+-----------------+-------------------+---------------+-------------------+
1611 | value | M | 1 | string | value |
1612 +-----------------+-----------------+-------------------+---------------+-------------------+
1618 "tenant": "tenant1",
1622 "availabilityZone": "az1",
1624 "flavorName": "vm_large",
1630 " volumeName": "volume1"
1634 "flavorId": "vm_large_134213",
1638 "fileName": "test.yaml",
1646 "volumeName": "vol1",
1660 "value": "foo value"
1664 "userdata": "abcdedf"
1671 +----------------------+-----------------+-------------------+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1672 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1673 +======================+=================+===================+======================================+========================================================================================================================================================================================+
1674 | vimId | M | 1 | String | vim id |
1675 +----------------------+-----------------+-------------------+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1676 | vimName | O | 1 | string | vim name |
1677 +----------------------+-----------------+-------------------+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1678 | returnCode | | 1 | int | 0: Already exist 1: Newly created |
1679 +----------------------+-----------------+-------------------+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1680 | id | M | 1 | string | server id |
1681 +----------------------+-----------------+-------------------+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1682 | name | | 1 | string | server name |
1683 +----------------------+-----------------+-------------------+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1684 | tenantId | M | 1 | String | Tenant UUID |
1685 +----------------------+-----------------+-------------------+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1686 | boot | M | 1 | String | Start parameters |
1687 +----------------------+-----------------+-------------------+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1688 | nicArray | O | 1..n | List of nic | List of nic |
1689 +----------------------+-----------------+-------------------+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1690 | volumeArray | O | 1..n | list of volume | list of volume |
1691 +----------------------+-----------------+-------------------+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1692 | availabilityZone | O | 1 | string | Usable field |
1693 +----------------------+-----------------+-------------------+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1694 | flavorId | M | 1 | String | server Flavor |
1695 +----------------------+-----------------+-------------------+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1696 | metadata | O | 1 | List of metadata | Metadata key and value pairs. The maximum size of the metadata key and value is 255 bytes each. |
1697 +----------------------+-----------------+-------------------+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1698 | **securityGroups** | **O** | **1** | **List of name of security group** | **One or more security groups. Specify the name of the security group in the name attribute. If you omit this attribute, the API creates the server in the default security group.** |
1700 | | | | | **[TBD]** |
1701 +----------------------+-----------------+-------------------+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1702 | **serverGroup** | **O** | **1** | **string** | the ServerGroup for anti-affinity and affinity |
1705 +----------------------+-----------------+-------------------+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1706 | **status** | **M** | **1** | **string** | Server status, 0:INACTIVE,1:ACTIVE,2:ERROR |
1707 +----------------------+-----------------+-------------------+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1717 "id": "3c9eebdbbfd345658269340b9ea6fb73",
1725 7.2. **Delete Server**
1726 ----------------------
1728 +---------------------+-------------------------------------------------------------------------------------------+
1729 | **IF Definition** | **Description** |
1730 +=====================+===========================================================================================+
1731 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/servers/{serverid} |
1732 +---------------------+-------------------------------------------------------------------------------------------+
1733 | Operation | DELETE |
1734 +---------------------+-------------------------------------------------------------------------------------------+
1735 | Direction | NFLCM,NSLCM->MULTIVIM |
1736 +---------------------+-------------------------------------------------------------------------------------------+
1748 7.3. **List Server**
1749 --------------------
1751 +---------------------+--------------------------------------------------------------------------------+
1752 | **IF Definition** | **Description** |
1753 +=====================+================================================================================+
1754 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/servers |
1755 +---------------------+--------------------------------------------------------------------------------+
1757 +---------------------+--------------------------------------------------------------------------------+
1758 | Direction | NFLCM,NSLCM->MULTIVIM |
1759 +---------------------+--------------------------------------------------------------------------------+
1764 msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/vms?{……}
1766 +-----------------+-----------------+-------------------+---------------+-------------------+
1767 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1768 +=================+=================+===================+===============+===================+
1769 | name | M | 1 | string | server name |
1770 +-----------------+-----------------+-------------------+---------------+-------------------+
1775 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1776 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1777 +======================+=================+===================+=======================================+========================================================================================================================================================================================+
1778 | vimId | M | 1 | String | vim id |
1779 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1780 | vimName | O | 1 | string | vim name |
1781 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1782 | servers | M | 1 | array | server list |
1783 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1784 | id | M | 1 | string | server id |
1785 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1786 | name | M | 1 | string | server name |
1787 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1788 | tenantId | M | 1 | String | Tenant UUID |
1789 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1790 | boot | M | 1 | String | Start parameters |
1791 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1792 | nicArray | O | 1..n | List of nic | List of nic |
1793 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1794 | volumeArray | O | 1..n | list of volume | list of volume |
1795 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1796 | availabilityZone | O | 1 | string | Usable field |
1797 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1798 | flavorId | M | 1 | String | server Flavor |
1799 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1800 | metada | O | 1 | keypair | Metadata key and value pairs. The maximum size of the metadata key and value is 255 bytes each. |
1801 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1802 | **securityGroups** | **O** | **1** | **List of names of security group** | **One or more security groups. Specify the name of the security group in the name attribute. If you omit this attribute, the API creates the server in the default security group.** |
1804 | | | | | **[TBD]** |
1805 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1806 | **serverGroup** | **O** | **1** | **string** | the ServerGroup for anti-affinity and affinity |
1809 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1818 +---------------------+-------------------------------------------------------------------------------------------+
1819 | **IF Definition** | **Description** |
1820 +=====================+===========================================================================================+
1821 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/servers/{serverid} |
1822 +---------------------+-------------------------------------------------------------------------------------------+
1824 +---------------------+-------------------------------------------------------------------------------------------+
1825 | Direction | NFLCM,NSLCM->MULTIVIM |
1826 +---------------------+-------------------------------------------------------------------------------------------+
1836 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1837 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1838 +======================+=================+===================+=======================================+========================================================================================================================================================================================+
1839 | vimId | M | 1 | String | vim id |
1840 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1841 | vimName | O | 1 | string | vim name |
1842 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1843 | id | M | 1 | string | server id |
1844 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1845 | name | M | 1 | string | server name |
1846 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1847 | tenantId | M | 1 | String | Tenant UUID |
1848 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1849 | boot | M | 1 | String | Start parameters |
1850 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1851 | nicArray | O | 1..n | List of nic | List of nic |
1852 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1853 | volumeArray | O | 1..n | list of volume | list of volume |
1854 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1855 | availabilityZone | O | 1 | string | Usable field |
1856 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1857 | flavorId | M | 1 | String | server Flavor |
1858 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1859 | metadata | O | 1 | List of metadata | Metadata key and value pairs. The maximum size of the metadata key and value is 255 bytes each. |
1860 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1861 | **securityGroups** | **O** | **1** | **List of names of security group** | **One or more security groups. Specify the name of the security group in the name attribute. If you omit this attribute, the API creates the server in the default security group.** |
1863 | | | | | **[TBD]** |
1864 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1865 | **serverGroup** | **O** | **1** | **string** | the ServerGroup for anti-affinity and affinity |
1868 +----------------------+-----------------+-------------------+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1874 8. **Flavor Management**
1875 ^^^^^^^^^^^^^^^^^^^^^^^^
1877 8.1. **Create Flavor**
1878 ----------------------
1880 +---------------------+--------------------------------------------------------------------------------+
1881 | **IF Definition** | **Description** |
1882 +=====================+================================================================================+
1883 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/flavors |
1884 +---------------------+--------------------------------------------------------------------------------+
1885 | Operation | POST |
1886 +---------------------+--------------------------------------------------------------------------------+
1887 | Direction | VNFLCM->MULTIVIM |
1888 +---------------------+--------------------------------------------------------------------------------+
1893 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
1894 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1895 +=================+=================+===================+===============================+==============================================================================================================================+
1896 | name | M | 1 | string | Flavor Name |
1897 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
1898 | vcpu | M | 1 | int | Virtual CPU number |
1899 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
1900 | memory | M | 1 | int | Memory size |
1901 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
1902 | disk | M | 1 | int | The size of the root disk |
1903 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
1904 | ephemeral | O | 1 | int | The size of the ephemeral disk |
1905 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
1906 | swap | O | 1 | int | The size of the swap disk |
1907 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
1908 | isPublic | O | 1 | boolean | Whether the flavor is public (available to all projects) or scoped to a set of projects. Default is True if not specified. |
1909 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
1910 | extraSpecs | O | 0..N | List of keyname-value pairs | EPA parameter |
1911 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
1916 +-----------------+-----------------+-------------------+---------------------------+------------------------------------------------------------------------------------------------------------------------------+
1917 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1918 +=================+=================+===================+===========================+==============================================================================================================================+
1919 | id | M | 1 | string | Flavor id |
1920 +-----------------+-----------------+-------------------+---------------------------+------------------------------------------------------------------------------------------------------------------------------+
1921 | name | M | 1 | string | Flavor name |
1922 +-----------------+-----------------+-------------------+---------------------------+------------------------------------------------------------------------------------------------------------------------------+
1923 | returnCode | M | 1 | int | 0: Already exist 1: Newly created |
1924 +-----------------+-----------------+-------------------+---------------------------+------------------------------------------------------------------------------------------------------------------------------+
1925 | tenantId | M | 1 | String | Tenant UUID |
1926 +-----------------+-----------------+-------------------+---------------------------+------------------------------------------------------------------------------------------------------------------------------+
1927 | vcpu | M | 1 | int | Virtual CPU number |
1928 +-----------------+-----------------+-------------------+---------------------------+------------------------------------------------------------------------------------------------------------------------------+
1929 | memory | M | 1 | int | Memory size |
1930 +-----------------+-----------------+-------------------+---------------------------+------------------------------------------------------------------------------------------------------------------------------+
1931 | disk | M | 1 | int | The size of the root disk |
1932 +-----------------+-----------------+-------------------+---------------------------+------------------------------------------------------------------------------------------------------------------------------+
1933 | ephemeral | M | 1 | int | The size of the ephemeral disk |
1934 +-----------------+-----------------+-------------------+---------------------------+------------------------------------------------------------------------------------------------------------------------------+
1935 | swap | M | 1 | int | The size of the swap disk |
1936 +-----------------+-----------------+-------------------+---------------------------+------------------------------------------------------------------------------------------------------------------------------+
1937 | isPublic | M | 1 | boolean | Whether the flavor is public (available to all projects) or scoped to a set of projects. Default is True if not specified. |
1938 +-----------------+-----------------+-------------------+---------------------------+------------------------------------------------------------------------------------------------------------------------------+
1939 | extraSpecs | O | 0..N | List of Key-value pairs | EPA parameter |
1940 +-----------------+-----------------+-------------------+---------------------------+------------------------------------------------------------------------------------------------------------------------------+
1941 | vimId | M | 1 | String | vim id |
1942 +-----------------+-----------------+-------------------+---------------------------+------------------------------------------------------------------------------------------------------------------------------+
1943 | vimName | O | 1 | string | vim name |
1944 +-----------------+-----------------+-------------------+---------------------------+------------------------------------------------------------------------------------------------------------------------------+
1946 8.2. **Delete Flavor**
1947 ----------------------
1949 +---------------------+--------------------------------------------------------------------------------------------+
1950 | **IF Definition** | **Description** |
1951 +=====================+============================================================================================+
1952 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/flavors /{flavorid} |
1953 +---------------------+--------------------------------------------------------------------------------------------+
1954 | Operation | DELETE |
1955 +---------------------+--------------------------------------------------------------------------------------------+
1956 | Direction | NFLCM,NSLCM->MULTIVIM |
1957 +---------------------+--------------------------------------------------------------------------------------------+
1969 8.3. **List Flavor**
1970 --------------------
1972 +---------------------+---------------------------------------------------------------------------------+
1973 | **IF Definition** | **Description** |
1974 +=====================+=================================================================================+
1975 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/ flavors |
1976 +---------------------+---------------------------------------------------------------------------------+
1978 +---------------------+---------------------------------------------------------------------------------+
1979 | Direction | NFLCM,NSLCM->MULTIVIM |
1980 +---------------------+---------------------------------------------------------------------------------+
1985 +-----------------+-----------------+-------------------+---------------+----------------------------------+
1986 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1987 +=================+=================+===================+===============+==================================+
1988 | name | M | 1 | string | Flavor name to filter out list |
1989 +-----------------+-----------------+-------------------+---------------+----------------------------------+
1994 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
1995 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
1996 +=================+=================+===================+===============================+==============================================================================================================================+
1997 | flavors | M | 0..N | list | Vm list |
1998 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
1999 | id | M | 1 | string | Flavor id |
2000 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2001 | name | M | 1 | string | Flavor Name |
2002 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2003 | vcpu | M | 1 | int | Virtual CPU number |
2004 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2005 | memory | M | 1 | int | Memory size |
2006 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2007 | disk | M | 1 | int | The size of the root disk |
2008 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2009 | ephemeral | M | 1 | int | The size of the ephemeral disk |
2010 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2011 | swap | M | 1 | int | The size of the swap disk |
2012 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2013 | isPublic | M | 1 | boolean | Whether the flavor is public (available to all projects) or scoped to a set of projects. Default is True if not specified. |
2014 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2015 | extraSpecs | O | 0..N | List of keyname-value pairs | EPA parameter |
2016 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2017 | vimId | M | 1 | String | vim id |
2018 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2019 | vimName | O | 1 | string | vim name |
2020 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2021 | tenantId | M | 1 | String | Tenant UUID |
2022 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2031 +---------------------+----------------------------------------------------------------------------------------------+
2032 | **IF Definition** | **Description** |
2033 +=====================+==============================================================================================+
2034 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/flavors/{ flavorsid } |
2035 +---------------------+----------------------------------------------------------------------------------------------+
2037 +---------------------+----------------------------------------------------------------------------------------------+
2038 | Direction | NFLCM,NSLCM->MULTIVIM |
2039 +---------------------+----------------------------------------------------------------------------------------------+
2049 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2050 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
2051 +=================+=================+===================+===============================+==============================================================================================================================+
2052 | id | M | 1 | string | Flavor id |
2053 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2054 | name | M | 1 | string | Flavor Name |
2055 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2056 | vcpu | M | 1 | int | Virtual CPU number |
2057 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2058 | memory | M | 1 | int | Memory size |
2059 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2060 | disk | M | 1 | int | The size of the root disk |
2061 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2062 | ephemeral | M | 1 | int | The size of the ephemeral disk |
2063 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2064 | swap | M | 1 | int | The size of the swap disk |
2065 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2066 | isPublic | M | 1 | boolean | Whether the flavor is public (available to all projects) or scoped to a set of projects. Default is True if not specified. |
2067 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2068 | extraSpecs | O | 0..N | List of keyname-value pairs | EPA parameter |
2069 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2070 | vimId | M | 1 | String | vim id |
2071 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2072 | vimName | O | 1 | string | vim name |
2073 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2074 | tenantId | M | 1 | String | Tenant UUID |
2075 +-----------------+-----------------+-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------+
2081 9. **Volume Management**
2082 ^^^^^^^^^^^^^^^^^^^^^^^^
2084 9.1. **Create Volume**
2085 ----------------------
2087 +---------------------+--------------------------------------------------------------------------------+
2088 | **IF Definition** | **Description** |
2089 +=====================+================================================================================+
2090 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/volumes |
2091 +---------------------+--------------------------------------------------------------------------------+
2092 | Operation | POST |
2093 +---------------------+--------------------------------------------------------------------------------+
2094 | Direction | NSLCM->MULTIVIM |
2095 +---------------------+--------------------------------------------------------------------------------+
2100 +--------------------+-----------------+-------------------+---------------+-------------------+
2101 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
2102 +====================+=================+===================+===============+===================+
2103 | name | M | 1 | string | Volume name |
2104 +--------------------+-----------------+-------------------+---------------+-------------------+
2105 | volumeSize | M | 1 | int | Volume size |
2106 +--------------------+-----------------+-------------------+---------------+-------------------+
2107 | imageId | O | 1 | string | Image UUID |
2108 +--------------------+-----------------+-------------------+---------------+-------------------+
2109 | volumeType | O | 1 | string | Volume type |
2110 +--------------------+-----------------+-------------------+---------------+-------------------+
2111 | availabilityZone | O | 1 | string | Usable field |
2112 +--------------------+-----------------+-------------------+---------------+-------------------+
2118 "tenant": "tenant1",
2120 "volumeName": "volume1",
2124 "imageName": "cirros.qcow2",
2126 "volumeType": "volumetype1",
2128 "availabilityZone": "zone1"
2135 +--------------------+-----------------+-------------------+---------------+-------------------------------------+
2136 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
2137 +====================+=================+===================+===============+=====================================+
2138 | returnCode | M | 1 | int | 0: Already exist 1: Newly created |
2139 +--------------------+-----------------+-------------------+---------------+-------------------------------------+
2140 | vimId | M | 1 | String | vim id |
2141 +--------------------+-----------------+-------------------+---------------+-------------------------------------+
2142 | vimName | O | 1 | string | vim name |
2143 +--------------------+-----------------+-------------------+---------------+-------------------------------------+
2144 | tenantId | M | 1 | String | Tenant UUID |
2145 +--------------------+-----------------+-------------------+---------------+-------------------------------------+
2146 | status | M | 1 | string | Volume status |
2147 +--------------------+-----------------+-------------------+---------------+-------------------------------------+
2148 | id | M | 1 | string | Volume id |
2149 +--------------------+-----------------+-------------------+---------------+-------------------------------------+
2150 | name | M | 1 | string | Volume name |
2151 +--------------------+-----------------+-------------------+---------------+-------------------------------------+
2152 | volumeType | O | 1 | string | Volume type |
2153 +--------------------+-----------------+-------------------+---------------+-------------------------------------+
2154 | availabilityZone | O | 1 | string | Availability Zone |
2155 +--------------------+-----------------+-------------------+---------------+-------------------------------------+
2165 "id": "bc9eebdbbfd356458269340b9ea6fb73",
2173 9.2. **Delete Volume**
2174 ----------------------
2176 +---------------------+-------------------------------------------------------------------------------------------+
2177 | **IF Definition** | **Description** |
2178 +=====================+===========================================================================================+
2179 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/volumes/{volumeId} |
2180 +---------------------+-------------------------------------------------------------------------------------------+
2181 | Operation | DELETE |
2182 +---------------------+-------------------------------------------------------------------------------------------+
2183 | Direction | NSLCM->MULTIVIM |
2184 +---------------------+-------------------------------------------------------------------------------------------+
2196 9.3. **List Volumes**
2197 ---------------------
2199 +---------------------+--------------------------------------------------------------------------------+
2200 | **IF Definition** | **Description** |
2201 +=====================+================================================================================+
2202 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/volumes |
2203 +---------------------+--------------------------------------------------------------------------------+
2205 +---------------------+--------------------------------------------------------------------------------+
2206 | Direction | NSLCM-> MULTIVIM |
2207 +---------------------+--------------------------------------------------------------------------------+
2212 msb.onap.org:80/api/multicloud/v0/{cloud
2213 owner}\_{region}/volumes?{……}
2215 +-----------------+-----------------+-------------------+---------------+-------------------+
2216 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
2217 +=================+=================+===================+===============+===================+
2218 | name | M | 1 | string | Volume name |
2219 +-----------------+-----------------+-------------------+---------------+-------------------+
2224 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2225 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
2226 +====================+=================+===================+======================+====================================================+
2227 | vimId | M | 1 | String | vim id |
2228 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2229 | vimName | O | 1 | string | vim name |
2230 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2231 | tenantId | M | 1 | String | Tenant UUID |
2232 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2233 | volumes | M | 1 | Array | |
2234 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2235 | id | M | 1 | string | Volume id |
2236 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2237 | name | M | 1 | string | Volume name |
2238 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2239 | createTime | O | 1 | string | Create time |
2240 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2241 | status | M | 1 | string | Volume status |
2242 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2243 | volumeSize | M | 1 | int | Volume size |
2244 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2245 | volumeType | M | 1 | string | Volume type |
2246 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2247 | availabilityZone | M | 1 | string | Availability Zone |
2248 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2249 | attachments | M | 1..n | list of attachment | List of additional information on the cloud disk |
2250 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2264 "status": "available",
2270 "createTime": "2015-12-02T07:57:23.000000",
2272 " volumeType ": "ws",
2274 "id": "91b39ebb-acdc-43f3-9c2e-b0da7ad0fd55",
2290 "device": "/dev/vdc",
2292 "serverId": "3030e666-528e-4954-88f5-cc21dab1262b",
2294 "volumeId": "4bd3e9eb-cd8b-456a-8589-910836a0ab31",
2298 "id": "4bd3e9eb-cd8b-456a-8589-910836a0ab31"
2304 "createTime": "2015-12-02T06:39:40.000000",
2306 " volumeType ": null,
2308 "id": "4bd3e9eb-cd8b-456a-8589-910836a0ab31",
2318 9.4. **Get Volumes**
2319 --------------------
2321 +---------------------+-------------------------------------------------------------------------------------------+
2322 | **IF Definition** | **Description** |
2323 +=====================+===========================================================================================+
2324 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/volumes/{volumeid} |
2325 +---------------------+-------------------------------------------------------------------------------------------+
2327 +---------------------+-------------------------------------------------------------------------------------------+
2328 | Direction | NSLCM-> MULTIVIM |
2329 +---------------------+-------------------------------------------------------------------------------------------+
2339 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2340 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
2341 +====================+=================+===================+======================+====================================================+
2342 | vimId | M | 1 | String | vim id |
2343 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2344 | vimName | O | 1 | string | vim name |
2345 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2346 | tenantId | M | 1 | String | Tenant UUID |
2347 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2348 | id | | 1 | string | Volume id |
2349 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2350 | name | | 1 | string | Volume name |
2351 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2352 | createTime | | 1 | string | Create time |
2353 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2354 | status | | 1 | string | Volume status |
2355 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2356 | volumeType | | 1 | list of string | Volume type |
2357 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2358 | volumeSize | | 1 | int | Volume size |
2359 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2360 | availabilityZone | M | 1 | string | Availability Zone |
2361 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2362 | attachments | M | 1..n | list of attachment | List of additional information on the cloud disk |
2363 +--------------------+-----------------+-------------------+----------------------+----------------------------------------------------+
2367 +-----------------+-----------------+-------------------+---------------+-------------------+
2368 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
2369 +=================+=================+===================+===============+===================+
2370 | device | | 1 | string | Device name |
2371 +-----------------+-----------------+-------------------+---------------+-------------------+
2372 | serverId | | 1 | string | VM id |
2373 +-----------------+-----------------+-------------------+---------------+-------------------+
2374 | volumeId | | 1 | string | Volume id |
2375 +-----------------+-----------------+-------------------+---------------+-------------------+
2376 | hostName | | 1 | string | Host name |
2377 +-----------------+-----------------+-------------------+---------------+-------------------+
2378 | id | | 1 | string | Device id |
2379 +-----------------+-----------------+-------------------+---------------+-------------------+
2397 "device": "/dev/vdc",
2399 "serverId": "3030e666-528e-4954-88f5-cc21dab1262b",
2401 "volumeId": "4bd3e9eb-cd8b-456a-8589-910836a0ab31",
2405 "id": "4bd3e9eb-cd8b-456a-8589-910836a0ab31"
2411 "createTime": "2015-12-02T06:39:40.000000",
2413 "volumeType ": null,
2415 "id": "4bd3e9eb-cd8b-456a-8589-910836a0ab31",
2421 10. **Tenant Management**
2422 ^^^^^^^^^^^^^^^^^^^^^^^^^
2424 10.1. **List tenants**
2425 ----------------------
2427 +---------------------+---------------------------------------------------------------------+
2428 | **IF Definition** | **Description** |
2429 +=====================+=====================================================================+
2430 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/tenants |
2431 +---------------------+---------------------------------------------------------------------+
2433 +---------------------+---------------------------------------------------------------------+
2434 | Direction | NSLCM-> MULTIVIM |
2435 +---------------------+---------------------------------------------------------------------+
2440 +---------------------+-----------------+-------------------+---------------+-------------------------------------+
2441 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
2442 +=====================+=================+===================+===============+=====================================+
2443 | name={tenantname} | O | 1 | string | Tenant name to filter output list |
2444 +---------------------+-----------------+-------------------+---------------+-------------------------------------+
2446 10.1.2. **Response**
2447 >>>>>>>>>>>>>>>>>>>>
2449 +-----------------+-----------------+-------------------+---------------+-------------------+
2450 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
2451 +=================+=================+===================+===============+===================+
2452 | vimId | M | 1 | String | vim id |
2453 +-----------------+-----------------+-------------------+---------------+-------------------+
2454 | vimName | O | 1 | string | vim name |
2455 +-----------------+-----------------+-------------------+---------------+-------------------+
2456 | tenants | M | 1 | Array | |
2457 +-----------------+-----------------+-------------------+---------------+-------------------+
2458 | id | M | 1 | string | tenant UUID |
2459 +-----------------+-----------------+-------------------+---------------+-------------------+
2460 | name | M | 1 | string | tenant name |
2461 +-----------------+-----------------+-------------------+---------------+-------------------+
2488 11.1. **List Limits of resouces**
2489 ---------------------------------
2491 +---------------------+-------------------------------------------------------------------------------+
2492 | **IF Definition** | **Description** |
2493 +=====================+===============================================================================+
2494 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/limits |
2495 +---------------------+-------------------------------------------------------------------------------+
2497 +---------------------+-------------------------------------------------------------------------------+
2498 | Direction | NSLCM-> MULTIVIM |
2499 +---------------------+-------------------------------------------------------------------------------+
2506 11.1.2. **Response**
2507 >>>>>>>>>>>>>>>>>>>>
2509 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2510 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
2511 +===========================+=================+===================+===============+==================================================================+
2512 | vimId | M | 1 | String | vim id |
2513 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2514 | vimName | O | 1 | string | vim name |
2515 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2516 | tenantId | M | 1 | string | Tenant UUID |
2517 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2518 | maxPersonality | O | 1 | int | The number of allowed injected files for each tenant. |
2519 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2520 | maxPersonalitySize | O | 1 | int | The number of allowed bytes of content for each injected file. |
2521 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2522 | maxServerGroupMembers | O | 1 | int | The number of allowed members for each server group. |
2523 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2524 | maxServerGroups | O | 1 | int | The number of allowed server groups for each tenant. |
2525 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2526 | maxServerMeta | O | 1 | int | The number of allowed metadata items for each instance. |
2527 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2528 | maxTotalCores | O | 1 | int | The number of allowed instance cores for each tenant. |
2529 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2530 | maxTotalInstances | O | 1 | int | The number of allowed instances for each tenant. |
2531 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2532 | maxTotalKeypairs | O | 1 | int | The number of allowed key pairs for each user. |
2533 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2534 | maxTotalRAMSize | O | 1 | int | The amount of allowed instance RAM, in MB, for each tenant. |
2535 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2536 | maxTotalVolumeGigabytes | O | 1 | int | The maximum total amount of volumes, in gibibytes (GiB). |
2537 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2538 | maxTotalVolumes | O | 1 | int | The maximum number of volumes. |
2539 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2540 | totalVolumesUsed | O | 1 | int | The total number of volumes used. |
2541 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2542 | totalGigabytesUsed | O | 1 | int | The total number of gibibytes (GiB) used. |
2543 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2544 | network | O | 1 | int | The number of networks allowed for each project. |
2545 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2546 | subnet | O | 1 | int | The number of subnets allowed for each project. |
2547 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2548 | subnetpool | O | 1 | int | The number of subnet pools allowed for each project. |
2549 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2550 | security\_group\_rule | O | 1 | int | The number of security group rules allowed for each project. |
2551 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2552 | security\_group | O | 1 | int | The number of security groups allowed for each project. |
2553 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2554 | router | O | 1 | int | The number of routers allowed for each project. |
2555 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2556 | port | O | 1 | int | The number of ports allowed for each project. |
2557 +---------------------------+-----------------+-------------------+---------------+------------------------------------------------------------------+
2567 "maxPersonality": 5,
2569 "maxPersonalitySize": 10240,
2571 "maxServerMeta": 128,
2573 "maxTotalCores": 20,
2575 "maxTotalInstances": 10,
2577 "maxTotalKeypairs": 100,
2579 "maxTotalRAMSize": 51200,
2581 "maxServerGroups": 10,
2583 "maxServerGroupMembers": 10,
2587 12. **Host Management**
2588 ^^^^^^^^^^^^^^^^^^^^^^^
2590 12.1. **List hosts**
2591 --------------------
2593 +---------------------+------------------------------------------------------------------------------+
2594 | **IF Definition** | **Description** |
2595 +=====================+==============================================================================+
2596 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}\_{region}/{tenantid}/hosts |
2597 +---------------------+------------------------------------------------------------------------------+
2599 +---------------------+------------------------------------------------------------------------------+
2600 | Direction | NSLCM-> MULTIVIM |
2601 +---------------------+------------------------------------------------------------------------------+
2608 12.1.2. **Response**
2609 >>>>>>>>>>>>>>>>>>>>
2611 +-----------------+-----------------+-------------------+-----------------+-----------------------------------+
2612 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
2613 +=================+=================+===================+=================+===================================+
2614 | vimId | M | 1 | String | vim id |
2615 +-----------------+-----------------+-------------------+-----------------+-----------------------------------+
2616 | vimName | O | 1 | string | vim name |
2617 +-----------------+-----------------+-------------------+-----------------+-----------------------------------+
2618 | tenantId | M | 1 | string | Tenant Name |
2619 +-----------------+-----------------+-------------------+-----------------+-----------------------------------+
2620 | hosts | M | 1 | Array of host | List of host information |
2621 +-----------------+-----------------+-------------------+-----------------+-----------------------------------+
2622 | service | M | 1 | string | The service running on the host |
2623 +-----------------+-----------------+-------------------+-----------------+-----------------------------------+
2624 | name | M | 1 | string | host name |
2625 +-----------------+-----------------+-------------------+-----------------+-----------------------------------+
2626 | zone | O | 1 | string | Available zone for the host |
2627 +-----------------+-----------------+-------------------+-----------------+-----------------------------------+
2639 "vimName": "vimName",
2641 "tenantId": "tenantId1"
2647 "name": "b6e4adbc193d428ea923899d07fb001e",
2649 "service": "conductor",
2655 "vimName": "vimName",
2657 "tenantId": "tenantId1"
2663 "name": "09c025b0efc64211bd23fc50fa974cdf",
2665 "service": "compute",
2671 "vimName": "vimName",
2673 "tenantId": "tenantId1"
2679 "name": "e73ec0bd35c64de4a1adfa8b8969a1f6",
2681 "service": "consoleauth",
2687 "vimName": "vimName",
2689 "tenantId": "tenantId1"
2695 "host\_name": "396a8a0a234f476eb05fb9fbc5802ba7",
2697 "service": "network",
2703 "vimName": "vimName",
2705 "tenantId": "tenantId1"
2711 "name": "abffda96592c4eacaf4111c28fddee17",
2713 "service": "scheduler",
2719 "vimName": "vimName",
2721 "tenantId": "tenantId1"
2732 +---------------------+-----------------------------------------------------------------------------------------+
2733 | **IF Definition** | **Description** |
2734 +=====================+=========================================================================================+
2735 | URI | msb.onap.org:80/api/multicloud/v0/{cloud owner}_{region}/{tenantid}/hosts/{hostname} |
2736 +---------------------+-----------------------------------------------------------------------------------------+
2738 +---------------------+-----------------------------------------------------------------------------------------+
2739 | Direction | NSLCM-> MULTIVIM |
2740 +---------------------+-----------------------------------------------------------------------------------------+
2745 12.2.2. **Response**
2746 >>>>>>>>>>>>>>>>>>>>
2748 +-----------------+-----------------+-------------------+---------------------+--------------------------------------------------------------+
2749 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
2750 +=================+=================+===================+=====================+==============================================================+
2751 | vimId | M | 1 | String | vim id |
2752 +-----------------+-----------------+-------------------+---------------------+--------------------------------------------------------------+
2753 | vimName | O | 1 | string | vim name |
2754 +-----------------+-----------------+-------------------+---------------------+--------------------------------------------------------------+
2755 | tenantId | M | 1 | string | Tenant Name |
2756 +-----------------+-----------------+-------------------+---------------------+--------------------------------------------------------------+
2757 | host | M | 1 | List of resources | Host resource info |
2758 +-----------------+-----------------+-------------------+---------------------+--------------------------------------------------------------+
2759 | resource | M | 1..N | Object | Resource description |
2760 +-----------------+-----------------+-------------------+---------------------+--------------------------------------------------------------+
2761 | cpu | M | 1 | Int | The cpu info on the host. |
2762 +-----------------+-----------------+-------------------+---------------------+--------------------------------------------------------------+
2763 | memory_mb | M | 1 | int | The memory info on the host (in MB). |
2764 +-----------------+-----------------+-------------------+---------------------+--------------------------------------------------------------+
2765 | name | M | 1 | string | host name |
2766 +-----------------+-----------------+-------------------+---------------------+--------------------------------------------------------------+
2767 | project | M | 1 | string | Value: total, used_now, used_max or specific project_id |
2768 +-----------------+-----------------+-------------------+---------------------+--------------------------------------------------------------+
2769 | disk_gb | M | 1 | int | The disk info on the host (in GB). |
2770 +-----------------+-----------------+-------------------+---------------------+--------------------------------------------------------------+
2784 "name": "c1a7de0ac9d94e4baceae031d05caae3",
2790 "vimName": "vimName",
2792 "tenantId": "tenantId1",
2800 "name": " c1a7de0ac9d94e4baceae031d05caae3",
2804 "project": "(total)",
2814 "name": " c1a7de0ac9d94e4baceae031d05caae3",
2818 "project": "(used\_now)",
2828 "name": " c1a7de0ac9d94e4baceae031d05caae3",
2832 "project": "(used\_max)",
2842 "name": " c1a7de0ac9d94e4baceae031d05caae3",
2846 "project": "568f7ec425db472ba348251bf1e7eebd",
2854 "vimName": "openstack\_newton",
2856 "vimId": "dd5b6da9-5984-401f-b89f-78a9776b1a73",
2858 "tenantId": "568f7ec425db472ba348251bf1e7eebd"
2862 13. **VIM Management**
2863 ^^^^^^^^^^^^^^^^^^^^^^
2865 13.1. **Update VIM Info**
2866 -------------------------
2868 +---------------------+----------------------------------------------------------------------------------------------+
2869 | **IF Definition** | **Description** |
2870 +=====================+==============================================================================================+
2871 | URI | http(s)://[hostname][:port]/onapapi/ multicloud /v1/{cloud-owner}\_{cloud-region}/registry |
2872 +---------------------+----------------------------------------------------------------------------------------------+
2873 | Operation | POST |
2874 +---------------------+----------------------------------------------------------------------------------------------+
2875 | Direction | ESR-> MULTICLOUD |
2876 +---------------------+----------------------------------------------------------------------------------------------+
2881 +-----------------+-----------------+-------------------+---------------+-----------------------+
2882 | **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
2883 +=================+=================+===================+===============+=======================+
2884 | defaultTenant | M | 1 | string | default tenant name |
2885 +-----------------+-----------------+-------------------+---------------+-----------------------+
2887 13.1.2. **Response**
2888 >>>>>>>>>>>>>>>>>>>>
2896 13.2. **Unregistry VIM**
2897 ------------------------
2899 +---------------------+-----------------------------------------------------------------------------------------------+
2900 | **IF Definition** | **Description** |
2901 +=====================+===============================================================================================+
2902 | URI | http(s)://[hostname][:port]/onapapi/multicloud/v1/{cloud-owner}\_{cloud-region} |
2903 +---------------------+-----------------------------------------------------------------------------------------------+
2904 | Operation | DELETE |
2905 +---------------------+-----------------------------------------------------------------------------------------------+
2906 | Direction | ESR-> MULTICLOUD |
2907 +---------------------+-----------------------------------------------------------------------------------------------+
2914 13.2.2. **Response**
2915 >>>>>>>>>>>>>>>>>>>>
2919 204: No content found