Re: [Ryu-devel] Southbound interface

2017-11-09 Thread Scott Reeve
Chetan, According to sdxcentral, in addition to OpenFlow, the RYU Controller supports NETCONF and OF-Config https://www.sdxcentral.com/sdn/definitions/sdn-controllers/open-source-sdn-controllers/what-is-ryu-controller/ Regards, Scott On Thu, Nov 9, 2017 at 6:30 AM, Chetan Kumar wrote: > Hi

[Ryu-devel] Unexpected keyword argument

2017-11-08 Thread Scott Reeve
Strange error: flow_mod_msg=ofp_parser.OFPFlowMod(datapath=dp,table_id=0,command=ofp.OFPFC_ADD,idle_timeout=0, hard_timeout=0, priority=0, flags=0, match=match, instructions=flow_inst) TypeError: __init__() got an unexpected keyword argument 'table_id' ---

[Ryu-devel] Can't get ofp_event methods to be recognized

2017-11-06 Thread Scott Reeve
I have the following code: from ryu.base import app_manager from ryu.controller import ofp_event and when I go to use a variable ofp_event. it only gives me a small subset. For example, I cannot use EventOFPPacketIn. I see the same problem with many different IDEs: Eclipse Oxygen (with PyDe

[Ryu-devel] Use "from ryu.base" in Eclipse/PyDev

2017-07-21 Thread Scott Reeve
Trying to import the ofctl_rest.py code into Eclipse. All looks good, but cannot import the ryu objects: The following lines of code: from ryu.base import app_manager from ryu.controller import ofp_event All have a red x to the left and the tool tip is: "Unresolved import: app_manager" o

Re: [Ryu-devel] Punt from Table 0 to Table 1

2016-07-28 Thread Scott Reeve
 Mystery solved, needed a priority of 0.  Don't know why.  Switch is HPE Comware, btw.  Word to the wise.  On 07/27/16, Scott Reeve wrote: Trying to have all go from Table 0 to Table 1.This:RYUseems to indicate a null match criteria "{}" but it doesn't work.Here's

[Ryu-devel] Punt from Table 0 to Table 1

2016-07-27 Thread Scott Reeve
try/addIt does work if the vlan and eth_dst are filled in in the match criteria.I think the switch requires those two fields.  So perhaps I could just wildcard the eth_dst.  That should work also.Any suggestions? On 07/14/16, Scott Reeve wrote: Hi,Not so much of a python question, but a question about th

Re: [Ryu-devel] Need help with RYU app: ofctl_rest.py

2016-07-15 Thread Scott Reeve
ot;, "group_id": 1 } ]Setting an example of action, please refer to the following.http://ryu.readthedocs.io/en/latest/app/ofctl_rest.html#description-of-actions-on-request-messagesThanks,On 2016年07月14日 23:22, Scott Reeve wrote:> Hi,>> Not so much of a python questio

[Ryu-devel] Need help with RYU app: ofctl_rest.py

2016-07-14 Thread Scott Reeve
Hi,Not so much of a python question, but a question about the JSON sent to the app.I'm running the standard RYU pre-built app as follows: ryu-manager --verbose --ofp-listen-host 15.234.166.21 ofctl_rest.pyI use the CURL command from another ubuntu host and it all works fine.I can create flows, look

[Ryu-devel] Cannot access RYU via a browser

2015-02-16 Thread Scott Reeve
I seem to have started the RYU controller just fine: sreeve@new-host:~/ryu$ sudo ./bin/ryu-manager --verbose ryu/app/simple_switch_13.py [sudo] password for sreeve: loading app ryu/app/simple_switch_13.py loading app ryu.controller.ofp_handler instantiating app ryu/app/simple_switch_13.py of