Skip to content
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

Run failing at get_topology function. #6

Open
umangnangal opened this issue Sep 29, 2020 · 0 comments
Open

Run failing at get_topology function. #6

umangnangal opened this issue Sep 29, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@umangnangal
Copy link
Owner

Traceback (most recent call last):
File "login.py", line 62, in
df1 = get_topology(stdout)
File "/Users/umagrawa/Documents/GitHub/Topology_Generator/func_defs.py", line 89, in get_topology
peer_ip, switchname = line[3].split('(')
ValueError: not enough values to unpack (expected 2, got 1)

N9k-StArch-Core1# sh topology

FC Topology for VSAN 1000 :

       Interface  Peer Domain      Peer Interface  Peer IP Address(Switch Name)

san-port-channel115 0x1d(29) san-port-channel115 10.127.125.243(N9k-StArcher-DUT1)
san-port-channel119 0x1f(31) san-port-channel119 10.127.125.245
(N9k-StArch-Edge1-DUT1)
%SAFE_STR CONSTRAINT: strncpy_s: slen is zero, error code=401
san-port-channel123 0x1b(27) san-port-channel123 10.127.125.221
(Minishan-Edge1-DUT1)

@umangnangal umangnangal added the bug Something isn't working label Sep 29, 2020
@umangnangal umangnangal self-assigned this Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant