'Test to validate the floatingip agent mismatch.
This test validates the condition where floatingip agent
gateway port host mismatches with the agent and so the
binding will not be there.'

def test_dvr_router_fip_agent_mismatch(self):

    self.agent.conf.agent_mode = 'dvr'
    router_info = self.generate_dvr_router_info()
    floating_ip = router_info['_floatingips'][0]
    floating_ip['host'] = 'my_new_host'
    router1 = self.manage_router(self.agent, router_info)
    fip_ns = router1.fip_ns.get_name()
    self.assertTrue(self._namespace_exists(router1.ns_name))
    self.assertTrue(self._namespace_exists(fip_ns))
    self._assert_snat_namespace_does_not_exist(router1)
