Made persistent to allow execution from the GUI
This commit is contained in:
parent
3340ae2796
commit
e73dbbe25d
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ def main():
|
||||||
prefix = ipaddr.IPv4Prefix("10.83.0.0/16")
|
prefix = ipaddr.IPv4Prefix("10.83.0.0/16")
|
||||||
# session with some EMANE initialization
|
# session with some EMANE initialization
|
||||||
cfg = {'verbose': 'false'}
|
cfg = {'verbose': 'false'}
|
||||||
session = pycore.Session(cfg = cfg, persistent = False)
|
session = pycore.Session(cfg = cfg, persistent = True)
|
||||||
session.master = True
|
session.master = True
|
||||||
session.location.setrefgeo(47.57917,-122.13232,2.00000)
|
session.location.setrefgeo(47.57917,-122.13232,2.00000)
|
||||||
session.location.refscale = 150.0
|
session.location.refscale = 150.0
|
||||||
|
|
Loading…
Reference in a new issue