#NEWLINE# def handle( self , request , data ) : #NEWLINE# #INDENT# network = self . _create_network ( request , data ) #NEWLINE# if ( not network ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# if ( not data [ 'with_subnet' ] ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# subnet = self . _create_subnet ( request , data , network , no_redirect = True ) #NEWLINE# if subnet : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _delete_network ( request , network ) #NEWLINE# return False