removed xmlfilever from config, since not used

This commit is contained in:
Blake Harnden 2019-09-30 10:36:27 -07:00
parent 1fb99e8690
commit 6b43c00031
3 changed files with 6 additions and 8 deletions

View file

@ -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):
"""

View file

@ -6,7 +6,6 @@
### core-daemon configuration options ###
[core-daemon]
xmlfilever = 1.0
listenaddr = localhost
port = 4038
numthreads = 1

View file

@ -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",