#NEWLINE# @ route ( 'topology' , '/v1.0/topology/hosts/{dpid}' , methods = [ 'GET' ] , requirements = { #NEWLINE# #INDENT# 'dpid' : dpid_lib . DPID_PATTERN , #NEWLINE# #UNINDENT# } ) #NEWLINE# def get_hosts( self , req , **kwargs ) : #NEWLINE# #INDENT# return self . _hosts ( req , ** kwargs )