X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=RO%2Ftest%2FRO_tests%2Fv3_2vdu_set_ip_mac%2Fscenario_2vdu_set_ip_mac.yaml;fp=RO%2Ftest%2FRO_tests%2Fv3_2vdu_set_ip_mac%2Fscenario_2vdu_set_ip_mac.yaml;h=1b998b69e5ae1bdb9325d2bd332fd2f947fee692;hb=57dadcfd0fcf3c8e933602e2fb57f32658d9c845;hp=0000000000000000000000000000000000000000;hpb=a85c54de5c5d1f951b27082a21e5654e15712529;p=osm%2FRO.git diff --git a/RO/test/RO_tests/v3_2vdu_set_ip_mac/scenario_2vdu_set_ip_mac.yaml b/RO/test/RO_tests/v3_2vdu_set_ip_mac/scenario_2vdu_set_ip_mac.yaml new file mode 100644 index 00000000..1b998b69 --- /dev/null +++ b/RO/test/RO_tests/v3_2vdu_set_ip_mac/scenario_2vdu_set_ip_mac.yaml @@ -0,0 +1,97 @@ +## +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +## +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 + mgmt-network: 'true' + 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: nsd-vld2 + 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: nsd-vld3 + 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