Fixes bug 1424 by adding ip-address on virtual-network-interface-requirement
[osm/IM.git] / tests / examples / hackfest_charmed_nsd_im.yaml
1 #  Copyright 2020 Whitestack LLC
2 #
3 #  Licensed under the Apache License, Version 2.0 (the "License");
4 #  you may not use this file except in compliance with the License.
5 #  You may obtain a copy of the License at
6 #
7 #    http://www.apache.org/licenses/LICENSE-2.0
8 #
9 #  Unless required by applicable law or agreed to in writing, software
10 #  distributed under the License is distributed on an "AS IS" BASIS,
11 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12 #  implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15
16 nsd:nsd-catalog:
17   nsd:
18     - constituent-vnfd:
19         - member-vnf-index: '1'
20           vnfd-id-ref: hackfest3charmed-vnf
21         - member-vnf-index: '2'
22           vnfd-id-ref: hackfest3charmed-vnf
23       description: NS with 2 VNFs hackfest3charmed-vnf connected by datanet and mgmtnet VLs
24       id: hackfest3charmed-ns
25       logo: osm.png
26       name: hackfest3charmed-ns
27       short-name: hackfest3charmed-ns
28       version: '1.0'
29       vld:
30         - id: mgmt
31           mgmt-network: true
32           name: mgmt
33           short-name: mgmt
34           type: ELAN
35           vim-network-name: mgmt
36           vnfd-connection-point-ref:
37             - member-vnf-index-ref: '1'
38               vnfd-connection-point-ref: vnf-mgmt
39               vnfd-id-ref: hackfest3charmed-vnf
40             - member-vnf-index-ref: '2'
41               vnfd-connection-point-ref: vnf-mgmt
42               vnfd-id-ref: hackfest3charmed-vnf
43         - id: datanet
44           name: datanet
45           short-name: datanet
46           type: ELAN
47           vnfd-connection-point-ref:
48             - member-vnf-index-ref: '1'
49               vnfd-connection-point-ref: vnf-data
50               vnfd-id-ref: hackfest3charmed-vnf
51             - member-vnf-index-ref: '2'
52               vnfd-connection-point-ref: vnf-data
53               vnfd-id-ref: hackfest3charmed-vnf
54