Adds use of uri in connection to MongoDB instead of host and port 23/6923/1
authorBenjamin Diaz <bdiaz@whitestack.com>
Tue, 20 Nov 2018 14:18:43 +0000 (11:18 -0300)
committerBenjamin Diaz <bdiaz@whitestack.com>
Tue, 20 Nov 2018 14:18:43 +0000 (11:18 -0300)
commitf8a8afb0d14f5a23e6a4c5bd87d61fba5adc63d2
treec8b91d1626f3194644f2c8581e79730bb80a7c89
parentac526030dde1c6b6fc4a806050eb16656414d940
Adds use of uri in connection to MongoDB instead of host and port

MON now uses a mongodb uri to connect to the database. This allows to use uris
that define either a single node db or a replica set, allowing for HA
scenarios.

Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
docker/Dockerfile
osm_mon/core/common_db.py