Skip to content

Commit

Permalink
guest.xml.j2: add OVS bridge vlan support
Browse files Browse the repository at this point in the history
Add a field used to set a VLAN on a OVS bridge.

Signed-off-by: Paul Le Guen de Kerneizon <[email protected]>
  • Loading branch information
Paullgk committed Sep 30, 2024
1 parent 49d3469 commit 52a8f91
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/vm/guest.xml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@
{% if bridge.type is defined %}
<virtualport type='{{ bridge.type }}'/>
{% endif %}
{% if bridge.vlan is defined %}
<vlan>
<tag id='{{ bridge.vlan.vlan_tag }}'/>
</vlan>
{% endif %}
</interface>
{% endfor %}
{% endif %}
Expand Down

0 comments on commit 52a8f91

Please sign in to comment.