From f55d241b365de50db51732d42bf41d1e61c2d0aa Mon Sep 17 00:00:00 2001 From: "Blake J. Harnden" Date: Fri, 18 Aug 2017 10:38:27 -0700 Subject: [PATCH] removed copyright header from all files for core-python and corens3 --- daemon/core/bsd/netgraph.py | 8 -------- daemon/core/bsd/nodes.py | 8 -------- daemon/core/bsd/vnet.py | 8 -------- daemon/core/bsd/vnode.py | 8 -------- daemon/core/misc/quagga.py | 8 -------- daemon/core/xml/xmlparser.py | 8 ++++++++ daemon/setup.py | 3 --- 7 files changed, 8 insertions(+), 43 deletions(-) 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. """