def get_ports(self, dpid):
        url = (self._of_base_url +
               'datapaths/{0}/ports'.format(urllib.quote(dpid)))
        return self.restclient.get(url)
Convenience function for picking only data channels.
dataset/ETHPy150Open dave-tucker/hp-sdn-client/hpsdnclient/of.py/OfMixin.get_ports--crossover with--dataset/ETHPy150Open mne-tools/mne-python/mne/io/pick.py/_pick_data_channels