Update openjdk version to 19 and yang2swagger version to 2.1.0
[osm/IM.git] / tests / examples / sfc_nsd.yaml
1 #  Copyright ETSI Contributors and Others
2 #
3 #  Licensed under the Apache License, Version 2.0 (the "License");
4 #  you may not use this file except in compliance with the License.
5 #  You may obtain a copy of the License at
6 #
7 #    http://www.apache.org/licenses/LICENSE-2.0
8 #
9 #  Unless required by applicable law or agreed to in writing, software
10 #  distributed under the License is distributed on an "AS IS" BASIS,
11 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12 #  implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15
16 nsd:
17   nsd:
18   - description: sfc_nsd Network Service
19     designer: TATA ELXSI
20     df:
21     - id: default-df
22       vnf-profile:
23       - id: vnf1
24         vnfd-id: src_vnf
25         virtual-link-connectivity:
26         - constituent-cpd-id:
27           - constituent-base-element-id: vnf1
28             constituent-cpd-id: eth0-ext
29             ip-address: 20.20.20.10
30           virtual-link-profile-id: private
31       - id: vnf2
32         vnfd-id: mid_vnf
33         virtual-link-connectivity:
34         - constituent-cpd-id:
35           - constituent-base-element-id: vnf2
36             constituent-cpd-id: eth0-ext
37             ip-address: 20.20.20.20
38           virtual-link-profile-id: private
39       - id: vnf3
40         vnfd-id: dest_vnf
41         virtual-link-connectivity:
42         - constituent-cpd-id:
43           - constituent-base-element-id: vnf3
44             constituent-cpd-id: eth0-ext
45             ip-address: 20.20.20.30
46           virtual-link-profile-id: private
47     vnffgd:
48     - id: vnffg1
49       vnf-profile-id:
50       - vnf2
51       nfp-position-element:
52       - id: test
53       nfpd:
54       - id: forwardingpath1
55         position-desc-id:
56         - id: position1
57           nfp-position-element-id:
58           - test
59           match-attributes:
60           -  id: rule1_80
61              ip-proto: 6
62              source-ip-address:  20.20.20.10
63              destination-ip-address: 20.20.20.30
64              source-port: 0
65              destination-port: 80
66              constituent-base-element-id: vnf1
67              constituent-cpd-id: eth0-ext
68           cp-profile-id:
69           -  id: cpprofile2
70              constituent-profile-elements:
71              - id: cp1
72                order: 0
73                constituent-base-element-id: vnf2
74                ingress-constituent-cpd-id: eth0-ext
75                egress-constituent-cpd-id: eth0-ext
76     id: sfc_nsd
77     name: sfc_nsd
78     version: '1.0'
79     virtual-link-desc:
80     - id: private
81       mgmt-network: 'true'
82       vim-network-name: private
83     vnfd-id:
84     - src_vnf
85     - mid_vnf
86     - dest_vnf