def associate_floating_ip(self, context, floating_address, fixed_address):
        floating_ip = self.db.floating_ip_get_by_address(context,
                                                         floating_address)
        if floating_ip['fixed_ip']:
            raise exception.FloatingIpAlreadyInUse(
                            address=floating_ip['address'],
                            fixed_ip=floating_ip['fixed_ip']['address'])

        self.db.floating_ip_fixed_ip_associate(context,
                                               floating_address,
                                               fixed_address,
                                               self.host)
        self.driver.bind_floating_ip(floating_address)
        self.driver.ensure_floating_forward(floating_address, fixed_address)
Helper to render an html page with dynamic content
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/network/manager.py/FloatingIP.associate_floating_ip--crossover with--dataset/ETHPy150Open freakboy3742/pyxero/examples/partner_oauth_flow/runserver.py/PartnerCredentialsHandler.page_response