Requirements¶
- Python >=3.4 (or >=2.7)
- protobuf >=3.20.2
Installation¶
Download Ostinato Python API package to a local folder and install it using -
$ pip install /local/path/to/package
--upgrade to the above command to upgrade.
You can do a quick check if your installation is successful by running the example module included in the distribution. First make sure drone is running and then run the below command -
python -m ostinato.example
The example expects the following topology -
+-------+ +-------+
| |Tx--->----| |
| Drone | | DUT |
| |Rx---<----| |
+-------+ +-------+
When prompted by the module, provide the IP of drone and select the Tx/Rx ports (or accept the defaults chosen by the module).
See Tutorial for a walk-through of this example script.