The entry point for contrail-alarm-notify is opserver/alarm_notify.py
There is a module named opserver.py in opserver package. Therefore, the
following statement looks for sandesh.viz.constants in opserver.py
instead of the opserver package.
from opserver.sandesh.viz.constants import UVE_MAP
Change-Id: Ie238fbae3a5195e47bde5edac5e3a6d5f619f17a
Closes-Bug: #1562077
(cherry picked from commit 89e583cdd3a490aeb503e408d9c0e87d80127a8b)
Reviewed: https:/ /review. opencontrail. org/18767 github. org/Juniper/ contrail- controller/ commit/ 1787800edb6d021 6fc9b237b692d6b 6d885f8178
Committed: http://
Submitter: Zuul
Branch: R3.0
commit 1787800edb6d021 6fc9b237b692d6b 6d885f8178
Author: Sundaresan Rajangam <email address hidden>
Date: Fri Mar 25 09:49:25 2016 -0700
Fix ImportError in contrail- alarm-notify
The entry point for contrail- alarm-notify is opserver/ alarm_notify. py viz.constants in opserver.py sandesh. viz.constants import UVE_MAP
There is a module named opserver.py in opserver package. Therefore, the
following statement looks for sandesh.
instead of the opserver package.
from opserver.
Change-Id: Ie238fbae3a5195 e47bde5edac5e3a 6d5f619f17a eb503e408d9c0e8 7d80127a8b)
Closes-Bug: #1562077
(cherry picked from commit 89e583cdd3a490a