From 48824e05f59d30a0d6c82da271baa44c8fd65e9c Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Sun, 2 Jan 2011 14:41:14 +0000 Subject: [PATCH] Weitergemacht git-svn-id: http://svn.brehm-online.com/svn/my-stuff/ipv6-hostpart/trunk@170 ec8d2aa5-1599-4edb-8739-2b3a1bc399aa --- bin/ipv6-hostpart.py | 7 ++++++- bin/net/ll_hw_address.py | 29 +++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100755 bin/net/ll_hw_address.py diff --git a/bin/ipv6-hostpart.py b/bin/ipv6-hostpart.py index 3d52fd7..c8d8597 100755 --- a/bin/ipv6-hostpart.py +++ b/bin/ipv6-hostpart.py @@ -2,14 +2,19 @@ # -*- coding: utf-8 -*- import sys +import re import pprint from fbrehm.common.getopt import BaseOptParser +revision = '$Revision: 123$' +revision = re.sub( r'\$', '', revision ) +revision = re.sub( r'Revision: ', r'r', revision ) + __author__ = 'Frank Brehm ' __contact__ = 'frank@brehm-online.com' __copyright__ = '(C) 2010 by Frank Brehm, Berlin' -__version__ = '0.0.1' +__version__ = '0.0.2 ' + revision __license__ = 'GPL3' opt_parser = BaseOptParser( diff --git a/bin/net/ll_hw_address.py b/bin/net/ll_hw_address.py new file mode 100755 index 0000000..12a029e --- /dev/null +++ b/bin/net/ll_hw_address.py @@ -0,0 +1,29 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# $Id$ +# $URL$ + +''' +@author: Frank Brehm +@contact: frank@brehm-online.com +@license: GPL3 +@copyright: (c) 2010-2011 by Frank Brehm, Berlin +@version: 0.1.0 +@summary: This module capsulates a low level hardware address (MAC address or Infiniband GUID) +''' + +import re +import pprint + +from fbrehm.common.logging_obj import LoggingObject + +__author__ = 'Frank Brehm' +__copyright__ = '(C) 2010 by Frank Brehm, Berlin' +__contact__ = 'frank@brehm-online.com' +__version__ = '0.1.0' +__license__ = 'GPL3' + + + +# vim: fileencoding=utf-8 filetype=python ts=4 expandtab -- 2.39.5