alarm-gen changes to read user config from cassandra
At present, contrail-alarm-gen reads the user configuration from
contrail-api and listens to config notifications from rabbitmq.
The following changes are made in contrail-alarm-gen:
- No longer connects to contrail-api.
- On startup, reads the user configuration directly from config
cassandra database.
- Connects to rabbitmq to listen for user config changes for alarm
objects.
Reviewed: https:/ /review. opencontrail. org/34608 github. com/Juniper/ contrail- controller/ commit/ ac5023f90a43f19 af197eca3c0e4e2 84dc03b8c7
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: master
commit ac5023f90a43f19 af197eca3c0e4e2 84dc03b8c7
Author: Sundaresan Rajangam <email address hidden>
Date: Tue Aug 15 14:13:18 2017 -0700
alarm-gen changes to read user config from cassandra
At present, contrail-alarm-gen reads the user configuration from
contrail-api and listens to config notifications from rabbitmq.
The following changes are made in contrail-alarm-gen:
- No longer connects to contrail-api.
- On startup, reads the user configuration directly from config
cassandra database.
- Connects to rabbitmq to listen for user config changes for alarm
objects.
Change-Id: I31d5ff39410c5e 937c15eea6aa5cc f74f0e8e7e9
Partial-Bug: #1703709