daemon: Add support for EMANE 1.0.1.
This commit is contained in:
parent
88e285f016
commit
f03311b50a
1 changed files with 4 additions and 2 deletions
|
@ -45,8 +45,8 @@ class Emane(ConfigurableManager):
|
||||||
(SUCCESS, NOT_NEEDED, NOT_READY) = (0, 1, 2)
|
(SUCCESS, NOT_NEEDED, NOT_READY) = (0, 1, 2)
|
||||||
EVENTCFGVAR = 'LIBEMANEEVENTSERVICECONFIG'
|
EVENTCFGVAR = 'LIBEMANEEVENTSERVICECONFIG'
|
||||||
# possible self.version values
|
# possible self.version values
|
||||||
(EMANEUNK, EMANE074, EMANE081, EMANE091, EMANE092, EMANE093) = \
|
(EMANEUNK, EMANE074, EMANE081, EMANE091, EMANE092, EMANE093, EMANE101) = \
|
||||||
(0, 7, 8, 91, 92, 93)
|
(0, 7, 8, 91, 92, 93, 101)
|
||||||
DEFAULT_LOG_LEVEL = 3
|
DEFAULT_LOG_LEVEL = 3
|
||||||
|
|
||||||
def __init__(self, session):
|
def __init__(self, session):
|
||||||
|
@ -1175,6 +1175,8 @@ def emane_version():
|
||||||
v = Emane.EMANE092
|
v = Emane.EMANE092
|
||||||
elif result.startswith('0.9.3'):
|
elif result.startswith('0.9.3'):
|
||||||
v = Emane.EMANE093
|
v = Emane.EMANE093
|
||||||
|
elif result.startswith('1.0.1'):
|
||||||
|
v = Emane.EMANE101
|
||||||
return v, result.strip()
|
return v, result.strip()
|
||||||
|
|
||||||
# set version variables for the Emane class
|
# set version variables for the Emane class
|
||||||
|
|
Loading…
Add table
Reference in a new issue