Updates branch master with sol006 branch, introducing new SOL006 model classes
[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       designer: OSM
22       version: '1.0'
23
24       vnfd-id:
25         - hackfest3charmed-vnf
26
27       virtual-link-desc:
28         - id: mgmt
29           mgmt-network: "true"
30         - id: datanet
31           mgmt-network: "false"
32
33       df:
34         - id: hackfest_charmed_DF
35           vnf-profile:
36             - id: hackfest_vnf1 # member-vnf-index-ref: 1
37               vnfd-id: hackfest3charmed-vnf
38               virtual-link-connectivity:
39                 - virtual-link-profile-id: mgmt
40                   constituent-cpd-id:
41                     - constituent-base-element-id: hackfest_vnf1
42                       constituent-cpd-id: vnf-mgmt-ext
43                 - virtual-link-profile-id: datanet
44                   constituent-cpd-id:
45                     - constituent-base-element-id: hackfest_vnf1
46                       constituent-cpd-id: vnf-data-ext
47             - id: hackfest_vnf2 # member-vnf-index-ref: 2
48               vnfd-id: hackfest3charmed-vnf
49               virtual-link-connectivity:
50                 - virtual-link-profile-id: mgmt
51                   constituent-cpd-id:
52                     - constituent-base-element-id: hackfest_vnf2
53                       constituent-cpd-id: vnf-mgmt-ext
54                 - virtual-link-profile-id: datanet
55                   constituent-cpd-id:
56                     - constituent-base-element-id: hackfest_vnf2
57                       constituent-cpd-id: vnf-data-ext