X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=test%2FRO_tests%2Fv3_2vdu_set_ip_mac%2Fscenario_2vdu_set_ip_mac.yaml;fp=test%2FRO_tests%2Fv3_2vdu_set_ip_mac%2Fscenario_2vdu_set_ip_mac.yaml;h=4dfc5b08cc5660762ba08008343c239cd7ebe6fc;hb=41a6981cd96a7e4ae15e881bc868873fbfaa3937;hp=0000000000000000000000000000000000000000;hpb=69b590eb0469efa021bada0d2bf867bbdff27a10;p=osm%2FRO.git diff --git a/test/RO_tests/v3_2vdu_set_ip_mac/scenario_2vdu_set_ip_mac.yaml b/test/RO_tests/v3_2vdu_set_ip_mac/scenario_2vdu_set_ip_mac.yaml new file mode 100644 index 00000000..4dfc5b08 --- /dev/null +++ b/test/RO_tests/v3_2vdu_set_ip_mac/scenario_2vdu_set_ip_mac.yaml @@ -0,0 +1,83 @@ +nsd:nsd-catalog: + nsd: + - id: test_2vdu_nsd + name: test_2vdu_nsd_name + short-name: test_2vdu_nsd_sname + description: 2 vnfs, eatch one with 3 cirros vdu + vendor: OSM + version: '1.0' + + # Place the logo as png in icons directory and provide the name here + logo: osm_2x.png + + # Specify the VNFDs that are part of this NSD + constituent-vnfd: + # The member-vnf-index needs to be unique, starting from 1 + # vnfd-id-ref is the id of the VNFD + # Multiple constituent VNFDs can be specified + - member-vnf-index: 1 + vnfd-id-ref: test_2vdu + - member-vnf-index: 2 + vnfd-id-ref: test_2vdu2 + + ip-profiles: + - description: Inter VNF Link + ip-profile-params: + gateway-address: 10.31.31.254 + ip-version: ipv4 + subnet-address: 10.31.31.0/24 + dns-server: + - address: 8.8.8.8 + - address: 8.8.8.9 + dhcp-params: + count: 200 + start-address: 10.31.31.20 + name: ipprofileA + - description: IP profile that disables dhcp server + ip-profile-params: + dhcp-params: + enabled: 'false' + ip-version: ipv4 + name: no_dhcp + + vld: + # Networks for the VNFs + - id: vld1 + name: mgmt + short-name: vld1-sname + type: ELAN + vnfd-connection-point-ref: + - member-vnf-index-ref: 1 + vnfd-id-ref: test_2vdu + vnfd-connection-point-ref: eth0 + - member-vnf-index-ref: 2 + vnfd-id-ref: test_2vdu2 + vnfd-connection-point-ref: eth0 + + - id: vld2 + name: vld2-name + short-name: vld2-sname + type: ELAN + ip-profile-ref: ipprofileA + vnfd-connection-point-ref: + - member-vnf-index-ref: 1 + vnfd-id-ref: test_2vdu + vnfd-connection-point-ref: eth1 + ip-address: 10.31.31.4 + - member-vnf-index-ref: 2 + vnfd-id-ref: test_2vdu2 + vnfd-connection-point-ref: eth1 + ip-address: 10.31.31.5 + + - id: vld3 + name: vld3-name + short-name: vld3-sname + type: ELAN + ip-profile-ref: no_dhcp + vnfd-connection-point-ref: + - member-vnf-index-ref: 1 + vnfd-id-ref: test_2vdu + vnfd-connection-point-ref: eth4 + - member-vnf-index-ref: 2 + vnfd-id-ref: test_2vdu2 + vnfd-connection-point-ref: eth4