Python ZOCP implementation (Z25 Orchestration Control Protocol)
ZOCP: Trying to control multiple computers in live performances is a challenging task. Often
computers intercommunicate using fixed or manual parameters. However when projects expand across
many devices this is hard to maintain. Especially in situations where the parameters tend to
change. ZOCP is a new protocol which facilitates flexibility and autonomous setups in an
orchestrated environment.
The ZOCP protocol is designed with the following in mind:
- KISS (Keep it simple and stupid): We want this protocol not be in our way and we want to be able to understand it easily.
- Zero Configuration: The protocol should be able to handle most, if not all configuration by itself. There is no need for setting up specific parameters unless requested, aka convention over configuration.
- Runs on anything TCP/IP: Since TCP/IP is the de facto standard for devices to communicate the technology should be able to run on any device that is able to talk TCP/IP
- Open Standards: All used technologies, software, protocols should be freely and openly available.
- Low latency, when needed
- Reliability, when needed
- Unintrusive debugging and monitoring
sudo apt-get install python3-zmq git clone https://github.com/zeromq/pyre.git git clone https://github.com/z25/pyZOCP.git cd pyZOCP/examples PYTHONPATH="../..:../src" python3 simple_node.py
Install Python3 from Python.org
After Python3 installation open a terminal and execute the following:
sudo pip3 install pyzmq
git clone https://github.com/zeromq/pyre.git
git clone https://github.com/z25/pyZOCP.git
cd pyZOCP/examples
PYTHONPATH=“../..:../src” python3 simple_node.py
Install Python3.4 or newer, make sure it sets your PATH etc. Also make sure you get PIP.
After Python3 installation open a DOS window and execute the following:
pip install pyzmq
pip install https://github.com/zeromq/pyre/archive/master.zip
pip install https://github.com/z25/pyZOCP/archive/master.zip