Hi Michal

Thanks for quick response. Going to try it in a moment,

Regards, Tomasz

From: Michal Rehak -X (mirehak - PANTHEON TECHNOLOGIES at Cisco) 
[mailto:[email protected]]
Sent: Tuesday, November 15, 2016 11:14 AM
To: Tomasz Drewniak <[email protected]>; 
[email protected]
Subject: Re: Yang model and packet-out


Hi Tomasz,

in order to sent out a packet via openflow you could use

http://localhost:8181/restconf/operations/packet-processing:transmit-packet



The service you are trying to use is internal to ofJava and is not exposed to 
md-sal. That's why there is no provider available.



Content of your message should look like this (bold parts are references to 
particular device and port):



<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<input xmlns="urn:opendaylight:packet:service">
    <node 
xmlns:inv="urn:opendaylight:inventory">/inv:nodes/inv:node[inv:id="openflow:1"]</node>

    <egress 
xmlns:inv="urn:opendaylight:inventory">/inv:nodes/inv:node[inv:id="openflow:1"]/inv:node-connector[inv:id="3"]</egress>
    <payload>0x2a</payload>
</input>



There could be connection-cookie, buffer-id and actions optionally defined.





Regards,

Michal



________________________________
From: 
[email protected]<mailto:[email protected]>
 
<[email protected]<mailto:[email protected]>>
 on behalf of Tomasz Drewniak 
<[email protected]<mailto:[email protected]>>
Sent: Tuesday, November 15, 2016 17:15
To: 
[email protected]<mailto:[email protected]>
Subject: Re: [openflowplugin-dev] Yang model and packet-out

Hi

Could someone comment on my problem (: No implementation of RPC 
AbsoluteSchemaPath{path=[(urn:opendaylight:openflow:protocol?revision=2013-07-31)packet-out]}
 available)
Could you think of something I need to check/verify ?

As stated below I am running boron (downloaded: 
distribution-karaf-0.5.0-Boron.tar.gz)

Any suggestions are very welcome !!!
Regards, Tomasz

From: Alexis de TalhouĆ«t [mailto:[email protected]]
Sent: Tuesday, November 15, 2016 9:45 AM
To: Tomasz Drewniak 
<[email protected]<mailto:[email protected]>>
Subject: Re: Yang model and packet-out

Tomasz,

You assumption might be accurate, but I would advice you to send a mail to the 
openflowplugin-dev mailing list, as they will be able to better assist you 
there.

Installing odl-openflowplugin-southbound is pulling in 
odl-openflowjava-protocol which contains the model responsible for the RPC 
you're calling.
Here is the implementation of the rpc: 
https://github.com/opendaylight/openflowjava/blob/stable/boron/openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/AbstractConnectionAdapter.java#L176

Not sure why you're facing this issue.

Thanks,
Alexis
On Nov 15, 2016, at 10:25 AM, Tomasz Drewniak 
<[email protected]<mailto:[email protected]>> wrote:

Hi Alexis

Asking for help again, maybe it is trivial - but unfortunately I am stuck.
I am trying to execute 
http://192.168.57.102:8181/restconf/operations/openflow-protocol:packet-outfrom 
YANGUI
and getting following error:
Error sending request - : No implementation of RPC 
AbsoluteSchemaPath{path=[(urn:opendaylight:openflow:protocol?revision=2013-07-31)packet-out]}
 available

I am using Boron release. Is there a feature I need to add in order to make it 
work?

Regards, Tomasz

_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev

Reply via email to