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.SettingMacsecobject- Return type:
Creates a new
NM.SettingMacsecobject with default values.New in version 1.6.
- get_encrypt()¶
- Returns:
the
NM.SettingMacsec:encryptproperty of the setting- Return type:
New in version 1.6.
- get_mka_cak()¶
- Returns:
the
NM.SettingMacsec:mka-cakproperty of the setting- Return type:
New in version 1.6.
- get_mka_cak_flags()¶
- Returns:
the
NM.SettingSecretFlagspertaining to theNM.SettingMacsec:mka-cak- Return type:
New in version 1.6.
- get_mka_ckn()¶
- Returns:
the
NM.SettingMacsec:mka-cknproperty of the setting- Return type:
New in version 1.6.
- get_mode()¶
- Returns:
the
NM.SettingMacsec:modeproperty of the setting- Return type:
New in version 1.6.
- get_offload()¶
- Returns:
the
NM.SettingMacsec:offloadproperty of the setting- Return type:
New in version 1.46.
- get_parent()¶
- Returns:
the
NM.SettingMacsec:parentproperty of the setting- Return type:
New in version 1.6.
- get_port()¶
- Returns:
the
NM.SettingMacsec:portproperty of the setting- Return type:
New in version 1.6.
- get_send_sci()¶
- Returns:
the
NM.SettingMacsec:send-sciproperty of the setting- Return type:
New in version 1.12.
- get_validation()¶
- Returns:
the
NM.SettingMacsec:validationproperty 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-cakproperty.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.OFFdisables MACsec offload.NM.SettingMacsecOffload.PHYandNM.SettingMacsecOffload.MACrequest offload respectively to the PHY or to the MAC; if the selected mode is not available, the connection will fail.NM.SettingMacsecOffload.DEFAULTuses 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.SettingWiredsetting with aNM.SettingWired:mac-addressproperty.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.