#NEWLINE# def _aa_allow( self ) : #NEWLINE# #INDENT# '\n        The following usages of allow and deny will work in any scope, although\n        it is not recommended that they be used in pool declarations.\n\n            allow unknown-clients;\n            deny unknown-clients;\n            ignore unknown-clients;\n\n            allow bootp;\n            deny bootp;\n            ignore bootp;\n            allow booting;\n            deny booting;\n            ignore booting;\n\n            allow duplicates;\n            deny duplicates;\n\n            allow declines;\n            deny declines;\n            ignore declines;\n\n            allow client-updates;\n            deny client-updates;\n\n            allow dynamic bootp clients;\n            deny dynamic bootp clients;\n        ' #NEWLINE# choices = [ 'unknown-clients' , 'bootp' , 'booting' , 'duplicates' , 'declines' , 'client-updates' , 'dynamic bootp clients' ] #NEWLINE# self . is_statement = True #NEWLINE# self . is_option = False #NEWLINE# self . has_validator = True #NEWLINE# value = self . _get_value ( ) #NEWLINE# values = value . split ( ',' ) #NEWLINE# for value in values : #NEWLINE# #INDENT# if ( value . strip ( ) in choices ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise ValidationError ( "Invalid parameter '{0}' for the option '{1}'" . format ( self . value , self . key ) )