X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ice_validator%2Ftests%2Ffixtures%2Ftest_port_resource_ids%2Fpass%2Fvalid_template.yaml;h=20bc79e86fd5985fc7b96aecacbf2b2dbf05b2b3;hb=fb9c5e35e22f7fe4465ea33b4e2ac85ccfd33bee;hp=dd5d7688a24263fcd3852110a201a362b9ecdf1f;hpb=cc21b8b08b6dbcec577bfb26ff397ac899da8002;p=vvp%2Fvalidation-scripts.git diff --git a/ice_validator/tests/fixtures/test_port_resource_ids/pass/valid_template.yaml b/ice_validator/tests/fixtures/test_port_resource_ids/pass/valid_template.yaml index dd5d768..20bc79e 100644 --- a/ice_validator/tests/fixtures/test_port_resource_ids/pass/valid_template.yaml +++ b/ice_validator/tests/fixtures/test_port_resource_ids/pass/valid_template.yaml @@ -95,6 +95,9 @@ parameters: int_vpnnet_net_id: type: string description: network id for the internal network vpnnet + int_oam_net_name: + type: string + description: name for the OAM network to be created in the resources section resources: @@ -105,8 +108,8 @@ resources: name: { get_param: [admin_names, 0] } flavor: { get_param: admin_flavor_name} networks: - - port: { get_resource: admin_0_exnet_0_port } - - port: { get_resource: admin_0_int_vpnnet_0_port } + - port: { get_resource: admin_0_exnet_port_0 } + - port: { get_resource: admin_0_int_vpnnet_port_0 } metadata: vnf_name: { get_param: vnf_name } vnf_id: { get_param: vnf_id } @@ -119,13 +122,25 @@ resources: name: { get_param: [admin_names, 1] } flavor: { get_param: admin_flavor_name} networks: - - port: { get_resource: ADMIN_1_EXTNET_0_PORT } - - port: { get_resource: admin_1_extnet_1_port } + - port: { get_resource: ADMIN_1_EXTNET_PORT_0 } + - port: { get_resource: admin_1_extnet_port_1 } metadata: vnf_name: { get_param: vnf_name } vnf_id: { get_param: vnf_id } vf_module_id: { get_param: vf_module_id } + admin_server_2: + type: OS::Nova::Server + properties: + availability_zone: { get_param: availability_zone_0 } + name: { get_param: [admin_names, 2] } + flavor: { get_param: admin_flavor_name} + networks: + - port: { get_resource: admin_2_int_vpnnet_port_0 } + metadata: + vnf_name: { get_param: vnf_name } + vnf_id: { get_param: vnf_id } + vf_module_id: { get_param: vf_module_id } lb_server_0: type: OS::Nova::Server properties: @@ -137,22 +152,35 @@ resources: vnf_id: { get_param: vnf_id } vf_module_id: { get_param: vf_module_id } - admin_0_exnet_0_port: + admin_0_exnet_port_0: type: OS::Neutron::Port properties: network: { get_param: exnet_net_name } - admin_0_int_vpnnet_0_port: + admin_0_int_vpnnet_port_0: type: OS::Neutron::Port properties: network: { get_param: int_vpnnet_net_id } - ADMIN_1_EXTNET_0_PORT: + ADMIN_1_EXTNET_PORT_0: type: OS::Neutron::Port properties: network: { get_param: extnet_net_name } - admin_1_extnet_1_port: + admin_1_extnet_port_1: type: OS::Neutron::Port properties: - network: { get_param: extnet_net_id } \ No newline at end of file + network: { get_param: extnet_net_id } + + int_oam_net: + type: OS::Neutron::Net + properties: + name: { get_param: int_oam_net_name } + + admin_2_int_vpnnet_port_0: + type: OS::Neutron::Port + properties: + network: { get_resource: int_oam_net } + fixed_ips: + - ip_address: { get_param: [db_1_int_vpnnet_ips, 0] } + - ip_address: { get_param: [db_1_int_vpnnet_ips, 1] }