daemon: Initial support for exporting a scenario using the new NRL

Network Modeling Framework (NMF) XML representation.
This commit is contained in:
tgoff0@gmail.com 2015-05-22 00:53:01 +00:00
parent 55d14b78fb
commit 39903c247e
4 changed files with 994 additions and 3 deletions

View file

@ -27,7 +27,7 @@ def opensessionxml(session, filename, start=False, nodecls=nodes.CoreNode):
session.node_count = str(session.getnodecount())
session.instantiate()
def savesessionxml(session, filename, version = 0.0):
def savesessionxml(session, filename, version):
''' Export a session to the EmulationScript XML format.
'''
doc = core_document_writer(session, version)