nbi.py: initial commit for NetSlices with definition
[osm/NBI.git] / osm_nbi / tests / cirros_ns / cirros_nsd.yaml
1 nsd-catalog:
2     nsd:
3     -   id: cirros_nsd
4         name: cirros_ns
5         short-name: cirros_ns
6         description: Generated by OSM pacakage generator
7         vendor: OSM
8         version: '1.0'
9
10         # Place the logo as png in icons directory and provide the name here
11         logo: osm_2x.png
12
13         # Specify the VNFDs that are part of this NSD
14         constituent-vnfd:
15             # The member-vnf-index needs to be unique, starting from 1
16             # vnfd-id-ref is the id of the VNFD
17             # Multiple constituent VNFDs can be specified
18         -   member-vnf-index: 1
19             vnfd-id-ref: cirros_vnfd
20         scaling-group-descriptor:
21         -   name: "scaling_cirros"
22             vnfd-member:
23             -   count: 1
24                 member-vnf-index-ref: 1
25             min-instance-count: 0
26             max-instance-count: 10
27             scaling-policy:
28             -   scaling-type: "manual"
29                 cooldown-time: 10
30                 threshold-time: 10
31                 name: manual_scale
32         vld:
33         # Networks for the VNFs
34             -   id: cirros_nsd_vld1
35                 name: cirros_nsd_vld1
36                 type: ELAN
37                 mgmt-network: 'true'
38                 # vim-network-name: <update>
39                 # provider-network:
40                 #     segmentation_id: <update>
41                 vnfd-connection-point-ref:
42                 # Specify the constituent VNFs
43                 # member-vnf-index-ref - entry from constituent vnf
44                 # vnfd-id-ref - VNFD id
45                 # vnfd-connection-point-ref - connection point name in the VNFD
46                 -   member-vnf-index-ref: 1
47                     vnfd-id-ref: cirros_vnfd
48                     # NOTE: Validate the entry below
49                     vnfd-connection-point-ref: eth0