#NEWLINE# def do_add( self , mac , label , domain , ip_str , ip_type = '6' ) : #NEWLINE# #INDENT# r = StaticInterface ( mac = mac , label = label , domain = domain , ip_str = ip_str , ip_type = ip_type , system = self . n ) #NEWLINE# r . clean ( ) #NEWLINE# r . save ( ) #NEWLINE# repr ( r ) #NEWLINE# return r