Adds support for autoscaling based on vnf-metric
[osm/POL.git] / osm_policy_module / tests / unit / utils / examples / cirros_vdu_scaling_nsd.yaml
1 nsd:nsd-catalog:
2     nsd:
3     -   id: cirros_vdu_scaling_ns
4         name: cirros_vdu_scaling_ns
5         short-name: cirros_vdu_scaling_ns
6         description: Simple NS example with a cirros_vdu_scaling_vnf
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.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_vdu_scaling_vnf
20         -   member-vnf-index: '2'
21             vnfd-id-ref: cirros_vdu_scaling_vnf
22         vld:
23         # Networks for the VNFs
24             -   id: cirros_nsd_vld1
25                 name: cirros_nsd_vld1
26                 type: ELAN
27                 mgmt-network: 'true'
28                 # vim-network-name: <update>
29                 # provider-network:
30                 #     segmentation_id: <update>
31                 vnfd-connection-point-ref:
32                 # Specify the constituent VNFs
33                 # member-vnf-index-ref - entry from constituent vnf
34                 # vnfd-id-ref - VNFD id
35                 # vnfd-connection-point-ref - connection point name in the VNFD
36                 -   member-vnf-index-ref: 1
37                     vnfd-id-ref: cirros_vdu_scaling_vnf
38                     # NOTE: Validate the entry below
39                     vnfd-connection-point-ref: eth0
40                 -   member-vnf-index-ref: 2
41                     vnfd-id-ref: cirros_vdu_scaling_vnf
42                     vnfd-connection-point-ref: eth0