Skip to content

Patch 1 #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tdr-test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

This is an example Python script that runs TDR test for every interface in an up status.

The output is thrown to screen, plus writte to a file in bootflash.
The output is thrown to screen, plus written to a file in bootflash.

# requirements
-- IOS-XE running >/= 16.3.1 also enabled for GuestShell
-- 3850 Switches (TDR typically only works on Cat switches).

# running
-- Run onbox.
-- Run onbox.
8 changes: 4 additions & 4 deletions tdr-test/tdr-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ def grab_intf(i):

for i in intfs:
title = "Interfaces: " + i
print title
print(title)
target.write(title)
print intfs[i]
print(intfs[i])
target.write(intfs[i])
print "\n\n"
print("\n\n")
target.write("\n\n")

target.close()
target.close()