mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 12:28:11 +02:00
libnm-util: update description of team:config and team-port:config properties
This commit is contained in:
parent
242bebfb3d
commit
9835da7c74
2 changed files with 20 additions and 3 deletions
|
|
@ -163,12 +163,21 @@ nm_setting_team_port_class_init (NMSettingTeamPortClass *setting_class)
|
||||||
* NMSettingTeamPort:config:
|
* NMSettingTeamPort:config:
|
||||||
*
|
*
|
||||||
* The config of team port
|
* 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
|
g_object_class_install_property
|
||||||
(object_class, PROP_CONFIG,
|
(object_class, PROP_CONFIG,
|
||||||
g_param_spec_string (NM_SETTING_TEAM_PORT_CONFIG,
|
g_param_spec_string (NM_SETTING_TEAM_PORT_CONFIG,
|
||||||
"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,
|
NULL,
|
||||||
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE));
|
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -241,13 +241,21 @@ nm_setting_team_class_init (NMSettingTeamClass *setting_class)
|
||||||
/**
|
/**
|
||||||
* NMSettingTeam:config:
|
* 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
|
g_object_class_install_property
|
||||||
(object_class, PROP_CONFIG,
|
(object_class, PROP_CONFIG,
|
||||||
g_param_spec_string (NM_SETTING_TEAM_CONFIG,
|
g_param_spec_string (NM_SETTING_TEAM_CONFIG,
|
||||||
"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,
|
NULL,
|
||||||
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE));
|
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue