def add_group(self, dpid, group):
        url = (self._of_base_url +
               'datapaths/{0}/groups'.format(urllib.quote(dpid)))
        data = {"group": group.to_dict()}
        r = self.restclient.post(url, json.dumps(data))
        raise_errors(r)
Initialize layer object.
dataset/ETHPy150Open dave-tucker/hp-sdn-client/hpsdnclient/of.py/OfMixin.add_group--crossover with--dataset/ETHPy150Open pydata/pandas/pandas/tools/rplot.py/Layer.__init__