blob: e5556106a6f93f34106d5b728ed3a5b1f4f3aa95 [file] [log] [blame]
Gary Wucd47a012018-11-30 07:18:36 -08001.. This work is licensed under a Creative Commons Attribution 4.0
2 International License. http://creativecommons.org/licenses/by/4.0
shashikanth.vh@huawei.com3bb78c32020-03-04 12:06:18 +05303
Gary Wucd47a012018-11-30 07:18:36 -08004.. _docs_ccvpn:
5
mrichommee4643892020-11-30 18:31:29 +01006:orphan:
7
Gary Wucd47a012018-11-30 07:18:36 -08008CCVPN (Cross Domain and Cross Layer VPN)
9----------------------------------------
Gary Wue4a2df82018-11-29 12:49:09 -080010
hyu20101b38e5b2021-02-25 17:13:25 -050011Update for Honolulu Release
Bartek Grzybowski4a9a0d62021-04-02 13:57:51 +020012~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hesam Rahimi4067c612021-03-22 22:50:10 +000013
hyu20101b38e5b2021-02-25 17:13:25 -050014The Honolulu release continued to support and extend the Transport Slicing functionality
Hesam Rahimi4067c612021-03-22 22:50:10 +000015developed in Guilin release. Two main features were aded in Honolulu release (REQ-456):
hyu20101b38e5b2021-02-25 17:13:25 -050016
Hesam Rahimi4067c612021-03-22 22:50:10 +0000171. The support for reuse and modification of an existing TN NSSI has been developed.
182. In addition, the Honolulu release also continuted to support and extend the CCVPN
19 use-case and in particular, the support for inter-domain connections of three or
20 more network domains has been introduced in Honolulu release. (CCVPN in previous
21 releases were only be able to connect two domains).
hyu20101b38e5b2021-02-25 17:13:25 -050022
Hesam Rahimi4067c612021-03-22 22:50:10 +000023Honolulu Scope and Impacted modules
24~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25
26For feature #1 mentioned above, the user should be able to "modify" a Transport Slice.
27The modification operation is able to support the following three scenarios:
28
29a. A user may "Add" one or more new service(s)/connections link(s) to a given slice
30 (TN NSSI) that is already created.
31b. A user may need to change or modify the maximum bandwidth attribute (i.e. the SLA
32 agreement) using which a given slice is created.
33c. Both of the above operations.
34
35For feature #2 mentioned above, now in H release, we can have and support an artibrary
36number of domains inter-connected to each other and we can support a cross-layer
37cross-domain VPN connectivity and transport slicing for these kinds of scenarios as well.
38
39Impacted ONAP modules include: SO, SDN-C, CCSDK, A&AI.
40
41In CCSDk, a path computation engine (PCE) mechanism is introduced to support a
42graph-based path computation in a multi-domain network topologies. This PCE system is
43implemented as a SLI plugin to be called and used by Directed Graphs (DGs).
44
45For A&AI, additional attributes were introduced to the connectivity node and vpn-binding node.
46
47In SDN-C, additional Directed Graphs (DGs) were implemented to support the above-mentioned
48two features.
49
50Installation Procedure
51~~~~~~~~~~~~~~~~~~~~~~
52
53For Honolulu new features, the integration test environment is similar to that of the Guilin
54release: an ONAP instance with Honolulu release interfacing to 3rd party transport domain
55controllers should be established.
56
57For Transport Slicing, the installation procedure is similar to that of the E2E
58Network Slicing use case. In other words, we need to bring up the required modules
59including SDC, SO, A&AI, UUI and OOF. We also need to configure these modules along
60with the mandatory common modules such as DMaaP.
61
62Functional/Integration Test Cases
63~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
64
65The testing procedure is described in the following few test cases:
66
67- service/template design: Successful design of TN NSST and Slice Profile
68- modify max-bandwidth of existing TN NSSI: Modify the maximum bandwidth of an existing TN NSSI
69- modify connection links existing TN NSSI: Add new connection links to existing TN NSSI
70- modify both max-bandwidth and connection links of TN NSSI: Modify both the maximum bandwidth and add new connection links to an existing TN NSSI
71- three-domain network: Test create TN NSSI (or other NSI life cycle operations) on a three-domain network (i.e., need 3 ACTN PNC simulators)
72
73
hyu20101b38e5b2021-02-25 17:13:25 -050074
Xin Miao8757ebc2020-10-01 21:40:39 +000075Update for Guilin Release
76~~~~~~~~~~~~~~~~~~~~~~~~~
77
mrichomme0fcaa852020-11-26 15:24:27 +010078In Guilin Release, **MDONS** Extension feature is introduced.
Xin Miao8757ebc2020-10-01 21:40:39 +000079
mrichomme0fcaa852020-11-26 15:24:27 +010080In addition to the MDONS extension, CCVPN has also developed an
81IETF/ACTN-based Transport Slicing solution (REQ-347). This development
82enabled ONAP to offer the TN NSSMF functionality, which was used by
83the E2E Network Slicing use case (REQ-342).  The solution was built
84upon the existing IETF/ACTN E-LINE over OTN NNI feature developed in Frankfurt release.
Xin Miao8757ebc2020-10-01 21:40:39 +000085
86Guilin Scope and Impacted modules
87~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88MDONS Extension implementation for the Frankfurt release will incorporate the following:
89
90- Support Asynchronous OpenRoadM OTN service activation notification handling
91- Add OOF support for inter domain link/path selection
92- Support Closed Loop sub-use case
mrichommee4643892020-11-30 18:31:29 +010093
94Impacted ONAP modules include: OOF, SDN-C, SO and Holmes.
Xin Miao8757ebc2020-10-01 21:40:39 +000095
mrichomme0fcaa852020-11-26 15:24:27 +010096`Wiki link reference <https://wiki.onap.org/display/DW/MDONS+Extension+in+R7>`_
Xin Miao8757ebc2020-10-01 21:40:39 +000097
hyu201075399d62020-11-17 17:02:07 -050098Transport Slicing in Guilin release has implemented the following TN NSSMF functionality:
99
100- Allocate TN NSSI
101- Deallocate TN NSSI
102- Activate TN NSSI
103- Deactivate TN NSSI
104
mrichomme0fcaa852020-11-26 15:24:27 +0100105The Tranport Slicing implementation has made code changes in the following modules:
hyu201075399d62020-11-17 17:02:07 -0500106
107- AAI (Schema changes only)
108- UUI
109- SO
110- OOF
111- SDN-C
112- CCSDK
113- Modelling
114
Xin Miao8757ebc2020-10-01 21:40:39 +0000115Functional/Integration Test Cases
116~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Xin Miao8757ebc2020-10-01 21:40:39 +0000117
mrichomme0fcaa852020-11-26 15:24:27 +0100118For integration test case and description of MDONS extension, refer to this
119`following wiki-page <https://wiki.onap.org/display/DW/Integration+Test+Cases+-+MDONS+Extension>`_.
120
121For integration test case and description of Transport Slicing:
122
123- `Guilin Test plan <https://wiki.onap.org/display/DW/CCVPN+-+Transport+Slicing+integration+test+plan+for+Guilin+release>`_
124- `Guilin E2E Network Slicing <https://wiki.onap.org/display/DW/E2E+Network+Slicing+Use+Case+in+R7+Guilin>`_
hyu201075399d62020-11-17 17:02:07 -0500125
Xin Miao8757ebc2020-10-01 21:40:39 +0000126Installation Procedure
127~~~~~~~~~~~~~~~~~~~~~~
mrichomme0fcaa852020-11-26 15:24:27 +0100128
129For MDONS extension, the integration test environment is established to have ONAP instance with Guilin
Xin Miao8757ebc2020-10-01 21:40:39 +0000130release interfacing to 3rd party transport domain controllers. One controller
131instance manages OpenROADM OTN topology and the other 2 instances manage TAPI
132OTN topology. L0 infrastructure and WDM services are pre-provisioned to support
133L1 topology discovery and OTN service orchestration from ONAP.
134
mrichomme0fcaa852020-11-26 15:24:27 +0100135For Transport Slicing, the installation procedure is similar to that of the E2E
hyu201075399d62020-11-17 17:02:07 -0500136Network Slicing use case. In other words, we need to bring up the required modules
137including SDC, SO, A&AI, UUI and OOF. We also need to configure these modules along
138with the mandatory common modules such as DMaaP.
139
mrichomme0fcaa852020-11-26 15:24:27 +0100140Testing Procedures
141~~~~~~~~~~~~~~~~~~
Xin Miao8757ebc2020-10-01 21:40:39 +0000142
mrichomme0fcaa852020-11-26 15:24:27 +0100143The testing procedure is described in:
144
145- `Testing procedure for MDONS extension <https://wiki.onap.org/display/DW/Integration+Test+Cases+-+MDONS+Extension>`_
146- `Testing procedure for Transport Slicing <https://wiki.onap.org/display/DW/CCVPN+-+Transport+Slicing+integration+test+plan+for+Guilin+release>`_
Xin Miao8757ebc2020-10-01 21:40:39 +0000147
shashikanth.vh@huawei.com3bb78c32020-03-04 12:06:18 +0530148Update for Frankfurt release
149~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mrichomme0fcaa852020-11-26 15:24:27 +0100150
shashikanth.vh@huawei.com3bb78c32020-03-04 12:06:18 +0530151In Frankfurt, we introduced two extensions in CCVPN use case. One is E-LINE service over OTN NNI handover, another is the
152multi domain optical service which aims to provide end to end layer 1 service.
153
154E-LINE over OTN NNI
155~~~~~~~~~~~~~~~~~~~
mrichomme0fcaa852020-11-26 15:24:27 +0100156
shashikanth.vh@huawei.com3bb78c32020-03-04 12:06:18 +0530157Description
158~~~~~~~~~~~
mrichomme0fcaa852020-11-26 15:24:27 +0100159
shashikanth.vh@huawei.com3bb78c32020-03-04 12:06:18 +0530160It is considered a typical scenario for operators to use OTN to interconnect its multiple transport network domains. Hence
161the capabilities of orchestrating end-to-end E-LINE services across the domains over OTN is important for ONAP. When operating
162with multiple domains with multi vendor solutions, it is also important to define and use standard and open
mrichomme0fcaa852020-11-26 15:24:27 +0100163interfaces, such as the IETF ACTN-based transport `YANG models <https://tools.ietf.org/html/rfc8345>`_, as the southbound interface
shashikanth.vh@huawei.com3bb78c32020-03-04 12:06:18 +0530164of ONAP, in order to ensure interoperability. The SOTN NNI use-case aims to automate the design, service provision by independent
165operational entities within a service provider network by delivering E-Line over OTN orchestration capabilities into ONAP. SOTN NNI
166extends upon the CCVPN use-case by incorporating support for L1/L2 network management capabilities leveraging open standards & common
167data models.
168
169Frankfurt Scope and Impacted modules
170~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mrichomme0fcaa852020-11-26 15:24:27 +0100171
shashikanth.vh@huawei.com3bb78c32020-03-04 12:06:18 +0530172The Frankfurt demonstration includes L1(OTN) and L2(ETH) Topology discovery from multiple domains controllers with in an operator
173and provide VPN service provision in OTN and ETH network.
174
175The ONAP components involved in this use case are: SDC, A&AI, UUI, SO, SDNC, OOF, MSB.
176
177Functional Test Cases
178~~~~~~~~~~~~~~~~~~~~~
mrichomme0fcaa852020-11-26 15:24:27 +0100179
shashikanth.vh@huawei.com3bb78c32020-03-04 12:06:18 +0530180Usecase specific developments have been realized in SO, OOF, AAI, SDNC and UUI ONAP components..
181
shashikanth.vh@huawei.com3bb78c32020-03-04 12:06:18 +0530182Testing Procedure
183~~~~~~~~~~~~~~~~~
184Design time
185SOTNVPNInfraService service design in SDC and distribute to AAI and SO.
186
187Run Time:
mrichomme0fcaa852020-11-26 15:24:27 +0100188All operation will be triggered by UUI, including service creation and termination,
189link management and topology network display:
shashikanth.vh@huawei.com3bb78c32020-03-04 12:06:18 +0530190
mrichommee4643892020-11-30 18:31:29 +0100191- `E-LINE over OTN Inter Domain Test Cases <https://wiki.onap.org/display/DW/E-LINE+over+OTN+Inter+Domain+Test+Cases>`_
mrichomme0fcaa852020-11-26 15:24:27 +0100192- `Testing status <https://wiki.onap.org/display/DW/2%3A+Frankfurt+Release+Integration+Testing+Status>`_
shashikanth.vh@huawei.com3bb78c32020-03-04 12:06:18 +0530193
Xin Miao57a161d2020-03-05 19:54:39 +0000194MDONS (Multi-Domain Optical Network Services)
195~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mrichomme0fcaa852020-11-26 15:24:27 +0100196
Xin Miao57a161d2020-03-05 19:54:39 +0000197Overall Description
198~~~~~~~~~~~~~~~~~~~
mrichomme0fcaa852020-11-26 15:24:27 +0100199
200The MDONS use-case aims to automate the design, activation & operations resulting
201from an optical transport (L0/L1) service request exchange between service providers and/or independent operational entities within a service provider network by delivering E2E optical orchestration capabilities into ONAP. MDONS extends upon the CCVPN use-case by incorporating support for L0/L1 network management capabilities leveraging open standards & common data models defined by OpenROADM, Transport-API & MEF.
Xin Miao57a161d2020-03-05 19:54:39 +0000202
203Frankfurt Scope and Impacted modules
204~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mrichomme0fcaa852020-11-26 15:24:27 +0100205
Xin Miao57a161d2020-03-05 19:54:39 +0000206MDONS implementation for the Frankfurt release will incorporate the following:
207- Design & modelling of optical services based on MEF L1 subscriber & operator properties
208- E2E optical service workflow definitions for service instantiation & deletion
209- UI portal with L1 service instantiation templates
210- Optical Transport domain management (topology, resource onboarding) through standard models / APIs - OpenROADM, T-API
211Impacted ONAP modules include: A&AI, SDC, SDN-C, SO, UUI
212
mrichomme0fcaa852020-11-26 15:24:27 +0100213References:
214
215- `OpenROADM reference <https://github.com/OpenROADM/OpenROADM_MSA_Public>`_
216- `ONF Transport-API (TAPI) <https://github.com/OpenNetworkingFoundation/TAPI>`_
217- `MEF <https://wiki.mef.net/display/CESG/MEF+63+-+Subscriber+Layer+1+Service+Attributes>`_
Xin Miao57a161d2020-03-05 19:54:39 +0000218
219Functional/Integration Test Cases
220~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mrichomme0fcaa852020-11-26 15:24:27 +0100221
222For integration test case and description, refer to this following
223`wiki-page <https://wiki.onap.org/display/DW/MDONS+Integration+Test+Case>`_.
Xin Miao57a161d2020-03-05 19:54:39 +0000224
225Installation Procedure
226~~~~~~~~~~~~~~~~~~~~~~
mrichomme0fcaa852020-11-26 15:24:27 +0100227
228The integration test environment is established to have ONAP instance with
229Frankfurt release interfacing to 3rd party transport domain controllers.
230One controller instance manages OpenROADM OTN topology and the other 2 instances
231manage TAPI OTN topology. L0 infrastructure and WDM services are pre-provisioned
232to support L1 topology discovery and OTN service orchestration from ONAP.
Xin Miao57a161d2020-03-05 19:54:39 +0000233
234Testing Procedure
235~~~~~~~~~~~~~~~~~
Xin Miao57a161d2020-03-05 19:54:39 +0000236
mrichomme0fcaa852020-11-26 15:24:27 +0100237Test environment is described in
238`Installation and Test Procedure <https://wiki.onap.org/display/DW/MDONS+Integration+Test+Case>`_.
shashikanth.vh@huawei.com3bb78c32020-03-04 12:06:18 +0530239
yangyanyjfdae1482019-06-25 21:44:14 +0800240Update for Dublin release
241~~~~~~~~~~~~~~~~~~~~~~~~~
242
2431. Service model optimization
244
245In Dublin release,the design of CCVPN was optimized by having support of List type of Input in SDC.
mrichommee4643892020-11-30 18:31:29 +0100246During onboarding and design phase, one end to end service is created using SDC.
247This service is composed of these two kinds of resources:
248
249- VPN resource
250- Site resource
251
252See the `Details of Targeted Service Template wiki page <https://wiki.onap.org/display/DW/Details+of+Targeted+Service+Template>`_
253for details.
yangyanyjfdae1482019-06-25 21:44:14 +0800254
2552. Closed Loop in bandwidth adjustment
256Simulate alarm at the edge site branch and ONAP will execute close-loop automatically and trigger bandwidth to change higher.
257
2583. Site Change
259Site can be add or delete according to the requirements
260
mrichomme0fcaa852020-11-26 15:24:27 +0100261More information about:
yangyanyjfdae1482019-06-25 21:44:14 +0800262
mrichomme0fcaa852020-11-26 15:24:27 +0100263- `CCVPN in Dublin release <https://wiki.onap.org/pages/viewpage.action?pageId=45296665>`_
264- `Dublin test cases <https://wiki.onap.org/display/DW/CCVPN+Test+Cases+for+Dublin+Release>`_
mrichommee4643892020-11-30 18:31:29 +0100265- `CCVPN Test Status wiki page <https://wiki.onap.org/display/DW/CCVPN+Test+Status>`_
yangyanyjfdae1482019-06-25 21:44:14 +0800266
mrichomme0fcaa852020-11-26 15:24:27 +0100267.. note::
268 CCVPN integration testing coversed service design, service creation and
269 closed-loop bandwidth adjustments in Dublin release.
yangyanyjfdae1482019-06-25 21:44:14 +0800270
mrichomme0fcaa852020-11-26 15:24:27 +0100271 The service termination and service change will continue to be tested in E release.
272 During the integration testing, SDC, SO, SDC master branch are used which
273 includes the enhanced features for CCVPN use case.
yangyanyjfdae1482019-06-25 21:44:14 +0800274
shashikanth.vh@huawei.com3bb78c32020-03-04 12:06:18 +0530275Service used for CCVPN
mrichommeefb859d2020-03-19 19:02:41 +0100276~~~~~~~~~~~~~~~~~~~~~~
Gary Wue4a2df82018-11-29 12:49:09 -0800277
mrichomme0fcaa852020-11-26 15:24:27 +0100278- `SOTNVPNInfraService, SDWANVPNInfraService and SIteService <https://wiki.onap.org/display/DW/CCVPN+Service+Design>`_
279- `WanConnectionService (Another way to describe CCVPN in a single service form which based on ONF CIM <https://wiki.onap.org/display/DW/CCVPN+Wan+Connection+Service+Design>`_
Gary Wue4a2df82018-11-29 12:49:09 -0800280
281Description
282~~~~~~~~~~~
Gary Wue4a2df82018-11-29 12:49:09 -0800283
mrichomme0fcaa852020-11-26 15:24:27 +0100284Cross-domain, cross-layer VPN (CCVPN) is one of the use cases of the ONAP
285Casablanca release. This release demonstrates cross-operator ONAP orchestration
286and interoperability with third party SDN controllers and enables cross-domain,
287cross-layer and cross-operator service creation and assurance.
Gary Wue4a2df82018-11-29 12:49:09 -0800288
mrichomme0fcaa852020-11-26 15:24:27 +0100289The demonstration includes two ONAP instances, one deployed by Vodafone and one
290by China Mobile, both of which orchestrate the respective operator underlay OTN
291networks and overlay SD-WAN networks and peer to each other for cross-operator
292VPN service delivery.
293
294`CCVPN Use Case Wiki Page <https://wiki.onap.org/display/DW/CCVPN%28Cross+Domain+and+Cross+Layer+VPN%29+USE+CASE>`_
Gary Wue4a2df82018-11-29 12:49:09 -0800295
296The projects covered by this use case include: SDC, A&AI, UUI, SO, SDNC, OOF, Policy, DCAE(Holmes), External API, MSB
297
298How to Use
299~~~~~~~~~~
mrichomme0fcaa852020-11-26 15:24:27 +0100300
301Design time:
302
303- `SOTNVPNInfraService, SDWANVPNInfraService and SIteService service Design steps <https://wiki.onap.org/display/DW/CCVPN+Service+Design>`_
304- `WanConnectionService ( Another way to describe CCVPN in a single service form which based on ONF CIM ) <https://wiki.onap.org/display/DW/CCVPN+Wan+Connection+Service+Design>`_
Gary Wue4a2df82018-11-29 12:49:09 -0800305
306Run Time:
mrichomme0fcaa852020-11-26 15:24:27 +0100307
308- All operations will be triggered by UUI, including service creation and termination,
309 link management and topology network display.
Gary Wue4a2df82018-11-29 12:49:09 -0800310
311
mrichommee4643892020-11-30 18:31:29 +0100312See the `CCVPN Test Guide wiki page <https://wiki.onap.org/display/DW/CCVPN+Test+Guide>`_
313for details.
Gary Wue4a2df82018-11-29 12:49:09 -0800314
315Test Status and Plans
316~~~~~~~~~~~~~~~~~~~~~
Gary Wue4a2df82018-11-29 12:49:09 -0800317
mrichomme0fcaa852020-11-26 15:24:27 +0100318- `All test case covered by this use case <https://wiki.onap.org/display/DW/CCVPN+Integration+Test+Case>`_
319- `Test status <https://wiki.onap.org/display/DW/CCVPN++-Test+Status>`_
Gary Wue4a2df82018-11-29 12:49:09 -0800320
321Known Issues and Resolutions
322~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mrichomme0fcaa852020-11-26 15:24:27 +0100323
mrichommeefb859d2020-03-19 19:02:41 +01003241) AAI-1923. Link Management, UUI can't delete the link to external onap otn domain.
Gary Wue4a2df82018-11-29 12:49:09 -0800325
326For the manual steps provided by A&AI team, we should follow the steps as follow
327the only way to delete is using the forceDeleteTool shell script in the graphadmin container.
328First we will need to find the vertex id, you should be able to get the id by making the following GET request.
329
330GET /aai/v14/network/ext-aai-networks/ext-aai-network/createAndDelete/esr-system-info/test-esr-system-info-id-val-0?format=raw
331
mrichommeefb859d2020-03-19 19:02:41 +0100332.. code-block:: JSON
Gary Wue4a2df82018-11-29 12:49:09 -0800333
mrichommeefb859d2020-03-19 19:02:41 +0100334 {
335
336 "results": [
337 {
338 "id": "20624",
339 "node-type": "pserver",
340 "url": "/aai/v13/cloud-infrastructure/pservers/pserver/pserverid14503-as988q",
341 "properties": {}
342 }
343 ]
344 }
Gary Wue4a2df82018-11-29 12:49:09 -0800345
yangyanyjfdae1482019-06-25 21:44:14 +0800346
Gary Wue4a2df82018-11-29 12:49:09 -0800347Same goes for the ext-aai-network:
348
349GET /aai/v14/network/ext-aai-networks/ext-aai-network/createAndDelete?format=raw
350
351Retrieve the id from the above output as that will be the vertex id that you want to remove.
352
353Run the following command multiple times for both the esr-system-info and ext-aai-network:
354
355::
356
mrichommeefb859d2020-03-19 19:02:41 +0100357 kubectl exec -it $(kubectl get pods -lapp=aai-graphadmin -n onap --template 'range .items.metadata.name"\n"end' | head -1) -n onap gosu aaiadmin /opt/app/aai-graphadmin/scripts/forceDeleteTool.sh -action DELETE_NODE -userId YOUR_ID_ANY_VALUE -vertexId VERTEX_ID
Gary Wue4a2df82018-11-29 12:49:09 -0800358
359From the above, remove the YOUR_ID_ANY_VALUE and VERTEX_ID with your info.
360
3612) SDC-1955. Site service Distribution
362
363To overcome the Service distribution, the SO catalog has to be populated with the model information of the services and resources.
mrichomme0fcaa852020-11-26 15:24:27 +0100364a) Refering to the Csar that is generated in the SDC designed as per the details mentioned in the below link: https://wiki.onap.org/display/DW/CCVPN+Service+Design
Gary Wue4a2df82018-11-29 12:49:09 -0800365b) Download the Csar from SDC thus generated.
366c) copy the csar to SO sdc controller pod and bpmn pod
mrichommeefb859d2020-03-19 19:02:41 +0100367
368.. code-block:: bash
369
Gary Wue4a2df82018-11-29 12:49:09 -0800370 kubectl -n onap get pod|grep so
371 kubectl -n onap exec -it dev-so-so-sdc-controller-c949f5fbd-qhfbl /bin/sh
Gary Wue4a2df82018-11-29 12:49:09 -0800372 mkdir null/ASDC
373 mkdir null/ASDC/1
374 kubectl -n onap cp service-Sdwanvpninfraservice-csar.csar dev-so-so-bpmn-infra-58796498cf-6pzmz:null/ASDC/1/service-Sdwanvpninfraservice-csar.csar
375 kubectl -n onap cp service-Sdwanvpninfraservice-csar.csar dev-so-so-bpmn-infra-58796498cf-6pzmz:ASDC/1/service-Sdwanvpninfraservice-csar.csar
376
mrichommeefb859d2020-03-19 19:02:41 +0100377d) populate model information to SO db: the db script example can be seen in
378 https://wiki.onap.org/display/DW/Manual+steps+for+CCVPN+Integration+Testing
Gary Wue4a2df82018-11-29 12:49:09 -0800379
380The same would also be applicable for the integration of the client to create the service and get the details.
381Currently the testing has been performed using the postman calls to the corresponding APIs.
382
mrichomme0fcaa852020-11-26 15:24:27 +01003833) SDC-1955 & SDC-1958. Site service parsing Error
Gary Wue4a2df82018-11-29 12:49:09 -0800384
mrichomme0fcaa852020-11-26 15:24:27 +0100385UUI: stored the csar which created based on beijing release under a fixed directory, If site servive can't parsed by SDC tosca parser, UUI will parse this default csar and get the input parameter
Gary Wue4a2df82018-11-29 12:49:09 -0800386a) Make an available csar file for CCVPN use case.
387b) Replace uuid of available files with what existing in SDC.
388c) Put available csar files in UUI local path (/home/uui).
389
mrichommeefb859d2020-03-19 19:02:41 +01003904) SO docker branch 1.3.5 has fixes for the issues 1SO-1248
Gary Wue4a2df82018-11-29 12:49:09 -0800391
392After SDC distribution success, copy all csar files from so-sdc-controller:
Gary Wue4a2df82018-11-29 12:49:09 -0800393
mrichommeefb859d2020-03-19 19:02:41 +0100394- connect to so-sdc-controller ( eg: kubectl.exe exec -it -n onap dev-so-so-sdc-controller-77df99bbc9-stqdz /bin/sh )
395- find out all csar files ( eg: find / -name "\*.csar" ), the csar files should
396 be in this path: /app/null/ASDC/ ( eg: /app/null/ASDC/1/service-Sotnvpninfraservice-csar.csar )
397- exit from the so-sdc-controller ( eg: exit )
398- copy all csar files to local derectory ( eg: kubectl.exe cp onap/dev-so-so-sdc-controller-6dfdbff76c-64nf9:/app/null/ASDC/tmp/service-DemoService-csar.csar service-DemoService-csar.csar -c so-sdc-controller )
399
400Copy csar files, which got from so-sdc-controller, to so-bpmn-infra:
401
402- connect to so-bpmn-infra ( eg: kubectl.exe -n onap exec -it dev-so-so-bpmn-infra-54db5cd955-h7f5s -c so-bpmn-infra /bin/sh )
mrichomme0fcaa852020-11-26 15:24:27 +0100403- check the /app/ASDC directory, if doesn't exist, create it ( eg: mkdir /app/ASDC -p )
mrichommeefb859d2020-03-19 19:02:41 +0100404- exit from the so-bpmn-infra ( eg: exit )
405- copy all csar files to so-bpmn-infra ( eg: kubectl.exe cp service-Siteservice-csar.csar onap/dev-so-so-bpmn-infra-54db5cd955-h7f5s:/app/ASDC/1/service-Siteservice-csar.csar )