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
38 nsd:user-defined-script: start_traffic.py
39 nsd:input-parameter-xpath:
40 - nsd:xpath: /nsd:nsd-catalog/nsd:nsd/nsd:vendor
42 - nsd:description: Inter VNF Link
43 nsd:ip-profile-params:
44 nsd:gateway-address: 31.31.31.210
46 nsd:subnet-address: 31.31.31.0/24
49 nsd:start-address: 31.31.31.2
50 nsd:name: InterVNFLink
53 - nsd:member-vnf-index-ref: '1'
54 nsd:vnfd-id-ref: rift_ping_vnf
55 - nsd:member-vnf-index-ref: '2'
56 nsd:vnfd-id-ref: rift_pong_vnf
58 nsd:requirement: Place this VM on the Kuiper belt object Orcus
59 nsd:strategy: COLOCATION
61 - nsd:member-vnf-index-ref: '1'
62 nsd:vnfd-id-ref: rift_ping_vnf
63 - nsd:member-vnf-index-ref: '2'
64 nsd:vnfd-id-ref: rift_pong_vnf
66 nsd:requirement: Place this VM on the Kuiper belt object Quaoar
67 nsd:strategy: COLOCATION
70 nsd:vim-network-name: mgmt
71 nsd:description: Management VL
73 nsd:short-name: mgmt_vl
77 nsd:mgmt-network: 'true'
78 nsd:vnfd-connection-point-ref:
79 - nsd:member-vnf-index-ref: '1'
80 nsd:vnfd-connection-point-ref: ping_vnfd/cp0
81 nsd:vnfd-id-ref: rift_ping_vnf
82 - nsd:member-vnf-index-ref: '2'
83 nsd:vnfd-connection-point-ref: pong_vnfd/cp0
84 nsd:vnfd-id-ref: rift_pong_vnf
85 - nsd:id: ping_pong_vl1
86 nsd:description: Data VL
87 nsd:ip-profile-ref: InterVNFLink
89 nsd:short-name: data_vl
93 nsd:vnfd-connection-point-ref:
94 - nsd:member-vnf-index-ref: '1'
95 nsd:vnfd-connection-point-ref: ping_vnfd/cp1
96 nsd:vnfd-id-ref: rift_ping_vnf
97 - nsd:member-vnf-index-ref: '2'
98 nsd:vnfd-connection-point-ref: pong_vnfd/cp1
99 nsd:vnfd-id-ref: rift_pong_vnf