Developer Info¶
- class openob.node.Node(node_name)[source]¶
OpenOB node instance.
Nodes run links. Each Node looks after its end of a link, ensuring that it remains running and tries to recover from failures, as well as responding to configuration changes.
Nodes have a name; everything else is link specific.
For instance, a node might be the ‘studio’ node, which would run a ‘tx’ end for the ‘stl’ link.
Nodes have a config host which is where they store their inter-Node data and communicate with other Nodes.
- class openob.link_config.LinkConfig(link_name, redis_host)[source]¶
The LinkConfig class encapsulates link configuration. It’s genderless; a TX node should be able to set up a new link and an RX node should be able (once the TX node has specified the port caps) to configure itself to receive the stream using the data and methods in this config.
- commit_changes(restart=False)[source]¶
To be called after calls to set() on a running link to signal a reconfiguration event for that link. If restart is True, the link should simply terminate itself so it can be restarted with the new parameters. If restart is False, the link should set all parameters it can which do not involve a restart.