Saving and Opening Port Configuration Files¶
Starting v1.4.0
Overview¶
You can save a port's configuration - the port settings, all the streams configured on the port and all the emulated devices to a file on disk.
This file can be later opened on the same port or any other port.
Use the Ports Menu (or the port list right-click context menu) to save/open the port configuration.
File Formats¶
The following file formats are supported -
- Ostinato native
oprt
format py
Python Script
Native OPRT format¶
This is the default and recommended format.
Python script (save only)¶
You can save all the port configuration including port settings, streams and device groups as a python script for use with the Ostinato Python API.
This provides an easy to way to create and verify traffic streams using the GUI and then use the generated python script for automation. You can use the script as-is or make any changes as you see fit and even use it as a starting point for more elaborate automated testing.
See Python API Guide for more details.