From c37f42f4b677502af903cac6f64e48bc77499c9f Mon Sep 17 00:00:00 2001 From: Paul Le Guen de Kerneizon Date: Tue, 24 Sep 2024 14:35:28 +0200 Subject: [PATCH] seapath_vm_definition_example: add vlan variable example Add an example variable vlan to show how to implement a VLAN on an OVS port. Signed-off-by: Paul Le Guen de Kerneizon --- examples/inventories/vms_inventory_example.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/inventories/vms_inventory_example.yaml b/examples/inventories/vms_inventory_example.yaml index 9ee89d443..8675382f0 100644 --- a/examples/inventories/vms_inventory_example.yaml +++ b/examples/inventories/vms_inventory_example.yaml @@ -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