summaryrefslogtreecommitdiffstats
path: root/docs/consumedapis.rst
blob: e1a722798cd5b394e0fb86959fa2e65dd896db7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0

Consumed APIs
=============
VID consumes the following APIs from other components:

SDC
----

+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| /sdc/v1/catalog/services/meta                                                                                                 | Get available services                                                 |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| /sdc/v1/catalog/services/toscaModel                                                                                           | Download CSAR by UUID                                                  |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+

SO
---

+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| POST /e2eServiceInstances/v3                                                                                                  | Create E2E instance                                                    |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| POST /serviceInstances/v6                                                                                                     | Create instance                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| DELETE                                                                                                                        | Delete instance                                                        |
|   /serviceInstances/v6/<instance-id>                                                                                          |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| POST                                                                                                                          | Create VNF                                                             |
|   /serviceInstances/v6/<service_instance_id>/vnfs                                                                             |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| DELETE                                                                                                                        | Delete VNF                                                             |
|   /serviceInstances/v6/<service_instance_id>/vnfs/<vnf_id>                                                                    |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| POST                                                                                                                          | Create VF-Module                                                       |
|   /serviceInstances/v6/<service_instance_id>/vnfs/<vnf_instance_id>/vfModules                                                 |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| DELETE                                                                                                                        | Delete VF-Module                                                       |
|   /serviceInstances/v6/<service_instance_id>/vnfs/<vnf_instance_id>/vfModules                                                 |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| POST                                                                                                                          | Create Volume group                                                    |
|   /serviceInstances/v6/<service_instance_id>/vnfs/<vnf_instance_id>/volumeGroups                                              |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| DELETE                                                                                                                        | Delete Volume group                                                    |
|   /serviceInstances/v6/<service_instance_id>/vnfs/<vnf_instance_id>/volumeGroups                                              |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| POST                                                                                                                          | Create configuration                                                   |
|   /serviceInstances/v6/<service_instance_id>/configurations/                                                                  |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| DELETE                                                                                                                        | Delete configuration                                                   |
|   serviceInstances/v6/<service_instance_id>/configurations/<configuration_id>                                                 |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| POST                                                                                                                          | Create network                                                         |
|   /serviceInstances/v6/<service_instance_id>/networks                                                                         |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| DELETE                                                                                                                        | Delete network (network instance id)                                   |
|   /serviceInstances/v6/<service_instance_id>/networks/<network_instance_id>                                                   |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| GET /orchestrationRequests/v6                                                                                                 | Get orchestration status                                               |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| GET /tasks/v1                                                                                                                 | Get available manual tasks by request id                               |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+


A&AI
-----

+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| GET                                                                                                                           | Get all subscribers                                                    |
|   aai/v19/business/customers?subscriber-type=INFRA&depth=2                                                                    |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| GET aai/v19/                                                                                                                  | Get data for a specific subscriber including its available services    |
|   business/customers/customer/<global_customer_id>                                                                            |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| GET                                                                                                                           | Get all service types                                                  |
|   aai/v19/service-design-and-creation/services                                                                                |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| GET                                                                                                                           | Get services by owner entity id                                        |
|   aai/v19/business/owning-entities?<owning_entitiy_ids>                                                                       |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| GET                                                                                                                           | Get services by project name                                           |
|   aai/v19/business/projects?<project-names>                                                                                   |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| GET aai/v19/network/zones                                                                                                     | Get all AIC zones                                                      |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| POST search/named-query                                                                                                       | Get data regarding an instance and the instance's related nodes        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| GET aai/v19/                                                                                                                  | Get AIC zones for a specific service instance                          |
|   business/customers/customer/<global_customer_id>/                                                                           |                                                                        |
|   /service-subscriptions/service-subscription/<service_type>/service-instances/service-instance/<service_instance_id>         |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| PUT aai/v19/query?format=simple(types:                                                                                        | This is a custom query and has multiple types(declared in the url line)|
|   “query/vnfFromModelbyRegion?cloudRegionId”,”                                                                                |                                                                        |
|   vnf-topology-fromServiceInstance”)                                                                                          |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| aai/v19/                                                                                                                      | Get the human readable version by version id                           |
|   service-design-and-creation/models?depth=2                                                                                  |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| business/customers/customer/<global_customer_id>/service-subscriptions/service-subscription/<service_Subscription_Id>?depth=0 | Get all service subscriptions                                          |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+