Top |
NMSetting * | nm_setting_ovs_external_ids_new () |
const char *const * | nm_setting_ovs_external_ids_get_data_keys () |
const char * | nm_setting_ovs_external_ids_get_data () |
void | nm_setting_ovs_external_ids_set_data () |
gboolean | nm_setting_ovs_external_ids_check_key () |
gboolean | nm_setting_ovs_external_ids_check_val () |
The NMSettingOvsExternalIDs object is a NMSetting subclass that allow to configure external ids for OVS.
NMSetting *
nm_setting_ovs_external_ids_new (void
);
Creates a new NMSettingOvsExternalIDs object with default values.
Since: 1.30
const char *const * nm_setting_ovs_external_ids_get_data_keys (NMSettingOvsExternalIDs *setting
,guint *out_len
);
a
NULL
-terminated array containing each key from the table.
[array length=out_len][transfer none]
Since: 1.30
const char * nm_setting_ovs_external_ids_get_data (NMSettingOvsExternalIDs *setting
,const char *key
);
Since: 1.30
void nm_setting_ovs_external_ids_set_data (NMSettingOvsExternalIDs *setting
,const char *key
,const char *val
);
setting |
the NMSettingOvsExternalIDs instance |
|
key |
the key to set |
|
val |
the value to set or |
[nullable] |
Since: 1.30
gboolean nm_setting_ovs_external_ids_check_key (const char *key
,GError **error
);
Checks whether key
is a valid key for OVS' external-ids.
This means, the key cannot be NULL
, 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.".
Since: 1.30