nx_flow_mod(NxtFlowMod) should be used instead of OF flow mod for nx extension.
On Wed, Mar 13, 2013 at 05:02:27PM +0800, Can Zhang wrote: > 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 > -- yamahata ------------------------------------------------------------------------------ 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
