X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fnepi%2Fresources%2Fns3%2Fclasses%2Fping6.py;h=346b230f2b32ebd1062656d20612fd49e05b212d;hb=e55924b6886bd7382a28e1ae235c4810f852e163;hp=7986532466aebab2524d17b29eb7801a881060f8;hpb=f4a5a9a345818610739e9e5841b9da5b1a062f5d;p=nepi.git diff --git a/src/nepi/resources/ns3/classes/ping6.py b/src/nepi/resources/ns3/classes/ping6.py index 79865324..346b230f 100644 --- a/src/nepi/resources/ns3/classes/ping6.py +++ b/src/nepi/resources/ns3/classes/ping6.py @@ -3,9 +3,8 @@ # Copyright (C) 2014 INRIA # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation; # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -19,7 +18,7 @@ from nepi.execution.attribute import Attribute, Flags, Types from nepi.execution.trace import Trace, TraceAttr from nepi.execution.resource import ResourceManager, clsinit_copy, \ - ResourceState, reschedule_delay + ResourceState from nepi.resources.ns3.ns3application import NS3BaseApplication @clsinit_copy @@ -52,7 +51,7 @@ class NS3Ping6(NS3BaseApplication): attr_remoteipv6 = Attribute("RemoteIpv6", "The Ipv6Address of the outbound packets", type = Types.String, - default = "0000:0000:0000:0000:0000:0000:0000:0000", + default = "::", allowed = None, range = None, flags = Flags.Reserved | Flags.Construct) @@ -62,7 +61,7 @@ class NS3Ping6(NS3BaseApplication): attr_localipv6 = Attribute("LocalIpv6", "Local Ipv6Address of the sender", type = Types.String, - default = "0000:0000:0000:0000:0000:0000:0000:0000", + default = "::", allowed = None, range = None, flags = Flags.Reserved | Flags.Construct)