Features 5648 5650 5651
[osm/RO.git] / test / RO_tests / v3_2vdu_set_ip_mac / scenario_2vdu_set_ip_mac.yaml
1 nsd:nsd-catalog:
2     nsd:
3     -   id:          test_2vdu_nsd
4         name:        test_2vdu_nsd_name
5         short-name:  test_2vdu_nsd_sname
6         description: 2 vnfs, eatch one with 3 cirros vdu
7         vendor:      OSM
8         version:     '1.0'
9
10         # Place the logo as png in icons directory and provide the name here
11         logo:        osm_2x.png
12
13         # Specify the VNFDs that are part of this NSD
14         constituent-vnfd:
15             # The member-vnf-index needs to be unique, starting from 1
16             # vnfd-id-ref is the id of the VNFD
17             # Multiple constituent VNFDs can be specified
18         -   member-vnf-index: 1
19             vnfd-id-ref: test_2vdu
20         -   member-vnf-index: 2
21             vnfd-id-ref: test_2vdu2
22
23         ip-profiles:
24         -   description: Inter VNF Link
25             ip-profile-params:
26                 gateway-address: 10.31.31.254
27                 ip-version:      ipv4
28                 subnet-address:  10.31.31.0/24
29                 dns-server:
30                 -   address: 8.8.8.8
31                 -   address: 8.8.8.9 
32                 dhcp-params:
33                   count: 200
34                   start-address: 10.31.31.20
35             name: ipprofileA
36         -   description: IP profile that disables dhcp server
37             ip-profile-params:
38                 dhcp-params:
39                     enabled: 'false'
40                 ip-version: ipv4
41             name: no_dhcp
42
43         vld:
44         # Networks for the VNFs
45         -   id:         vld1
46             name:       mgmt
47             short-name: vld1-sname
48             type:       ELAN
49             vnfd-connection-point-ref:
50             -   member-vnf-index-ref: 1
51                 vnfd-id-ref: test_2vdu
52                 vnfd-connection-point-ref: eth0
53             -   member-vnf-index-ref: 2
54                 vnfd-id-ref: test_2vdu2
55                 vnfd-connection-point-ref: eth0
56
57         -   id:         vld2
58             name:       vld2-name
59             short-name: vld2-sname
60             type:       ELAN
61             ip-profile-ref: ipprofileA
62             vnfd-connection-point-ref:
63             -   member-vnf-index-ref:      1
64                 vnfd-id-ref:               test_2vdu
65                 vnfd-connection-point-ref: eth1
66                 ip-address:                10.31.31.4
67             -   member-vnf-index-ref:      2
68                 vnfd-id-ref:               test_2vdu2
69                 vnfd-connection-point-ref: eth1
70                 ip-address:                10.31.31.5
71
72         -   id:         vld3
73             name:       vld3-name
74             short-name: vld3-sname
75             type:       ELAN
76             ip-profile-ref: no_dhcp
77             vnfd-connection-point-ref:
78             -   member-vnf-index-ref:      1
79                 vnfd-id-ref:               test_2vdu
80                 vnfd-connection-point-ref: eth4
81             -   member-vnf-index-ref:      2
82                 vnfd-id-ref:               test_2vdu2
83                 vnfd-connection-point-ref: eth4