Sorry folks if I am asking remedial questions.
I get a version miss match.

 Looks Ok
mininet> dump
<Host h1: h1-eth0:10.0.0.1 pid=10053> 
<Host h2: h2-eth0:10.0.0.2 pid=10056> 
<OVSSwitch{'protocols': 'OpenFlow13'} s1: 
lo:127.0.0.1,s1-eth1:None,s1-eth2:None pid=10061> 
<RemoteController{'ip': '192.168.43.220'} c0: 192.168.43.220:6633 pid=10047> 

So far so good !!

MacBook-Pro-2:ryu-master mudbone$ !!
PYTHONPATH=. ./bin/ryu-manager ryu/app/simple_switch_13.py
loading app ryu/app/simple_switch_13.py
loading app ryu.controller.ofp_handler
instantiating app ryu/app/simple_switch_13.py of SimpleSwitch13
instantiating app ryu.controller.ofp_handler of OFPHandler

When I delete a flow, I get the following:

mininet> dpctl del-flows
*** s1 ------------------------------------------------------------------------
2015-11-26T15:02:17Z|00001|vconn|WARN|unix:/var/run/openvswitch/s1.mgmt: 
version negotiation failed (we support version 0x01, peer supports version 0x04)
ovs-ofctl: s1: failed to connect to socket (Broken pipe)

Code Imports

rom ryu.base import app_manager
from ryu.controller import ofp_event
from ryu.controller.handler import MAIN_DISPATCHER
from ryu.controller.handler import set_ev_cls
from ryu.ofproto import ofproto_v1_3
from ryu.lib.mac import haddr_to_bin
from ryu.lib.packet import packet
from ryu.lib.packet import ethernet
from ryu.lib.packet import ether_types


class SimpleSwitch(app_manager.RyuApp):
    OFP_VERSIONS = [ofproto_v1_3.OFP_VERSION]
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to