blob: b9123ddff56e678b5959f376cb88f2f5b80e5ec3 [file] [log] [blame]
Oleksii Butenko787f1772018-07-16 14:45:49 +03001{#- 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