#NEWLINE# def clean( self , * args , **kwargs ) : #NEWLINE# #INDENT# self . validate_no_cname ( ) #NEWLINE# self . clean_ip ( ) #NEWLINE# if StaticInterface . objects . filter ( fqdn = self . name , ip_upper = self . ip_upper , ip_lower = self . ip_lower ) . exists ( ) : #NEWLINE# #INDENT# raise ValidationError ( 'An Interface has already used this IP and Name.' ) #NEWLINE# #UNINDENT# if kwargs . pop ( 'update_reverse_domain' , True ) : #NEWLINE# #INDENT# self . update_reverse_domain ( ) #NEWLINE# #UNINDENT# self . check_no_ns_soa_condition ( args . reverse_domain )