diff --git a/daemon/core/emulator/session.py b/daemon/core/emulator/session.py index 3e5877a5..1b67935c 100644 --- a/daemon/core/emulator/session.py +++ b/daemon/core/emulator/session.py @@ -1229,12 +1229,12 @@ class Session(object): """ if state == EventTypes.RUNTIME_STATE.value: self.emane.poststartup() - xml_file_version = self.options.get_config("xmlfilever") - if xml_file_version in ("1.0",): - xml_file_name = os.path.join(self.session_dir, "session-deployed.xml") - xml_writer = corexml.CoreXmlWriter(self) - corexmldeployment.CoreXmlDeployment(self, xml_writer.scenario) - xml_writer.write(xml_file_name) + + # create session deployed xml + xml_file_name = os.path.join(self.session_dir, "session-deployed.xml") + xml_writer = corexml.CoreXmlWriter(self) + corexmldeployment.CoreXmlDeployment(self, xml_writer.scenario) + xml_writer.write(xml_file_name) def get_environment(self, state=True): """ diff --git a/daemon/data/core.conf b/daemon/data/core.conf index 27fa698e..056372f1 100644 --- a/daemon/data/core.conf +++ b/daemon/data/core.conf @@ -6,7 +6,6 @@ ### core-daemon configuration options ### [core-daemon] -xmlfilever = 1.0 listenaddr = localhost port = 4038 numthreads = 1 diff --git a/daemon/scripts/core-daemon b/daemon/scripts/core-daemon index 6614d784..0fa2ce69 100755 --- a/daemon/scripts/core-daemon +++ b/daemon/scripts/core-daemon @@ -93,7 +93,6 @@ def get_merged_config(filename): defaults = { "port": "%d" % enumerations.CORE_API_PORT, "listenaddr": "localhost", - "xmlfilever": "1.0", "numthreads": "1", "grpcport": "50051", "grpcaddress": "localhost",