[VVP] Fixing internal network check
[vvp/validation-scripts.git] / ice_validator / tests / fixtures / test_neutron_port_internal_network / pass / pass0.yaml
index 2309104..6983f7c 100644 (file)
@@ -2,7 +2,7 @@
 # ============LICENSE_START====================================================
 # org.onap.vvp/validation-scripts
 # ===================================================================
-# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright © 2019 AT&T Intellectual Property. All rights reserved.
 # ===================================================================
 #
 # Unless otherwise specified, all software contained herein is licensed
 # limitations under the License.
 #
 # ============LICENSE_END============================================
-#
-#
-# VERSION: '1.0.0'
 
----
 parameters:
 
   vm_typeX_bialy_vlan_filter:
@@ -53,16 +49,15 @@ parameters:
     type: string
   subnet_id_param:
     type: string
-  int_extnet_net_id:
-    type: string
-  int_intranet_net_name:
+  int_intranet_net_id:
     type: string
+
 resources:
 
   vm_typeX_0_intranet_port_2:
     type: OS::Neutron::Port
     properties:
-      network: { get_param: int_intranet_net_name }
+      network: { get_param: int_intranet_net_id }
       fixed_ips:
         - ip_address: { get_param: lb_1_int_intranet_floating_ip }
           subnet: { get_param: subnet_param }
@@ -81,7 +76,7 @@ resources:
   vm_typeX_3_extnet_port_2:
     type: OS::Neutron::Port
     properties:
-      network: { get_param: int_extnet_net_id }
+      network: { get_param: int_intranet_net_id }
       fixed_ips:
         - ip_address: { get_param: lb_2_extnet_floating_v6_ip }
           subnet: { get_param: subnet_param }
@@ -97,3 +92,14 @@ resources:
     metadata:
         port_type: SR-IOV_Mirrored_Trunk
 
+    int_special_network:
+      type: OS::Neutron::Net
+
+    vm_typeX_3_extnet_port_3:
+      type: nested.yaml
+      properties:
+        int_special_net_id: { get_resource: int_special_network }
+
+
+
+