packet.link.macaddr man page on RedHat

Man page or keyword search:  
man Server   29550 pages
apropos Keyword Search (all sections)
Output format
RedHat logo
[printable version]

PACKET.LINK.MACADDR(1)	   packet.link.macaddr 1.0.1	PACKET.LINK.MACADDR(1)

NAME
       packet.link.macaddr - MacAddr module

DESCRIPTION
       Create  an  object  to  represent a MAC address. A MAC address is given
       either by a series of hexadecimal numbers or using the ":" notation. It
       provides a mechanism for comparing this object with a regular string.

CLASSES
   class MacAddr(__builtin__.str)
       MacAddr address object

       Usage:
	   from packet.link.macaddr import MacAddr

	   mac = MacAddr('E4CE8F589FF4')

       The following expressions are equivalent:
	   mac == 'E4CE8F589FF4'
	   mac == 'e4ce8f589ff4'
	   mac == 'e4:ce:8f:58:9f:f4'

       Methods defined here:
       ---------------------

       __eq__(self, other)
	      Compare two MAC addresses and return True if both are equal.

       __ne__(self, other)
	      Compare two MAC addresses and return False if both are equal.

       Static methods defined here:
       ----------------------------

       __new__(cls, mac)
	      Create new instance by converting input string into a persistent
	      representation of a MAC address.

BUGS
       No known bugs.

AUTHOR
       Jorge Mora (mora@netapp.com)

NFStest 1.0.2			 10 April 2013		PACKET.LINK.MACADDR(1)
[top]

List of man pages available for RedHat

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net