aboutsummaryrefslogtreecommitdiffstats
path: root/docs/consumedapis.rst
blob: 4326aeec6b79ca39755702b380239ca5b4dabda2 (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 /serviceInstances/v5                                                                                                     | Create instance                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| DELETE                                                                                                                        | Delete instance                                                        |
|   /serviceInstances/v5/<instance-id>                                                                                          |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| POST                                                                                                                          | Create VNF                                                             |
|   /serviceInstances/v5/<service_instance_id>/vnfs                                                                             |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| DELETE                                                                                                                        | Delete VNF                                                             |
|   /serviceInstances/v5/<service_instance_id>/vnfs/<vnf_id>                                                                    |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| POST                                                                                                                          | Create VF-Module                                                       |
|   /serviceInstances/v5/<service_instance_id>/vnfs/<vnf_instance_id>/vfModules                                                 |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| DELETE                                                                                                                        | Delete VF-Module                                                       |
|   /serviceInstances/v5/<service_instance_id>/vnfs/<vnf_instance_id>/vfModules                                                 |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| POST                                                                                                                          | Create Volume group                                                    |
|   /serviceInstances/v5/<service_instance_id>/vnfs/<vnf_instance_id>/volumeGroups                                              |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| DELETE                                                                                                                        | Delete Volume group                                                    |
|   /serviceInstances/v5/<service_instance_id>/vnfs/<vnf_instance_id>/volumeGroups                                              |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| POST                                                                                                                          | Create configuration                                                   |
|   /serviceInstances/v5/<service_instance_id>/configurations/                                                                  |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| DELETE                                                                                                                        | Delete configuration                                                   |
|   serviceInstances/v5/<service_instance_id>/configurations/<configuration_id>                                                 |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| POST                                                                                                                          | Create network                                                         |
|   /serviceInstances/v5/<service_instance_id>/networks                                                                         |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| DELETE                                                                                                                        | Delete network (network instance id)                                   |
|   /serviceInstances/v5/<service_instance_id>/networks/<network_instance_id>                                                   |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| GET /orchestrationRequests/v5                                                                                                 | Get orchestration status                                               |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| GET /tasks/v1                                                                                                                 | Get available manual tasks by request id                               |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+


A&AI
-----

+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| GET                                                                                                                           | Get all subscribers                                                    |
|   aai/v11/business/customers?subscriber-type=INFRA&depth=2                                                                    |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| GET aai/v11/                                                                                                                  | Get data for a specific subscriber including its available services    |
|   business/customers/customer/<global_customer_id>                                                                            |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| GET                                                                                                                           | Get all service types                                                  |
|   aai/v11/service-design-and-creation/services                                                                                |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| GET                                                                                                                           | Get services by owner entity id                                        |
|   aai/v11/business/owning-entities?<owning_entitiy_ids>                                                                       |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| GET                                                                                                                           | Get services by project name                                           |
|   aai/v11/business/projects?<project-names>                                                                                   |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| GET aai/v11/network/zones                                                                                                     | Get all AIC zones                                                      |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| POST search/named-query                                                                                                       | Get data regarding an instance and the instance's related nodes        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
| GET aai/v11/                                                                                                                  | 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/v11/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/v11/                                                                                                                      | 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                                          |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+
|                                                                                                                               |                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+