X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2common%2Fconfig%2Fconfig.py;h=8946bdf0341b92826f23736f1ff5845dba687b44;hb=refs%2Fchanges%2F71%2F9471%2F2;hp=97565351b3e1f9ba9213dd2b15be21c53a649caa;hpb=a9840e41848cbbffcedf76f0a53ffc5d9bc87c01;p=pti%2Fo2.git diff --git a/o2common/config/config.py b/o2common/config/config.py index 9756535..8946bdf 100644 --- a/o2common/config/config.py +++ b/o2common/config/config.py @@ -29,6 +29,11 @@ def get_config_path(): return path +def get_smo_ca_config_path(): + path = os.environ.get("SMO_CA_CONFIG", "/configs/smoca.crt") + return path + + def get_postgres_uri(): host = os.environ.get("DB_HOST", "localhost") port = 54321 if host == "localhost" else 5432