← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1223668] Re: ovs_lib doest not parse flow parameters correctly.

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1223668

Title:
  ovs_lib doest not parse flow parameters correctly.

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  ovs_lib uses _build_flow_expr_arr(self, **kwargs) to parse flow
  parameters, if we set proto and with nw_src/nw_dst,the proto will be
  ignored.

  For example,
  br.add_flow(priority=1, proto='arp', nw_src='192.168.1.0/24', actions='normal'),
  the generated rule is
  cookie=0x0, duration=636.832s, table=0, n_packets=0, n_bytes=0, idle_age=636, priority=1,ip,nw_src=192.168.1.0/24 actions=normal

  "ip" is determined by the nw_src/nw_dst fields and match string is
  constructed by (ip or proto)

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1223668/+subscriptions