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