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