These vars contain the port name which is plugged into the virtual
network.
As this relation changes every reboot these vars make it possible to
write recipes which depends on correct links between two ports.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
--- /dev/null
+# These command store the name of each port in a variable
+#which is named like the virtual network
+alice: p_net1="$(network raw device-get-by-mac-address "52:54:00:8a:b8:b5")"
+alice: p_net2="$(network raw device-get-by-mac-address "52:54:00:ea:62:65")"
+alice: p_net3="$(network raw device-get-by-mac-address "52:54:00:49:0f:04")"
+alice: p_net4="$(network raw device-get-by-mac-address "52:54:00:33:67:4a")"
\ No newline at end of file
--- /dev/null
+# These command store the name of each port in a variable
+#which is named like the virtual network
+bob: p_net1="$(network raw device-get-by-mac-address "52:54:00:36:ba:7d")"
+bob: p_net2="$(network raw device-get-by-mac-address "52:54:00:e3:cb:28")"
+bob: p_net3="$(network raw device-get-by-mac-address "52:54:00:b6:95:a5")"
+bob: p_net4="$(network raw device-get-by-mac-address "52:54:00:f8:ce:4b")"
\ No newline at end of file