Skip to content

Commit

Permalink
seapath_vm_definition_example: add vlan variable example
Browse files Browse the repository at this point in the history
Add an example variable vlan to show how to implement a VLAN on an OVS
port.

Signed-off-by: Paul Le Guen de Kerneizon <paul.leguendekerneizon@savoirfairelinux.com>
  • Loading branch information
Paullgk committed Sep 30, 2024
1 parent a2ea9e6 commit 32884a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/inventories/vms_inventory_example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ all:
preferred_host: pc1 # Optional
force: true
bridges:
- name: "br0" # Change the bridge name
- name: "ovs0" # Change the bridge name
mac_address: "52:54:00:c4:ff:02" # change the MAC address
vlan:
vlan: 100 # Add a VLAN on the OVS port created
guest1:
description: "Complex VM"
ansible_host: 192.168.212.131 # Update the VM IP
Expand Down

0 comments on commit 32884a6

Please sign in to comment.