DSCP Object
- class activelogic.DSCPObject
Object representing a DSCPObject.
>>> do = rs.add(DSCPObject('MyDSCPObject', items=[12])) >>> do = rs.add(DSCPObject('MyDSCPObject', items=[DSCPObjectRangeItem(1, 2)]))
- class activelogic.DSCPObjectSingleItem
Object representing a DSCPObjectItem holding a single DSCP number.
- Parameters:
dscp (int) – DSCP number
>>> DSCPObjectSingleItem(12)
- class activelogic.DSCPObjectRangeItem
Object representing a DSCPObjectItem holding a DSCP range.
- Parameters:
dscp_first (int) – First DSCP number in range
dscp_last (int) – Last DSCP number in range
>>> DSCPObjectRangeItem(0, 18)