'Remove floating IP from FIP namespace.'

def floating_ip_removed_dist(self, fip_cidr):

    if (fip_cidr in self.centralized_floatingips_set):
        self.remove_centralized_floatingip(fip_cidr)
        self.centralized_floatingips_set.remove(fip_cidr)
        return
    floating_ip = fip_cidr.split('/')[0]
    fip_2_rtr_name = self.fip_ns.get_int_device_name(self.router_id)
    if (self.rtr_fip_subnet is None):
        self.rtr_fip_subnet = self.fip_ns.local_subnets.lookup(self.router_id)
    if self.rtr_fip_subnet:
        (rtr_2_fip, fip_2_rtr) = self.rtr_fip_subnet.get_pair()
        fip_ns_name = self.fip_ns.get_name()
        self._remove_floating_ip_rule(floating_ip)
        device = ip_lib.IPDevice(fip_2_rtr_name, namespace=fip_ns_name)
        device.route.delete_route(fip_cidr, str(rtr_2_fip.ip))
