NM.DeviceIPTunnel¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
|||
r |
|||
r |
|||
r |
|||
r |
|||
r |
|||
r |
|||
r |
|||
r |
|||
r |
|||
r |
|||
r |
|||
r |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class NM.DeviceIPTunnel(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
New in version 1.2.
- get_encapsulation_limit()¶
- Returns:
the maximum permitted encapsulation level
- Return type:
New in version 1.2.
- get_flags()¶
- Returns:
the tunnel flags
- Return type:
New in version 1.12.
- get_flow_label()¶
- Returns:
the flow label assigned to tunnel packets
- Return type:
New in version 1.2.
- get_fwmark()¶
- Returns:
the fwmark assigned to tunnel packets. This property applies only to VTI tunnels.
- Return type:
New in version 1.46.
- get_mode()¶
- Returns:
the tunneling mode
- Return type:
New in version 1.2.
- get_path_mtu_discovery()¶
- Returns:
whether path MTU discovery is enabled
- Return type:
New in version 1.2.
- get_tos()¶
- Returns:
type of service (IPv4) or traffic class (IPv6) assigned to tunneled packets.
- Return type:
New in version 1.2.
Property Details¶
- NM.DeviceIPTunnel.props.encapsulation_limit¶
- Name:
encapsulation-limit
- Type:
- Default Value:
0
- Flags:
How many additional levels of encapsulation are permitted to be prepended to packets. This property applies only to IPv6 tunnels.
New in version 1.2.
- NM.DeviceIPTunnel.props.flags¶
-
Tunnel flags.
New in version 1.12.
- NM.DeviceIPTunnel.props.flow_label¶
-
The flow label to assign to tunnel packets. This property applies only to IPv6 tunnels.
New in version 1.2.
- NM.DeviceIPTunnel.props.fwmark¶
-
The fwmark value to assign to tunnel packets. This property applies only to VTI tunnels.
New in version 1.46.
- NM.DeviceIPTunnel.props.input_key¶
-
The key used for tunneled input packets, if applicable.
New in version 1.2.
- NM.DeviceIPTunnel.props.local¶
-
The local endpoint of the tunnel.
New in version 1.2.
- NM.DeviceIPTunnel.props.mode¶
-
The tunneling mode of the device.
New in version 1.2.
- NM.DeviceIPTunnel.props.output_key¶
-
The key used for tunneled output packets, if applicable.
New in version 1.2.
- NM.DeviceIPTunnel.props.parent¶
-
The devices’s parent device.
New in version 1.2.
- NM.DeviceIPTunnel.props.path_mtu_discovery¶
-
Whether path MTU discovery is enabled on this tunnel.
New in version 1.2.
- NM.DeviceIPTunnel.props.remote¶
-
The remote endpoint of the tunnel.
New in version 1.2.
- NM.DeviceIPTunnel.props.tos¶
- Name:
tos
- Type:
- Default Value:
0
- Flags:
The type of service (IPv4) or traffic class (IPv6) assigned to tunneled packets.
New in version 1.2.