diff options
author | Lukasz Rajewski <lukasz.rajewski@orange.com> | 2021-03-24 19:15:31 +0100 |
---|---|---|
committer | Lukasz Rajewski <lukasz.rajewski@orange.com> | 2021-03-28 22:21:25 +0200 |
commit | 06bf0ac45889ffe00fc6e27e68ffa15c2f519e6f (patch) | |
tree | ecf4c17542c62ee6c0433edcbccac5707370a8f1 /heat/vFW_CNF_CDS/templates/cba-dev | |
parent | d2c5f361fa3a246dfa23c2c582ec498322a97282 (diff) |
Real vFW CNF config-assign and config-deploy
Implementation of vFW CNF config-assign and config-deploy with
utilization of CDS native components for configuration API
Change-Id: I016b186e1fcad0bf1285292f2e93e12a1d96b63e
Issue-ID: INT-1868
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Diffstat (limited to 'heat/vFW_CNF_CDS/templates/cba-dev')
5 files changed, 7 insertions, 4 deletions
diff --git a/heat/vFW_CNF_CDS/templates/cba-dev/enrich.sh b/heat/vFW_CNF_CDS/templates/cba-dev/enrich.sh index 1db994b6..632cb89f 100755 --- a/heat/vFW_CNF_CDS/templates/cba-dev/enrich.sh +++ b/heat/vFW_CNF_CDS/templates/cba-dev/enrich.sh @@ -19,4 +19,5 @@ curl --location --request POST 'http://127.0.0.1:8081/api/v1/blueprint-model/enrich' \ --header 'Authorization: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==' \ +-o 'cba.zip' \ --form 'file=@../package_native/CBA.zip' | jq diff --git a/heat/vFW_CNF_CDS/templates/cba-dev/run-vf-base-ra.sh b/heat/vFW_CNF_CDS/templates/cba-dev/run-vf-base-ra.sh index f40760f2..3046cfd8 100755 --- a/heat/vFW_CNF_CDS/templates/cba-dev/run-vf-base-ra.sh +++ b/heat/vFW_CNF_CDS/templates/cba-dev/run-vf-base-ra.sh @@ -32,7 +32,7 @@ curl --location --request POST 'http://localhost:8081/api/v1/execution-service/p }, "actionIdentifiers": { "blueprintName": "vFW_CNF_CDS", - "blueprintVersion": "7.0.0", + "blueprintVersion": "8.0.0", "actionName": "resource-assignment", "mode": "sync" }, diff --git a/heat/vFW_CNF_CDS/templates/cba-dev/run-vf-pkg-ra.sh b/heat/vFW_CNF_CDS/templates/cba-dev/run-vf-pkg-ra.sh index 09283293..a80238db 100755 --- a/heat/vFW_CNF_CDS/templates/cba-dev/run-vf-pkg-ra.sh +++ b/heat/vFW_CNF_CDS/templates/cba-dev/run-vf-pkg-ra.sh @@ -32,7 +32,7 @@ curl --location --request POST 'http://localhost:8081/api/v1/execution-service/p }, "actionIdentifiers": { "blueprintName": "vFW_CNF_CDS", - "blueprintVersion": "7.0.0", + "blueprintVersion": "8.0.0", "actionName": "resource-assignment", "mode": "sync" }, @@ -60,6 +60,7 @@ curl --location --request POST 'http://localhost:8081/api/v1/execution-service/p "k8s-rb-profile-name": "vfw-cnf-cds-base-profile", "k8s-rb-profile-source": "vfw-cnf-cds-base-profile", "k8s-rb-profile-namespace": "vfirewall", + "k8s-rb-profile-k8s-version": "1.18.9", "k8s-rb-config-template-name": "ssh-service-config", "k8s-rb-config-template-source": "ssh-service-config", "management-prefix-id" : 3 diff --git a/heat/vFW_CNF_CDS/templates/cba-dev/run-vnf-config.sh b/heat/vFW_CNF_CDS/templates/cba-dev/run-vnf-config.sh index 1461475e..d8a7ca19 100755 --- a/heat/vFW_CNF_CDS/templates/cba-dev/run-vnf-config.sh +++ b/heat/vFW_CNF_CDS/templates/cba-dev/run-vnf-config.sh @@ -32,7 +32,7 @@ curl --location --request POST 'http://localhost:8081/api/v1/execution-service/p }, "actionIdentifiers": { "blueprintName": "vFW_CNF_CDS", - "blueprintVersion": "7.0.0", + "blueprintVersion": "8.0.0", "actionName": "'config-$ACTION'", "mode": "sync" }, diff --git a/heat/vFW_CNF_CDS/templates/cba-dev/run-vnf-ra.sh b/heat/vFW_CNF_CDS/templates/cba-dev/run-vnf-ra.sh index 1e24a7a2..2d64bac7 100755 --- a/heat/vFW_CNF_CDS/templates/cba-dev/run-vnf-ra.sh +++ b/heat/vFW_CNF_CDS/templates/cba-dev/run-vnf-ra.sh @@ -31,7 +31,7 @@ curl --location --request POST 'http://localhost:8081/api/v1/execution-service/p }, "actionIdentifiers": { "blueprintName": "vFW_CNF_CDS", - "blueprintVersion": "7.0.0", + "blueprintVersion": "8.0.0", "actionName": "resource-assignment", "mode": "sync" }, @@ -49,6 +49,7 @@ curl --location --request POST 'http://localhost:8081/api/v1/execution-service/p "vnf-id": "51274ece-55ca-4cbc-b7c4-0da0dcc65d38", "vnf_name": "sample-vnf-name", "k8s-rb-profile-namespace": "vfw-namespace", + "k8s-rb-profile-k8s-version": "1.18.9", "int_private1_net_cidr" : "192.168.10.0/24", "int_private2_net_cidr" : "192.168.20.0/24", "onap_private_net_cidr" : "10.0.0.0/16", |