def get_groups(self, dpid):
        url = (self._of_base_url +
               'datapaths/{0}/groups'.format(urllib.quote(dpid)))

        return self.restclient.get(url)
Handles the various status states for the component, returning the
dataset/ETHPy150Open dave-tucker/hp-sdn-client/hpsdnclient/of.py/OfMixin.get_groups--crossover with--dataset/ETHPy150Open DevTable/gantryd/gantryd/componentwatcher.py/ComponentWatcher.handleStatus