code: def associate_public_ip(self, instance_id, public_ip_id, private_ip=None):
          
          return self.driver.associate_public_ip(
              instance_id, public_ip_id, private_ip)
docs: Associate a external IP