NM.SettingGeneve

g GObject.Object GObject.Object NM.Setting NM.Setting GObject.Object->NM.Setting NM.SettingGeneve NM.SettingGeneve NM.Setting->NM.SettingGeneve

Subclasses:

None

Methods

Inherited:

NM.Setting (21), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_destination_port ()

get_df ()

get_id ()

get_remote ()

get_tos ()

get_ttl ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

NM.Setting (1)

Name

Type

Flags

Short Description

destination-port

int

r/w/en

df

int

r/w/en

id

int

r/w/en

remote

str

r/w/en

tos

int

r/w/en

ttl

int

r/w/en

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class NM.SettingGeneve(**kwargs)
Bases:

NM.Setting

Abstract:

No

Structure:

NM.SettingGeneveClass

GENEVE Settings

classmethod new()
Returns:

the new empty NM.SettingGeneve object

Return type:

NM.Setting

Creates a new NM.SettingGeneve object with default values.

New in version 1.58.

get_destination_port()
Returns:

the NM.SettingGeneve :destination-port property of the setting

Return type:

int

New in version 1.58.

get_df()
Returns:

the NM.SettingGeneve :df property of the setting

Return type:

NM.SettingGeneveDf

New in version 1.58.

get_id()
Returns:

the NM.SettingGeneve :id property of the setting

Return type:

int

New in version 1.58.

get_remote()
Returns:

the NM.SettingGeneve :remote property of the setting

Return type:

str

New in version 1.58.

get_tos()
Returns:

the NM.SettingGeneve :tos property of the setting

Return type:

int

New in version 1.58.

get_ttl()
Returns:

the NM.SettingGeneve :ttl property of the setting

Return type:

int

New in version 1.58.

Property Details

NM.SettingGeneve.props.destination_port
Name:

destination-port

Type:

int

Default Value:

6081

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Specifies the UDP destination port to communicate to the remote GENEVE tunnel endpoint.

New in version 1.58.

NM.SettingGeneve.props.df
Name:

df

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Specifies how the Don’t Fragment (DF) flag should be handled in the outer IP header of GENEVE tunnel packets.

NM.SettingGeneveDf.UNSET (0): Don’t set the DF flag, packets may be fragmented. NM.SettingGeneveDf.SET (1): Always set the DF flag, packets will not be fragmented. NM.SettingGeneveDf.INHERIT (2): Inherit the DF flag from the inner IP header.

New in version 1.58.

NM.SettingGeneve.props.id
Name:

id

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Specifies the GENEVE Network Identifier (or GENEVE Segment Identifier) to use.

New in version 1.58.

NM.SettingGeneve.props.remote
Name:

remote

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Specifies the unicast destination IP address to use in outgoing packets when communicating with the remote GENEVE tunnel endpoint.

New in version 1.58.

NM.SettingGeneve.props.tos
Name:

tos

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Specifies the TOS value to use in outgoing packets. The special value “inherit” (1) means inherit from outer packet.

New in version 1.58.

NM.SettingGeneve.props.ttl
Name:

ttl

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Specifies the time-to-live value to use in outgoing packets. The special value “inherit” (-1) means inherit from outer packet, 0 means auto, 1-255 are fixed values.

New in version 1.58.