Merge "cirros test code changes for VCD"
[osm/devops.git] / descriptor-packages / vnfd / hackfest_simplecharm_vnf / src / hackfest_simplecharm_vnfd.yaml
1 vnfd:vnfd-catalog:
2     vnfd:
3     -   id: hackfest-simplecharm-vnf
4         name: hackfest-simplecharm-vnf
5         short-name: hackfest-simplecharm-vnf
6         version: '1.0'
7         description: A VNF consisting of 2 VDUs connected to an internal VL, and one VDU with cloud-init
8         logo: osm.png
9         connection-point:
10         -   id: vnf-mgmt
11             name: vnf-mgmt
12             short-name: vnf-mgmt
13             type: VPORT
14         -   id: vnf-data
15             name: vnf-data
16             short-name: vnf-data
17             type: VPORT
18         mgmt-interface:
19             cp: vnf-mgmt
20         internal-vld:
21         -   id: internal
22             name: internal
23             short-name: internal
24             type: ELAN
25             internal-connection-point:
26             -   id-ref: mgmtVM-internal
27             -   id-ref: dataVM-internal
28         vdu:
29         -   id: mgmtVM
30             name: mgmtVM
31             image: hackfest3-mgmt
32             count: '1'
33             vm-flavor:
34                 vcpu-count: '1'
35                 memory-mb: '1024'
36                 storage-gb: '10'
37             interface:
38             -   name: mgmtVM-eth0
39                 position: '1'
40                 type: EXTERNAL
41                 virtual-interface:
42                     type: PARAVIRT
43                 external-connection-point-ref: vnf-mgmt
44             -   name: mgmtVM-eth1
45                 position: '2'
46                 type: INTERNAL
47                 virtual-interface:
48                     type: PARAVIRT
49                 internal-connection-point-ref: mgmtVM-internal
50             internal-connection-point:
51             -   id: mgmtVM-internal
52                 name: mgmtVM-internal
53                 short-name: mgmtVM-internal
54                 type: VPORT
55             cloud-init-file: cloud-config.txt
56         -   id: dataVM
57             name: dataVM
58             image: hackfest3-mgmt
59             count: '1'
60             vm-flavor:
61                 vcpu-count: '1'
62                 memory-mb: '1024'
63                 storage-gb: '10'
64             interface:
65             -   name: dataVM-eth0
66                 position: '1'
67                 type: INTERNAL
68                 virtual-interface:
69                     type: PARAVIRT
70                 internal-connection-point-ref: dataVM-internal
71             -   name: dataVM-xe0
72                 position: '2'
73                 type: EXTERNAL
74                 virtual-interface:
75                     type: PARAVIRT
76                 external-connection-point-ref: vnf-data
77             internal-connection-point:
78             -   id: dataVM-internal
79                 name: dataVM-internal
80                 short-name: dataVM-internal
81                 type: VPORT
82         vnf-configuration:
83             juju:
84                 charm: simple
85             initial-config-primitive:
86             -   seq: '1'
87                 name: config
88                 parameter:
89                 -   name: ssh-hostname
90                     value: <rw_mgmt_ip>
91                 -   name: ssh-username
92                     value: ubuntu
93                 -   name: ssh-password
94                     value: osm4u
95             -   seq: '2'
96                 name: touch
97                 parameter:
98                 -   name: filename
99                     value: '/home/ubuntu/first-touch'
100             config-primitive:
101             -   name: touch
102                 parameter:
103                 -   name: filename
104                     data-type: STRING
105                     default-value: '/home/ubuntu/touched'
106