pyATS | Genie - Getting Started!

Поділитися
Вставка
  • Опубліковано 1 жов 2024
  • WOW, what an amazing tool that the Cisco DevNet team has gifted to us. This thing does it all, and in this video, we will go from 0 to up and running. Let's check out how to parse data from a Cisco IOS device (3750G) to JSON, as well as compare config snapshots.
    ➡️Visit DataKnox: knoxhutchinson...
    ➡️Need training? Check CBT Nuggets: learn.gg/dataknox
    Training!
    CBT Nuggets: learn.gg/dataknox
    ENCOR: learn.gg/encor...
    ENAUTO: learn.gg/enauto2
    PowerShell 7: learn.gg/ps7-d...
    *Below you will find what are known as affiliate links. Basically, links to really great stuff I use that, if you buy, I will receive a super small kickback that helps support this channel. Thanks!!*
    (BOOKS, GEAR, and STUFF I USE)
    Amazon Affiliate Store: amazon.com/sho...
    Boson Pracitce Exams: bit.ly/3dRXDKr
    Dell R720 2U server: ebay.to/2MUZZMP
    Cisco 3750G Switch: ebay.to/2YsGuQQ
    Cisco 3650 IOS-XE Switch: ebay.to/3fnVRkt
    Cisco 3850 IOS-XE Switch: ebay.to/2XZ0ko2
    Get ESXI 7.0: my.vmware.com/...
    ----------------------------------------------------------------------------------------------------------------
    🤝🤝🤝JOIN THE Cisco Routing and Switching FACEBOOK STUDY GROUP: bit.ly/2A3vah0
    🤝🤝🤝JOIN THE CCNA/CCNP Collaboration FACEBOOK STUDY GROUP: bit.ly/2FEE9aH
    ----------------------------------------------------------------------------------------------------------------
    mcsa vcp mcse mta tshoot 300-135 az-900 az 900 az900 Microsoft Azure Devnet Associate
    Cisco Devnet Associate
    CCNP Enterprise
    CCNP Security
    CCNP Data Center
    CCNP Service Provider
    CCNP Collaboration
    Cisco Certified Devnet Professional
    Cisco Certified Network Professional
    CompTIA Linux+
    Linux+
    Ethical Hacking
    Hacking
    #CBTNTrainer #ccna #ccie

КОМЕНТАРІ • 61

  • @taoli5497
    @taoli5497 4 роки тому +2

    ua-cam.com/video/GhkkOxLheRY/v-deo.html git clone github.com/CiscoTestAutomation/examples

  • @netdevgamer
    @netdevgamer 4 роки тому +7

    Loved it!! I am not sure if I had a different version of pyATS.. , below command needed an "interactive" word ([source]) to get it work. But it was all good.
    Genie create testbed interactive --output yaml/testbed.yml --encode-password

  • @kielmoreland7704
    @kielmoreland7704 3 роки тому +2

    Great video Knox, as always. I saw in the comments below that someone was struggling with the step concerning the creation of the yaml testbed file, and how it would throw a fit asking for the [source] rather than simply than creating it automatically as shown in the video by Knox. I ran into this issue in both my Ubuntu 20.04 WSL and Ubuntu VM environments, and after doing some digging, thanks to a Reddit link shared by Patrick below, I finally got past the testbed file step by using the following command:
    genie create testbed interactive --output yaml/testbed.yml --encode-password
    (pubhub.devnetcloud.com/media/genie-docs/docs/cli/genie_create.html)
    I am running pyATS version 20.10. Forgive me, I'm not entirely sure why this command works rather than the command that Knox showed in the video, perhaps a change in pyATS versions...? The above command worked in my WSL and Ubuntu VM environments. I ran Knox's tutorial through WSL just to see if it would work and so far so good, and here's a screenshot of the parsed data from my core switch just for "proof" that WSL works:
    app.box.com/s/q0eyq03r0l5csynr6w596xdk4m13jros
    Hope this is helpful.

  • @dv7045
    @dv7045 2 роки тому

    the following arguments are required: [source]
    pip install pyats.contrib
    pyats create testbed interactive --output yaml/testbed.yaml -encode-password

  • @PyCloud
    @PyCloud 2 роки тому

    Could any one give me a hand ? I got this error while running the example.
    The result of section simple_test_1 is => FAILED

  • @miscelaneousVideos
    @miscelaneousVideos 4 роки тому

    if you guys want to see live config changes being made check this repo.
    github.com/NetDevLazg/cisco-conf-log

  • @wsullivan
    @wsullivan 2 роки тому

    Great Vid man, super concise, love it - i cant help but see and hear Charlie Day though.....any relation?

  • @natalka1122
    @natalka1122 4 роки тому +1

    It seems that pyATS does work from FreeBSD. What a pity, that's the only OS on servers I have connected to my managed devices!

  • @SimingYuan
    @SimingYuan 4 роки тому +4

    this is an awesome video on pyATS! Thank you for this awesome video.

    • @DataKnox
      @DataKnox  4 роки тому

      You bet!!

    • @DataKnox
      @DataKnox  4 роки тому

      It’s an awesome tool. Made my job easy!

  • @paullukacs9321
    @paullukacs9321 4 роки тому +1

    Hey Data, awesome summary of the capabilities of pyATS and GENIE. Can you point me to documentation explaining how I can schedule snapshots and push any differences to either Webex or Microsoft Teams?

    • @DataKnox
      @DataKnox  4 роки тому

      Check this out for pointers! ua-cam.com/video/MgK-hbCSUeY/v-deo.html

  • @frankiefuryland
    @frankiefuryland Рік тому

    Got the pyats tested command working. At time of writing (May 2023) this command provides the result:
    genie create testbed interactive --output yaml/testbed.yml --encode-password
    The interactive portion replaces the [SOURCE] part of the command to state your inputs will be the source.
    Best of Luck, everyone!

  • @MrDinoc
    @MrDinoc 3 роки тому

    Daaaam, that is cool

  • @ninifel
    @ninifel 4 місяці тому

    Absolutely awesome ! In 10 minutes, I learn all what I was looking for since 3 weeks. Thank you so much. Truly appreciate your video's.

  • @AnthonyFranklinIsr
    @AnthonyFranklinIsr 4 роки тому +1

    Love this guy. First time watching his videos. Very efficient; gets the job done quickly, if you need to get started with Genie and pyATS, this is a great video.

  • @charlesyaw6514
    @charlesyaw6514 Рік тому

    Genie is genius!!!!

  • @dv7045
    @dv7045 2 роки тому

    2021 *do not work

  • @snipacode7382
    @snipacode7382 3 роки тому

    I noticed you used "show vlan" and "show version" with pyATS. Will this work on "show run?" I ask because Netmiko will not work on "show run."

  • @sudiptoecebhaduri
    @sudiptoecebhaduri Рік тому

    Hello Sir, thanks for Pyats intro. I am using Robot framework(test automation) to do all the stuff that you said. Just wanted to know the difference between Pyats and Robot.

  • @mtnsolutions
    @mtnsolutions 11 місяців тому

    love it

  • @manabmitra3653
    @manabmitra3653 4 роки тому

    It's a great video and really helped me to start pyATS. I actually tested this in an lab environment and it worked as mentioned in the video. Is there any way we can creat a snapshot of received route/ospf routing table and compare.

  • @Robertbautistajr
    @Robertbautistajr 4 роки тому

    Data Knox! Thank you for this video! I was struggling getting started but your video was perfect. Really appreciate it!

  • @TheRedProject
    @TheRedProject 4 роки тому

    Hey is there any reason python venv is extremely slow installing packages?

  • @pedrohenriquediniz8229
    @pedrohenriquediniz8229 4 роки тому

    Great video cause it gives us a short brief of all the potential of the tools in a short video giving real examples.

  • @bolonabolona
    @bolonabolona 4 роки тому

    Can we use ssh key instead of password to login into the devices ?

  • @alexeyleontiev7388
    @alexeyleontiev7388 4 роки тому +1

    Awesome, what book/guide would you recommend to deep understand pyats?

    • @DataKnox
      @DataKnox  4 роки тому +1

      I added a link to their docs in the description! Definitely where I would start

    • @alexeyleontiev7388
      @alexeyleontiev7388 4 роки тому

      @@DataKnox Thanks!

    • @mikearrera8672
      @mikearrera8672 4 роки тому

      The pyATS documentation is exceptional!

  • @rohitmethala3643
    @rohitmethala3643 4 роки тому

    Hi, I am trying to connect to a switch but pyats always stops at the prompt 'ISETACACSPASSWORD:' and does not go forward. Although, I am able to connect to devices that are not on ISE TACACS with Pyats. Could you please help me resolve this issue? Thank you

    • @DataKnox
      @DataKnox  4 роки тому

      May want to tweet the people at PyATS for support

    • @rohitmethala3643
      @rohitmethala3643 3 роки тому

      @@DataKnox thank you 🙂

  • @bmp52
    @bmp52 4 роки тому

    I followed the video tutorial and reviewed the pyats documentation but when I enter the command: genie create testbed --output yaml/testbed.yml --encode-password I get the following error: pyats.topology.loader is a required dependency for this command. 'None' source cannot be found. I get the same result if I create a excel or csv file according to the pyats documentation and include it . I installed pyats according to the video and also started over and installed pyats[full] but can't seem to get passed this issue. Has anyone else run into this error?

    • @DataKnox
      @DataKnox  4 роки тому

      Definitely sounds like something went wrong with the installer! 🤔

    • @bmp52
      @bmp52 4 роки тому +1

      Got this resolved. Please see www.reddit.com/r/CiscoDevNet/comments/fehpiz/pyatsgenie_testbed/?

  • @sedyyadollahi7110
    @sedyyadollahi7110 4 роки тому

    Excellent video! Great job showcasing pyATS|Genie!

  • @mustafasamer9082
    @mustafasamer9082 4 роки тому

    Thank you for the vid you're awesome, and does pyATS supports Mikrotik Routeros? or is there any parsing tool that support Mikrotik?

    • @DataKnox
      @DataKnox  4 роки тому +1

      Thanks! I don’t think it supports Mikrotik and I admittedly haven’t worked with that platform enough to know

    • @mustafasamer9082
      @mustafasamer9082 4 роки тому

      @@DataKnox ah okay, thanks

  • @tanyaflores2757
    @tanyaflores2757 4 роки тому

    Thanks for the great intro! Would you recommend Genie or TextFSM in parsing output from CLI?

    • @DataKnox
      @DataKnox  4 роки тому

      Within PyATS, you can use both!

    • @arjayjavier2750
      @arjayjavier2750 3 роки тому

      Does all the commands can parse in Genie? Its only limited commands can parse in textfsm

  • @DevNetDan
    @DevNetDan 4 роки тому

    Great vid! Exactly what I was looking for!

    • @DataKnox
      @DataKnox  4 роки тому

      Awesome! Glad it helped!

  • @mikearrera8672
    @mikearrera8672 4 роки тому

    Mr Knox, thank you for this continued awesome content. Really inspiring people, my friend!

    • @DataKnox
      @DataKnox  4 роки тому +1

      Thanks! Let me know what I’m missing or what can be better!

    • @mikearrera8672
      @mikearrera8672 4 роки тому

      @@DataKnox Can't think of anything! This content is quality and really helpful for us studying DevNet principles.

  • @jonathanlynn6397
    @jonathanlynn6397 4 роки тому +2

    This is the video I needed to watch :) PyATS rules!! Awesome content Knox!

    • @DataKnox
      @DataKnox  4 роки тому +1

      Thank you!

    • @jonathanlynn6397
      @jonathanlynn6397 4 роки тому +1

      @@DataKnox any chance this can be run within a python script? or is pyATS designed to be run externally in a CLI like your demo?

    • @DataKnox
      @DataKnox  4 роки тому +2

      Jonathan Lynn i legit just recorded a video on how to use genie in your own scripts. Coming soon!

  • @chr1z0r
    @chr1z0r 3 роки тому

    Austin Powers! :D Niiiiceeeee

    • @chr1z0r
      @chr1z0r 3 роки тому

      Very good introduction btw! Very usefull for my robot framework testing, thx

  • @estring69
    @estring69 3 роки тому

    Pyats keymaster...

    • @DataKnox
      @DataKnox  3 роки тому +1

      I am the Gatekeeper, are you the key master?