mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-06 16:21:50 +00:00
libnm-util: update description of team:config and team-port:config properties
This commit is contained in:
parent
242bebfb3d
commit
9835da7c74
|
@ -163,12 +163,21 @@ nm_setting_team_port_class_init (NMSettingTeamPortClass *setting_class)
|
|||
* NMSettingTeamPort:config:
|
||||
*
|
||||
* The config of team port
|
||||
* JSON configuration for the team port.
|
||||
* The property should contain raw JSON configuration data
|
||||
* suitable for teamd, because the value is passed directly to
|
||||
* teamd. If not specified, the default configuration is used.
|
||||
* See man teamd.conf for the format details.
|
||||
**/
|
||||
g_object_class_install_property
|
||||
(object_class, PROP_CONFIG,
|
||||
g_param_spec_string (NM_SETTING_TEAM_PORT_CONFIG,
|
||||
"Config",
|
||||
"The config of team port",
|
||||
"JSON configuration for the team port. "
|
||||
"The property should contain raw JSON configuration data "
|
||||
"suitable for teamd, because the value is passed directly to "
|
||||
"teamd. If not specified, the dafault configuration is used. "
|
||||
"See man teamd.conf for the format details.",
|
||||
NULL,
|
||||
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE));
|
||||
}
|
||||
|
|
|
@ -241,13 +241,21 @@ nm_setting_team_class_init (NMSettingTeamClass *setting_class)
|
|||
/**
|
||||
* NMSettingTeam:config:
|
||||
*
|
||||
* The config of team network interface
|
||||
* JSON configuration for the team network interface.
|
||||
* The property should contain raw JSON configuration data
|
||||
* suitable for teamd, because the value is passed directly to
|
||||
* teamd. If not specified, the default configuration is used.
|
||||
* See man teamd.conf for the format details.
|
||||
**/
|
||||
g_object_class_install_property
|
||||
(object_class, PROP_CONFIG,
|
||||
g_param_spec_string (NM_SETTING_TEAM_CONFIG,
|
||||
"Config",
|
||||
"The config of team network interface",
|
||||
"JSON configuration for the team network interface. "
|
||||
"The property should contain raw JSON configuration data "
|
||||
"suitable for teamd, because the value is passed directly to "
|
||||
"teamd. If not specified, the default configuration is used. "
|
||||
"See man teamd.conf for the format details.",
|
||||
NULL,
|
||||
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue