blob: ec8f20c5088b126a3dafc3d04b9e0c3adc276de0 [file] [log] [blame]
Wei-Yu Chenad55cb82022-02-15 20:07:01 +08001# SPDX-FileCopyrightText: 2020 The Magma Authors.
2# SPDX-FileCopyrightText: 2022 Open Networking Foundation <support@opennetworking.org>
3#
4# SPDX-License-Identifier: BSD-3-Clause
Wei-Yu Chen49950b92021-11-08 19:19:18 +08005
6from typing import Any
7
8GET_IP_FROM_IF_PATH = \
9 'magma.enodebd.device_config.configuration_init.get_ip_from_if'
10
11LOAD_SERVICE_MCONFIG_PATH = \
12 'magma.enodebd.device_config.configuration_init.load_service_mconfig_as_json'
13
14
15def mock_get_ip_from_if(
16 _iface_name: str,
17 _preference: Any = None,
18) -> str:
19 return '192.168.60.142'
20
21
22def mock_load_service_mconfig_as_json(_service_name: str) -> Any:
23 return {}