Also, I encountered the errors below when I start mininet:
---------
Traceback (most recent call last):
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/controller/controller.py",
line 97, in deactivate
method(self)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/controller/controller.py",
line 170, in _recv_loop
version, msg_type, msg_len, xid, buf)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/ofproto/ofproto_parser.py",
line 50, in msg
return msg_parser(datapath, version, msg_type, msg_len, xid, buf)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/ofproto/ofproto_v1_0_parser.py",
line 52, in msg_parser
return parser(datapath, version, msg_type, msg_len, xid, buf)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/ofproto/ofproto_v1_0_parser.py",
line 1564, in parser
msg.buf, ofproto_v1_0.OFP_HEADER_SIZE)
error: unpack_from requires a buffer of at least 12 bytes
Error in the datapath 1 from ('10.109.242.118', 54022)
Traceback (most recent call last):
File "build/bdist.macosx-10.8-intel/egg/gevent/greenlet.py", line 390, in run
result = self._run(*self.args, **self.kwargs)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/controller/controller.py",
line 307, in datapath_connection_factory
datapath.serve()
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/controller/controller.py",
line 227, in serve
self._recv_loop()
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/controller/controller.py",
line 97, in deactivate
method(self)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/controller/controller.py",
line 170, in _recv_loop
version, msg_type, msg_len, xid, buf)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/ofproto/ofproto_parser.py",
line 50, in msg
return msg_parser(datapath, version, msg_type, msg_len, xid, buf)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/ofproto/ofproto_v1_0_parser.py",
line 52, in msg_parser
return parser(datapath, version, msg_type, msg_len, xid, buf)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/ofproto/ofproto_v1_0_parser.py",
line 1564, in parser
msg.buf, ofproto_v1_0.OFP_HEADER_SIZE)
error: unpack_from requires a buffer of at least 12 bytes
<Greenlet at 0x1017892d0: datapath_connection_factory(<socket at 0x101ae23d0
fileno=7 sock=10.109.242.11, ('10.109.242.118', 54022))> failed with error
Best regards,
Can Zhang
Begin forwarded message:
> From: Can Zhang <[email protected]>
> Subject: How to match IPv6 packets through nx_match?
> Date: March 13, 2013 5:02:27 PM GMT+08:00
> To: "[email protected]" <[email protected]>
>
> Hello,
>
> I would like to match IPv6 packets using nx_match. I test the code below
> using open vSwtich 1.9 in mininet.
>
> -------
> rule = nx_match.ClsRule()
> rule.set_dl_type(ether.ETH_TYPE_IPV6)
> rule.set_ipv6_src(0x123456)
> ofproto = dp.ofproto
> ofproto_parser = dp.ofproto_parser
> output = ofproto_parser.OFPActionOutput(ofproto.OFPP_CONTROLLER)
> actions = [output]
> dp.send_flow_mod(rule = rule, cookie = 0,
> command = ofproto.OFPFC_ADD,
> idle_timeout = 0, hard_timeout = 0,
> actions = actions)
> -------
>
> But I can only see the flow as below:
>
> cookie=0x0, duration=3.744s, table=0, n_packets=0, n_bytes=0, idle_age=3,
> ipv6 actions=CONTROLLER:0
>
> Which means I fail to assign a IPv6 address in match section.
>
> Does this combination(ryu + open vSwitch) support IPv6? If so, how can I
> match an IPv6 packet correctly?
>
>
>
> Best regards,
> Can Zhang
>
>
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel