-
Notifications
You must be signed in to change notification settings - Fork 558
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
VLAN table information for JunOS #1367
Conversation
Related to #1366 |
Sample output
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good start, thanks for the PR. Please install the test dependencies from requirements-dev.txt
and run black .
to format your text properly.
Would also need to add tests for this; locally you can run tox
to ensure everything is fine.
|
||
), | ||
"members": ( | ||
"none-assigned" # Checking even older junos, it alwayas returns either a list of members or l2ng-l2rtb that you see below |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be just an empty list instead of "none-assigned".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK I can change that. I put this as a catch-all but an empty list as a catch all works too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How's it going? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have been working on implementing this along side network-importer tools (https://github.com/networktocode/network-importer/) but I can submit the change you recommended to get this moved up. I originally started this because of of network-importer so I wanted to make sure it'd work with it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As you wish, @ckozler - if you want to continue working on this with the requested changes, and the tests, I'll be happy to review; otherwise, feel free to close it out. 👍
Closing out due to inactivity. @ckozler if you wanted to continue working on this, let me know and I'll gladly reopen, or feel free to open a separate PR. Remember, the data structure return must align to the NAPALM model, which must be respected to every driver implementing the method: https://github.com/napalm-automation/napalm/blob/develop/napalm/base/test/models.py#L267. |
Hi @ckozler, |
No description provided.