901eaecb0d07b6ee55d59419717a202b597d60eb
[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                 juju:
36                     charm: VyOS-proxy
37         connection-point:
38         -   name: eth0
39             type: VPORT
40         -   name: eth1
41             type: VPORT
42         -   name: eth2
43             type: VPORT
44         -   name: eth3
45             type: VPORT
46         -   name: eth4
47             type: VPORT
48         vdu:
49         -   id: VyOS-VM
50             name: VyOS-VM
51             description: VyOS-VM
52             image: /mnt/powervault/virtualization/osm/VyOS/VyOS-1.1.7-signed-disk1.qcow2
53             vm-flavor:
54                 memory-mb: '1024'
55                 storage-gb: '2'
56                 vcpu-count: '1'
57             mgmt-vpci: 0000:00:0a.0
58             external-interface:
59             -   name: eth0
60                 virtual-interface:
61                     bandwidth: '0'
62                     type: OM-MGMT
63                     vpci: 0000:00:0a.0
64                 vnfd-connection-point-ref: eth0
65             -   name: eth1
66                 virtual-interface:
67                     bandwidth: '0'
68                     type: VIRTIO
69                     vpci: 0000:00:0b.0
70                 vnfd-connection-point-ref: eth1
71             -   name: eth2
72                 virtual-interface:
73                     bandwidth: '0'
74                     type: VIRTIO
75                     vpci: 0000:00:0c.0
76                 vnfd-connection-point-ref: eth2
77             -   name: eth3
78                 virtual-interface:
79                     bandwidth: '0'
80                     type: VIRTIO
81                     vpci: 0000:00:0d.0
82                 vnfd-connection-point-ref: eth3
83             -   name: eth4
84                 virtual-interface:
85                     bandwidth: '0'
86                     type: VIRTIO
87                     vpci: 0000:00:0e.0
88                 vnfd-connection-point-ref: eth4
89             guest-epa:
90                 cpu-pinning-policy: DEDICATED
91                 cpu-thread-pinning-policy: PREFER
92                 mempage-size: LARGE
93                 numa-node-policy:
94                     mem-policy: STRICT
95                     node:
96                     -   id: '0'
97                         paired-threads:
98                             num-paired-threads: '1'
99                     node-cnt: '1'