2 # Copyright 2016 RIFT.io Inc
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
20 - nsd:id: rift_ping_pong_ns
21 nsd:logo: rift_logo.png
22 nsd:name: ping_pong_ns
23 nsd:short-name: ping_pong_ns
26 nsd:description: RIFT.io sample ping pong network service
28 - nsd:member-vnf-index: '1'
29 nsd:vnfd-id-ref: rift_ping_vnf
30 - nsd:member-vnf-index: '2'
31 nsd:vnfd-id-ref: rift_pong_vnf
32 nsd:initial-config-primitive:
33 - nsd:name: start traffic
37 - nsd:name: ssh-username
39 - nsd:name: ssh-password
42 nsd:user-defined-script: start_traffic.py
43 nsd:input-parameter-xpath:
44 - nsd:xpath: /nsd:nsd-catalog/nsd:nsd/nsd:vendor
46 - nsd:description: Inter VNF Link
47 nsd:ip-profile-params:
48 nsd:gateway-address: 31.31.31.210
50 nsd:subnet-address: 31.31.31.0/24
53 nsd:start-address: 31.31.31.2
54 nsd:name: InterVNFLink
57 - nsd:member-vnf-index-ref: '1'
58 nsd:vnfd-id-ref: rift_ping_vnf
59 - nsd:member-vnf-index-ref: '2'
60 nsd:vnfd-id-ref: rift_pong_vnf
62 nsd:requirement: Place this VM on the Kuiper belt object Orcus
63 nsd:strategy: COLOCATION
65 - nsd:member-vnf-index-ref: '1'
66 nsd:vnfd-id-ref: rift_ping_vnf
67 - nsd:member-vnf-index-ref: '2'
68 nsd:vnfd-id-ref: rift_pong_vnf
70 nsd:requirement: Place this VM on the Kuiper belt object Quaoar
71 nsd:strategy: COLOCATION
74 nsd:description: Management VL
76 nsd:short-name: mgmt_vl
80 nsd:mgmt-network: 'true'
81 nsd:vnfd-connection-point-ref:
82 - nsd:member-vnf-index-ref: '1'
83 nsd:vnfd-connection-point-ref: ping_vnfd/cp0
84 nsd:vnfd-id-ref: rift_ping_vnf
85 - nsd:member-vnf-index-ref: '2'
86 nsd:vnfd-connection-point-ref: pong_vnfd/cp0
87 nsd:vnfd-id-ref: rift_pong_vnf
88 - nsd:id: ping_pong_vl1
89 nsd:description: Data VL
90 nsd:ip-profile-ref: InterVNFLink
92 nsd:short-name: data_vl
96 nsd:vnfd-connection-point-ref:
97 - nsd:member-vnf-index-ref: '1'
98 nsd:vnfd-connection-point-ref: ping_vnfd/cp1
99 nsd:vnfd-id-ref: rift_ping_vnf
100 - nsd:member-vnf-index-ref: '2'
101 nsd:vnfd-connection-point-ref: pong_vnfd/cp1
102 nsd:vnfd-id-ref: rift_pong_vnf