Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: add functionality to retrieve console information (#16249)
Summary: Added functionality to retrieve console information from testbed devices in spytest framework. This enables access to console details (IP, port, protocol) for test cases and debugging purposes. Approach What is the motivation for this PR? To provide easy access to device console information within spytest framework, which helps in debugging and monitoring test cases that require console access. How did you do it? Added new method get_console() in framework.py to access testbed console info Implemented get_console_info() in infra.py as a utility function Added get_console() in testbed.py to retrieve console IP, port, and protocol from device info How did you verify/test it? By running spytest with a testbed configuration that includes console information and verifying the returned console details match the configuration.
- Loading branch information