878eac0c71c260b379121f94a6b7572e28037b73
[osm/devops.git] / descriptor-packages / nsd / cirros_ns / src / cirros_nsd.yaml
1 ##
2 # Copyright 2019 ETSI
3 #
4 # All Rights Reserved.
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License"); you may
7 # not use this file except in compliance with the License. You may obtain
8 # a copy of the License at
9 #
10 #         http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15 # License for the specific language governing permissions and limitations
16 # under the License.
17 ##
18
19 nsd-catalog:
20     nsd:
21     -   id: cirros_nsd
22         name: cirros_ns
23         short-name: cirros_ns
24         description: Generated by OSM pacakage generator
25         vendor: OSM
26         version: '1.0'
27
28         # Place the logo as png in icons directory and provide the name here
29         logo: osm_2x.png
30
31         # Specify the VNFDs that are part of this NSD
32         constituent-vnfd:
33             # The member-vnf-index needs to be unique, starting from 1
34             # vnfd-id-ref is the id of the VNFD
35             # Multiple constituent VNFDs can be specified
36         -   member-vnf-index: 1
37             vnfd-id-ref: cirros_vnfd
38         scaling-group-descriptor:
39         -   name: "scaling_cirros"
40             vnfd-member:
41             -   count: 1
42                 member-vnf-index-ref: 1
43             min-instance-count: 0
44             max-instance-count: 10
45             scaling-policy:
46             -   scaling-type: "manual"
47                 cooldown-time: 10
48                 threshold-time: 10
49                 name: manual_scale
50         vld:
51         # Networks for the VNFs
52             -   id: mgmtnet
53                 name: mgmtnet
54                 type: ELAN
55                 mgmt-network: 'true'
56                 # vim-network-name: <update>
57                 # provider-network:
58                 #     segmentation_id: <update>
59                 vnfd-connection-point-ref:
60                 # Specify the constituent VNFs
61                 # member-vnf-index-ref - entry from constituent vnf
62                 # vnfd-id-ref - VNFD id
63                 # vnfd-connection-point-ref - connection point name in the VNFD
64                 -   member-vnf-index-ref: 1
65                     vnfd-id-ref: cirros_vnfd
66                     # NOTE: Validate the entry below
67                     vnfd-connection-point-ref: eth0