- lava.lib.dnf.connect.connect.connect(src_op, dst_ip, ops=None)
Creates and returns a Connections Process <conn> and connects the source OutPort <src_op> to the InPort of <conn> and the OutPort of <conn> to the InPort of <dst_ip>.
The connectivity is generated from a list of operation objects <ops>. Each operation generates a dense connectivity matrix based on its parameters. These matrices are multiplied into a single connectivity matrix, which is then used to generate a Connections Process between source and destination.
connections – process containing the connections between <src_op> and <dst_ip>
- Return type