[VVP] Updated network param validations per reqts
[vvp/validation-scripts.git] / ice_validator / tests / fixtures / test_neutron_port_network_attachment / fail / fail_external_get_param_with_list / vnf_base.yaml
@@ -1,5 +1,5 @@
 # -*- coding: utf8 -*-
-# ============LICENSE_START=======================================================
+# ============LICENSE_START====================================================
 # org.onap.vvp/validation-scripts
 # ===================================================================
 # Copyright © 2017 AT&T Intellectual Property. All rights reserved.
 # ============LICENSE_END============================================
 #
 #
----
-resources:
-  vm_type_1_int_intranet_0_port:
-        type: OS::Neutron::Port
-        properties:
-          network: { get_param: int_intranet_net_name }
+# VERSION: '1.0.0'
 
-  vm_type_1_int_vpnnet_0_port:
-        type: OS::Neutron::Port
-        properties:
-            network: { get_param: int_vpnnet_net_id }
+parameters:
+  external_net_id:
+    type: string
 
-  vm_type_1_external_net_0_port:
-        type: OS::Neutron::Port
-        properties:
-          network: { get_param: external_net_name }
+  external_net_name:
+    type: string
 
-  vm_type_1_extnet_0_port:
-        type: OS::Neutron::Port
-        properties:
-          network: { get_param: extnet_net_id }
+resources:
 
-  vm_type_0_extnet_0_port:
-        type: OS::Neutron::Port
-        properties:
-            network: { get_resource: extnet_net_id }
+  vmtype_0_external_port_0:
+    type: OS::Neutron::Port
+    properties:
+      network: { get_param: [ {get_param: external_net_id}, 0 ]}