AETHER-3648 Support loglevel configuration in enodebd
AETHER-3020 Firmware upgrade feature: integrate firmware url to enb cfg
Change-Id: Iba2e08fc6aa31c23f9eedb70ebf250c2d2066e8d
diff --git a/configuration/service_configs.py b/configuration/service_configs.py
index 65fd4a7..199a7ca 100644
--- a/configuration/service_configs.py
+++ b/configuration/service_configs.py
@@ -89,7 +89,7 @@
if not os.path.exists(ENB_CONFIG_DIR):
return ret
- for fname in filter(lambda x: x.endswith(".yml"), os.listdir(ENB_CONFIG_DIR)):
+ for fname in filter(lambda x: x.endswith(".yml") or x.endswith(".yaml"), os.listdir(ENB_CONFIG_DIR)):
sn = fname.replace(".yml", "")
cfg_file_name = os.path.join(ENB_CONFIG_DIR, fname)
sn_yaml = _load_yaml_file(cfg_file_name)