blob: ac6bf989154388bc403f361ca27d7e2e4d3a3524 [file] [log] [blame]
Petr Jediný2418e4e2017-02-15 16:12:32 +01001parameters:
2 _param:
3 sriov_nic01_physical_network: physnet1
4 sriov_unsafe_interrupts: False
5 nova:
6 compute:
7 sriov:
8 sriov_nic01:
9 devname: ${_param:sriov_nic01_device_name}
10 physical_network: ${_param:sriov_nic01_physical_network}
11 linux:
12 system:
13 kernel:
14 sriov: True
15 unsafe_interrupts: ${_param:sriov_unsafe_interrupts}
Oleh Hryhorov49281702018-07-30 17:54:06 +030016 network:
17 interface:
18 sriov_nic01:
19 pre_up_cmds:
20 - echo ${_param:sriov_nic01_numvfs} > /sys/class/net/${_param:sriov_nic01_device_name}/device/sriov_numvfs
21 enabled: true
22 name: ${_param:sriov_nic01_device_name}
23 type: eth
24 proto: manual