Hi, all
I want to use ryu rest api to add a flow rule to OpenvSwitch.
Here is the body I use
{"dpid": 95529493015,"table_id": 0,"idle_timeout": 0,
"hard_timeout": 1800,"priority": 11,"match":{"in_port":2,
"tunnel_id_nxm":5001,"tun_ipv4_src":"52.193.10
Hi all,
I write a RYU application, and several openvswitch connect to it.
class OVSRouter(app_manager.RyuApp):
OFP_VERSIONS = [ofproto_v1_3.OFP_VERSION]
def __init__(self, *args, **kwargs):
super(OVSRouter, self).__init__(*args, **kwargs)
And I run this application using ryu-manage
A set of minor cleanups.
1) Remove the unused import of MAIN_DISPATCHER from ryu.controller.handler.
2) Remove the extraneous "close_requested" variable.
3) Ensure use of equality instead of identity for testing against
DEAD_DISPATCHER.
4) Alter the exit condition for the _send_loop.
Signed-off-b