Package onep :: Package policyservice :: Module match :: Class EtherType
[frames] | no frames]

Class EtherType


EtherType class.

Ether type match.

Instance Methods
 
__init__(self, etype)
Constructs an EtherType match.
 
__eq__(self, obj)

Inherited from Match: check_match_support, get_match_type, match_type, set_negate

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables

Inherited from Match: MatchOpCode, MatchType, __metaclass__

Properties

Inherited from object: __class__

Method Details

__init__(self, etype)
(Constructor)

 

Constructs an EtherType match.

Parameters:
  • etype (int) - Ether Type.
Raises:
Overrides: object.__init__