code: def floating_ip_create(self, pool=None):
          '''
          Allocate a floating IP
  
          .. versionadded:: 2016.3.0
          '''
          nt_ks = self.compute_conn
          floating_ip = nt_ks.floating_ips.create(pool)
          response = {
              'ip': floating_ip.ip,
              'fixed_ip': floating_ip.fixed_ip,
              'id': floating_ip.id,
              'instance_id': floating_ip.instance_id,
              'pool': floating_ip.pool
          }
          return responsf floating_ip_create(self, pool=None):
          '''
          Allocate a floating IP
  
          .. versionadded:: 2016.3.0
          '''
          nt_ks = self.compute_conn
          floating_ip = nt_ks.floating_ips.create(pool)
          response = {
              'ip': floating_ip.ip,
              'fixed_ip': floating_ip.fixed_ip,
              'id': floating_ip.id,
              'instance_id': floating_ip.instance_id,
              'pool': floating_ip.pool
          }
          return response
docs: Allocate a floating IP
  
          .. versionadded:: 2016.3.0