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

IOSXR Learn Routing doesn't accept a list of routes #105

Open
etiedem opened this issue Jun 28, 2022 · 1 comment
Open

IOSXR Learn Routing doesn't accept a list of routes #105

etiedem opened this issue Jun 28, 2022 · 1 comment
Assignees

Comments

@etiedem
Copy link

etiedem commented Jun 28, 2022

Is it intentional that output = testbed.devices[device].learn("routing", route=routes) where routes is a list of routes isn't accepted? In the other models the route keyword expects a list and runs through all prefixes to collect the results in a single .info.

For IOSXR it raises the following: raise ValueError(f'{address!r} does not appear to be an IPv4 or IPv6 interface')

You are currently running pyATS version: 22.5
Python: 3.10.5 [64bit]

  Package                      Version
  ---------------------------- -------
  genie                        22.5
  genie.libs.clean             22.5
  genie.libs.conf              22.5
  genie.libs.filetransferutils 22.5
  genie.libs.health            22.5
  genie.libs.ops               22.5
  genie.libs.parser            22.5
  genie.libs.sdk               22.5
  pyats                        22.5
  pyats.aereport               22.5
  pyats.aetest                 22.5
  pyats.async                  22.5
  pyats.connections            22.5
  pyats.datastructures         22.5
  pyats.easypy                 22.5
  pyats.kleenex                22.5
  pyats.log                    22.5
  pyats.reporter               22.5
  pyats.results                22.5
  pyats.tcl                    22.5
  pyats.topology               22.5
  pyats.utils                  22.5
  unicon                       22.5
  unicon.plugins               22.5
  yang.connector               22.5.1
@stevedhn stevedhn self-assigned this Jun 30, 2022
@stevedhn
Copy link

Hi @etiedem , thanks for pointing it out, list of routes isn't accepted with the current version, genie libs are community-driven, do you mind contributing to the change?

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

No branches or pull requests

2 participants