#NEWLINE# @ get ( '/:hypervisor/:host/networks' ) #NEWLINE# def network_list( hypervisor , host ) : #NEWLINE# #INDENT# '\n    Get networks for a given pool\n\n    ::\n\n      GET /:hypervisor/:host/networks\n\n    ' #NEWLINE# response . content_type = 'application/json' #NEWLINE# manager = create_manager ( network_list , host ) #NEWLINE# network_list = manager . network_list ( ) #NEWLINE# manager . logout ( ) #NEWLINE# return json . dumps ( network_list )