original_docstring: Associate any pending floating IP addresses.
  
          We may receive a request to associate a floating
          IP address, when the router BVI interfaces are not ready yet. So,
          we queue such requests and do the association when the router
          interfaces are ready.
          
docstring: Associate any pending floating IP addresses.
  We may receive a request to associate a floating
  IP address, when the router BVI interfaces are not ready yet. So,
  we queue such requests and do the association when the router
  interfaces are ready.
docstring_tokens: Associate any pending floating IP addresses . We may receive a request to associate a floating IP address when the router BVI interfaces are not ready yet . So we queue such requests and do the association when the router interfaces are ready .
code: def maybe_associate_floating_ips(self):
          """Associate any pending floating IP addresses.
  
          We may receive a request to associate a floating
          IP address, when the router BVI interfaces are not ready yet. So,
          we queue such requests and do the association when the router
          interfaces are ready.
          """
          LOG.debug('Router: maybe associating floating IPs: %s',
                    self.floating_ips)
          for floatingip in self.floating_ips:
              if not self.floating_ips[floatingip]['state']:
                  fixedip_addr = self.floating_ips[
                      floatingip]['fixed_ip_address']
                  floatingip_addr = self.floating_ips[
                      floatingip]['floating_ip_address']
                  loopback_idx = self.floating_ips[floatingip]['loopback_idx']
                  external_idx = self.floating_ips[floatingip]['external_idx']
                  self._associate_floatingip(floatingip, fixedip_addr,
                                             floatingip_addr, loopback_idx,
                                             external_idx)
code_tokens: def maybe_associate_floating_ips ( self ) : LOG . debug ( 'Router: maybe associating floating IPs: %s' , self . floating_ips ) for floatingip in self . floating_ips : if not self . floating_ips [ floatingip ] [ 'state' ] : fixedip_addr = self . floating_ips [ floatingip ] [ 'fixed_ip_address' ] floatingip_addr = self . floating_ips [ floatingip ] [ 'floating_ip_address' ] loopback_idx = self . floating_ips [ floatingip ] [ 'loopback_idx' ] external_idx = self . floating_ips [ floatingip ] [ 'external_idx' ] self . _associate_floatingip ( floatingip , fixedip_addr , floatingip_addr , loopback_idx , external_idx )
short_docstring: Associate any pending floating IP addresses.
short_docstring_tokens: Associate any pending floating IP addresses .
comment: """Associate any pending floating IP addresses.
  
          We may receive a request to associate a floating
          IP address, when the router BVI interfaces are not ready yet. So,
          we queue such requests and do the association when the router
          interfaces are ready.
          """