NM.SettingOvsExternalIDs¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class NM.SettingOvsExternalIDs(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
OVS External IDs Settings
- classmethod check_key(key)¶
- Parameters:
- Raises:
- Returns:
True
if key is a valid user data key.- Return type:
Checks whether key is a valid key for OVS’ external-ids. This means, the key cannot be
None
, not too large and valid ASCII. Also, only digits and numbers are allowed with a few special characters. They key must also not start with “NM.”.New in version 1.30.
- classmethod check_val(val)¶
- Parameters:
- Raises:
- Returns:
True
if val is a valid user data value.- Return type:
Checks whether val is a valid user data value. This means, value is not
None
, not too large and valid UTF-8.New in version 1.30.
- classmethod new()¶
- Returns:
the new empty
NM.SettingOvsExternalIDs
object- Return type:
Creates a new
NM.SettingOvsExternalIDs
object with default values.New in version 1.30.
- get_data(key)¶
- Parameters:
key (
str
) – the external-id to lookup- Returns:
the value associated with key or
None
if no such value exists.- Return type:
New in version 1.30.
- get_data_keys()¶
-
New in version 1.30.
Property Details¶
- NM.SettingOvsExternalIDs.props.data¶
- Name:
data
- Type:
- Default Value:
- Flags:
A dictionary of key/value pairs with external-ids for OVS.
New in version 1.30.