[Xorp-cvs] XORP cvs commit: xorp/fea xorp/fea/data_plane/control_socket xorp/fea/data_plane/ifconfig
Pavlin Radoslavov
pavlin at icir.org
Sun Dec 23 00:22:19 PST 2007
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin at xorpc.icir.org 2007-12-23 08:22:19 UTC
XORP CVS repository
Modified files:
fea ifconfig_set.hh ifconfig_vlan_set.hh
fea/data_plane/control_socket netlink_socket_utilities.cc
fea/data_plane/ifconfig ifconfig_set.cc ifconfig_set_click.cc
ifconfig_set_click.hh
ifconfig_set_dummy.cc
ifconfig_set_dummy.hh
ifconfig_set_ioctl.cc
ifconfig_set_ioctl.hh
ifconfig_set_iphelper.cc
ifconfig_set_iphelper.hh
ifconfig_set_netlink_socket.cc
ifconfig_set_netlink_socket.hh
ifconfig_vlan_set_bsd.cc
ifconfig_vlan_set_bsd.hh
ifconfig_vlan_set_dummy.cc
ifconfig_vlan_set_dummy.hh
ifconfig_vlan_set_linux.cc
ifconfig_vlan_set_linux.hh
Log message:
Refactor the interface configuration push mechanism:
* Split the IP address configuration plugin method config_address()
into config_add_address() and config_delete_address().
The split simplifies the plugin implementation, because now the
logic for choosing add or delete operation (as well as some
system-independent checks) is not in the plugin anymore.
* Split the VLAN configuration plugin method config_vlan() int
config_add_vlan() and config_delete_vlan()
The split simplifies the plugin implementation, because now the
logic for choosing add or delete operation (as well as some
system-independent checks) is not in the plugin anymore.
* Modify the algorithm for pushing interface/vif/address configuration:
1. Push the vif creation/deletion (e.g., VLAN).
2. Pull the config from the system (e.g., to obtain information
such as interface indexes for newly created interfaces/vifs).
3. Push the interface/vif/address information.
Revision Changes Path
1.8 +7 -1; commitid: f05d476e18b07ea6; xorp/fea/data_plane/control_socket/netlink_socket_utilities.cc
1.17 +238 -102; commitid: f05d476e18b07ea6; xorp/fea/data_plane/ifconfig/ifconfig_set.cc
1.16 +107 -74; commitid: f05d476e18b07ea6; xorp/fea/data_plane/ifconfig/ifconfig_set_click.cc
1.9 +75 -17; commitid: f05d476e18b07ea6; xorp/fea/data_plane/ifconfig/ifconfig_set_click.hh
1.14 +55 -15; commitid: f05d476e18b07ea6; xorp/fea/data_plane/ifconfig/ifconfig_set_dummy.cc
1.10 +75 -17; commitid: f05d476e18b07ea6; xorp/fea/data_plane/ifconfig/ifconfig_set_dummy.hh
1.14 +62 -70; commitid: f05d476e18b07ea6; xorp/fea/data_plane/ifconfig/ifconfig_set_ioctl.cc
1.9 +75 -17; commitid: f05d476e18b07ea6; xorp/fea/data_plane/ifconfig/ifconfig_set_ioctl.hh
1.15 +62 -70; commitid: f05d476e18b07ea6; xorp/fea/data_plane/ifconfig/ifconfig_set_iphelper.cc
1.9 +75 -17; commitid: f05d476e18b07ea6; xorp/fea/data_plane/ifconfig/ifconfig_set_iphelper.hh
1.18 +64 -70; commitid: f05d476e18b07ea6; xorp/fea/data_plane/ifconfig/ifconfig_set_netlink_socket.cc
1.9 +75 -17; commitid: f05d476e18b07ea6; xorp/fea/data_plane/ifconfig/ifconfig_set_netlink_socket.hh
1.9 +32 -19; commitid: f05d476e18b07ea6; xorp/fea/data_plane/ifconfig/ifconfig_vlan_set_bsd.cc
1.6 +30 -7; commitid: f05d476e18b07ea6; xorp/fea/data_plane/ifconfig/ifconfig_vlan_set_bsd.hh
1.5 +22 -6; commitid: f05d476e18b07ea6; xorp/fea/data_plane/ifconfig/ifconfig_vlan_set_dummy.cc
1.6 +30 -7; commitid: f05d476e18b07ea6; xorp/fea/data_plane/ifconfig/ifconfig_vlan_set_dummy.hh
1.7 +32 -19; commitid: f05d476e18b07ea6; xorp/fea/data_plane/ifconfig/ifconfig_vlan_set_linux.cc
1.2 +30 -7; commitid: f05d476e18b07ea6; xorp/fea/data_plane/ifconfig/ifconfig_vlan_set_linux.hh
1.59 +79 -17; commitid: f05d476e18b07ea6; xorp/fea/ifconfig_set.hh
1.7 +30 -7; commitid: f05d476e18b07ea6; xorp/fea/ifconfig_vlan_set.hh
More information about the Xorp-cvs
mailing list