Revert "Removing deprecated/unused/outdated code"
[osm/RO.git] / scenarios / examples / v3_3vnf_2vdu_1vnffg_nsd.yaml
1 nsd:nsd-catalog:
2     nsd:
3     -   id:          3vdu_2vnf_1vnffg_nsd
4         name:        3vdu_2vnf_1vnffg_ns-name
5         short-name:  3vdu_2vnf_1vnffg-sname
6         description: 3 vnfs, each one with 2 cirros vdu, with 1 vnffg connecting the vnfs
7         vendor: OSM
8         version: '1.0'
9
10         logo: osm_2x.png
11
12         constituent-vnfd:
13             # The member-vnf-index needs to be unique, starting from 1
14             # vnfd-id-ref is the id of the VNFD
15             # Multiple constituent VNFDs can be specified
16         -   member-vnf-index: 1
17             vnfd-id-ref: 2vdu_vnfd
18         -   member-vnf-index: 2
19             vnfd-id-ref: 2vdu_vnfd
20         -   member-vnf-index: 3
21             vnfd-id-ref: 2vdu_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: 2vdu_vnfd
56                     vnfd-connection-point-ref: eth0
57                 -   member-vnf-index-ref: 2
58                     vnfd-id-ref: 2vdu_vnfd
59                     vnfd-connection-point-ref: eth0
60                 -   member-vnf-index-ref: 3
61                     vnfd-id-ref: 2vdu_vnfd
62                     vnfd-connection-point-ref: eth0
63
64
65         vnffgd:
66         # VNF Forwarding Graph Descriptors
67             -   id: vnffg1
68                 name: vnffg1-name
69                 short-name: vnffg1-sname
70                 description: vnffg1-description
71                 vendor: vnffg1-vendor
72                 version: '1.0'
73                 rsp:
74                 -   id: rsp1
75                     name: rsp1-name
76                     vnfd-connection-point-ref:
77                     -   member-vnf-index-ref: 2
78                         order: 0
79                         vnfd-id-ref: 2vdu_vnfd
80                         vnfd-ingress-connection-point-ref: eth0
81                         vnfd-egress-connection-point-ref: eth0
82                     -   member-vnf-index-ref: 3
83                         order: 1
84                         vnfd-id-ref: 2vdu_vnfd
85                         vnfd-ingress-connection-point-ref: eth0
86                         vnfd-egress-connection-point-ref: eth0
87                 classifier:
88                 -   id: class1
89                     name: class1-name
90                     rsp-id-ref: rsp1
91                     member-vnf-index-ref: 1
92                     vnfd-id-ref: 2vdu_vnfd
93                     vnfd-connection-point-ref: eth0
94                     match-attributes:
95                     -   id: match1
96                         ip-proto: 6 # TCP
97                         source-ip-address: 10.0.0.1
98                         destination-ip-address: 10.0.0.2
99                         source-port: 0
100                         destination-port: 80
101                     -   id: match2
102                         ip-proto: 6 # TCP
103                         source-ip-address: 10.0.0.1
104                         destination-ip-address: 10.0.0.3
105                         source-port: 0
106                         destination-port: 80