cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1569
Views
5
Helpful
3
Replies

Genie

Currently I am taking bgp route backup using paramiko (python script)  by running show ip bgp and show ip route commands on the switches and the output is stored in linux server. How to use that as the testbed file for genie and then compare with current state of bgp and ip route tables?

 

#

3 Replies 3

LanDownUnda
Spotlight
Spotlight

Hi SreekaanthGanesan3775,

 

Great Question!

 

Genie comes pre loaded with commands like "genie create testbed" which will give you a terminal prompt to enter in the hostname, IP address, device credentials to create a testbed file in .yaml.

 

Once you have your testbed file created you can connect to it then learn the BGP profile with the command "genie learn bgp --testbed-file ['devicename'] --output afilenamehere"

 

You can then run "genie diff" to use genie to compare between different operation states.

 

Genie has some great Documentation listed at developer.cisco.com which I encourage you to check out!

 

*** Rate All Helpful Responses ***

Tatia
Level 1
Level 1

Hello,
I am a student of Master Information and Communication Technology in Berlin. Currently, I am working with my master thesis and have the following topic:
Network testing with pyATS and Genie. I have installed in VirtualBox for Linux where I have connected a router. After that I installed pyATS and Genie and then I created testbed file. After that, I started taking snapshots. I made in my network all tests possibilities, like add interface, add loopback, new routs etc.
I am interested how are their experiences, if someone uses in their company pyATS, if you are satisfied? What has good or bad? What is desired? Do you have maybe short documentation for the results?
That would be really very helpful for me because could show several cases....

@Tatia i do not see any customer use cases listed on the main landing page for pyATS - you can find example here https://developer.cisco.com/codeexchange/search/?q=pyATS on Code Exchange.

I would suggest asking your question to the team in this Webex space https://eurl.io/#r18UzrQVr - here you will find other users whom might be using this within their company.

Hope this helps.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: