#NEWLINE# def to_dict( self ) : #NEWLINE# #INDENT# dict_info = super ( HostNetwork , self ) . to_dict ( ) #NEWLINE# dict_info [ 'ip' ] = self . ip #NEWLINE# dict_info [ 'interface' ] = self . interface #NEWLINE# dict_info [ 'netmask' ] = self . netmask #NEWLINE# dict_info [ 'subnet' ] = self . subnet . subnet #NEWLINE# return dict_info