blob: e9c219a7079934ee07370991298ad44aa73d9dbe [file] [log] [blame]
Ofir Sonsino49351d72017-10-24 10:18:23 +03001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. http://creativecommons.org/licenses/by/4.0
3
4Consumed APIs
5=============
Ofir Sonsino1954d182017-10-30 11:25:19 +02006VID consumes the following APIs from other components:
Ofir Sonsino49351d72017-10-24 10:18:23 +03007
Ofir Sonsino1954d182017-10-30 11:25:19 +02008SDC
9----
Ofir Sonsino49351d72017-10-24 10:18:23 +030010
Ofir Sonsino1954d182017-10-30 11:25:19 +020011+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
Ofir Sonsino0e1e6a92017-11-08 11:31:34 +020012| /sdc/v1/catalog/services/meta | Get available services |
Ofir Sonsino1954d182017-10-30 11:25:19 +020013+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
Ofir Sonsino0e1e6a92017-11-08 11:31:34 +020014| /sdc/v1/catalog/services/toscaModel | Download CSAR by UUID |
Ofir Sonsino1954d182017-10-30 11:25:19 +020015+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
16
17SO
18---
19
20+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
Sonsino, Ofir (os0695)e45452e2018-05-09 13:56:55 +030021| POST /e2eServiceInstances/v3 | Create E2E instance |
22+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
23| POST /serviceInstances/v6 | Create instance |
Ofir Sonsino1954d182017-10-30 11:25:19 +020024+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
25| DELETE | Delete instance |
Sonsino, Ofir (os0695)e45452e2018-05-09 13:56:55 +030026| /serviceInstances/v6/<instance-id> | |
Ofir Sonsino1954d182017-10-30 11:25:19 +020027+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
28| POST | Create VNF |
Sonsino, Ofir (os0695)e45452e2018-05-09 13:56:55 +030029| /serviceInstances/v6/<service_instance_id>/vnfs | |
Ofir Sonsino1954d182017-10-30 11:25:19 +020030+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
31| DELETE | Delete VNF |
Sonsino, Ofir (os0695)e45452e2018-05-09 13:56:55 +030032| /serviceInstances/v6/<service_instance_id>/vnfs/<vnf_id> | |
Ofir Sonsino1954d182017-10-30 11:25:19 +020033+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
34| POST | Create VF-Module |
Sonsino, Ofir (os0695)e45452e2018-05-09 13:56:55 +030035| /serviceInstances/v6/<service_instance_id>/vnfs/<vnf_instance_id>/vfModules | |
Ofir Sonsino1954d182017-10-30 11:25:19 +020036+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
37| DELETE | Delete VF-Module |
Sonsino, Ofir (os0695)e45452e2018-05-09 13:56:55 +030038| /serviceInstances/v6/<service_instance_id>/vnfs/<vnf_instance_id>/vfModules | |
Ofir Sonsino1954d182017-10-30 11:25:19 +020039+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
40| POST | Create Volume group |
Sonsino, Ofir (os0695)e45452e2018-05-09 13:56:55 +030041| /serviceInstances/v6/<service_instance_id>/vnfs/<vnf_instance_id>/volumeGroups | |
Ofir Sonsino1954d182017-10-30 11:25:19 +020042+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
Ofir Sonsino0e1e6a92017-11-08 11:31:34 +020043| DELETE | Delete Volume group |
Sonsino, Ofir (os0695)e45452e2018-05-09 13:56:55 +030044| /serviceInstances/v6/<service_instance_id>/vnfs/<vnf_instance_id>/volumeGroups | |
Ofir Sonsino1954d182017-10-30 11:25:19 +020045+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
46| POST | Create configuration |
Sonsino, Ofir (os0695)e45452e2018-05-09 13:56:55 +030047| /serviceInstances/v6/<service_instance_id>/configurations/ | |
Ofir Sonsino1954d182017-10-30 11:25:19 +020048+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
49| DELETE | Delete configuration |
Sonsino, Ofir (os0695)e45452e2018-05-09 13:56:55 +030050| serviceInstances/v6/<service_instance_id>/configurations/<configuration_id> | |
Ofir Sonsino1954d182017-10-30 11:25:19 +020051+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
52| POST | Create network |
Sonsino, Ofir (os0695)e45452e2018-05-09 13:56:55 +030053| /serviceInstances/v6/<service_instance_id>/networks | |
Ofir Sonsino1954d182017-10-30 11:25:19 +020054+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
55| DELETE | Delete network (network instance id) |
Sonsino, Ofir (os0695)e45452e2018-05-09 13:56:55 +030056| /serviceInstances/v6/<service_instance_id>/networks/<network_instance_id> | |
Ofir Sonsino1954d182017-10-30 11:25:19 +020057+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
Sonsino, Ofir (os0695)e45452e2018-05-09 13:56:55 +030058| GET /orchestrationRequests/v6 | Get orchestration status |
Ofir Sonsino1954d182017-10-30 11:25:19 +020059+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
Ofir Sonsino0e1e6a92017-11-08 11:31:34 +020060| GET /tasks/v1 | Get available manual tasks by request id |
Ofir Sonsino1954d182017-10-30 11:25:19 +020061+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
Ofir Sonsino49351d72017-10-24 10:18:23 +030062
63
Ofir Sonsino1954d182017-10-30 11:25:19 +020064A&AI
65-----
66
67+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
68| GET | Get all subscribers |
Ittay Stern03658e92020-03-04 12:20:33 +020069| aai/v16/business/customers?subscriber-type=INFRA&depth=2 | |
Ofir Sonsino1954d182017-10-30 11:25:19 +020070+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
Ittay Stern03658e92020-03-04 12:20:33 +020071| GET aai/v16/ | Get data for a specific subscriber including its available services |
Ofir Sonsino1954d182017-10-30 11:25:19 +020072| business/customers/customer/<global_customer_id> | |
73+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
74| GET | Get all service types |
Ittay Stern03658e92020-03-04 12:20:33 +020075| aai/v16/service-design-and-creation/services | |
Ofir Sonsino1954d182017-10-30 11:25:19 +020076+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
Ofir Sonsino0e1e6a92017-11-08 11:31:34 +020077| GET | Get services by owner entity id |
Ittay Stern03658e92020-03-04 12:20:33 +020078| aai/v16/business/owning-entities?<owning_entitiy_ids> | |
Ofir Sonsino1954d182017-10-30 11:25:19 +020079+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
80| GET | Get services by project name |
Ittay Stern03658e92020-03-04 12:20:33 +020081| aai/v16/business/projects?<project-names> | |
Ofir Sonsino1954d182017-10-30 11:25:19 +020082+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
Ittay Stern03658e92020-03-04 12:20:33 +020083| GET aai/v16/network/zones | Get all AIC zones |
Ofir Sonsino1954d182017-10-30 11:25:19 +020084+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
Ofir Sonsino0e1e6a92017-11-08 11:31:34 +020085| POST search/named-query | Get data regarding an instance and the instance's related nodes |
Ofir Sonsino1954d182017-10-30 11:25:19 +020086+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
Ittay Stern03658e92020-03-04 12:20:33 +020087| GET aai/v16/ | Get AIC zones for a specific service instance |
Ofir Sonsino1954d182017-10-30 11:25:19 +020088| business/customers/customer/<global_customer_id>/ | |
89| /service-subscriptions/service-subscription/<service_type>/service-instances/service-instance/<service_instance_id> | |
90+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
Ittay Stern03658e92020-03-04 12:20:33 +020091| PUT aai/v16/query?format=simple(types: | This is a custom query and has multiple types(declared in the url line)|
Ofir Sonsino1954d182017-10-30 11:25:19 +020092| “query/vnfFromModelbyRegion?cloudRegionId”,” | |
93| vnf-topology-fromServiceInstance”) | |
94+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
Ittay Stern03658e92020-03-04 12:20:33 +020095| aai/v16/ | Get the human readable version by version id |
Ofir Sonsino1954d182017-10-30 11:25:19 +020096| service-design-and-creation/models?depth=2 | |
97+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
98| business/customers/customer/<global_customer_id>/service-subscriptions/service-subscription/<service_Subscription_Id>?depth=0 | Get all service subscriptions |
99+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+