From: Vijay Nag B S Date: Tue, 29 Sep 2020 11:58:51 +0000 (+0530) Subject: Support for mongodb replicaset connection (HA). X-Git-Tag: release-v9.0-start~9 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=commitdiff_plain;h=1b23c36a5f050609ac7c16e8f38e337259214174;hp=960531ab7417bf6705399dae790899463a659da9 Support for mongodb replicaset connection (HA). Added replicaset field in nbi.cfg file, which is used in mongodb connection string (osm_common/db_mongo.py). Change-Id: I5b4c15463a6593319f2d9f097b41a3bb9688fcc6 Signed-off-by: Vijay Nag B S --- diff --git a/osm_nbi/nbi.cfg b/osm_nbi/nbi.cfg index d279f90..3e8463a 100644 --- a/osm_nbi/nbi.cfg +++ b/osm_nbi/nbi.cfg @@ -60,6 +60,7 @@ driver: "mongo" # mongo or memory host: "mongo" # hostname or IP port: 27017 name: "osm" +# replicaset: "replicaset" # user: "user" # password: "password" # commonkey: "commonkey"