#NEWLINE# def add_group( self , dpid , group ) : #NEWLINE# #INDENT# 'Create a group\n\n        :param str dpid: The datapath ID\n        :param hpsdnclient.datatypes.Group group: The group to add\n\n        ' #NEWLINE# url = ( self . _of_base_url + 'datapaths/{0}/groups' . format ( urllib . quote ( dpid ) ) ) #NEWLINE# data = { #NEWLINE# #INDENT# 'group' : group . to_dict ( ) , #NEWLINE# #UNINDENT# } #NEWLINE# r = self . restclient . post ( url , json . dumps ( data ) ) #NEWLINE# raise_errors ( r )