From 3bc11047725d849417e3bee8c9f458a1a151df33 Mon Sep 17 00:00:00 2001 From: Alina Quereilhac Date: Fri, 8 Jul 2011 17:06:52 +0200 Subject: [PATCH] minor bugfix in attribute tags for ns3 metadata --- src/nepi/testbeds/ns3/attributes_metadata_v3_9.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/nepi/testbeds/ns3/attributes_metadata_v3_9.py b/src/nepi/testbeds/ns3/attributes_metadata_v3_9.py index f4e200bd..58aaefde 100644 --- a/src/nepi/testbeds/ns3/attributes_metadata_v3_9.py +++ b/src/nepi/testbeds/ns3/attributes_metadata_v3_9.py @@ -2410,7 +2410,9 @@ attributes = dict({ "name": "Standard", "validation_function": validation.is_string, "value": "WIFI_PHY_STANDARD_80211a", - "flags": Attribute.ExecReadOnly | Attribute.ExecImmutable | Attribute.NoDefaultValue, + "flags": Attribute.ExecReadOnly | \ + Attribute.ExecImmutable | \ + Attribute.NoDefaultValue, "type": Attribute.ENUM, "allowed": wifi_standards.keys(), "help": "Wifi PHY standard" @@ -2419,7 +2421,11 @@ attributes = dict({ "name": "LinuxSocketAddress", "validation_function": None, "value": "", - "flags": Attribute.DesignInvisible | Attribute.ExecInvisible | Attribute.ExecReadOnly | Attribute.ExecImmutable, + "flags": Attribute.DesignInvisible | \ + Attribute.ExecInvisible | \ + Attribute.ExecReadOnly | \ + Attribute.ExecImmutable | \ + Attribute.Metadata, "type": Attribute.STRING, "help": "Socket address assigned to the Linux socket created to recive file descriptor" }), @@ -2526,7 +2532,7 @@ attributes = dict({ "name": "WaypointList", "validation_function": validation.is_string, # TODO: SPECIAL VALIDATION FUNC "value": "", - "flags": Attribute.ExecReadOnly | Attribute.ExecImmutable, + "flags": Attribute.ExecReadOnly | Attribute.ExecImmutable | Attribute.Metadata, "type": Attribute.STRING, "help": "Comma separated list of waypoints in format t:x:y:z. Ex: 0s:0:0:0, 1s:1:0:0" }), -- 2.47.0