X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=heat%2FvFW_CNF_CDS%2Fautomation%2FREADME.md;fp=heat%2FvFW_CNF_CDS%2Fautomation%2FREADME.md;h=bbc9cdeb22949b51ffc3ce82380bbaf5e9ed7cc0;hb=303fe3b4343838ae4c7b7a2511cb065f3abe7699;hp=0000000000000000000000000000000000000000;hpb=28107b9b3116d05eead52f9b88bfa385f4762f0a;p=demo.git diff --git a/heat/vFW_CNF_CDS/automation/README.md b/heat/vFW_CNF_CDS/automation/README.md new file mode 100755 index 00000000..bbc9cdeb --- /dev/null +++ b/heat/vFW_CNF_CDS/automation/README.md @@ -0,0 +1,18 @@ +# vFW_CNF_CDS use case automation + +1. Install required packages with pipenv `pipenv install` +2. Run virtual environment `pipenv shell --fancy` +3. Add kubeconfig files, one for ONAP cluster, and one for k8s cluster that will host vFW: + - `artifacts/cluster_kubeconfig` + - `artifacts/onap_kubeconfig` +4. Prepare onboarding packages `cd ../templates/ && make && cd ../automation/` +5. Modify `config.py`: + - NATIVE - enables native helm orchestration path in SO + - CLOUD_REGION + - GLOBAL_CUSTOMER_ID + - VENDOR + - SERVICENAME + - CUSTOMER_RESOURCE_DEFINITIONS - add list of CRDs to be installed on non KUD k8s cluster +6. Run script `python create_k8s_region.py` in order to create **k8s cloud region** +7. Onboard **vFW** `python onboard.py` +8. Instantiate **vFW** `python instantiate.py`