kecorbin / pyats-network-checks

various network health checks using the pyATS Framework
18 stars 10 forks source link

modified BGP and CRC - remove abstract #12

Open RunSi opened 5 years ago

RunSi commented 5 years ago

Hi Kevin, There is no longer a requirement to leverage the Abstract Lookup class, nor import model (ops) libraries. The syntax has been simplified, so all you need to do for interfaces is.

intf = uut.learn('interface')

This will works in pyATS/GENIE 19+, so the requirements.txt file may need to be amended.

I have tested the changes and they work as expected.