add default parameters to topology show
Change-Id: Ie31c7b14c6a06963de53651cc7aa25f2f7db381d
This commit is contained in:
parent
cb5b6c8a30
commit
4bd50288c6
@ -37,7 +37,8 @@ LOG = log.getLogger(__name__)
|
||||
class TopologyController(RootRestController):
|
||||
|
||||
@pecan.expose('json')
|
||||
def post(self, depth, graph_type, query, root, all_tenants=False):
|
||||
def post(self, depth=None, graph_type='graph', query=None, root=None,
|
||||
all_tenants=False):
|
||||
all_tenants = bool_from_string(all_tenants)
|
||||
if all_tenants:
|
||||
enforce('get topology:all_tenants', pecan.request.headers,
|
||||
|
Loading…
Reference in New Issue
Block a user