Fix listing of alarms returned by contrail-analytics-api
The URL analytics/alarms was returning empty list of alarms
even when user did not pass in a auth token and the contrail-analytics-api
was running with aaa_mode set to cloud-admin or rbac. Fix this by
adding a check for auth token to be present in these cases.
Reviewed: https:/ /review. opencontrail. org/35409 github. com/Juniper/ contrail- controller/ commit/ 81a39b3efdc9c43 222c21e7b66424a 3b2e19df5b
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: master
commit 81a39b3efdc9c43 222c21e7b66424a 3b2e19df5b
Author: Megh Bhatt <email address hidden>
Date: Fri Sep 8 14:09:06 2017 -0700
Fix listing of alarms returned by contrail- analytics- api
The URL analytics/alarms was returning empty list of alarms analytics- api
even when user did not pass in a auth token and the contrail-
was running with aaa_mode set to cloud-admin or rbac. Fix this by
adding a check for auth token to be present in these cases.
Change-Id: I29b26ac9086998 150330a67ccae59 4d7b6e045d7
Closes-Bug: #1714751