small doc cleanup, updated python specific docs to leverage the sphix rtd theme as well

This commit is contained in:
Blake J. Harnden 2017-08-18 11:34:25 -07:00
parent f55d241b36
commit abc9e06fe1
6 changed files with 23 additions and 56 deletions

View file

@ -112,12 +112,11 @@ class EmaneManager(ConfigurableManager):
def initeventservice(self, filename=None, shutdown=False):
"""
(Re-)initialize the EMANE Event service.
Re-initialize the EMANE Event service.
The multicast group and/or port may be configured.
- For versions < 0.9.1 this can be changed via XML config file
and an environment variable pointing to that file.
- For version >= 0.9.1 this is passed into the EventService
constructor.
- For versions < 0.9.1 this can be changed via XML config file and an environment variable
pointing to that file.
- For version >= 0.9.1 this is passed into the EventService constructor.
"""
logger.info("initializing emane event service: %s", emane.VERSIONSTR)

View file

@ -73,10 +73,12 @@ class EmaneModel(WirelessModel):
def buildplatformxmlnementry(self, doc, n, ifc):
"""
Build the NEM definition that goes into the platform.xml file.
This returns an XML element that will be added to the <platform/> element.
This default method supports per-interface config
(e.g. <nem definition="n2_0_63emane_rfpipe.xml" id="1"> or per-EmaneNode
config (e.g. <nem definition="n1emane_rfpipe.xml" id="1">.
This default method supports per-interface config (e.g. <nem definition="n2_0_63emane_rfpipe.xml" id="1">
or per-EmaneNode config (e.g. <nem definition="n1emane_rfpipe.xml" id="1">.
This can be overriden by a model for NEM flexibility; n is the EmaneNode.
"""
nem = doc.createElement("nem")