Tutorial: Demo Environment Restore
- 1 VF Delete/Recreate
- 1.1 VF-Module
- 1.2 VNF
- 1.3 Service Instance
- 2 Full Teardown
TODO: Procedures to return the Rackspace or OpenStack environment to initial state before running any part of the ONAP demo
Extract logic from our robot test (thanks Daniel) in https://gerrit.onap.org/r/gitweb?p=testsuite.git;a=blob;f=robot/resources/test_templates/model_test_template.robot;h=add942db761d703bc8c42ca8ff61ff528f965e56;hb=refs/heads/release-1.0.0
Include instructions to run and clean the demo using authenticated REST calls from an OSS client - we need more functions than what is supported in Portal API
VF Delete/Recreate
The demo currently allows only a single VF per category (hardcoded IPs not overridden by the env file in UCA-17: Demo vFW env parameters are not overriding defaults during preloadClosed) - until then you will need to delete the current VF before recreating a 2nd one. The procedure is as follows.
Delete the 3 artifacts in sequence
VF-Module
VNF
Service Instance
When these 3 nested artifacts are deleted then proceed back to sub-page 2 of Onboarding a VSP (and skip ./demo.sh init - only run it once to set the customer)
Full Teardown
There are 2 stacks and 5 DCAE servers outside the 2 stacks to delete
delete DemoModule stack
delete 5 DCAE VMs (see also DCAEGEN2-3: CDAP VM takes a long time to be destroyedClosed)
delete onap stack
check hanging ports, block storage volumes