Adding linux ns3 server unit test
[nepi.git] / src / nepi / resources / linux / ping.py
index 6db0a8d..a3df579 100644 (file)
@@ -34,56 +34,56 @@ class LinuxPing(LinuxApplication):
             "Sets ping -c option. Determines the number of ECHO_REQUEST "
             "packates to send before stopping.",
             type = Types.Integer,
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         mark = Attribute("mark",
             "Sets ping -m option. Uses 'mark' to tag outgoing packets. ",
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         interval = Attribute("interval",
             "Sets ping -i option. Leaves interval seconds between "
             "successive ECHO_REUQEST packets. ",
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         address = Attribute("address",
             "Sets ping -I option. Sets ECHO_REQUEST packets souce address "
             "to the specified interface address ",
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         preload = Attribute("preload",
             "Sets ping -l option. Sends preload amount of packets "
             "without waiting for a reply ",
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         numeric = Attribute("numeric",
             "Sets ping -n option. Disables resolution of host addresses into "
             "symbolic names. ",
             type = Types.Bool,
             default = False,
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         pattern = Attribute("pattern",
             "Sets ping -p option. Species a up to 16 ''pad'' bytes to fill "
             "out sent packets. ",
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         printtmp = Attribute("printTimestamp",
             "Sets ping -D option. Prints timestamp befor each line as: "
             "unix time + microseconds as in gettimeofday ",
             type = Types.Bool,
             default = False,
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         tos = Attribute("tos",
             "Sets ping -Q option. Sets Quality of Service related bits in ICMP "
             "datagrams. tos can be either a decimal or hexadecime number ",
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         quiet = Attribute("quiet",
             "Sets ping -q option. Disables ping standard output ",
             type = Types.Bool,
             default = False,
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         rec_route = Attribute("recordRoute",
             "Sets ping -R option. Includes the RECORD_ROUTE option in the "
@@ -91,37 +91,37 @@ class LinuxPing(LinuxApplication):
             "ping standard output.",
             type = Types.Bool,
             default = False,
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         route_bypass = Attribute("routeBypass",
             "Sets ping -r option. Bypasses normal routing tables and sends "
             "ECHO REQUEST packets directly yo a host on an attached interface. ",
             type = Types.Bool,
             default = False,
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         packetsize = Attribute("packetSize",
             "Sets ping -s option. Specifies the number of data bytes to be "
             "sent. Defaults to 56. ",
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         sendbuff = Attribute("sendBuff",
             "Sets ping -S option. Specifies the number of packets to buffer. "
             "Defaults to one. ",
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         ttl = Attribute("ttl",
             "Sets ping -t option. Specifies the IP Time to Live for the "
             "packets. ",
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         timestamp = Attribute("timestamp",
             "Sets ping -T option. Sets special IP timestamp options. ",
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         hint = Attribute("hint",
             "Sets ping -M option. Selects Path MTU Discovery strategy. ",
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         full_latency = Attribute("fullLatency",
             "Sets ping -U option. Calculates round trip time taking into "
@@ -129,32 +129,32 @@ class LinuxPing(LinuxApplication):
             "network round trip time. ",
             type = Types.Bool,
             default = False,
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         verbose = Attribute("verbose",
             "Sets ping -v option. Verbose output. ",
             type = Types.Bool,
             default = False,
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         flood = Attribute("flood",
             "Sets ping -f option. Flood ping. ",
             type = Types.Bool,
             default = False,
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         deadline = Attribute("deadline",
             "Sets ping -w option. Specify a timeout, in seconds, before ping "
             "exits regardless of how many packets have been sent or received.",
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         timeout = Attribute("timeout",
             "Sets ping -W option. Time to wait for a respone in seconds .",
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         target = Attribute("target",
             "The host to ping .",
-            flags = Flags.ExecReadOnly)
+            flags = Flags.Design)
 
         cls._register_attribute(count)
         cls._register_attribute(mark)