#NEWLINE# def get_router_id( self , router ) : #NEWLINE# #INDENT# _router = self . neutronclient . list_routers ( name = router ) [ 'routers' ] #NEWLINE# if router : #NEWLINE# #INDENT# return _router [ 0 ] [ 'id' ] #NEWLINE# #UNINDENT# raise test_exceptions . NotFound ( ( 'Router with name "%s" was not found' % router ) )