Great video Hank!! It is pretty awesome that you take the time to help the rest of us catch up with the times!
@theccieguy7 ай бұрын
I think you have a future in this
@MrAlessandroEsposito4 жыл бұрын
Great VIDEO... for the who (like me) had issue installing genie, give it a try with PIP3: "sudo pip3 install pyats genie" and good luck!
@spacechecker49834 жыл бұрын
i've read that using sudo with pip is not recommended
@IPvZero5 жыл бұрын
Great video, Hank. You've been very helpful for me personally in developing and improving my ability to automate networks. Keep doing what you're doing! Love the content.
@giorgiotosi70044 жыл бұрын
Hi Hank : it would be great if Genie could turn into a multivendor tool hence parse output from devices from vendors like Arista, Juniper,... etc. Unfortunately customers are not 100% Cisco :-)
@HankPreston4 жыл бұрын
pyATS and Genie are already Multi-Vendor and becoming more so every release. In the next release there are over 750 parsers for F5 being added to the ones already present. You can see examples of platforms with supported parsers here: github.com/CiscoTestAutomation/genieparser/tree/master/src/genie/libs/parser And the development team is always supportive and helpful for folks looking to extend pyATS to more devices. Just this week there was discussion in the pyATS Community room on adding more for Alcatel.
@mikewhitney73455 жыл бұрын
Love the prep that goes into this but I have problems just building the testbed file. The environment you have covered really well but the prep of the testbed, not sure which comes first the topology yaml or the testbed? I am using the examples in the devnet repo but I get an error everytime about Arg should be a path to a pyats testbed file or object, which I believe I am giving it the path and the object. Thanks for all you do for us CLI jockeys starting down the path of automation.
@giorgiotosi70044 жыл бұрын
Great Stuff !
@techevangelist83734 жыл бұрын
Hank, there are lot buzz wirds these days related to automation. Python, ansible, netconf, json, yang, yaml. Can you do a video on how these things fit together? New to automation world and could not find a video that gave me a spark so far..
@rolandsidabutar4 жыл бұрын
hi Hank, this video encourage me to learn genie and pyats to use on my network devices. i am try to learn my network device with genie and failed. i work with cisco WLC Wism2 and genie cannot connect with my wism. Can you help about this issue or a link or any info how to use genie with cisco wism?
@Erickim0034 жыл бұрын
Hi Hank , Thanks so much sharing your network automation resource. I am learning pyATS now , but I got error when I run below cli , but can't fidn where is wrong . (genie) [jkim3@ipam01 examples]$ genie learn interface --testbed testbed.yml --devices ios --output learn Enter enable password for device TJCC_S1: Enter enable password for device TJCC_S2: Enter enable password for device TJCC_S3: Enter enable password for device TJCC_S4: Learning '['interface']' on devices '['ios']' local variable 'dev' referenced before assignment Could you let me know how can i fix it? Thanks
@IQ886125 жыл бұрын
Hi Mr. Preston, it would be so nice if you can give us a simple tutorial or put some resources for developing SDN applications using python, I'd really appreciate that
@steeple0015 жыл бұрын
Thank you for all the great work on network automation Hank. I'm trying to use ssh in my test bed and I don't want to use tacacs, can I specify local login and ssh in the testbed-file?
@HankPreston5 жыл бұрын
Steven Singh your welcome! And you can use local logins, but they’ll still be labeled TACACS in the testbed file. None of my setups use TACACS either.
@steeple0015 жыл бұрын
@@HankPreston Hi Hank I dont know where im going wrong with the testbed file tried ssh and telnet with a variety of formats for the testbedfile but none of them actually connect. is there anywhere you could recommend that i can find a sample for a bunch of n9k's ?
@adomasbanevicius91904 жыл бұрын
Hi, could someone point me on how to create inventory file for genie without knowing the hostname in advance. I want to throw a list of mgmt IP's and get the genie learn do to it's discovery. But for genie to parse the inventory file it has to include hostnames which show up in the CLI prompt. I don't want to run a separate SNMP discovery just for getting the mapping of hostname against IP.
@HankPreston4 жыл бұрын
When you connect to the device you can learn_hostname = "True" Something like `device.connect(learn_hostname=True)`
@adomasbanevicius91904 жыл бұрын
@@HankPreston thanks, this is what I needed
@christostz03 Жыл бұрын
Hello Hank! I'd like to ask whether there is any actual difference between pyats and genie cli commands. If i am not mistaken the output of both is the same. I know Genie comes from PyATS but why then don't we use the equivalent PyATS cmd instead of Genie. E.g pyats parse "show version" --testbed-file testbed.yml --output version genie parse "show version" --testbed-file testbed.yml --output parse_version Best Regards,