new API v3 that consumes OSM IM models
[osm/RO.git] / scenarios / examples / v3_3vdu_2vnf_nsd.yaml
1 nsd:nsd-catalog:
2     nsd:
3     -   id:          3vdu_2vnf_nsd
4         name:        3vdu_2vnf_ns-name
5         short-name:  3vdu_2vnf-sname
6         description: 2 vnfs, eatch one with 3 cirros vdu
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: 3vdu_vnfd
20         -   member-vnf-index: 2
21             vnfd-id-ref: 3vdu_vnfd
22
23         ip-profiles:
24         -   description: Inter VNF Link
25             ip-profile-params:
26                 gateway-address: 31.31.31.210
27                 ip-version: ipv4
28                 subnet-address: 31.31.31.0/24
29                 dns-server:
30                 -   address: 8.8.8.8
31                 -   address: 8.8.8.9 
32                 dhcp-params:
33                   count: 200
34                   start-address: 31.31.31.2
35             name: ipprofileA
36
37
38         vld:
39         # Networks for the VNFs
40             -   id: vld1
41                 name: vld1-name
42                 short-name: vld1-sname
43                 type: ELAN
44                 # vim-network-name: <update>
45                 # provider-network:
46                 #     overlay-type: VLAN
47                 #     segmentation_id: <update>
48                 ip-profile-ref: ipprofileA
49                 vnfd-connection-point-ref:
50                 # Specify the constituent VNFs
51                 # member-vnf-index-ref - entry from constituent vnf
52                 # vnfd-id-ref - VNFD id
53                 # vnfd-connection-point-ref - connection point name in the VNFD
54                 -   member-vnf-index-ref: 1
55                     vnfd-id-ref: 3vdu_vnfd
56                     vnfd-connection-point-ref: eth0
57                 -   member-vnf-index-ref: 2
58                     vnfd-id-ref: 3vdu_vnfd
59                     vnfd-connection-point-ref: eth0