Support for mongodb replicaset connection (HA). 61/9761/4
authorVijay Nag B S <vijaynag.bs@tataelxsi.co.in>
Tue, 29 Sep 2020 11:58:51 +0000 (17:28 +0530)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Mon, 16 Nov 2020 08:48:00 +0000 (09:48 +0100)
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 <vijaynag.bs@tataelxsi.co.in>
osm_nbi/nbi.cfg

index d279f90..3e8463a 100644 (file)
@@ -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"