Skip to content

lf_interop_ping.py : Fix endpoint key handling in get_results function for multi-device response#251

Open
Renusree-ct wants to merge 1 commit intogreearb:masterfrom
goyalsaurabh06:ping_results
Open

lf_interop_ping.py : Fix endpoint key handling in get_results function for multi-device response#251
Renusree-ct wants to merge 1 commit intogreearb:masterfrom
goyalsaurabh06:ping_results

Conversation

@Renusree-ct
Copy link
Copy Markdown
Contributor

  • Add check for 'endpoints' key when multiple devices are present
  • fallback to 'endpoint' using try/except to avoid key errors
    VERIFIED CLI : python3 lf_interop_ping.py --mgr 192.168.207.75 --real --target 192.168.204.72 --ping_interval 1
    --ping_duration 1 --use_default_config

…n for multi-device response

- Add check for 'endpoints' key when multiple devices are present
- fallback to 'endpoint' using try/except to avoid key errors
VERIFIED CLI : python3 lf_interop_ping.py --mgr 192.168.207.75 --real --target 192.168.204.72 --ping_interval 1 --ping_duration 1  --use_default_config

Signed-off-by: Renusree-ct <renusree.rayavarapu@candelatech.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants