aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/tests/fixtures/test_neutron_port_fixed_ips_subnet
diff options
context:
space:
mode:
authorstark, steven <steven.stark@att.com>2019-05-13 14:41:55 -0700
committerstark, steven <steven.stark@att.com>2019-05-13 14:41:55 -0700
commit503041fb7ec395fe57e418d584c4a5d06f4c9877 (patch)
tree5e7f56bd44ddf7324888cd59442da96321edc235 /ice_validator/tests/fixtures/test_neutron_port_fixed_ips_subnet
parent43385d805115d53603a5643462aebb3fa1152de2 (diff)
[VVP] Adding tests for new reqs from VNFRQTS-630
Added tests for reqs: R-100010, R-100030, R-100050, R-100070, R-100090, R-100110, R-100130, R-100150, R-100200, R-100220, R-100240, R-100310, R-100330, R-100360, R-100370, R-100260, R-100000, R-100190, R-100350 Updated neutron param tests to re-use validation code for contrail tests Change-Id: I84af725ca9de176dc690fffda01ffcad453213ea Issue-ID: VVP-211 Signed-off-by: stark, steven <steven.stark@att.com>
Diffstat (limited to 'ice_validator/tests/fixtures/test_neutron_port_fixed_ips_subnet')
-rw-r--r--ice_validator/tests/fixtures/test_neutron_port_fixed_ips_subnet/fail/fail0.yaml20
-rw-r--r--ice_validator/tests/fixtures/test_neutron_port_fixed_ips_subnet/fail/fail1.yaml6
2 files changed, 24 insertions, 2 deletions
diff --git a/ice_validator/tests/fixtures/test_neutron_port_fixed_ips_subnet/fail/fail0.yaml b/ice_validator/tests/fixtures/test_neutron_port_fixed_ips_subnet/fail/fail0.yaml
index 901072f..de509a2 100644
--- a/ice_validator/tests/fixtures/test_neutron_port_fixed_ips_subnet/fail/fail0.yaml
+++ b/ice_validator/tests/fixtures/test_neutron_port_fixed_ips_subnet/fail/fail0.yaml
@@ -51,6 +51,8 @@ parameters:
type: comma_delimited_list
subnet_param:
type: comma_delimited_list
+ int_subnet_param:
+ type: comma_delimited_list
subnet_id_param:
type: comma_delimited_list
@@ -92,3 +94,21 @@ resources:
metadata:
port_type: SR-IOV_Mirrored_Trunk
+ vm_typeX_3_int_bialy_port_2:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: extnet_net_id }
+ fixed_ips:
+ - ip_address: { get_param: lb_2_extnet_floating_v6_ip }
+ subnet: { get_param: int_subnet_param }
+ binding:vnic_type: direct
+ value_specs:
+ vlan_filter: {get_param: vm_typeX_bialy_vlan_filter}
+ public_vlans: {get_param: vm_typeX_bialy_public_vlans}
+ private_vlans: {get_param: vm_typeX_bialy_private_vlans}
+ guest_vlans: {get_param: vm_typeX_bialy_guest_vlans}
+ vlan_mirror:
+ ATT_FABRIC_CONFIGURATION_REQUIRED: true
+ metadata:
+ port_type: SR-IOV_Mirrored_Trunk
+
diff --git a/ice_validator/tests/fixtures/test_neutron_port_fixed_ips_subnet/fail/fail1.yaml b/ice_validator/tests/fixtures/test_neutron_port_fixed_ips_subnet/fail/fail1.yaml
index 60f9874..9233707 100644
--- a/ice_validator/tests/fixtures/test_neutron_port_fixed_ips_subnet/fail/fail1.yaml
+++ b/ice_validator/tests/fixtures/test_neutron_port_fixed_ips_subnet/fail/fail1.yaml
@@ -53,6 +53,8 @@ parameters:
type: comma_delimited_list
bialy_subnet_id:
type: string
+ int_biay_subnet_id:
+ type: string
resources:
@@ -74,13 +76,13 @@ resources:
metadata:
port_type: SR-IOV_Trunk
- vm_typeX_3_bialy_port_2:
+ vm_typeX_3_int_bialy_port_2:
type: OS::Neutron::Port
properties:
network: { get_param: extnet_net_id }
fixed_ips:
- ip_address: { get_param: lb_2_extnet_floating_v6_ip }
- subnet: { get_param: bialy_susbnet }
+ subnet: { get_param: int_biay_subnet_id }
binding:vnic_type: direct
value_specs:
vlan_filter: {get_param: vm_typeX_bialy_vlan_filter}