'Override this function defined in router_info for dvr routers.'

def floating_forward_rules(self, fip):

    if (not self.fip_ns):
        return []
    if fip.get(n_const.DVR_SNAT_BOUND):
        return []
    fixed_ip = fip['fixed_ip_address']
    floating_ip = fip['floating_ip_address']
    rtr_2_fip_name = self.fip_ns.get_rtr_ext_device_name(self.router_id)
    dnat_from_floatingip_to_fixedip = ('PREROUTING', ('-d    %s/32    -i    %s    -j    DNAT    --to-destination    %s' % (floating_ip, rtr_2_fip_name, fixed_ip)))
    snat_from_fixedip_to_floatingip = ('float-snat', ('-s    %s/32    -j    SNAT    --to-source    %s' % (fixed_ip, floating_ip)))
    return [dnat_from_floatingip_to_fixedip, snat_from_fixedip_to_floatingip]
