26908e2bee94cebca8e75f3d4c1220a462bedede
[osm/devops.git] / src / nsd / ping_pong_ns / ping_pong_nsd.yaml
1 #
2 #   Copyright 2016 RIFT.io Inc
3 #
4 #   Licensed under the Apache License, Version 2.0 (the "License");
5 #   you may not use this file except in compliance with the License.
6 #   You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #   Unless required by applicable law or agreed to in writing, software
11 #   distributed under the License is distributed on an "AS IS" BASIS,
12 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #   See the License for the specific language governing permissions and
14 #   limitations under the License.
15 #
16 #
17
18 nsd:nsd-catalog:
19     nsd:nsd:
20     -   nsd:constituent-vnfd:
21         -   nsd:member-vnf-index: '1'
22             nsd:vnfd-id-ref: 8759e766-8b99-11e6-9664-02b76030c497
23         -   nsd:member-vnf-index: '2'
24             nsd:vnfd-id-ref: 875b30d0-8b99-11e6-9664-02b76030c497
25         nsd:description: Toy NS
26         nsd:id: 875b9750-8b99-11e6-9664-02b76030c497
27         nsd:input-parameter-xpath:
28         -   nsd:xpath: /nsd:nsd-catalog/nsd:nsd/nsd:vendor
29         nsd:ip-profiles:
30         -   nsd:description: Inter VNF Link
31             nsd:ip-profile-params:
32                 nsd:gateway-address: 31.31.31.210
33                 nsd:ip-version: ipv4
34                 nsd:subnet-address: 31.31.31.0/24
35             nsd:name: InterVNFLink
36         nsd:logo: rift_logo.png
37         nsd:name: ping_pong_nsd
38         nsd:placement-groups:
39         -   nsd:member-vnfd:
40             -   nsd:member-vnf-index-ref: '1'
41                 nsd:vnfd-id-ref: 8759e766-8b99-11e6-9664-02b76030c497
42             -   nsd:member-vnf-index-ref: '2'
43                 nsd:vnfd-id-ref: 875b30d0-8b99-11e6-9664-02b76030c497
44             nsd:name: Orcus
45             nsd:requirement: Place this VM on the Kuiper belt object Orcus
46             nsd:strategy: COLOCATION
47         -   nsd:member-vnfd:
48             -   nsd:member-vnf-index-ref: '1'
49                 nsd:vnfd-id-ref: 8759e766-8b99-11e6-9664-02b76030c497
50             -   nsd:member-vnf-index-ref: '2'
51                 nsd:vnfd-id-ref: 875b30d0-8b99-11e6-9664-02b76030c497
52             nsd:name: Quaoar
53             nsd:requirement: Place this VM on the Kuiper belt object Quaoar
54             nsd:strategy: COLOCATION
55         nsd:short-name: ping_pong_nsd
56         nsd:vendor: RIFT.io
57         nsd:version: '1.0'
58         nsd:vld:
59         -   nsd:description: Toy VL
60             nsd:id: ping_pong_mgmt1
61             nsd:name: ping_pong_mgmt
62             nsd:short-name: ping_pong_mgmt
63             nsd:type: ELAN
64             nsd:vendor: RIFT.io
65             nsd:version: '1.0'
66             nsd:vnfd-connection-point-ref:
67             -   nsd:member-vnf-index-ref: '1'
68                 nsd:vnfd-connection-point-ref: ping_vnfd/cp0
69                 nsd:vnfd-id-ref: 8759e766-8b99-11e6-9664-02b76030c497
70             -   nsd:member-vnf-index-ref: '2'
71                 nsd:vnfd-connection-point-ref: pong_vnfd/cp0
72                 nsd:vnfd-id-ref: 875b30d0-8b99-11e6-9664-02b76030c497
73         -   nsd:description: Toy VL
74             nsd:id: ping_pong_vld2
75             nsd:name: ping_pong_vld
76             nsd:short-name: ping_pong_vld
77             nsd:type: ELAN
78             nsd:vendor: RIFT.io
79             nsd:version: '1.0'
80             nsd:vnfd-connection-point-ref:
81             -   nsd:member-vnf-index-ref: '1'
82                 nsd:vnfd-connection-point-ref: ping_vnfd/cp1
83                 nsd:vnfd-id-ref: 8759e766-8b99-11e6-9664-02b76030c497
84             -   nsd:member-vnf-index-ref: '2'
85                 nsd:vnfd-connection-point-ref: pong_vnfd/cp1
86                 nsd:vnfd-id-ref: 875b30d0-8b99-11e6-9664-02b76030c497