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:description: RIFT.io sample ping pong network service
24 nsd:config-parameter-map:
25 - nsd:config-parameter-request:
26 nsd:config-parameter-request-ref: pong_ip
27 nsd:member-vnf-index-ref: '1'
28 nsd:config-parameter-source:
29 nsd:config-parameter-source-ref: service_ip
30 nsd:member-vnf-index-ref: '2'
32 - nsd:config-parameter-request:
33 nsd:config-parameter-request-ref: pong_port
34 nsd:member-vnf-index-ref: '1'
35 nsd:config-parameter-source:
36 nsd:config-parameter-source-ref: service_port
37 nsd:member-vnf-index-ref: '2'
40 - nsd:member-vnf-index: '1'
41 nsd:vnfd-id-ref: rift_ping_vnf
42 - nsd:member-vnf-index: '2'
43 nsd:vnfd-id-ref: rift_pong_vnf
44 nsd:initial-config-primitive:
45 - nsd:name: start traffic
50 nsd:user-defined-script: start_traffic.py
51 nsd:input-parameter-xpath:
52 - nsd:xpath: /nsd:nsd-catalog/nsd:nsd/nsd:vendor
54 - nsd:description: Inter VNF Link
55 nsd:ip-profile-params:
56 nsd:gateway-address: 31.31.31.210
58 nsd:subnet-address: 31.31.31.0/24
61 nsd:start-address: 31.31.31.2
62 nsd:name: InterVNFLink
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 Orcus
71 nsd:strategy: COLOCATION
73 - nsd:member-vnf-index-ref: '1'
74 nsd:vnfd-id-ref: rift_ping_vnf
75 - nsd:member-vnf-index-ref: '2'
76 nsd:vnfd-id-ref: rift_pong_vnf
78 nsd:requirement: Place this VM on the Kuiper belt object Quaoar
79 nsd:strategy: COLOCATION
80 nsd:short-name: ping_pong_nsd
85 nsd:vim-network-name: mgmt
86 nsd:description: Management VL
88 nsd:short-name: mgmt_vl
92 nsd:mgmt-network: 'true'
93 nsd:vnfd-connection-point-ref:
94 - nsd:member-vnf-index-ref: '1'
95 nsd:vnfd-connection-point-ref: ping_vnfd/cp0
96 nsd:vnfd-id-ref: rift_ping_vnf
97 - nsd:member-vnf-index-ref: '2'
98 nsd:vnfd-connection-point-ref: pong_vnfd/cp0
99 nsd:vnfd-id-ref: rift_pong_vnf
100 - nsd:id: ping_pong_vl1
101 nsd:description: Data VL
102 nsd:ip-profile-ref: InterVNFLink
104 nsd:short-name: data_vl
108 nsd:vnfd-connection-point-ref:
109 - nsd:member-vnf-index-ref: '1'
110 nsd:vnfd-connection-point-ref: ping_vnfd/cp1
111 nsd:vnfd-id-ref: rift_ping_vnf
112 - nsd:member-vnf-index-ref: '2'
113 nsd:vnfd-connection-point-ref: pong_vnfd/cp1
114 nsd:vnfd-id-ref: rift_pong_vnf