Profile and Test your Network with Genie CLI - No Code Needed!

  Рет қаралды 7,108

Hank Preston

Hank Preston

Күн бұрын

Пікірлер: 22
@patoco817
@patoco817 5 жыл бұрын
Great video Hank!! It is pretty awesome that you take the time to help the rest of us catch up with the times!
@theccieguy
@theccieguy 7 ай бұрын
I think you have a future in this
@MrAlessandroEsposito
@MrAlessandroEsposito 4 жыл бұрын
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!
@spacechecker4983
@spacechecker4983 4 жыл бұрын
i've read that using sudo with pip is not recommended
@IPvZero
@IPvZero 5 жыл бұрын
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.
@giorgiotosi7004
@giorgiotosi7004 4 жыл бұрын
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 :-)
@HankPreston
@HankPreston 4 жыл бұрын
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.
@mikewhitney7345
@mikewhitney7345 5 жыл бұрын
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.
@giorgiotosi7004
@giorgiotosi7004 4 жыл бұрын
Great Stuff !
@techevangelist8373
@techevangelist8373 4 жыл бұрын
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..
@rolandsidabutar
@rolandsidabutar 4 жыл бұрын
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?
@Erickim003
@Erickim003 4 жыл бұрын
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
@IQ88612
@IQ88612 5 жыл бұрын
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
@steeple001
@steeple001 5 жыл бұрын
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?
@HankPreston
@HankPreston 5 жыл бұрын
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.
@steeple001
@steeple001 5 жыл бұрын
@@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 ?
@adomasbanevicius9190
@adomasbanevicius9190 4 жыл бұрын
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.
@HankPreston
@HankPreston 4 жыл бұрын
When you connect to the device you can learn_hostname = "True" Something like `device.connect(learn_hostname=True)`
@adomasbanevicius9190
@adomasbanevicius9190 4 жыл бұрын
@@HankPreston thanks, this is what I needed
@christostz03
@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,
Network Service Based Automation Part 1 - The Experience
26:12
Hank Preston
Рет қаралды 6 М.
Picking your First Network Automation Project Close
52:44
Cisco DevNet
Рет қаралды 10 М.
ضربت اختها هي وعم تعمل عرض ازياء 🥹 #youtubeshorts #baby
00:12
Maria & Cataleya Official
Рет қаралды 2,9 МЛН
АЗАРТНИК 4 |СЕЗОН 2 Серия
31:45
Inter Production
Рет қаралды 838 М.
Running With Bigger And Bigger Feastables
00:17
MrBeast
Рет қаралды 203 МЛН
Python, Genie and CSV Files = Easy Network Automation (DevNet)
51:33
Cisco NSO - A Single CLI and API for Your Network
19:55
Hank Preston
Рет қаралды 6 М.
Automate your network with Nornir - Python automation framework
48:23
Exploring Genie Conf for Pythonic Device Configuration
12:56
Hank Preston
Рет қаралды 2,8 М.
Network Engineers are Developers! No more excuses.
1:12:56
David Bombal
Рет қаралды 12 М.
ضربت اختها هي وعم تعمل عرض ازياء 🥹 #youtubeshorts #baby
00:12
Maria & Cataleya Official
Рет қаралды 2,9 МЛН