Petr Jediný | 2418e4e | 2017-02-15 16:12:32 +0100 | [diff] [blame] | 1 | parameters: |
| 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 Hryhorov | 4928170 | 2018-07-30 17:54:06 +0300 | [diff] [blame] | 16 | 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 |