Gary Wu | cd47a01 | 2018-11-30 07:18:36 -0800 | [diff] [blame] | 1 | .. This work is licensed under a Creative Commons Attribution 4.0 |
| 2 | International License. http://creativecommons.org/licenses/by/4.0 |
shashikanth.vh@huawei.com | 3bb78c3 | 2020-03-04 12:06:18 +0530 | [diff] [blame] | 3 | |
Gary Wu | cd47a01 | 2018-11-30 07:18:36 -0800 | [diff] [blame] | 4 | .. _docs_ccvpn: |
| 5 | |
| 6 | CCVPN (Cross Domain and Cross Layer VPN) |
| 7 | ---------------------------------------- |
Gary Wu | e4a2df8 | 2018-11-29 12:49:09 -0800 | [diff] [blame] | 8 | |
shashikanth.vh@huawei.com | 3bb78c3 | 2020-03-04 12:06:18 +0530 | [diff] [blame] | 9 | Update for Frankfurt release |
| 10 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 11 | In Frankfurt, we introduced two extensions in CCVPN use case. One is E-LINE service over OTN NNI handover, another is the |
| 12 | multi domain optical service which aims to provide end to end layer 1 service. |
| 13 | |
| 14 | E-LINE over OTN NNI |
| 15 | ~~~~~~~~~~~~~~~~~~~ |
| 16 | Description |
| 17 | ~~~~~~~~~~~ |
| 18 | It is considered a typical scenario for operators to use OTN to interconnect its multiple transport network domains. Hence |
| 19 | the capabilities of orchestrating end-to-end E-LINE services across the domains over OTN is important for ONAP. When operating |
| 20 | with multiple domains with multi vendor solutions, it is also important to define and use standard and open |
| 21 | interfaces, such as the IETF ACTN-based transport YANG models(https://tools.ietf.org/html/rfc8345), as the southbound interface |
| 22 | of ONAP, in order to ensure interoperability. The SOTN NNI use-case aims to automate the design, service provision by independent |
| 23 | operational entities within a service provider network by delivering E-Line over OTN orchestration capabilities into ONAP. SOTN NNI |
| 24 | extends upon the CCVPN use-case by incorporating support for L1/L2 network management capabilities leveraging open standards & common |
| 25 | data models. |
| 26 | |
| 27 | Frankfurt Scope and Impacted modules |
| 28 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 29 | The Frankfurt demonstration includes L1(OTN) and L2(ETH) Topology discovery from multiple domains controllers with in an operator |
| 30 | and provide VPN service provision in OTN and ETH network. |
| 31 | |
| 32 | The ONAP components involved in this use case are: SDC, A&AI, UUI, SO, SDNC, OOF, MSB. |
| 33 | |
| 34 | Functional Test Cases |
| 35 | ~~~~~~~~~~~~~~~~~~~~~ |
| 36 | Usecase specific developments have been realized in SO, OOF, AAI, SDNC and UUI ONAP components.. |
| 37 | |
| 38 | All test case covered by this use case: |
| 39 | https://wiki.onap.org/display/DW/E-LINE+over+OTN+Inter+Domain+Test+Cases |
| 40 | |
| 41 | Testing Procedure |
| 42 | ~~~~~~~~~~~~~~~~~ |
| 43 | Design time |
| 44 | SOTNVPNInfraService service design in SDC and distribute to AAI and SO. |
| 45 | |
| 46 | Run Time: |
| 47 | All operation will be triggered by UUI, including service creation and termination, link management and topology network display. |
| 48 | |
| 49 | More details can be found here: |
| 50 | https://wiki.onap.org/display/DW/E-LINE+over+OTN+Inter+Domain+Test+Cases |
| 51 | |
| 52 | Test status can be found here: |
| 53 | https://wiki.onap.org/display/DW/2%3A+Frankfurt+Release+Integration+Testing+Status |
| 54 | |
Xin Miao | 57a161d | 2020-03-05 19:54:39 +0000 | [diff] [blame] | 55 | MDONS (Multi-Domain Optical Network Services) |
| 56 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 57 | Overall Description |
| 58 | ~~~~~~~~~~~~~~~~~~~ |
| 59 | The MDONS use-case aims to automate the design, activation & operations resulting from 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. |
| 60 | |
| 61 | Frankfurt Scope and Impacted modules |
| 62 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 63 | MDONS implementation for the Frankfurt release will incorporate the following: |
| 64 | - Design & modelling of optical services based on MEF L1 subscriber & operator properties |
| 65 | - E2E optical service workflow definitions for service instantiation & deletion |
| 66 | - UI portal with L1 service instantiation templates |
| 67 | - Optical Transport domain management (topology, resource onboarding) through standard models / APIs - OpenROADM, T-API |
| 68 | Impacted ONAP modules include: A&AI, SDC, SDN-C, SO, UUI |
| 69 | |
| 70 | OpenROADM reference: https://github.com/OpenROADM/OpenROADM_MSA_Public |
| 71 | ONF Transport-API (TAPI): https://github.com/OpenNetworkingFoundation/TAPI |
| 72 | MEF: https://wiki.mef.net/display/CESG/MEF+63+-+Subscriber+Layer+1+Service+Attributes |
| 73 | |
| 74 | Functional/Integration Test Cases |
| 75 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 76 | For integration test case and description, refer to this following wiki-page: |
| 77 | https://wiki.onap.org/display/DW/MDONS+Integration+Test+Case |
| 78 | |
| 79 | Installation Procedure |
| 80 | ~~~~~~~~~~~~~~~~~~~~~~ |
| 81 | The integration test environment is established to have ONAP instance with Frankfurt release interfacing to 3rd party transport domain controllers. One controller instance manages OpenROADM OTN topology and the other 2 instances manage TAPI OTN topology. L0 infrastructure and WDM services are pre-provisioned to support L1 topology discovery and OTN service orchestration from ONAP. |
| 82 | |
| 83 | Testing Procedure |
| 84 | ~~~~~~~~~~~~~~~~~ |
| 85 | Test environment is described in Installation Procedure section and test procedure is described in https://wiki.onap.org/display/DW/MDONS+Integration+Test+Case. |
| 86 | |
shashikanth.vh@huawei.com | 3bb78c3 | 2020-03-04 12:06:18 +0530 | [diff] [blame] | 87 | |
yangyanyj | fdae148 | 2019-06-25 21:44:14 +0800 | [diff] [blame] | 88 | Update for Dublin release |
| 89 | ~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 90 | |
| 91 | 1. Service model optimization |
| 92 | |
| 93 | In Dublin release,the design of CCVPN was optimized by having support of List type of Input in SDC. |
| 94 | During onboarding and design phase, one end to end service is created using SDC. This service is |
| 95 | composed of these two kinds of resources: |
| 96 | • VPN resource |
| 97 | • Site resource |
| 98 | You can see the details from here https://wiki.onap.org/display/DW/Details+of+Targeted+Service+Template |
| 99 | |
| 100 | 2. Closed Loop in bandwidth adjustment |
| 101 | Simulate alarm at the edge site branch and ONAP will execute close-loop automatically and trigger bandwidth to change higher. |
| 102 | |
| 103 | 3. Site Change |
| 104 | Site can be add or delete according to the requirements |
| 105 | |
| 106 | |
| 107 | More information about CCVPN in Dublin release:https://wiki.onap.org/pages/viewpage.action?pageId=45296665 |
| 108 | and the test case in Dublin can be found:https://wiki.onap.org/display/DW/CCVPN+Test+Cases+for+Dublin+Release |
| 109 | And test status:https://wiki.onap.org/display/DW/CCVPN+Test+Status |
| 110 | |
| 111 | Note: CCVPN integration testing coversed service design, service creation and closed-loop bandwidth adjustments in Dublin release. |
shashikanth.vh@huawei.com | 3bb78c3 | 2020-03-04 12:06:18 +0530 | [diff] [blame] | 112 | The service termination and service change will continue to be tested in E release. |
| 113 | During the integration testing, SDC, SO, SDC master branch are used which include the enhanced features for CCVPN use case. |
yangyanyj | fdae148 | 2019-06-25 21:44:14 +0800 | [diff] [blame] | 114 | |
| 115 | |
shashikanth.vh@huawei.com | 3bb78c3 | 2020-03-04 12:06:18 +0530 | [diff] [blame] | 116 | Service used for CCVPN |
yangyanyj | fdae148 | 2019-06-25 21:44:14 +0800 | [diff] [blame] | 117 | ~~~~~~~~~~~~~~~~~~~~~ |
Gary Wu | e4a2df8 | 2018-11-29 12:49:09 -0800 | [diff] [blame] | 118 | |
| 119 | - SOTNVPNInfraService, SDWANVPNInfraService and SIteService: https://wiki.onap.org/display/DW/CCVPN+Service+Design |
| 120 | - 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 |
| 121 | |
| 122 | Description |
| 123 | ~~~~~~~~~~~ |
| 124 | Cross-domain, cross-layer VPN (CCVPN) is one of the use cases of the ONAP Casablanca release. This release demonstrates cross-operator ONAP orchestration and interoperability with third party SDN controllers and enables cross-domain, cross-layer and cross-operator service creation and assurance. |
| 125 | |
| 126 | The demonstration includes two ONAP instances, one deployed by Vodafone and one by China Mobile, both of which orchestrate the respective operator underlay OTN networks and overlay SD-WAN networks and peer to each other for cross-operator VPN service delivery. |
| 127 | |
| 128 | The CCVPN Use Case Wiki Page can be found here: https://wiki.onap.org/display/DW/CCVPN%28Cross+Domain+and+Cross+Layer+VPN%29+USE+CASE. |
| 129 | |
| 130 | The projects covered by this use case include: SDC, A&AI, UUI, SO, SDNC, OOF, Policy, DCAE(Holmes), External API, MSB |
| 131 | |
| 132 | How to Use |
| 133 | ~~~~~~~~~~ |
| 134 | Design time |
| 135 | SOTNVPNInfraService, SDWANVPNInfraService and SIteService service Design steps can be found here: https://wiki.onap.org/display/DW/CCVPN+Service+Design |
| 136 | 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 |
| 137 | |
| 138 | Run Time: |
| 139 | All opertion will be triggerd by UUI, inlcuding service creation and termination, link management and topology network display. |
| 140 | |
| 141 | |
| 142 | More details can be fonud here: https://wiki.onap.org/display/DW/CCVPN+Test+Guide |
| 143 | |
| 144 | Test Status and Plans |
| 145 | ~~~~~~~~~~~~~~~~~~~~~ |
| 146 | All test case covered by this use case: https://wiki.onap.org/display/DW/CCVPN+Integration+Test+Case |
| 147 | |
| 148 | And the test status can be found: https://wiki.onap.org/display/DW/CCVPN++-Test+Status |
| 149 | |
| 150 | Known Issues and Resolutions |
| 151 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 152 | 1) AAI-1923. Link Management, UUI can't delete the link to external onap otn domain. |
| 153 | |
| 154 | For the manual steps provided by A&AI team, we should follow the steps as follow |
| 155 | the only way to delete is using the forceDeleteTool shell script in the graphadmin container. |
| 156 | First we will need to find the vertex id, you should be able to get the id by making the following GET request. |
| 157 | |
| 158 | GET /aai/v14/network/ext-aai-networks/ext-aai-network/createAndDelete/esr-system-info/test-esr-system-info-id-val-0?format=raw |
| 159 | |
| 160 | :: |
| 161 | |
| 162 | { |
| 163 | "results": [ |
| 164 | { |
| 165 | "id": "20624", |
| 166 | "node-type": "pserver", |
| 167 | "url": "/aai/v13/cloud-infrastructure/pservers/pserver/pserverid14503-as988q", |
| 168 | "properties": { |
| 169 | } |
| 170 | } |
| 171 | ] |
| 172 | } |
| 173 | |
yangyanyj | fdae148 | 2019-06-25 21:44:14 +0800 | [diff] [blame] | 174 | |
Gary Wu | e4a2df8 | 2018-11-29 12:49:09 -0800 | [diff] [blame] | 175 | Same goes for the ext-aai-network: |
| 176 | |
| 177 | GET /aai/v14/network/ext-aai-networks/ext-aai-network/createAndDelete?format=raw |
| 178 | |
| 179 | Retrieve the id from the above output as that will be the vertex id that you want to remove. |
| 180 | |
| 181 | Run the following command multiple times for both the esr-system-info and ext-aai-network: |
| 182 | |
| 183 | :: |
| 184 | |
| 185 | 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 |
| 186 | |
| 187 | From the above, remove the YOUR_ID_ANY_VALUE and VERTEX_ID with your info. |
| 188 | |
| 189 | 2) SDC-1955. Site service Distribution |
| 190 | |
| 191 | To overcome the Service distribution, the SO catalog has to be populated with the model information of the services and resources. |
| 192 | a) Refering to the Csar that is generated in the SDC designed as per the detailes mentioned in the below link: https://wiki.onap.org/display/DW/CCVPN+Service+Design |
| 193 | b) Download the Csar from SDC thus generated. |
| 194 | c) copy the csar to SO sdc controller pod and bpmn pod |
| 195 | kubectl -n onap get pod|grep so |
| 196 | kubectl -n onap exec -it dev-so-so-sdc-controller-c949f5fbd-qhfbl /bin/sh |
| 197 | |
| 198 | mkdir null/ASDC |
| 199 | mkdir null/ASDC/1 |
| 200 | kubectl -n onap cp service-Sdwanvpninfraservice-csar.csar dev-so-so-bpmn-infra-58796498cf-6pzmz:null/ASDC/1/service-Sdwanvpninfraservice-csar.csar |
| 201 | kubectl -n onap cp service-Sdwanvpninfraservice-csar.csar dev-so-so-bpmn-infra-58796498cf-6pzmz:ASDC/1/service-Sdwanvpninfraservice-csar.csar |
| 202 | |
| 203 | d) populate model information to SO db |
| 204 | the db script example can be seen in https://wiki.onap.org/display/DW/Manual+steps+for+CCVPN+Integration+Testing |
| 205 | |
| 206 | The same would also be applicable for the integration of the client to create the service and get the details. |
| 207 | Currently the testing has been performed using the postman calls to the corresponding APIs. |
| 208 | |
| 209 | 3) SDC-1955 & SDC-1958. Site serivce parsing Error |
| 210 | |
| 211 | UUI: stored the csar which created based on beijing release under a fixed directory, If site serive can't parsed by SDC tosca parser, UUI will parse this default csar and get the input parameter |
| 212 | a) Make an available csar file for CCVPN use case. |
| 213 | b) Replace uuid of available files with what existing in SDC. |
| 214 | c) Put available csar files in UUI local path (/home/uui). |
| 215 | |
Gary Wu | cd47a01 | 2018-11-30 07:18:36 -0800 | [diff] [blame] | 216 | 4) SO docker branch 1.3.5 has fixes for the issues 1SO-1248. |
Gary Wu | e4a2df8 | 2018-11-29 12:49:09 -0800 | [diff] [blame] | 217 | |
| 218 | After SDC distribution success, copy all csar files from so-sdc-controller: |
| 219 | connect to so-sdc-controller( eg: kubectl.exe exec -it -n onap dev-so-so-sdc-controller-77df99bbc9-stqdz /bin/sh ) |
| 220 | find out all csar files ( eg: find / -name '*.csar' ) |
| 221 | the csar files should be in this path: /app/null/ASDC/ ( eg: /app/null/ASDC/1/service-Sotnvpninfraservice-csar.csar ) |
| 222 | exit from the so-sdc-controller ( eg: exit ) |
| 223 | 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 ) |
| 224 | |
| 225 | Copy csar files, which got from so-sdc-controller, to so-bpmn-infra |
| 226 | 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 ) |
| 227 | check the /app/ASDC deretory, if doesn't exist, create it ( eg: mkdir /app/ASDC -p ) |
| 228 | exit from the so-bpmn-infra ( eg: exit ) |
| 229 | 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 ) |
| 230 | |
| 231 | 5) Manual steps in closed loop Scenario: |
| 232 | Following steps were undertaken for the closed loop testing. |
| 233 | a. Give controller ip, username and password, trust store and key store file in restconf collector collector.properties |
| 234 | b. Updated DMAAP ip in cambria.hosts in DmaapConfig.json in restconf collector and run restconf collector |
| 235 | c. Followed the steps provided in this link(https://wiki.onap.org/display/DW/Holmes+User+Guide+-+Casablanca#HolmesUserGuide-Casablanca-Configurations) to push CCVPN rules to holmes |
| 236 | d. Followed the steps provided in this link(https://wiki.onap.org/display/DW/ONAP+Policy+Framework%3A+Installation+of+Amsterdam+Controller+and+vCPE+Policy) as reference to push CCVPN policies to policy module and updated sdnc.url, username and password in environment(/opt/app/policy/config/controlloop.properties.environment) |
| 237 | As per wiki (Policy on OOM), push-policied.sh script is used to install policies. but I observed that CCVPN policy is not added in this script. So merged CCVPN policy using POLICY-1356 JIRA ticket. but policy is pushed by using push-policy_casablanca.sh script during integration test. |
| 238 | It is found that the changes made were overwritten and hence had to patch the DG manually. This will be tracked by the JIRA SDNC-540. |
| 239 | |
Xin Miao | 57a161d | 2020-03-05 19:54:39 +0000 | [diff] [blame] | 240 | all above manual steps can be found https://wiki.onap.org/display/DW/Manual+steps+for+CCVPN+Integration+Testing |