Revert "Removing deprecated/unused/outdated code"
[osm/RO.git] / RO / test / RO_tests / v3_2vdu_set_ip_mac / vnfd_2vdu_set_ip_mac.yaml
1 ##
2 # Licensed under the Apache License, Version 2.0 (the "License"); you may
3 # not use this file except in compliance with the License. You may obtain
4 # a copy of the License at
5 #
6 #         http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
10 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11 # License for the specific language governing permissions and limitations
12 # under the License.
13 ##
14 vnfd-catalog:
15     vnfd:
16     -   connection-point:
17         -   name: eth0
18             type: VPORT
19         -   name: eth1
20             type: VPORT
21         -   name: eth4
22             type: VPORT
23         description: VNF with internal VLD and set IP and mac
24         id: test_2vdu
25         name: test_2vdu_name
26         short-name: test_2vdu_sname
27         mgmt-interface:
28             cp: eth0
29         internal-vld:
30         -   description: Internal VL
31             id:          net_internal
32             name:        internal_vld1
33             short-name:  net_internal_sname
34             type:        ELAN
35             internal-connection-point:
36             -   id-ref:     eth2
37                 ip-address: 10.10.135.4
38             -   id-ref:     eth3
39                 ip-address: 10.10.135.5
40             ip-profile-ref: ip-profile1
41         ip-profiles:
42         -   description: Inter VNF Link
43             ip-profile-params:
44                 gateway-address: null
45                 ip-version:      ipv4
46                 subnet-address:  10.10.135.0/24
47                 dhcp-params:
48                   count:         100
49                   start-address: 10.10.135.20
50             name: ip-profile1
51         vdu:
52         -   id: VM1
53             name: VM11
54             image: US1604
55             interface:
56             -   name: iface11
57                 type: EXTERNAL
58                 virtual-interface:
59                     type: VIRTIO
60                 external-connection-point-ref: eth0
61                 mac-address:   "52:33:44:55:66:77"
62             -   name: iface12
63                 type: INTERNAL
64                 virtual-interface:
65                     type: VIRTIO
66                 internal-connection-point-ref: eth2
67                 mac-address:   "52:33:44:55:66:78"
68             -   name: iface13
69                 type: EXTERNAL
70                 virtual-interface:
71                     type: VIRTIO
72                 external-connection-point-ref: eth4
73             internal-connection-point:
74             -   name: eth2-icp
75                 id:   eth2
76                 type: VPORT
77             vm-flavor:
78                 memory-mb: '2048'
79                 storage-gb: '8'
80                 vcpu-count: '1'
81         -   id: VM2
82             image: US1604
83             name: VM12
84             interface:
85             -   name: iface21
86                 type: EXTERNAL
87                 virtual-interface:
88                     type: VIRTIO
89                 external-connection-point-ref: eth1
90                 mac-address:   52:33:44:55:66:79
91             -   name: iface22
92                 type: INTERNAL
93                 virtual-interface:
94                     type: VIRTIO
95                 internal-connection-point-ref: eth3
96                 mac-address:   52:33:44:55:66:80
97             internal-connection-point:
98             -   name: eth3-icp
99                 id:   eth3
100                 type: VPORT
101             vm-flavor:
102                 memory-mb: '2048'
103                 storage-gb: '8'
104                 vcpu-count: '1'
105         vendor: ROtest
106         version: '1.0'