NM.DeviceIPTunnel

g GObject.Object GObject.Object NM.Object NM.Object GObject.Object->NM.Object NM.Device NM.Device NM.DeviceIPTunnel NM.DeviceIPTunnel NM.Device->NM.DeviceIPTunnel NM.Object->NM.Device

Subclasses:

None

Methods

Inherited:

NM.Device (54), NM.Object (2), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_encapsulation_limit ()

get_flags ()

get_flow_label ()

get_fwmark ()

get_input_key ()

get_local ()

get_mode ()

get_output_key ()

get_parent ()

get_path_mtu_discovery ()

get_remote ()

get_tos ()

get_ttl ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

NM.Device (32), NM.Object (2)

Name

Type

Flags

Short Description

encapsulation-limit

r

flags

int

r

flow-label

int

r

fwmark

int

r

input-key

str

r

local

str

r

mode

int

r

output-key

str

r

parent

NM.Device

r

path-mtu-discovery

bool

r

remote

str

r

tos

r

ttl

r

Signals

Inherited:

NM.Device (1), GObject.Object (1)

Fields

Inherited:

NM.Device (1), GObject.Object (1)

Class Details

class NM.DeviceIPTunnel(**kwargs)
Bases:

NM.Device

Abstract:

No

Structure:

NM.DeviceIPTunnelClass

New in version 1.2.

get_encapsulation_limit()
Returns:

the maximum permitted encapsulation level

Return type:

int

New in version 1.2.

get_flags()
Returns:

the tunnel flags

Return type:

NM.IPTunnelFlags

New in version 1.12.

get_flow_label()
Returns:

the flow label assigned to tunnel packets

Return type:

int

New in version 1.2.

get_fwmark()
Returns:

the fwmark assigned to tunnel packets. This property applies only to VTI tunnels.

Return type:

int

New in version 1.46.

get_input_key()
Returns:

the key used for incoming packets

Return type:

str

New in version 1.2.

get_local()
Returns:

the local endpoint of the tunnel

Return type:

str

New in version 1.2.

get_mode()
Returns:

the tunneling mode

Return type:

NM.IPTunnelMode

New in version 1.2.

get_output_key()
Returns:

the key used for outgoing packets

Return type:

str

New in version 1.2.

get_parent()
Returns:

the device’s parent device

Return type:

NM.Device

New in version 1.2.

get_path_mtu_discovery()
Returns:

whether path MTU discovery is enabled

Return type:

bool

New in version 1.2.

get_remote()
Returns:

the remote endpoint of the tunnel

Return type:

str

New in version 1.2.

get_tos()
Returns:

type of service (IPv4) or traffic class (IPv6) assigned to tunneled packets.

Return type:

int

New in version 1.2.

get_ttl()
Returns:

the TTL assigned to tunneled packets

Return type:

int

New in version 1.2.

Property Details

NM.DeviceIPTunnel.props.encapsulation_limit
Name:

encapsulation-limit

Type:

Default Value:

0

Flags:

READABLE

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
Name:

flags

Type:

int

Default Value:

0

Flags:

READABLE

Tunnel flags.

New in version 1.12.

NM.DeviceIPTunnel.props.flow_label
Name:

flow-label

Type:

int

Default Value:

0

Flags:

READABLE

The flow label to assign to tunnel packets. This property applies only to IPv6 tunnels.

New in version 1.2.

NM.DeviceIPTunnel.props.fwmark
Name:

fwmark

Type:

int

Default Value:

0

Flags:

READABLE

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
Name:

input-key

Type:

str

Default Value:

None

Flags:

READABLE

The key used for tunneled input packets, if applicable.

New in version 1.2.

NM.DeviceIPTunnel.props.local
Name:

local

Type:

str

Default Value:

None

Flags:

READABLE

The local endpoint of the tunnel.

New in version 1.2.

NM.DeviceIPTunnel.props.mode
Name:

mode

Type:

int

Default Value:

0

Flags:

READABLE

The tunneling mode of the device.

New in version 1.2.

NM.DeviceIPTunnel.props.output_key
Name:

output-key

Type:

str

Default Value:

None

Flags:

READABLE

The key used for tunneled output packets, if applicable.

New in version 1.2.

NM.DeviceIPTunnel.props.parent
Name:

parent

Type:

NM.Device

Default Value:

None

Flags:

READABLE

The devices’s parent device.

New in version 1.2.

NM.DeviceIPTunnel.props.path_mtu_discovery
Name:

path-mtu-discovery

Type:

bool

Default Value:

False

Flags:

READABLE

Whether path MTU discovery is enabled on this tunnel.

New in version 1.2.

NM.DeviceIPTunnel.props.remote
Name:

remote

Type:

str

Default Value:

None

Flags:

READABLE

The remote endpoint of the tunnel.

New in version 1.2.

NM.DeviceIPTunnel.props.tos
Name:

tos

Type:

Default Value:

0

Flags:

READABLE

The type of service (IPv4) or traffic class (IPv6) assigned to tunneled packets.

New in version 1.2.

NM.DeviceIPTunnel.props.ttl
Name:

ttl

Type:

Default Value:

0

Flags:

READABLE

The TTL assigned to tunneled packets. 0 is a special value meaning that packets inherit the TTL value

New in version 1.2.