[openflowplugin-dev] OpenDaylight OpenFlow Plugin:End to End Flows


Prasanna Huddar
 

Please set all the keys required.

The test provider don’t have all the keys set.

 

-Prasanna

 

From: openflowplugin-dev-bounces@... [mailto:openflowplugin-dev-bounces@...] On Behalf Of Madhusudhan Kandadai
Sent: Friday, December 27, 2013 11:46 PM
To: openflowplugin-dev@...
Cc: integration-dev@...
Subject: [openflowplugin-dev] OpenDaylight OpenFlow Plugin:End to End Flows

 

Hi,

 

After I push a flow at the OSGI command line i.e, addMDFlow openflow:1 f18. I got the following output:

 

osgi> addMDFlow openflow:1 f18
-----------------------------------------------------------------------------------------------------------------------------------------------------------
2013-12-27 09:48:56.447 PST [pool-27-thread-6] INFO  o.o.c.m.s.c.i.service.TwoPhaseCommit - Transaction: BA-13 Started.
2013-12-27 09:48:56.449 PST [pool-27-thread-6] INFO  o.o.c.s.b.i.c.d.BindingIndependentConnector - Forwarding Binding Transaction: BA-13 as DOM Transaction: DOM-12 .
2013-12-27 09:48:56.450 PST [pool-26-thread-3] INFO  o.o.c.m.s.c.i.service.TwoPhaseCommit - Transaction: DOM-12 Started.
2013-12-27 09:48:56.451 PST [pool-26-thread-3] ERROR o.o.c.m.s.c.i.service.TwoPhaseCommit - Transaction: DOM-12 Request Commit failed
java.lang.IllegalArgumentException: Node must contains all keys.

  
2013-12-27 09:48:56.452 PST [pool-27-thread-6] INFO  o.o.c.m.s.c.i.service.TwoPhaseCommit - Transaction: BA-13 Finished successfully.
Status of Flow Data Loaded Transaction: COMMITED

osgi> 2013-12-27 09:48:56.454 PST [nioEventLoopGroup-8-2] INFO  o.o.o.p.impl.core.OFFrameDecoder - OF Protocol message received, type:1
2013-12-27 09:48:56.455 PST [pool-28-thread-8] ERROR o.o.o.o.m.c.t.ErrorTranslator -  Error Message received: type=2[BADACTION], code=4[BADOUTPORT], data=XB

�������

[04 0e 00 58 00 00 00 42 00 00 00 00 00 00 00 0a 00 00 00 00 00 00 00 0a 02 01 00 00 00 00 00 02 ff ff ff ff 00 00 ff ff 00 00 00 02 00 00 00 00 00 01 00 16 80 00 0a 02 08 00 80 00 19 08 0a 00 ]
2013-12-27 09:48:56.456 PST [pool-28-thread-8] ERROR o.o.o.o.m.c.t.ErrorTranslator -  Error Message received: type=2[BADACTION], code=4[BADOUTPORT], data=XB

�������

[04 0e 00 58 00 00 00 42 00 00 00 00 00 00 00 0a 00 00 00 00 00 00 00 0a 02 01 00 00 00 00 00 02 ff ff ff ff 00 00 ff ff 00 00 00 02 00 00 00 00 00 01 00 16 80 00 0a 02 08 00 80 00 19 08 0a 00 ]
2013-12-27 09:49:00.687 PST [nioEventLoopGroup-8-2] INFO  o.o.o.p.impl.core.OFFrameDecoder - OF Protocol message received, type:2
2013-12-27 09:49:05.687 PST [nioEventLoopGroup-8-2] INFO  o.o.o.p.impl.core.OFFrameDecoder - OF Protocol message received, type:2
2013-12-27 09:49:10.687 PST [nioEventLoopGroup-8-2] INFO  o.o.o.p.impl.core.OFFrameDecoder - OF Protocol message received, type:2
(urn:opendaylight:inventory?revision=2013-08-19)nodes Node[CompositeNodeTOImpl], qName[nodes], modify[n/a], children.size = 1
(urn:opendaylight:inventory?revision=2013-08-19)node Node[CompositeNodeTOImpl], qName[node], modify[n/a], children.size = 7
2013-12-27 09:49:12.818 PST [Thread-17] INFO  o.o.c.m.s.manager.StatisticsProvider - Number of connected nodes : 1
(urn:opendaylight:flow:inventory?revision=2013-08-19)flow-capable-node Node[CompositeNodeTOImpl], qName[node], modify[n/a], children.size = 1
2013-12-27 09:49:12.819 PST [Thread-17] INFO  o.o.o.o.m.c.s.ModelDrivenSwitchImpl - Prepare statistics request to get flow stats of all switch tables - Transaction id - 67
2013-12-27 09:49:12.820 PST [Thread-17] INFO  o.o.o.o.m.c.s.ModelDrivenSwitchImpl - Prepare port statistics request for all ports of node InstanceIdentifier [path=[org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Nodes, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node[key=NodeKey [_id=Uri [_value=openflow:1]]]]] - TrasactionId - 68
2013-12-27 09:49:12.820 PST [nioEventLoopGroup-8-2] WARN  o.o.o.p.impl.util.MatchSerializer - Match entries are null
2013-12-27 09:49:12.820 PST [Thread-17] INFO  o.o.o.o.m.c.s.ModelDrivenSwitchImpl - Prepare flow table statistics request to get flow table stats for all tables from node NodeRef [_value=InstanceIdentifier [path=[org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Nodes, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node[key=NodeKey [_id=Uri [_value=openflow:1]]]]]]- Transaction id - 69
2013-12-27 09:49:12.820 PST [Thread-17] INFO  o.o.o.o.m.c.s.ModelDrivenSwitchImpl - Prepare queue statistics request to collect stats for all queues attached to all the ports of node InstanceIdentifier [path=[org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Nodes, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node[key=NodeKey [_id=Uri [_value=openflow:1]]]]] - TrasactionId - 70

-----------------------------------------------------------------------------------------------------------------------------------------------------------

Do you know why we are getting this output (one says it is failed, the other says it is commited). But, I could see the flow#141 at POSTMAN

 

Regards,

Madhusudhan