Add init loop in prometheus sidecar container
[osm/devops.git] / descriptor-packages / nsd / ping_pong_ns / src / 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-catalog:
19     nsd:
20      -  id: rift_ping_pong_ns
21         logo: rift_logo.png
22         name: ping_pong_ns
23         short-name: ping_pong_ns
24         vendor: RIFT.io
25         version: '1.1'
26         description: RIFT.io sample ping pong network service
27         constituent-vnfd:
28         -   member-vnf-index: '1'
29             vnfd-id-ref: rift_ping_vnf
30         -   member-vnf-index: '2'
31             vnfd-id-ref: rift_pong_vnf
32         initial-service-primitive:
33         -   name: start traffic
34             parameter:
35             -   name: port
36                 value: 5555
37             -   name: ssh-username
38                 value: fedora
39             -   name: ssh-password
40                 value: fedora
41             seq: '1'
42             user-defined-script: start_traffic.py
43         input-parameter-xpath:
44         -   xpath: /nsd:nsd-catalog/nsd:nsd/nsd:vendor
45         ip-profiles:
46         -   description: Inter VNF Link
47             ip-profile-params:
48                 gateway-address: 31.31.31.210
49                 ip-version: ipv4
50                 subnet-address: 31.31.31.0/24
51                 dhcp-params:
52                   count: 200
53                   start-address: 31.31.31.2
54             name: InterVNFLink
55         placement-groups:
56         -   member-vnfd:
57             -   member-vnf-index-ref: '1'
58                 vnfd-id-ref: rift_ping_vnf
59             -   member-vnf-index-ref: '2'
60                 vnfd-id-ref: rift_pong_vnf
61             name: Orcus
62             requirement: Place this VM on the Kuiper belt object Orcus
63             strategy: COLOCATION
64         -   member-vnfd:
65             -   member-vnf-index-ref: '1'
66                 vnfd-id-ref: rift_ping_vnf
67             -   member-vnf-index-ref: '2'
68                 vnfd-id-ref: rift_pong_vnf
69             name: Quaoar
70             requirement: Place this VM on the Kuiper belt object Quaoar
71             strategy: COLOCATION
72         vld:
73         -   id: mgmt_vl
74             description: Management VL
75             name: mgmt_vl
76             short-name: mgmt_vl
77             vim-network-name: mgmt
78             type: ELAN
79             vendor: RIFT.io
80             version: '1.0'
81             mgmt-network: 'true'
82             vnfd-connection-point-ref:
83             -   member-vnf-index-ref: '1'
84                 vnfd-connection-point-ref: ping_vnfd/cp0
85                 vnfd-id-ref: rift_ping_vnf
86             -   member-vnf-index-ref: '2'
87                 vnfd-connection-point-ref: pong_vnfd/cp0
88                 vnfd-id-ref: rift_pong_vnf
89         -   id: ping_pong_vl1
90             description: Data VL
91             ip-profile-ref: InterVNFLink
92             name: data_vl
93             short-name: data_vl
94             type: ELAN
95             vendor: RIFT.io
96             version: '1.0'
97             vnfd-connection-point-ref:
98             -   member-vnf-index-ref: '1'
99                 vnfd-connection-point-ref: ping_vnfd/cp1
100                 vnfd-id-ref: rift_ping_vnf
101             -   member-vnf-index-ref: '2'
102                 vnfd-connection-point-ref: pong_vnfd/cp1
103                 vnfd-id-ref: rift_pong_vnf