def _get_slave(self, dpid, port):
        """get slave i/f at some port of some datapath."""
        result = None
        for bond in self._bonds:
            if dpid in bond:
                if port in bond[dpid]:
                    result = bond[dpid][port]
                    break
        return result
def _get_slave ( self , dpid , port ) : result = None for bond in self . _bonds : if dpid in bond : if port in bond [ dpid ] : result = bond [ dpid ] [ port ] break return result
get slave i/f at some port of some datapath.