Adds use of uri in connection to MongoDB instead of host and port 19/6919/1
authorBenjamin Diaz <bdiaz@whitestack.com>
Tue, 20 Nov 2018 12:14:09 +0000 (09:14 -0300)
committerBenjamin Diaz <bdiaz@whitestack.com>
Tue, 20 Nov 2018 12:14:09 +0000 (09:14 -0300)
commit2fa92533799dcac2fbb47db2e06579e951294e6a
tree1fb1f92518159aa17a52958b7df67228c589b108
parent51f4486b06781541ee15ea332261247ed3e930f6
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