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

Network Modeling Framework (NMF) XML representation.
This commit is contained in:
tgoff0 2015-05-22 00:53:01 +00:00
parent 04e98a8004
commit 08c9fd8bf5
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)