fix get topology parameters

fix stop add parameter

Change-Id: Ie6c5a91a016fabe84ee78104e49f120929e98860
This commit is contained in:
Eyal 2016-02-15 14:19:29 +02:00
parent cd932db3ff
commit 9ad9385b27

View File

@ -67,10 +67,10 @@ class VitrageApiHandlerService(os_service.Service):
LOG.info("Finish start VitrageApiHandlerService")
def stop(self):
def stop(self, graceful=False):
LOG.info("Stop VitrageApiHandlerService")
super(VitrageApiHandlerService, self).stop()
super(VitrageApiHandlerService, self).stop(graceful)
LOG.info("Finish stop VitrageApiHandlerService")
@ -102,7 +102,7 @@ class EntityGraphApis(object):
LOG.info("EntityGraphApis get_alarms result:%s", str(items_list))
return json.dumps({'alarms': [v.properties for v in items_list]})
def get_topology(self, ctx, arg):
def get_topology(self, ctx, graph_type, depth, query, root):
ga = create_algorithm(self.entity_graph)
found_graph = ga.graph_query_vertices(
{'!=': {VProps.CATEGORY: EntityCategory.ALARM}})