[Xorp-hackers] More problems with XORP+Click...
Rafael Paoliello Guimaraes
rafael.guimaraes@ac.upc.edu
Wed, 26 Jan 2005 16:50:53 +0100
Hello again,
We are having some problems here with XORP using click as the forwarding
engine. We are able to add new routes with our test routing protocol
but, whenever it tries to delete routes although our process receives a
confirmation from XORP telling that the route was deleted (through a
callback), it does not delete the route (we get some error messages in
the router manager telling the the operation could not be commited). We
have tried the same by using static routes and we get the same problem.
Below there is the transcription of the errors we have got for out test
protocol, then the commands we used to test the same situation with
static routes and finally the errors we have got with the static routes
procedure. Thank you!
TEST PROTOCOL
=============
[ 2005/01/26 16:15:22 INFO xorp_rtrmgr:2220 RTRMGR +166
master_conf_tree.cc execute ] Changed modules: interfaces, fea, rib,
static_routes
[ 2005/01/26 16:15:22 INFO xorp_rtrmgr:2220 RTRMGR +403
module_manager.cc run ] Running module: interfaces
(/root/XORP/xorp/fea/xorp_fea)
[ 2005/01/26 16:15:24 INFO xorp_rtrmgr:2220 RTRMGR +403
module_manager.cc run ] Running module: fea (/root/XORP/xorp/fea/xorp_fea)
[ 2005/01/26 16:15:30 INFO xorp_rtrmgr:2220 RTRMGR +403
module_manager.cc run ] Running module: rib (/root/XORP/xorp/rib/xorp_rib)
[ 2005/01/26 16:15:32 INFO xorp_rtrmgr:2220 RTRMGR +403
module_manager.cc run ] Running module: static_routes
(/root/XORP/xorp/static_routes/xorp_static_routes)
[ 2005/01/26 16:15:34 INFO xorp_rtrmgr:2220 RTRMGR +1372 task.cc
run_task ] No more tasks to run
[ 2005/01/26 16:15:41 ERROR xorp_rib:2247 RIB +133 rib.cc
admin_distance ] Administrative distance of "test" unknown.
[ 2005/01/26 16:16:13 ERROR xorp_fea:2221 FEA +346
fticonfig_entry_set_click.cc delete_entry ] Cannot find outgoing port
number for the Click forwarding table element to delete entry net =
147.83.34.82/32 nexthop = 0.0.0.0 ifname = vifname = metric = 0
admin_distance = 0 xorp_route = false is_deleted = false is_unresolved =
false is_connected_route = false
[ 2005/01/26 16:16:13 ERROR xorp_fea:2221 FEA +70 fti_transaction.cc
operation_result ] FTI transaction commit failed on DeleteEntry4: net =
147.83.34.82/32 nexthop = 0.0.0.0 ifname = vifname = metric = 0
admin_distance = 0 xorp_route = false is_deleted = false is_unresolved =
false is_connected_route = false
[ 2005/01/26 16:16:13 ERROR xorp_fea:2221 FEA +346
fticonfig_entry_set_click.cc delete_entry ] Cannot find outgoing port
number for the Click forwarding table element to delete entry net =
192.168.242.2/32 nexthop = 0.0.0.0 ifname = vifname = metric = 0
admin_distance = 0 xorp_route = false is_deleted = false is_unresolved =
false is_connected_route = false
[ 2005/01/26 16:16:13 ERROR xorp_fea:2221 FEA +346
fticonfig_entry_set_click.cc delete_entry ] Cannot find outgoing port
number for the Click forwarding table element to delete entry net =
10.0.0.1/32 nexthop = 0.0.0.0 ifname = vifname = metric = 0
admin_distance = 0 xorp_route = false is_deleted = false is_unresolved =
false is_connected_route = false
[ 2005/01/26 16:16:13 WARNING xorp_fea XrlFeaTarget ] Handling method
for redist_transaction4/0.1/commit_transaction failed: XrlCmdError 102
Command failed DeleteEntry4: net = 147.83.34.82/32 nexthop = 0.0.0.0
ifname = vifname = metric = 0 admin_distance = 0 xorp_route = false
is_deleted = false is_unresolved = false is_connected_route = false
[ 2005/01/26 16:16:13 ERROR xorp_rib:2247 XifRedistTransaction6 +896
redist_xrl.cc dispatch_complete ] Failed to commit transaction
SEQUENCE OF COMMANDS FOR STATIC ROUTES
======================================
XORP> create protocols static route4 10.0.0.1/32 nexthop 10.0.0.4
[edit]
XORP> commit
OK
[edit]
XORP> delete protocols static route4 10.0.0.1/32
Deleting:
nexthop: 10.0.0.4
metric: 1
OK
[edit]
XORP> commit
OK
[edit]
XORP>
STATIC ROUTES
=============
[ 2005/01/26 16:39:57 INFO xorp_rtrmgr:2471 RTRMGR +166
master_conf_tree.cc execute ] Changed modules: interfaces, fea, rib,
static_routes
[ 2005/01/26 16:39:57 INFO xorp_rtrmgr:2471 RTRMGR +403
module_manager.cc run ] Running module: interfaces
(/root/XORP/xorp/fea/xorp_fea)
[ 2005/01/26 16:39:59 INFO xorp_rtrmgr:2471 RTRMGR +403
module_manager.cc run ] Running module: fea (/root/XORP/xorp/fea/xorp_fea)
[ 2005/01/26 16:40:05 INFO xorp_rtrmgr:2471 RTRMGR +403
module_manager.cc run ] Running module: rib (/root/XORP/xorp/rib/xorp_rib)
[ 2005/01/26 16:40:07 INFO xorp_rtrmgr:2471 RTRMGR +403
module_manager.cc run ] Running module: static_routes
(/root/XORP/xorp/static_routes/xorp_static_routes)
[ 2005/01/26 16:40:09 INFO xorp_rtrmgr:2471 RTRMGR +1372 task.cc
run_task ] No more tasks to run
[ 2005/01/26 16:42:06 INFO xorp_rtrmgr:2471 RTRMGR +1372 task.cc
run_task ] No more tasks to run
[ 2005/01/26 16:42:06 INFO xorp_rtrmgr:2471 RTRMGR +1372 task.cc
run_task ] No more tasks to run
[ 2005/01/26 16:42:26 INFO xorp_rtrmgr:2471 RTRMGR +1372 task.cc
run_task ] No more tasks to run
[ 2005/01/26 16:42:26 INFO xorp_rtrmgr:2471 RTRMGR +1372 task.cc
run_task ] No more tasks to run
[ 2005/01/26 16:42:26 ERROR xorp_fea:2473 FEA +346
fticonfig_entry_set_click.cc delete_entry ] Cannot find outgoing port
number for the Click forwarding table element to delete entry net =
10.0.0.1/32 nexthop = 0.0.0.0 ifname = vifname = metric = 0
admin_distance = 0 xorp_route = false is_deleted = false is_unresolved =
false is_connected_route = false
[ 2005/01/26 16:42:26 ERROR xorp_fea:2473 FEA +70 fti_transaction.cc
operation_result ] FTI transaction commit failed on DeleteEntry4: net =
10.0.0.1/32 nexthop = 0.0.0.0 ifname = vifname = metric = 0
admin_distance = 0 xorp_route = false is_deleted = false is_unresolved =
false is_connected_route = false
[ 2005/01/26 16:42:26 WARNING xorp_fea XrlFeaTarget ] Handling method
for redist_transaction4/0.1/commit_transaction failed: XrlCmdError 102
Command failed DeleteEntry4: net = 10.0.0.1/32 nexthop = 0.0.0.0 ifname
= vifname = metric = 0 admin_distance = 0 xorp_route = false
is_deleted = false is_unresolved = false is_connected_route = false
[ 2005/01/26 16:42:26 ERROR xorp_rib:2498 XifRedistTransaction6 +896
redist_xrl.cc dispatch_complete ] Failed to commit transaction
Cheers,
--
===========================================
Rafael Paoliello Guimaraes
PhD Student - Computer Networking Group
Department of Computer Architecture (DAC)
Polytechnic University of Catalonia (UPC)
Phone: +34-934017187 Fax: +34-934017055
URL: http://people.ac.upc.es/rpaoliel
===========================================