def get_routes(iface):
 path = os.path.join(_RH_NETWORK_SCRIPT_DIR, 'route-{0}'.format(iface))
 path6 = os.path.join(_RH_NETWORK_SCRIPT_DIR, 'route6-{0}'.format(iface))
 routes = _read_file(path)
 routes.extend(_read_file(path6))
 return routes

def get_routes ( iface ) : path = os . path . join ( _RH_NETWORK_SCRIPT_DIR , 'route-{0}' . format ( iface ) ) path6 = os . path . join ( _RH_NETWORK_SCRIPT_DIR , 'route6-{0}' . format ( iface ) ) routes = _read_file ( path ) routes . extend ( _read_file ( path6 ) ) return routes
return the current routing table cli examples: .