Package onep :: Package policyservice :: Module action :: Class MPLS
[frames] | no frames]

Class MPLS


Action class for MPLS

ActionType.SET_MPLS_EXP - MPLS Experimental field

Instance Methods
 
__init__(self, type, value)
x.__init__(...) initializes x; see help(type(x)) for signature
 
__eq__(self, obj)

Inherited from Action: check_action_support, get_action_type

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

Class Variables

Inherited from Action: ActionOpCode, ActionType, BandwidthUnits, BurstUnits, Direction, RateUnits, ThresholdUnits, __metaclass__, action_type, handle, op_code

Instance Variables
 
value(self, val)
MPLS action value
type type
MPLS ActionType
Properties

Inherited from object: __class__

Method Details

__init__(self, type, value)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • type (type) - MPLS ActionType
  • value (int) - MPLS action value
Overrides: object.__init__

Instance Variable Details

value(self, val)

 
MPLS action value
Decorators:
  • @value.setter