'Get Agent Gateway port for FIP.
l3 agent expects an Agent Gateway Port to be returned
for this query.'

@db_api.retry_db_errors
def get_agent_gateway_port(self, context, **kwargs):

    network_id = kwargs.get('network_id')
    host = kwargs.get('host')
    admin_ctx = neutron_context.get_admin_context()
    agent_port = self.l3plugin.create_fip_agent_gw_port_if_not_exists(admin_ctx, network_id, host)
    self._ensure_host_set_on_port(admin_ctx, host, agent_port)
    LOG.debug('Agent    Gateway    port    returned    :    %(agent_port)s    with    host    %(host)s', {'agent_port': agent_port, 'host': host})
    return agent_port
