diff options
author | 2019-04-18 14:29:42 -0400 | |
---|---|---|
committer | 2019-04-18 14:29:42 -0400 | |
commit | 0443998090eb195b1e2de897201843b8a90ae037 (patch) | |
tree | d19dd6796e647951a434200d1f36403972c8cad7 /heat/vFWCL/vFWSNK/base_vfw.yaml | |
parent | c8038e7451fb5bf2b9d5e7b70e5a29d56f9202a7 (diff) |
Fix vFWCL Heat template for instantiation with Robot
- Don't use vnf_name as private network name prefix. Added a new parameter named net_prefix
Change-Id: I2b54f49ce40635e1e5869dab8290f3dfc4ef6f16
Issue-ID: INT-853
Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'heat/vFWCL/vFWSNK/base_vfw.yaml')
-rw-r--r-- | heat/vFWCL/vFWSNK/base_vfw.yaml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/heat/vFWCL/vFWSNK/base_vfw.yaml b/heat/vFWCL/vFWSNK/base_vfw.yaml index fe7d96cd..a11d4b41 100644 --- a/heat/vFWCL/vFWSNK/base_vfw.yaml +++ b/heat/vFWCL/vFWSNK/base_vfw.yaml @@ -125,6 +125,10 @@ parameters: type: string label: VNF NAME description: The VNF NAME is provided by ONAP + net_prefix: + type: string + label: Network prefix + description: Prefix for private network names - Workaround for Dublin vnf_id: type: string label: VNF ID @@ -201,7 +205,7 @@ resources: template: vnfname_netid params: netid: { get_param: int_unprotected_private_net_id } - vnfname: { get_param: vnf_name } + vnfname: { get_param: net_prefix } int_unprotected_private_subnet: type: OS::Neutron::Subnet @@ -211,7 +215,7 @@ resources: template: vnfname_subnetid params: subnetid: { get_param: int_unprotected_private_subnet_id } - vnfname: { get_param: vnf_name } + vnfname: { get_param: net_prefix } network: { get_resource: int_unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } @@ -223,7 +227,7 @@ resources: template: vnfname_netid params: netid: { get_param: int_protected_private_net_id } - vnfname: { get_param: vnf_name } + vnfname: { get_param: net_prefix } int_protected_private_subnet: type: OS::Neutron::Subnet @@ -233,7 +237,7 @@ resources: template: vnfname_subnetid params: subnetid: { get_param: int_protected_private_subnet_id } - vnfname: { get_param: vnf_name } + vnfname: { get_param: net_prefix } network: { get_resource: int_protected_private_network } cidr: { get_param: protected_private_net_cidr } |