NM.SettingIPTunnel¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class NM.SettingIPTunnel(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
IP Tunneling Settings
- classmethod new()¶
- Returns:
the new empty
NM.SettingIPTunnelobject- Return type:
Creates a new
NM.SettingIPTunnelobject with default values.New in version 1.2.
- get_encapsulation_limit()¶
- Returns:
the encapsulation limit value
- Return type:
Returns the
NM.SettingIPTunnel:encapsulation-limitproperty of the setting.New in version 1.42.
- get_flags()¶
- Returns:
the tunnel flags
- Return type:
Returns the
NM.SettingIPTunnel:flagsproperty of the setting.New in version 1.12.
- get_flow_label()¶
- Returns:
the flow label value
- Return type:
Returns the
NM.SettingIPTunnel:flow-labelproperty of the setting.New in version 1.42.
- get_fwmark()¶
- Returns:
the fwmark value
- Return type:
Returns the
NM.SettingIPTunnel:fwmarkproperty of the setting.New in version 1.42.
- get_input_key()¶
- Returns:
the input key
- Return type:
Returns the
NM.SettingIPTunnel:input-keyproperty of the setting.New in version 1.2.
- get_local()¶
- Returns:
the local endpoint
- Return type:
Returns the
NM.SettingIPTunnel:localproperty of the setting.New in version 1.2.
- get_mode()¶
- Returns:
the tunnel mode
- Return type:
Returns the
NM.SettingIPTunnel:modeproperty of the setting.New in version 1.2.
- get_mtu()¶
- Returns:
the MTU
- Return type:
Returns the
NM.SettingIPTunnel:mtuproperty of the setting.New in version 1.2.
- get_output_key()¶
- Returns:
the output key
- Return type:
Returns the
NM.SettingIPTunnel:output-keyproperty of the setting.New in version 1.2.
- get_parent()¶
- Returns:
the parent device
- Return type:
Returns the
NM.SettingIPTunnel:parentproperty of the settingNew in version 1.2.
- get_path_mtu_discovery()¶
- Returns:
whether path MTU discovery is enabled
- Return type:
Returns the
NM.SettingIPTunnel:path-mtu-discoveryproperty of the setting.New in version 1.2.
- get_remote()¶
- Returns:
the remote endpoint
- Return type:
Returns the
NM.SettingIPTunnel:remoteproperty of the setting.New in version 1.2.
- get_tos()¶
- Returns:
the TOS value
- Return type:
Returns the
NM.SettingIPTunnel:tosproperty of the setting.New in version 1.2.
- get_ttl()¶
- Returns:
the Time-to-live value
- Return type:
Returns the
NM.SettingIPTunnel:ttlproperty of the setting.New in version 1.2.
Property Details¶
- NM.SettingIPTunnel.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. To disable this option, add
NM.IPTunnelFlags.IP6_IGN_ENCAP_LIMITto ip-tunnel flags.New in version 1.2.
- NM.SettingIPTunnel.props.flags¶
- Name:
flags- Type:
- Default Value:
0- Flags:
Tunnel flags. Currently, the following values are supported:
NM.IPTunnelFlags.IP6_IGN_ENCAP_LIMIT,NM.IPTunnelFlags.IP6_USE_ORIG_TCLASS,NM.IPTunnelFlags.IP6_USE_ORIG_FLOWLABEL,NM.IPTunnelFlags.IP6_MIP6_DEV,NM.IPTunnelFlags.IP6_RCV_DSCP_COPY,NM.IPTunnelFlags.IP6_USE_ORIG_FWMARK. They are valid only for IPv6 tunnels.New in version 1.12.
- NM.SettingIPTunnel.props.flow_label¶
- Name:
flow-label- Type:
- Default Value:
0- Flags:
The flow label to assign to tunnel packets. This property applies only to IPv6 tunnels.
New in version 1.2.
- NM.SettingIPTunnel.props.fwmark¶
- Name:
fwmark- Type:
- Default Value:
0- Flags:
The fwmark value to assign to tunnel packets. This property can be set to a non zero value only on VTI and VTI6 tunnels.
New in version 1.42.
- NM.SettingIPTunnel.props.input_key¶
- Name:
input-key- Type:
- Default Value:
- Flags:
The key used for tunnel input packets; the property is valid only for certain tunnel modes (GRE, IP6GRE). If empty, no key is used.
New in version 1.2.
- NM.SettingIPTunnel.props.local¶
- Name:
local- Type:
- Default Value:
- Flags:
The local endpoint of the tunnel; the value can be empty, otherwise it must contain an IPv4 or IPv6 address.
New in version 1.2.
- NM.SettingIPTunnel.props.mode¶
- Name:
mode- Type:
- Default Value:
0- Flags:
The tunneling mode. Valid values:
NM.IPTunnelMode.IPIP,NM.IPTunnelMode.GRE,NM.IPTunnelMode.SIT,NM.IPTunnelMode.ISATAP,NM.IPTunnelMode.VTI,NM.IPTunnelMode.IP6IP6,NM.IPTunnelMode.IPIP6,NM.IPTunnelMode.IP6GRE,NM.IPTunnelMode.VTI6,NM.IPTunnelMode.GRETAPandNM.IPTunnelMode.IP6GRETAPNew in version 1.2.
- NM.SettingIPTunnel.props.mtu¶
- Name:
mtu- Type:
- Default Value:
0- Flags:
If non-zero, only transmit packets of the specified size or smaller, breaking larger packets up into multiple fragments.
New in version 1.2.
- NM.SettingIPTunnel.props.output_key¶
- Name:
output-key- Type:
- Default Value:
- Flags:
The key used for tunnel output packets; the property is valid only for certain tunnel modes (GRE, IP6GRE). If empty, no key is used.
New in version 1.2.
- NM.SettingIPTunnel.props.parent¶
- Name:
parent- Type:
- Default Value:
- Flags:
If given, specifies the parent interface name or parent connection UUID the new device will be bound to so that tunneled packets will only be routed via that interface.
New in version 1.2.
- NM.SettingIPTunnel.props.path_mtu_discovery¶
- Name:
path-mtu-discovery- Type:
- Default Value:
- Flags:
Whether to enable Path MTU Discovery on this tunnel.
New in version 1.2.
- NM.SettingIPTunnel.props.remote¶
- Name:
remote- Type:
- Default Value:
- Flags:
The remote endpoint of the tunnel; the value must contain an IPv4 or IPv6 address.
New in version 1.2.
- NM.SettingIPTunnel.props.tos¶
- Name:
tos- Type:
- Default Value:
0- Flags:
The type of service (IPv4) or traffic class (IPv6) field to be set on tunneled packets.
New in version 1.2.
- NM.SettingIPTunnel.props.ttl¶
- Name:
ttl- Type:
- Default Value:
0- Flags:
The TTL to assign to tunneled packets. 0 is a special value meaning that packets inherit the TTL value.
New in version 1.2.