Updated VyOS vnfd descriptor with initial config
[osm/devops.git] / src / vnfd / VyOS_vnf / VyOS__vnfd.yaml
1 vnfd:vnfd-catalog:
2     vnfd:
3     -   id: VyOS
4         name: VyOS
5         short-name: VyOS
6         description: VyOS Router
7         logo: osm_2x.png
8         mgmt-interface:
9             vdu-id: VyOS-VM
10             vnf-configuration:
11                 config-attributes:
12                     config-delay: '0'
13                     config-priority: '1'
14                 config-primitive:
15                 -   name: config
16                     parameter:
17                     -   name: user
18                         data-type: STRING
19                         mandatory: 'true'
20                         default-value: vyos
21                     -   name: password
22                         data-type: string
23                         mandatory: 'true'
24                         name: password
25                         default-value: vyos
26                 -   name: ping-test
27                     parameter:
28                     -   name: ip-address
29                         data-type: STRING
30                         mandatory: 'true'
31                     -   name: count
32                         data-type: INTEGER
33                         mandatory: 'false'
34                         default-value: 5
35                 initial-config-primitive:
36                 -   name: config
37                     parameter:
38                     -   name: hostname
39                         value: <rw_mgmt_ip>
40                     seq: '1'
41                 juju:
42                     charm: VyOS-proxy
43         connection-point:
44         -   name: eth0
45             type: VPORT
46         -   name: eth1
47             type: VPORT
48         -   name: eth2
49             type: VPORT
50         -   name: eth3
51             type: VPORT
52         -   name: eth4
53             type: VPORT
54         vdu:
55         -   id: VyOS-VM
56             name: VyOS-VM
57             description: VyOS-VM
58             image: /mnt/powervault/virtualization/osm/VyOS/VyOS-1.1.7-signed-disk1.qcow2
59             vm-flavor:
60                 memory-mb: '1024'
61                 storage-gb: '40'
62                 vcpu-count: '1'
63             mgmt-vpci: 0000:00:0a.0
64             external-interface:
65             -   name: eth0
66                 virtual-interface:
67                     bandwidth: '0'
68                     type: OM-MGMT
69                     vpci: 0000:00:0a.0
70                 vnfd-connection-point-ref: eth0
71             -   name: eth1
72                 virtual-interface:
73                     bandwidth: '0'
74                     type: VIRTIO
75                     vpci: 0000:00:0b.0
76                 vnfd-connection-point-ref: eth1
77             -   name: eth2
78                 virtual-interface:
79                     bandwidth: '0'
80                     type: VIRTIO
81                     vpci: 0000:00:0c.0
82                 vnfd-connection-point-ref: eth2
83             -   name: eth3
84                 virtual-interface:
85                     bandwidth: '0'
86                     type: VIRTIO
87                     vpci: 0000:00:0d.0
88                 vnfd-connection-point-ref: eth3
89             -   name: eth4
90                 virtual-interface:
91                     bandwidth: '0'
92                     type: VIRTIO
93                     vpci: 0000:00:0e.0
94                 vnfd-connection-point-ref: eth4
95             guest-epa:
96                 cpu-pinning-policy: DEDICATED
97                 cpu-thread-pinning-policy: PREFER
98                 mempage-size: LARGE
99                 numa-node-policy:
100                     mem-policy: STRICT
101                     node:
102                     -   id: '0'
103                         paired-threads:
104                             num-paired-threads: '1'
105                     node-cnt: '1'