NM.SettingOvsOtherConfig

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

class

new ()

get_data (key)

get_data_keys ()

set_data (key, val)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

NM.Setting (1)

Name

Type

Flags

Short Description

data

GLib.HashTable

r/w

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class NM.SettingOvsOtherConfig(**kwargs)
Bases:

NM.Setting

Abstract:

No

Structure:

NM.SettingOvsOtherConfigClass

OVS Other Config Settings

New in version 1.42.

classmethod new()
Returns:

the new empty NM.SettingOvsOtherConfig object

Return type:

NM.SettingOvsOtherConfig

Creates a new NM.SettingOvsOtherConfig object with default values.

New in version 1.42.

get_data(key)
Parameters:

key (str) – the other-config to lookup

Returns:

the value associated with key or None if no such value exists.

Return type:

str

New in version 1.42.

get_data_keys()
Returns:

a None-terminated array containing each key from the table.

Return type:

[str]

New in version 1.42.

set_data(key, val)
Parameters:
  • key (str) – the key to set

  • val (str or None) – the value to set or None to clear a key.

New in version 1.42.

Property Details

NM.SettingOvsOtherConfig.props.data
Name:

data

Type:

GLib.HashTable

Default Value:

None

Flags:

READABLE, WRITABLE

A dictionary of key/value pairs with other_config settings for OVS. See also “other_config” in the “ovs-vswitchd.conf.db” manual for the keys that OVS supports.

New in version 1.42.