NM.TCTfilter¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class NM.TCTfilter¶
- classmethod new(kind, parent)¶
- Parameters:
- Raises:
- Returns:
the new
NM.TCTfilter
object, orNone
on error- Return type:
Creates a new
NM.TCTfilter
object.New in version 1.12.
- dup()¶
- Returns:
a copy of self
- Return type:
Creates a copy of self
New in version 1.12.
- equal(other)¶
- Parameters:
other (
NM.TCTfilter
) – theNM.TCTfilter
to compare self to.- Returns:
True
if the objects contain the same values,False
if they do not.- Return type:
Determines if two
NM.TCTfilter
objects contain the same kind, family, handle, parent and info.New in version 1.12.
- get_action()¶
- Returns:
the action associated with a traffic filter.
- Return type:
New in version 1.42.
- ref()¶
Increases the reference count of the object.
New in version 1.12.
- set_action(action)¶
- Parameters:
action (
NM.TCAction
) – the action object
Sets the action associated with a traffic filter.
New in version 1.42.
- set_handle(handle)¶
- Parameters:
handle (
int
) – the queueing discipline handle
Sets the queueing discipline handle.
New in version 1.12.
- unref()¶
Decreases the reference count of the object. If the reference count reaches zero, the object will be destroyed.
New in version 1.12.