def get_route_config(): routes = nm_route.get_config(acs_and_ip_profiles(nmclient.client())) for route in routes: if route[Route.METRIC] == 0: # Kernel will convert 0 to IPV6_DEFAULT_ROUTE_METRIC. route[Route.METRIC] = IPV6_DEFAULT_ROUTE_METRIC return routes
def get_route_config(): return nm_route.get_config(acs_and_ip_profiles(nmclient.client()))
def get_route_config(context): return nm_route.get_config(acs_and_ip_profiles(context))