diff --git a/daemon/core/bsd/netgraph.py b/daemon/core/bsd/netgraph.py index c928378f..c74a326b 100644 --- a/daemon/core/bsd/netgraph.py +++ b/daemon/core/bsd/netgraph.py @@ -1,11 +1,3 @@ -# -# CORE -# Copyright (c)2010-2012 the Boeing Company. -# See the LICENSE file included in this distribution. -# -# authors: core-dev@pf.itd.nrl.navy.mil -# - """ netgraph.py: Netgraph helper functions; for now these are wrappers around ngctl commands. diff --git a/daemon/core/bsd/nodes.py b/daemon/core/bsd/nodes.py index 8978ba4e..fc265ee6 100644 --- a/daemon/core/bsd/nodes.py +++ b/daemon/core/bsd/nodes.py @@ -1,11 +1,3 @@ -# -# CORE -# Copyright (c)2010-2013 the Boeing Company. -# See the LICENSE file included in this distribution. -# -# author: core-dev@pf.itd.nrl.navy.mil -# - """ nodes.py: definition of CoreNode classes and other node classes that inherit from the CoreNode, implementing specific node types. diff --git a/daemon/core/bsd/vnet.py b/daemon/core/bsd/vnet.py index 917bac51..5142cd7c 100644 --- a/daemon/core/bsd/vnet.py +++ b/daemon/core/bsd/vnet.py @@ -1,11 +1,3 @@ -# -# CORE -# Copyright (c)2010-2012 the Boeing Company. -# See the LICENSE file included in this distribution. -# -# authors: core-dev@pf.itd.nrl.navy.mil -# - """ vnet.py: NetgraphNet and NetgraphPipeNet classes that implement virtual networks using the FreeBSD Netgraph subsystem. diff --git a/daemon/core/bsd/vnode.py b/daemon/core/bsd/vnode.py index 589d7c16..57967dbf 100644 --- a/daemon/core/bsd/vnode.py +++ b/daemon/core/bsd/vnode.py @@ -1,11 +1,3 @@ -# -# CORE -# Copyright (c)2010-2012 the Boeing Company. -# See the LICENSE file included in this distribution. -# -# authors: core-dev@pf.itd.nrl.navy.mil -# - """ vnode.py: SimpleJailNode and JailNode classes that implement the FreeBSD jail-based virtual node. diff --git a/daemon/core/misc/quagga.py b/daemon/core/misc/quagga.py index 2ab5edb1..99058312 100644 --- a/daemon/core/misc/quagga.py +++ b/daemon/core/misc/quagga.py @@ -1,11 +1,3 @@ -# -# CORE -# Copyright (c)2010-2012 the Boeing Company. -# See the LICENSE file included in this distribution. -# -# author: Tom Goff -# - """ quagga.py: helper class for generating Quagga configuration. """ diff --git a/daemon/core/xml/xmlparser.py b/daemon/core/xml/xmlparser.py index 28bc296d..9492ed27 100644 --- a/daemon/core/xml/xmlparser.py +++ b/daemon/core/xml/xmlparser.py @@ -34,6 +34,14 @@ class CoreVersionParser(object): def core_document_parser(session, filename, options): + """ + Retrieves the xml document parser. + + :param core.session.Session session: core + :param str filename: name of file to save to or load from + :param dict options: parsing options + :return: xml document parser + """ vp = CoreVersionParser(filename, options) if 'dom' not in options: options['dom'] = vp.dom diff --git a/daemon/setup.py b/daemon/setup.py index fd764a5f..7d8f1c32 100644 --- a/daemon/setup.py +++ b/daemon/setup.py @@ -1,6 +1,3 @@ -# Copyright (c)2010-2012 the Boeing Company. -# See the LICENSE file included in this distribution. - """ Defines how CORE will be built for installation. """