+
+ STANDARD_ATTRIBUTE_BUNDLES = {
+ "tun_proto" : dict({
+ "name": "tun_proto",
+ "help": "TUNneling protocol used",
+ "type": Attribute.STRING,
+ "flags": Attribute.Invisible | Attribute.ReadOnly,
+ "validation_function": validation.is_string,
+ }),
+ "tun_addr" : dict({
+ "name": "tun_addr",
+ "help": "IP address of the tunnel endpoint",
+ "type": Attribute.STRING,
+ "flags": Attribute.Invisible | Attribute.ReadOnly,
+ "validation_function": validation.is_ip_address,
+ }),
+ "tun_port" : dict({
+ "name": "tun_port",
+ "help": "IP port of the tunnel endpoint",
+ "type": Attribute.INTEGER,
+ "flags": Attribute.Invisible | Attribute.ReadOnly,
+ "validation_function": validation.is_integer,
+ }),
+ }
+