502926f4ec48eaec548c6827200f291a1159fed9
[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: pass
22                         data-type: string
23                         mandatory: 'true'
24                         default-value: vyos
25                 -   name: ping-test
26                     parameter:
27                     -   name: destination
28                         data-type: STRING
29                         mandatory: 'true'
30                     -   name: count
31                         data-type: INTEGER
32                         mandatory: 'false'
33                         default-value: 5
34                 initial-config-primitive:
35                 -   name: config
36                     parameter:
37                     -   name: hostname
38                         value: <rw_mgmt_ip>
39                     seq: '1'
40                 juju:
41                     charm: VyOS-proxy
42         connection-point:
43         -   name: eth0
44             type: VPORT
45         -   name: eth1
46             type: VPORT
47         -   name: eth2
48             type: VPORT
49         -   name: eth3
50             type: VPORT
51         -   name: eth4
52             type: VPORT
53         vdu:
54         -   id: VyOS-VM
55             name: VyOS-VM
56             description: VyOS-VM
57             image: /mnt/powervault/virtualization/osm/VyOS/VyOS-1.1.7-signed-disk1.qcow2
58             vm-flavor:
59                 memory-mb: '1024'
60                 storage-gb: '40'
61                 vcpu-count: '1'
62             mgmt-vpci: 0000:00:0a.0
63             external-interface:
64             -   name: eth0
65                 virtual-interface:
66                     bandwidth: '0'
67                     type: OM-MGMT
68                     vpci: 0000:00:0a.0
69                 vnfd-connection-point-ref: eth0
70             -   name: eth1
71                 virtual-interface:
72                     bandwidth: '0'
73                     type: VIRTIO
74                     vpci: 0000:00:0b.0
75                 vnfd-connection-point-ref: eth1
76             -   name: eth2
77                 virtual-interface:
78                     bandwidth: '0'
79                     type: VIRTIO
80                     vpci: 0000:00:0c.0
81                 vnfd-connection-point-ref: eth2
82             -   name: eth3
83                 virtual-interface:
84                     bandwidth: '0'
85                     type: VIRTIO
86                     vpci: 0000:00:0d.0
87                 vnfd-connection-point-ref: eth3
88             -   name: eth4
89                 virtual-interface:
90                     bandwidth: '0'
91                     type: VIRTIO
92                     vpci: 0000:00:0e.0
93                 vnfd-connection-point-ref: eth4
94             guest-epa:
95                 cpu-pinning-policy: DEDICATED
96                 cpu-thread-pinning-policy: PREFER
97                 mempage-size: LARGE
98                 numa-node-policy:
99                     mem-policy: STRICT
100                     node:
101                     -   id: '0'
102                         paired-threads:
103                             num-paired-threads: '1'
104                     node-cnt: '1'