Fix issue with bhd report name

Change-Id: Ib6624a828aa44a0c0fd09d841bfb96c8efaf6b27
This commit is contained in:
Volodymyr Samotiy 2016-10-10 14:34:35 +03:00
parent c8bb88056b
commit cb9ccd715c
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ class BHDParser():
def __init__(self):
self.__reportType = None
self.__black_hole = None
self.__black_hole_event_report = []
self.__black_hole_event_report = None
self.__sflow_sampling_status = []
self.__reportHandlers = [self._handleBlackHole,

View File

@ -44,7 +44,7 @@ class BlackHoleDetectionEnable(AgentAPI):
params["enable"] = 1 if self.__black_hole_detection_enable else 0
ret["asic-id"] = self.__asic_id
ret["params"] = params
ret["method"] = "black-hole-detection-enable"
ret["method"] = "configure-black-hole-detection-enable"
return ret
class ConfigureBlackHole(AgentAPI):