e153cc684cd7bd693f839d58d8321f0b78d50db5
[demo.git] / heat / vFW_CNF_CDS / automation / README.md
1 # vFW_CNF_CDS use case automation
2
3 1. Install required packages with pipenv `pipenv install`
4 2. Run virtual environment `pipenv shell --fancy`
5 3. Add kubeconfig files, one for ONAP cluster, and one for k8s cluster that will host vFW:
6    - `artifacts/cluster_kubeconfig`
7    - `artifacts/onap_kubeconfig`
8 4. Prepare onboarding packages `cd ../templates/ && make && cd ../automation/`
9 5. Modify `config.py`:
10    - NATIVE - enables native helm orchestration path in SO
11    - CLOUD_REGION
12    - GLOBAL_CUSTOMER_ID
13    - VENDOR
14    - SERVICENAME
15    - CUSTOMER_RESOURCE_DEFINITIONS - add list of CRDs to be installed on non KUD k8s cluster
16 6. Run script `python create_k8s_region.py` in order to create **k8s cloud region**
17 7. Onboard **vFW** `python onboard.py`
18 8. Instantiate **vFW** `python instantiate.py`
19 9. Once test is done, **vFW** service instance can be deleted with `python delete.py` command