diff options
author | ilanap <ilanap@amdocs.com> | 2019-01-01 17:22:07 +0200 |
---|---|---|
committer | Oren Kleks <orenkle@amdocs.com> | 2019-01-02 12:37:08 +0000 |
commit | 866418030975f2ee09a27d144de4e880218e84e8 (patch) | |
tree | 70a329025f0c382b658c667813dd4f9183e6e98e /cucumber-js-test-apis-ci/resources/yaml/CB_BASE.yaml | |
parent | 9da0b14bb0a0321f08458ba7b9148336e00d77d3 (diff) |
docker for cucumber BDD
Issue-ID: SDC-2028
Change-Id: I7c1376c449ba7650c3bbc1838726cfd178d2ca40
Signed-off-by: ilanap <ilanap@amdocs.com>
Diffstat (limited to 'cucumber-js-test-apis-ci/resources/yaml/CB_BASE.yaml')
-rw-r--r-- | cucumber-js-test-apis-ci/resources/yaml/CB_BASE.yaml | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/cucumber-js-test-apis-ci/resources/yaml/CB_BASE.yaml b/cucumber-js-test-apis-ci/resources/yaml/CB_BASE.yaml new file mode 100644 index 0000000000..4aef40b270 --- /dev/null +++ b/cucumber-js-test-apis-ci/resources/yaml/CB_BASE.yaml @@ -0,0 +1,91 @@ +heat_template_version: 2013-05-23 + +description: > + BASE TEMPLATE + +parameters: + vnf_name: + type: string + description: Unique name for this VF instance + + vnf_id: + type: string + description: Unique ID for this VF instance + + network_in_cidr: + type: string + description: IN network address (CIDR notation) + + network_out_cidr: + type: string + description: MUX out network address (CIDR notation) + + network_in_gw_ip: + type: string + description: IN network gw address + + network_out_gw_ip: + type: string + description: MUX out network gw address + +resources: + + random-str: + type: OS::Heat::RandomString + properties: + length: 4 + + CB_IN_Net: + type: OS::Neutron::Net + properties: + name: + str_replace: + template: CB_IN_Net_rand + params: + rand: { get_resource: random-str } + + CB_IN_Subnet: + type: OS::Neutron::Subnet + properties: + name: + str_replace: + template: CB_IN_Net_rand + params: + rand: { get_resource: random-str } + network_id: { get_resource: CB_IN_Net } + cidr: { get_param: network_in_cidr } + gateway_ip: { get_param: network_in_gw_ip } + + CB_OUT_Net: + type: OS::Neutron::Net + properties: + name: + str_replace: + template: CB_OUT_Net_rand + params: + rand: { get_resource: random-str } + + CB_OUT_Subnet: + type: OS::Neutron::Subnet + properties: + network_id: { get_resource: CB_OUT_Net } + cidr: { get_param: network_out_cidr } + gateway_ip: { get_param: network_out_gw_ip } + +outputs: + + CB_IN_Net: + description: ID of the customer facing network + value: { get_resource: CB_IN_Net } + + CB_IN_Subnet: + description: ID of the customer facing subnet + value: { get_resource: CB_IN_Subnet } + + CB_OUT_Net: + description: ID of the Internet Facing network + value: { get_resource: CB_OUT_Net } + + CB_OUT_Subnet: + description: ID of the Internet Facing subnet + value: { get_resource: CB_OUT_Subnet } |