Add support for VLAN interface tag
Andrew Bavier [Fri, 27 Apr 2012 15:44:50 +0000 (11:44 -0400)]
plnet.py

index ea98925..2714af5 100755 (executable)
--- a/plnet.py
+++ b/plnet.py
@@ -110,7 +110,7 @@ def InitInterfaces(logger, plc, data, root="", files_only=False, program="NodeMa
 
             for setting in settings:
                 settingname = setting[name_key].upper()
-                if settingname in ('IFNAME','ALIAS','CFGOPTIONS','DRIVER'):
+                if settingname in ('IFNAME','ALIAS','CFGOPTIONS','DRIVER','VLAN'):
                     details[settingname]=setting['value']
                 # IPv6 support on IPv4 interface
                 if settingname in ('IPV6ADDR','IPV6_DEFAULTGW','IPV6ADDR_SECONDARIES'):