diff options
author | 2019-10-07 16:06:17 -0500 | |
---|---|---|
committer | 2019-10-07 16:12:35 -0500 | |
commit | d78c645df31a19567667d3e6d3acdf0474f39bf1 (patch) | |
tree | b048fa852adb672cde6ddcd44922698bf6ae6325 /ice_validator/tests/fixtures/test_network_format/pass/valid_heat_template.yaml | |
parent | c238e85627eb8f34e030e043df8d2dc7e85e68f7 (diff) |
[VVP] Enforce R-35666 by ensuring a network exists for int_ parameters
Implements a basic sanity check that if parameters match the internal
network naming convention, then we ensure the network itself was
defined in a heat template.
Change-Id: I37c84e2c62745a51a90dd60f0aaeb213d784f003
Issue-ID: VVP-327
Signed-off-by: Lovett, Trevor (tl2972) <trevor.lovett@att.com>
Diffstat (limited to 'ice_validator/tests/fixtures/test_network_format/pass/valid_heat_template.yaml')
-rw-r--r-- | ice_validator/tests/fixtures/test_network_format/pass/valid_heat_template.yaml | 40 |
1 files changed, 11 insertions, 29 deletions
diff --git a/ice_validator/tests/fixtures/test_network_format/pass/valid_heat_template.yaml b/ice_validator/tests/fixtures/test_network_format/pass/valid_heat_template.yaml index 8755077..3035deb 100644 --- a/ice_validator/tests/fixtures/test_network_format/pass/valid_heat_template.yaml +++ b/ice_validator/tests/fixtures/test_network_format/pass/valid_heat_template.yaml @@ -38,37 +38,19 @@ # --- resources: - vm_type_1_int_intranet_0_port: - type: OS::Neutron::Port - properties: - network: { get_param: int_intranet_net_name } - - vm_type_1_int_vpnnet_0_port: - type: OS::Neutron::Port - properties: - network: { get_param: int_vpnnet_net_id } - - vm_type_1_extnet_net_0_port: - type: OS::Neutron::Port - properties: - network: { get_param: extnet_net_name } - - vm_type_1_extnet_0_port: - type: OS::Neutron::Port - properties: - network: { get_param: extnet_net_id } int_oam_network: - type: OS::Neutron::Net - properties: - name: { get_param: int_oam_net_name } + type: OS::Neutron::Net int_oam_subnet: - type: OS::Neutron::Subnet - properties: - network: { get_resource: int_oam_network } - - vm_type_1_int_oam_1_port: - type: OS::Neutron::Port + type: OS::Neutron::Subnet + properties: + network: { get_resource: int_oam_network } + + int_other_network: + type: OS::ContrailV2::VirtualNetwork + + int_other_subnet: + type: OS::Neutron::Subnet properties: - network: { get_resource: int_oam_net } + network: { get_resource: int_other_network } |