]> git.ipfire.org Git - people/ms/network.git/blobdiff - test/nitsi/test/port-vlan/recipe
vlan: Rename tag to id
[people/ms/network.git] / test / nitsi / test / port-vlan / recipe
index aad19fd215631b3feaa1355a408d118c44fbf9f4..2341e1978993e0ee1233f0d1d2e190735efc3d35 100644 (file)
@@ -1,8 +1,8 @@
-include: ../../include/setup
+include: setup
 
 # This contains the basic network configuration for all vpn-tests
 
 # This contains the basic network configuration for all vpn-tests
-include: ../../include/alice-port-vars
-include: ../../include/bob-port-vars
+include: alice-port-vars
+include: bob-port-vars
 
 # Create an uplink zone
 all: network zone new upl0 bridge --stp=off
 
 # Create an uplink zone
 all: network zone new upl0 bridge --stp=off
@@ -17,7 +17,7 @@ bob: network zone upl0 config new static 192.168.100.102/24
 all: network status
 
 # Create a vlan device with parent port attached to net1
 all: network status
 
 # Create a vlan device with parent port attached to net1
-all: network port new vlan --parent-device=${p_net1} --tag=42
+all: network port new vlan --port="${p_net1}" --id=42
 all: network zone upl0 port attach "${p_net1}v42"
 
 # Test if the vlan works by pinging bob
 all: network zone upl0 port attach "${p_net1}v42"
 
 # Test if the vlan works by pinging bob