genielibs icon indicating copy to clipboard operation
genielibs copied to clipboard

IOSXR Learn Routing doesn't accept a list of routes

Open etiedem opened this issue 2 years ago • 1 comments

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

etiedem avatar Jun 28 '22 20:06 etiedem

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?

stevedhn avatar Jun 30 '22 21:06 stevedhn