diff options
Diffstat (limited to 'heat/vFW_CNF_CDS/templates/policy/README.txt')
-rw-r--r-- | heat/vFW_CNF_CDS/templates/policy/README.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/heat/vFW_CNF_CDS/templates/policy/README.txt b/heat/vFW_CNF_CDS/templates/policy/README.txt new file mode 100644 index 00000000..afb30f7c --- /dev/null +++ b/heat/vFW_CNF_CDS/templates/policy/README.txt @@ -0,0 +1,13 @@ +`policy.sh` script allows to create and push naming policy for CNF usecase. Execution of script can be checked by calling `./policy.sh -h`. As pdp doesn't expose it's service externally, this folder needs to be copied to some ONAP pod with bash and curl available (for example, mariadb-galera) and executed within. +Scope of changes and reasoning behind is described in related ticket: https://jira.onap.org/browse/SDNC-1109. + +Example execution flow: +``` +cd .. +kubectl cp policy onap-mariadb-galera-mariadb-galera-0:/tmp/policy +kubectl exec -it onap-mariadb-galera-mariadb-galera-0 bash +cd /tmp/policy +./policy.sh get #See that CNF naming policy is not uploaded yet +./policy.sh create #Create and push CNF naming policy +./policy.sh get #Verify that now it's visible +``` |