Setting default value 'True' for interface 'up' attribute on NETNS and PlanetLab
authorAlina Quereilhac <alina.quereilhac@inria.fr>
Sun, 10 Jun 2012 07:45:45 +0000 (09:45 +0200)
committerAlina Quereilhac <alina.quereilhac@inria.fr>
Sun, 10 Jun 2012 07:45:45 +0000 (09:45 +0200)
src/nepi/testbeds/netns/metadata.py
src/nepi/testbeds/planetlab/metadata.py

index 5d1e838..7b2f6ff 100644 (file)
@@ -405,7 +405,7 @@ attributes = dict({
                 "name": "up",
                 "help": "Link up",
                 "type": Attribute.BOOL,
-                "value": False,
+                "value": True,
                 "validation_function": validation.is_bool
             }),
     "device_name": dict({
index eae9c7f..c90f496 100644 (file)
@@ -1065,7 +1065,7 @@ attributes = dict({
                 "name": "up",
                 "help": "Link up",
                 "type": Attribute.BOOL,
-                "value": False,
+                "value": True,
                 "validation_function": validation.is_bool
             }),
     "primary": dict({