Commented unncesary placement group of one vdu
[osm/devops.git] / descriptor-packages / vnfd / pong_vnf / src / pong_vnfd.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 vnfd:vnfd-catalog:
19     vnfd:
20      -  id: rift_pong_vnf
21         name: pong_vnf
22         short-name: pong_vnf
23         logo: rift_logo.png
24         vendor: RIFT.io
25         version: '1.1'
26         description: This is an example RIFT.ware VNF
27         connection-point:
28         -   name: pong_vnfd/cp0
29             type: VPORT
30         -   name: pong_vnfd/cp1
31             type: VPORT
32         http-endpoint:
33         -   path: api/v1/pong/stats
34             polling_interval_secs: '2'
35             port: '18889'
36         mgmt-interface:
37             dashboard-params:
38                 path: api/v1/pong/stats
39                 port: '18889'
40             port: '18889'
41             vdu-id: iovdu_0
42         # placement-groups:
43         # -   member-vdus:
44         #     -   member-vdu-ref: iovdu_0
45         #     name: Weywot
46         #     requirement: Place this VM on the Kuiper belt object Weywot
47         #     strategy: COLOCATION
48         vdu:
49         -   cloud-init-file: pong_cloud_init.cfg
50             count: '1'
51             interface:
52             -   name: eth0
53                 type: EXTERNAL
54                 virtual-interface:
55                     type: VIRTIO
56                 external-connection-point-ref: pong_vnfd/cp0
57             -   name: eth1
58                 type: EXTERNAL
59                 virtual-interface:
60                     type: VIRTIO
61                 external-connection-point-ref: pong_vnfd/cp1
62             id: iovdu_0
63             image: Fedora-x86_64-20-20131211.1-sda-pong.qcow2
64             name: iovdu_0
65             vm-flavor:
66                 memory-mb: '512'
67                 storage-gb: '4'
68                 vcpu-count: '1'
69         vnf-configuration:
70             service-primitive:
71             -   name: start
72             -   name: stop
73             -   name: restart
74             -   name: config
75                 parameter:
76                 -   data-type: STRING
77                     default-value: <rw_mgmt_ip>
78                     name: ssh-hostname
79                 -   data-type: STRING
80                     default-value: fedora
81                     name: ssh-username
82                 -   data-type: STRING
83                     default-value: fedora
84                     name: ssh-password
85                 -   data-type: STRING
86                     name: ssh-private-key
87                 -   data-type: STRING
88                     default-value: pong
89                     name: mode
90                     read-only: 'true'
91             -   name: set-server
92                 parameter:
93                 -   data-type: STRING
94                     name: server-ip
95                 -   data-type: INTEGER
96                     name: server-port
97             -   name: start-traffic
98             -   name: stop-traffic
99             initial-config-primitive:
100             -   name: config
101                 parameter:
102                 -   name: ssh-hostname
103                     value: <rw_mgmt_ip>
104                 -   name: ssh-username
105                     value: fedora
106                 -   name: ssh-password
107                     value: fedora
108                 -   name: mode
109                     value: pong
110                 seq: '1'
111             -   name: start
112                 seq: '2'
113             juju:
114                 charm: pingpong