def _format_external_gateway_info(router):
    try:
        return jsonutils.dumps(router['external_gateway_info'])
    except (__HOLE__, KeyError):
        return ''
dataset/ETHPy150Open openstack/python-neutronclient/neutronclient/neutron/v2_0/router.py/_format_external_gateway_info