Fixes bug 1424 by adding ip-address on virtual-network-interface-requirement
[osm/IM.git] / tests / examples / hackfest_charmed_nsd_sol006.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:
17   nsd:
18     - id: hackfest3charmed-ns
19       name: hackfest3charmed-ns
20       description: NS with 2 VNFs hackfest3charmed-vnf connected by datanet and mgmtnet VLs
21       version: '1.0'
22
23       vnfd-id:
24         - hackfest3charmed-vnf
25
26       virtual-link-desc:
27         - id: mgmt
28           mgmt-network: true
29           vim-network-name: mgmt
30         - id: datanet
31
32       df:
33         - id: default-df
34           vnf-profile:
35             - id: "1" # member-vnf-index-ref: 1
36               vnfd-id: hackfest3charmed-vnf
37               virtual-link-connectivity:
38                 - virtual-link-profile-id: mgmt
39                   constituent-cpd-id:
40                     - constituent-base-element-id: "1"
41                       constituent-cpd-id: vnf-mgmt-ext
42                 - virtual-link-profile-id: datanet
43                   constituent-cpd-id:
44                     - constituent-base-element-id: "1"
45                       constituent-cpd-id: vnf-data-ext
46             - id: "2" # member-vnf-index-ref: 2
47               vnfd-id: hackfest3charmed-vnf
48               virtual-link-connectivity:
49                 - virtual-link-profile-id: mgmt
50                   constituent-cpd-id:
51                     - constituent-base-element-id: "2"
52                       constituent-cpd-id: vnf-mgmt-ext
53                 - virtual-link-profile-id: datanet
54                   constituent-cpd-id:
55                     - constituent-base-element-id: "2"
56                       constituent-cpd-id: vnf-data-ext