# 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
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.ns3propagationlossmodel import NS3BasePropagationLossModel
@clsinit_copy
cls._register_attribute(attr_systemloss)
- attr_mindistance = Attribute("MinDistance",
- "The distance under which the propagation model refuses to give results (m)",
+ attr_minloss = Attribute("MinLoss",
+ "The minimum value (dB) of the total loss, used at short ranges. Note: ",
type = Types.Double,
- default = "0.5",
+ default = "0",
allowed = None,
range = None,
flags = Flags.Reserved | Flags.Construct)
- cls._register_attribute(attr_mindistance)
+ cls._register_attribute(attr_minloss)