'Send data to a specific DPID.'

def sendToDPID(self, dpid, data):

    if (dpid in self._connections):
        self._connections[dpid].send(data)
        return True
    else:
        import logging
        log = logging.getLogger('openflow')
        log.warn(("Couldn't    send    to    %s    because    we're    not    connected    to    it!" % (dpidToStr(dpid),)))
        return False
