← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1360145] [NEW] ovs-agent: mod-flow shouldn't be used to add flows

 

Public bug reported:

Although when calling ovs-ofctl mod-flows can be used to add flows, but
it is not intended, we should avoid the case.

In ovs-agent, when setup tunnel network, the agent use mod flow to add
flows, it should be fixed.

 470         if network_type in constants.TUNNEL_NETWORK_TYPES:                       
 471             if self.enable_tunneling:                                           
 472                 # outbound broadcast/multicast                                  
 473                 ofports = ','.join(self.tun_br_ofports[network_type].values())  
 474                 if ofports:                                                     
 475                     self.tun_br.mod_flow(table=constants.FLOOD_TO_TUN,          
 476                                          dl_vlan=lvid,                          
 477                                          actions="strip_vlan,"                  
 478                                          "set_tunnel:%s,output:%s" %            
 479                                          (segmentation_id, ofports))

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  ovs-agent: mod-flow shouldn't be used to add flows

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Although when calling ovs-ofctl mod-flows can be used to add flows,
  but it is not intended, we should avoid the case.

  In ovs-agent, when setup tunnel network, the agent use mod flow to add
  flows, it should be fixed.

   470         if network_type in constants.TUNNEL_NETWORK_TYPES:                       
   471             if self.enable_tunneling:                                           
   472                 # outbound broadcast/multicast                                  
   473                 ofports = ','.join(self.tun_br_ofports[network_type].values())  
   474                 if ofports:                                                     
   475                     self.tun_br.mod_flow(table=constants.FLOOD_TO_TUN,          
   476                                          dl_vlan=lvid,                          
   477                                          actions="strip_vlan,"                  
   478                                          "set_tunnel:%s,output:%s" %            
   479                                          (segmentation_id, ofports))

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


Follow ups

References