Oleksii Butenko | 787f177 | 2018-07-16 14:45:49 +0300 | [diff] [blame^] | 1 | {#- SRIOV interface #} |
2 | {#- Provides: #} | ||||
3 | {#- SRIOV interface #} | ||||
4 | # {{ interfaces_role }} | ||||
5 | {%- set interface_name = interfaces.keys()[0] %} | ||||
6 | {{ interface_name }}: | ||||
7 | name: {{ interface_name }} | ||||
8 | enabled: true | ||||
9 | type: eth | ||||
10 | proto: manual | ||||
11 | post_up_cmds: | ||||
12 | - echo 7 > /sys/class/net/{{ interface_name }}/device/sriov_numvfs |