Support for mongodb replicaset connection (HA). 62/9762/4
authorVijay Nag B S <vijaynag.bs@tataelxsi.co.in>
Tue, 29 Sep 2020 12:02:29 +0000 (17:32 +0530)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 5 Nov 2020 08:32:25 +0000 (09:32 +0100)
Added replicaset field in lcm.cfg file, which is used in
mongodb connection string (osm_common/db_mongo.py).

Change-Id: If5b00e9442ac738bcb081c8be8e5a726cbfe7484
Signed-off-by: Vijay Nag B S <vijaynag.bs@tataelxsi.co.in>
osm_lcm/lcm.cfg

index e2e34d4..55f513e 100644 (file)
@@ -59,6 +59,7 @@ database:
     host:   mongo       # hostname or IP
     port:   27017
     name:   osm
+    # replicaset: replicaset
     # user:   user
     # password:   password
     # commonkey: "XXXXXX" # password used for encryption of sensible information