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