inject_user_key routine fixes
[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             mgmt-network: 'true'
50             vnfd-connection-point-ref:
51             -   member-vnf-index-ref: 1
52                 vnfd-id-ref: test_2vdu
53                 vnfd-connection-point-ref: eth0
54             -   member-vnf-index-ref: 2
55                 vnfd-id-ref: test_2vdu2
56                 vnfd-connection-point-ref: eth0
57
58         -   id:         vld2
59             name:       nsd-vld2
60             short-name: vld2-sname
61             type:       ELAN
62             ip-profile-ref: ipprofileA
63             vnfd-connection-point-ref:
64             -   member-vnf-index-ref:      1
65                 vnfd-id-ref:               test_2vdu
66                 vnfd-connection-point-ref: eth1
67                 ip-address:                10.31.31.4
68             -   member-vnf-index-ref:      2
69                 vnfd-id-ref:               test_2vdu2
70                 vnfd-connection-point-ref: eth1
71                 ip-address:                10.31.31.5
72
73         -   id:         vld3
74             name:       nsd-vld3
75             short-name: vld3-sname
76             type:       ELAN
77             ip-profile-ref: no_dhcp
78             vnfd-connection-point-ref:
79             -   member-vnf-index-ref:      1
80                 vnfd-id-ref:               test_2vdu
81                 vnfd-connection-point-ref: eth4
82             -   member-vnf-index-ref:      2
83                 vnfd-id-ref:               test_2vdu2
84                 vnfd-connection-point-ref: eth4