diff options
author | Konrad Bańka <k.banka@samsung.com> | 2020-02-28 11:21:22 +0100 |
---|---|---|
committer | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2020-03-05 11:45:48 +0000 |
commit | 367417cd7957916dffffef5d85e7cca304367c53 (patch) | |
tree | c5160adac89330ab0529d2fa3a9b88f63c21051e /heat/vFW_CNF_CDS/templates/policy/README.txt | |
parent | 3c887a297e506f393df2a56e748fc398bcbc4b1a (diff) |
Provide custom naming policy for vFW CNF usecase
Issue-ID: INT-1457
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: I9a5bc4ba6296800005bd0ed5cbc6c79b1064bdcd
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 +``` |