Source Code
~~~~~~~~~~~
-vcpe tosca local test scripts: https://git.onap.org/integration/tree/test
+vcpe tosca local test scripts: https://git.onap.org/integration/tree/test/vcpe_tosca/local/vcpe_tosca_test.py
How to Use
~~~~~~~~~~
The use case has been automated by vcpe_tosca_test scripts. The followings are the main steps to run the use case in Integration lab environment:
-1) Install ONAP CLI environment, open_cli_product is onap-elalto.
+1) Install ONAP CLI environment, open_cli_product is onap-dublin.
2) Prepare openstack test environment.
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"
- Download the related ubuntu image from https://cloud-images.ubuntu.com/
+ Download the related ubuntu image from https://cloud-images.ubuntu.com/
- .. image:: files/vcpe_tosca/image.png
+ .. image:: files/vcpe_tosca/image.png
- Openstack Horizon--Project--Compute--Images page, create an image named image, the name must be the same with image which is defined in vnf csar file.
+ Openstack Horizon--Project--Compute--Images page, create an image named image, the name must be the same with image which is defined in vnf csar file.
- .. image:: files/vcpe_tosca/create_image.png
+ .. image:: files/vcpe_tosca/create_image.png
-3) Update the configuration file vcpe_config.json under https://git.onap.org/integration/tree/test
+3) Update the configuration file vcpe_config.json under https://git.onap.org/integration/tree/test/vcpe_tosca/local/config
You should update the values if you want to run in your environment.
"cloud_region_data": {
"RegionOne":(update to your Region name) {
- "cloud-region-version": "titanium_cloud",
+ "cloud-region-version": the cloud region version of your Cloud region,
"esr-system-info-id": "1111ce1f-aa78-4ebf-8d6f-4b62773e9b01",
"service-url": the ip change to your openstack ip address,
"user-name": the user name you created on openstack,
}
-4) The vnf csar file include Infra, vGW, vBNG, vBRGEMU and vGMUX, and the ns csar file is ns. https://git.onap.org/integration/tree/test
+4) The vnf csar file include Infra, vGW, vBNG, vBRGEMU and vGMUX, and the ns csar file is ns. https://git.onap.org/integration/tree/test/vcpe_tosca/local/csar
-5) The key test script is vcpe_tosca_test.py which is under https://git.onap.org/integration/tree/test
+5) The key test script is vcpe_tosca_test.py which is under https://git.onap.org/integration/tree/test/vcpe_tosca/local
Run command is
modeling-etsicatalog: 1.0.5
multicloud-framework: 1.5.1
multicloud-windriver: 1.5.5
- cli: onap-elalto
+ cli: onap-dublin
Note
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1) You should create an image named image before running the test script, the name must be the same with image which is defined in vnf csar file.
-2) There are something wrong if you use the cli dublin, so please use elalto instead.
+2) You should install ONAP CLI before running the script.
Known Issues and Workaround