#NEWLINE# @ classmethod #NEWLINE# def serialize_for_cluster( cls , cluster , allocate_vips = False ) : #NEWLINE# #INDENT# result = cls . serialize_net_groups_and_vips ( cluster , allocate_vips ) #NEWLINE# result [ 'networking_parameters' ] = cls . serialize_network_params ( cluster ) #NEWLINE# return result