]> Frank Brehm's Git Trees - my-stuff/ipv6-hostpart.git/commitdiff
Weitergemacht
authorFrank Brehm <frank@brehm-online.com>
Sun, 2 Jan 2011 14:41:14 +0000 (14:41 +0000)
committerFrank Brehm <frank@brehm-online.com>
Sun, 2 Jan 2011 14:41:14 +0000 (14:41 +0000)
git-svn-id: http://svn.brehm-online.com/svn/my-stuff/ipv6-hostpart/trunk@170 ec8d2aa5-1599-4edb-8739-2b3a1bc399aa

bin/ipv6-hostpart.py
bin/net/ll_hw_address.py [new file with mode: 0755]

index 3d52fd7e23f5758c9e0313af00a656dbcfce89d0..c8d85977ca3bd486019c5ffca331179d58b84483 100755 (executable)
@@ -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 <frank@brehm-online.com>'
 __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 (executable)
index 0000000..12a029e
--- /dev/null
@@ -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