Re: [yangtools-dev] WriteFlow error


John Schistos <jschistos@...>
 

Your solution solvet it, although now, when I set the Ipv4Match field, the flow is not inserted in the switch (although no error is thrown).IOt says it is inserted correctly but nothing happens.Before, when I was using only EthernetMatch it was working fine.Do u have any ideas for this?

On Mon, Nov 30, 2015 at 9:55 PM, John Schistos <jschistos@...> wrote:
I l come back if I have questions Thank you

On Mon, Nov 30, 2015 at 5:30 PM, Michal Rehak -X (mirehak - PANTHEON TECHNOLOGIES at Cisco) <mirehak@...> wrote:

Yes, exactly.


Please get inspired by:

(/openFlowPlugin/test-common)

org.opendaylight.openflowplugin.testcommon.DropTestRpcSender#processPacket



Regards,

Michal



From: John Schistos <jschistos@...>
Sent: Monday, November 30, 2015 16:02
To: Michal Rehak -X (mirehak - PANTHEON TECHNOLOGIES at Cisco)
Cc: l2switch-dev@...; openflowplugin-dev@...; openflowjava-dev@...; yangtools-dev@...
Subject: Re: [yangtools-dev] WriteFlow error
 
Hi Michal,

So, I should specify the node-ref identifier in the code?Right?

Thanx in advance

On Mon, Nov 30, 2015 at 4:38 PM, Michal Rehak -X (mirehak - PANTHEON TECHNOLOGIES at Cisco) <mirehak@...> wrote:

Hi Giannis,


add-flow is routed rpc and needs a node-ref identifier in input (field "node"). This error message usually appears when the node is not connected or the identifier is completely missing in the input.


Regards,

Michal



From: yangtools-dev-bounces@... <yangtools-dev-bounces@...> on behalf of John Schistos <jschistos@...>
Sent: Monday, November 30, 2015 15:11
To: l2switch-dev@...; openflowplugin-dev@...; openflowjava-dev@...; yangtools-dev@...
Subject: [yangtools-dev] WriteFlow error
 
I try to push some flows programmatically to some switches but I get this error:
WriteFlow Error: org.opendaylight.controller.md.sal.dom.api.DOMRpcImplementationNotAvailableException: No local or remote implementation available for rpc AbsoluteSchemaPath{path=[(urn:opendaylight:flow:service?revision=2013-08-19)add-flow]}

Could u help plz?Thanx in advance.
Giannis



Join z.archive.openflowjava-dev@lists.opendaylight.org to automatically receive all group messages.