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
Reviewed: https:/ /review. opencontrail. org/18766 github. org/Juniper/ contrail- controller/ commit/ 89e583cdd3a490a eb503e408d9c0e8 7d80127a8b
Committed: http://
Submitter: Zuul
Branch: master
commit 89e583cdd3a490a eb503e408d9c0e8 7d80127a8b
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
Closes-Bug: #1562077