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

Class MPLSExperimental


MPLSExperimental class.

MPLS Experimental tag match. This configure a class map to use the specified value or values of the experimental (EXP) field as a match criteria.

Instance Methods
 
__init__(self, *mpls_exps)
Constructs a MPLS Experimental 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, *mpls_exps)
(Constructor)

 

Constructs a MPLS Experimental match.

Valid range of mpls value is 0 to 7.

Ignores an invalid mpls value in *mpls_exps, if present.

Parameters:
  • mpls_exps (Variable length argument list of int) - List of mpls value.
Raises:
Overrides: object.__init__