016148297afe2d0abbdc48e287be069967f3a310
[osm/devops.git] / descriptor-packages / vnfd / hackfest_ansible_vnf / src / ansiblecharm_vnfd.yaml
1 vnfd:vnfd-catalog:
2     vnfd:
3     -   id: ansiblecharm_vnfd
4         name: ansiblecharm_vnfd
5         short-name: ansiblecharm_vnfd
6         description: Generated by OSM package generator
7         vendor: OSM
8         logo: osm.png
9         version: '1.0'
10         connection-point:
11         -   name: vnf-cp0
12
13         mgmt-interface:
14             cp: vnf-cp0
15         vdu:
16         -   id: ansiblecharm_vnfd-VM
17             name: ansiblecharm_vnfd-VM
18             description: ansiblecharm_vnfd-VM
19             count: 1
20             vm-flavor:
21                 vcpu-count: 1
22                 memory-mb: 1024
23                 storage-gb: 10
24             image: 'ubuntu1604'
25             interface:
26             -   name: vdu-eth0
27                 type: EXTERNAL
28                 virtual-interface:
29                     type: PARAVIRT
30                 external-connection-point-ref: vnf-cp0
31             cloud-init-file: cloud-config.txt
32         vnf-configuration:
33              juju:
34                  charm: ansible-charm
35              initial-config-primitive:
36              -   seq: 1
37                  name: config
38                  parameter:
39                  -   name: ssh-hostname
40                      value: <rw_mgmt_ip>
41                  -   name: ssh-username
42                      value: ubuntu
43                  -   name: ssh-password
44                      value: osm4u
45              -   seq: 2
46                  name: ansible-playbook
47                  parameter:
48                  -   name: filename
49                      value: '/home/ubuntu/first-touch'
50              config-primitive:
51              -   name: ansible-playbook
52                  parameter:
53                  -   name: filename
54                      data-type: STRING
55                      value: '/home/ubuntu/first-touch'