

def port_disconnect(self, callback=None, port_id=None, peer_node_id=None, peer_port_id=None, peer_actor_id=None, peer_port_name=None, peer_port_dir=None, tunnel=None):
    ' Before calling this method all needed information must be available\n            see port manager for parameters\n        '
    msg = {
        'cmd': 'PORT_DISCONNECT',
        'port_id': port_id,
        'peer_actor_id': peer_actor_id,
        'peer_port_name': peer_port_name,
        'peer_port_id': peer_port_id,
        'peer_port_dir': port_id,
    }
    self.network.links[peer_node_id].send_with_reply(callback, msg)

dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/calvin_proto.py CalvinProto.port_disconnect/VarMisuse@75/186 `peer_port_dir`->`port_id`