daemon: Initial support for exporting a scenario using the new NRL
Network Modeling Framework (NMF) XML representation.
This commit is contained in:
parent
04e98a8004
commit
08c9fd8bf5
4 changed files with 994 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue