cli: allow editing team and team-port settings in interactive editor

This commit is contained in:
Jiří Klimeš 2013-09-04 12:36:46 +02:00
parent 96303bd9da
commit 50bec85f98

View file

@ -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,