def _remove_default_route(self, ri, ext_gw_port):
        ext_gw_ip = ext_gw_port['subnet']['gateway_ip']
        if ext_gw_ip:
            vrf_name = self._get_vrf_name(ri)
            conf_str = snippets.DEFAULT_ROUTE_CFG % (vrf_name, ext_gw_ip)
            if self._cfg_exists(conf_str):
                conf_str = snippets.REMOVE_DEFAULT_ROUTE % (vrf_name,
                                                            ext_gw_ip)
                self._edit_running_config(conf_str, 'REMOVE_DEFAULT_ROUTE')
dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/plugins/cisco/cfg_agent/device_drivers/csr1kv/iosxe_routing_driver.py/IosXeRoutingDriver._remove_default_route/original