mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 12:00:17 +01:00
cli: allow editing team and team-port settings in interactive editor
This commit is contained in:
parent
96303bd9da
commit
50bec85f98
1 changed files with 22 additions and 0 deletions
|
|
@ -4316,6 +4316,28 @@ nmc_properties_init (void)
|
|||
NULL,
|
||||
NULL);
|
||||
|
||||
/* Add editable properties for NM_SETTING_TEAM_SETTING_NAME */
|
||||
nmc_add_prop_funcs (GLUE (TEAM, INTERFACE_NAME),
|
||||
nmc_property_team_get_interface_name,
|
||||
nmc_property_set_ifname,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL);
|
||||
nmc_add_prop_funcs (GLUE (TEAM, CONFIG),
|
||||
nmc_property_team_get_config,
|
||||
nmc_property_set_string,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL);
|
||||
|
||||
/* Add editable properties for NM_SETTING_TEAM_PORT_SETTING_NAME */
|
||||
nmc_add_prop_funcs (GLUE (TEAM_PORT, CONFIG),
|
||||
nmc_property_team_port_get_config,
|
||||
nmc_property_set_string,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL);
|
||||
|
||||
/* Add editable properties for NM_SETTING_VLAN_SETTING_NAME */
|
||||
nmc_add_prop_funcs (GLUE (VLAN, INTERFACE_NAME),
|
||||
nmc_property_vlan_get_interface_name,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue