NM.SettingMacsec¶
- 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 |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class NM.SettingMacsec(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
MACSec Settings
- classmethod new()¶
- Returns:
the new empty
NM.SettingMacsec
object- Return type:
Creates a new
NM.SettingMacsec
object with default values.New in version 1.6.
- get_encrypt()¶
- Returns:
the
NM.SettingMacsec
:encrypt
property of the setting- Return type:
New in version 1.6.
- get_mka_cak()¶
- Returns:
the
NM.SettingMacsec
:mka-cak
property of the setting- Return type:
New in version 1.6.
- get_mka_cak_flags()¶
- Returns:
the
NM.SettingSecretFlags
pertaining to theNM.SettingMacsec
:mka-cak
- Return type:
New in version 1.6.
- get_mka_ckn()¶
- Returns:
the
NM.SettingMacsec
:mka-ckn
property of the setting- Return type:
New in version 1.6.
- get_mode()¶
- Returns:
the
NM.SettingMacsec
:mode
property of the setting- Return type:
New in version 1.6.
- get_offload()¶
- Returns:
the
NM.SettingMacsec
:offload
property of the setting- Return type:
New in version 1.46.
- get_parent()¶
- Returns:
the
NM.SettingMacsec
:parent
property of the setting- Return type:
New in version 1.6.
- get_port()¶
- Returns:
the
NM.SettingMacsec
:port
property of the setting- Return type:
New in version 1.6.
- get_send_sci()¶
- Returns:
the
NM.SettingMacsec
:send-sci
property of the setting- Return type:
New in version 1.12.
- get_validation()¶
- Returns:
the
NM.SettingMacsec
:validation
property of the setting- Return type:
New in version 1.6.
Property Details¶
- NM.SettingMacsec.props.encrypt¶
- Name:
encrypt
- Type:
- Default Value:
- Flags:
Whether the transmitted traffic must be encrypted.
New in version 1.6.
- NM.SettingMacsec.props.mka_cak¶
- Name:
mka-cak
- Type:
- Default Value:
- Flags:
The pre-shared CAK (Connectivity Association Key) for MACsec Key Agreement. Must be a string of 32 hexadecimal characters.
New in version 1.6.
- NM.SettingMacsec.props.mka_cak_flags¶
- Name:
mka-cak-flags
- Type:
- Default Value:
- Flags:
Flags indicating how to handle the
NM.SettingMacsec
:mka-cak
property.New in version 1.6.
- NM.SettingMacsec.props.mka_ckn¶
- Name:
mka-ckn
- Type:
- Default Value:
- Flags:
The pre-shared CKN (Connectivity-association Key Name) for MACsec Key Agreement. Must be a string of hexadecimal characters with a even length between 2 and 64.
New in version 1.6.
- NM.SettingMacsec.props.mode¶
- Name:
mode
- Type:
- Default Value:
0
- Flags:
Specifies how the CAK (Connectivity Association Key) for MKA (MACsec Key Agreement) is obtained.
New in version 1.6.
- NM.SettingMacsec.props.offload¶
- Name:
offload
- Type:
- Default Value:
-1
- Flags:
Specifies the MACsec offload mode.
NM.SettingMacsecOffload.OFF
disables MACsec offload.NM.SettingMacsecOffload.PHY
andNM.SettingMacsecOffload.MAC
request offload respectively to the PHY or to the MAC; if the selected mode is not available, the connection will fail.NM.SettingMacsecOffload.DEFAULT
uses the global default value specified in NetworkManager configuration; if no global default is defined, the built-in default isNM.SettingMacsecOffload.OFF
.New in version 1.46.
- NM.SettingMacsec.props.parent¶
- Name:
parent
- Type:
- Default Value:
- Flags:
If given, specifies the parent interface name or parent connection UUID from which this MACSEC interface should be created. If this property is not specified, the connection must contain an
NM.SettingWired
setting with aNM.SettingWired
:mac-address
property.New in version 1.6.
- NM.SettingMacsec.props.port¶
- Name:
port
- Type:
- Default Value:
1
- Flags:
The port component of the SCI (Secure Channel Identifier), between 1 and 65534.
New in version 1.6.
- NM.SettingMacsec.props.send_sci¶
- Name:
send-sci
- Type:
- Default Value:
- Flags:
Specifies whether the SCI (Secure Channel Identifier) is included in every packet.
New in version 1.12.
- NM.SettingMacsec.props.validation¶
- Name:
validation
- Type:
- Default Value:
2
- Flags:
Specifies the validation mode for incoming frames.
New in version 1.6.