Genie makes all your network automation wishes come true (most of them)! Hank Preston explains.

Sdílet
Vložit
  • čas přidán 7. 08. 2024
  • Wow! Today your network automation work changes. Genie makes network automation so easy! Thank you Hank for sharing this with us! Genie conversation starts here: 3:38
    Genie: Network Testing Library for pyATS - make all your network automation wishes come true!
    #genie #pyats #python
    pyATS and Genie on DevNet: bit.ly/2IL0V5x
    Hank's Demo Repo for Genie CLI: bit.ly/2ZmTQOh
    NetDevOps Live! Video on pyATS and Genie: bit.ly/2VeDQ1z
    Hank's Personal CZcams Channel: bit.ly/2VZOztZ
    pyATS and Genie on GitHub: bit.ly/2DtShEZ
    pyATS: pyATS provides the test framework foundation to the whole this ecosystem. It specializes in data-driven and reusable testing, and is engineered from ground up to be suitable for Agile, rapid development iterations.
    Being highly-pluggable, pyATS is designed to enables developers start with small, simple and linear test cases, and scale towards large, complex and asynchronous test suites.
    Genie: THE pyATS development SDK
    Genie builds on top of the pyATS foundation, and provides a Pythonic library and reusable testcase-pool solution for pyATS-based test scripts and suites.
    Genie comes out of the box with all the bits needed for Network Test Automation. It redefines how network engineers perform testing and scripting, focusing instead on readily available, holistic and model-driven libraries.

Komentáře • 61

  • @davidbombal
    @davidbombal  Před 5 lety +7

    Links:
    Genie conversation starts here: 3:38
    pyATS and Genie on DevNet: bit.ly/2IL0V5x
    Hank's Demo Repo for Genie CLI: bit.ly/2ZmTQOh
    NetDevOps Live! Video on pyATS and Genie: bit.ly/2VeDQ1z
    Hank's Personal CZcams Channel: bit.ly/2VZOztZ
    pyATS and Genie on GitHub: bit.ly/2DtShEZ

  • @patoco817
    @patoco817 Před 5 lety +10

    If it were not for Mr Bombal, I'm sure I would still be pecking along terminal windows until the end of days... Thanks David for all the great content you create and host. Because of you i found my way into NetDevOps. Truly changed my career/life for the better!! Keep up the great work helping us network engineers step into the future of our roles.

  • @SledgeFrimpong
    @SledgeFrimpong Před 5 lety

    Its always brain soothing to watch your videos. Thanks you always. And I need the stickers too :)

  • @pedropaixao1992
    @pedropaixao1992 Před 5 lety

    Excellent information and very well exposed. I will start investigate this on my network environment.
    You both are responsible for my interest in learning python for network automation.
    Thanks to David and Hank.

  • @MoAlaaElden
    @MoAlaaElden Před 3 lety

    many thanks to all of you.

  • @naingaung7827
    @naingaung7827 Před 5 lety

    Thank you very much. Mr.David. waiting next weekend.

  • @johnmichaelechavez7426

    Thank David. I feel so exited on this.

  • @mehdi-lp6kd
    @mehdi-lp6kd Před 4 lety

    Thank you both.

  • @AbuAhmedAlsudani
    @AbuAhmedAlsudani Před 3 lety

    Thanks to Cisco Team ❤️❤️❤️ and you too David.❤️❤️❤️

  • @raymondwishart540
    @raymondwishart540 Před 5 lety +1

    Looking forward to DevNet at Cisco Live!

  • @hafizmatti824
    @hafizmatti824 Před 3 lety

    I want the sticker you and Hank Preston have been amazing talents to the networking community God will continue to bless you guys.

  • @tajsindhu
    @tajsindhu Před 3 lety

    like it thanks.. going to try it..

  • @resistance9660
    @resistance9660 Před 5 lety

    Good stuff code lord!

  • @LawrenceBird3
    @LawrenceBird3 Před 3 lety

    I still don’t see how we can test before the code gets into prod...? I see in XPRESSO the concept of LaaS but no examples of how to use it..

  • @mape556
    @mape556 Před 5 lety

    I would love a code-lord sticker too!

  • @chiyupao5497
    @chiyupao5497 Před 3 lety

    does it support other vendor network devices?

  • @bmp52
    @bmp52 Před 4 lety

    I'm having issues with getting genie working. I followed the steps in the documentation had have pyats and genie installed in a python 3.6.9 virtual environment on Ubuntu 18.04. When I run the command: genie create testbed --output yaml/testbed.yaml --encode-password I get the error: pyats.topology.loader is a required dependency for this command. 'None' source cannot be found. If I create devices.yaml and place it in the same virtual environment directory and run the command: genie learn interface --testbed devices.yaml I get the error: Argument should be a path to a pyATS testbed file, or a pyATS Testbed object not devices.yaml Is there a way to make devices.yaml a testbed object? Has anyone else run into this issue?

  • @anthonykahwati5999
    @anthonykahwati5999 Před 5 lety +1

    Great video guys.... trying to follow along but I cannot install genie on my Ubuntu machine. Has anyone else had issues?
    I run sudo pip3 install genie and it installs OK. I then run any genie command and get the a long error about frozin importlib with the following line at the very end....:
    ImportError: Cannot import genie_yamls module.
    Any suggestions or known issue? Have posted on stack overflow and devnet as well.

    • @vardd0505
      @vardd0505 Před 5 lety +1

      Hi Anthony Kahwati,
      I saw you sent us an email at pyats-support-ext AT cisco.com; but here's the answer for all
      Genie needs to be run from a Python virtual environment. Please create a virtual environment. Eg:
      mkdir ~/pyats_genie
      cd ~/pyats_genie
      python3 -m venv .
      source bin/activate
      pip install genie
      Thanks!

    • @anthonykahwati5999
      @anthonykahwati5999 Před 5 lety +1

      Thank you. And the solution worked perfectly.

  • @meylaul5007
    @meylaul5007 Před 3 lety

    14:00 "DON'T TOUCH ME" ...the irony.

  • @christostz03
    @christostz03 Před rokem

    Hello David, Hello Hank!
    I'd like to ask ...
    Practically is there a difference between
    pyats and genie when parsing a cmd or learning a module ?
    If i am not mistaken, no.
    Am i correct ?
    Best Regards guys!!!

    • @cahangirismayilov9702
      @cahangirismayilov9702 Před rokem

      What do you mean by parsing a cmd?

    • @christostz03
      @christostz03 Před rokem

      @@cahangirismayilov9702 both pyats and genie have parse and learn.
      What is, practically, the difference between pyats parse, genie parse and pyats learn, genie learn
      I guess it is the same output, since genie's base is pyats

    • @cahangirismayilov9702
      @cahangirismayilov9702 Před rokem +1

      @@christostz03 yes it is the same, it just naming. In the beginning it used to be just pyATS, however Genie features started to stand out, so those terms are used interchangeably now.

  • @66hariskhan
    @66hariskhan Před 5 lety

    I want one, please!

  • @mikewhitney7345
    @mikewhitney7345 Před 5 lety

    I have been following the last couple videos about Genie CLI and have what I believe is a good testbed file, it logs in but doesn't execute any of the learn args I ask for, ospf and interfaces. When it returns it says failed to connect but when I look at the output it has logged into the device and just sits there, so I am not sure if my device type or os is wrong but it follows your testbed you show in the video. I am using telnet on one of my test devices and ssh with another and each do the same thing. Maybe it's not recognizing the prompt so it can move on is the only idea I have.
    Any one else seeing this behavior?
    Love the videos and content I just am stuck at the moment and wanting to really harness the power of automation. Take care

    • @vardd0505
      @vardd0505 Před 5 lety +2

      Hi Mike;
      Genie lead/developer here; Most likely your device prompt is not matching the one you have in your yaml file. The device name in the yaml and the prompt must be the same;
      nx-osv-1#
      devices:
      nx-osv-1:
      Then it will work
      You can send us an email at pyats-support-ext AT cisco.com for better support!

    • @mikewhitney7345
      @mikewhitney7345 Před 5 lety

      @@vardd0505 Case sensitivity got me, that is a key piece that I missed I guess. Thank you so much, it is running now.

    • @vardd0505
      @vardd0505 Před 5 lety

      @@mikewhitney7345 Perfect!

    • @mikewhitney7345
      @mikewhitney7345 Před 5 lety

      @@vardd0505 Spoke too soon, now I am getting an error back on the interface learn, it is a physical Cat9516 and I have it set for iosxe. version 16.9.3 on the 9500. OSPF pulled just fine. Just happy I was able to access, the rest I know will be addressed. Figured I was doing something wrong. Thank you for your assistance!!

    • @vardd0505
      @vardd0505 Před 5 lety +1

      @@mikewhitney7345 For the interface issue; can you send us the device output + exception file to pyats-support-ext AT cisco.com we will address and release a new package.
      Glad everything else worked!

  • @AbuAhmedAlsudani
    @AbuAhmedAlsudani Před 5 lety

    Hey, Guys, It's an amazing video.
    But when I want to install PyATS in my Ubuntu (it has python 2.7 by default and I installed python3 on it ) it's not installed, what can I do to install it correctly.
    Thanks in advanced

    • @SimingYuan
      @SimingYuan Před 5 lety

      In ubuntu, pip is for Python2, use pip3 instead - that's for python3. Though - pyATS/Genie at the moment still requires a python virtual environment, so do:
      python3 -m venv ~/pyats
      source ~/pyats/bin/activate
      pip install pyats genie

    • @AbuAhmedAlsudani
      @AbuAhmedAlsudani Před 5 lety

      @@SimingYuan Thanks, It's helped me and it works properly.

  • @yawoviakakpo3228
    @yawoviakakpo3228 Před 5 lety

    This is very exciting. I have to learn Python ( code lord, you are a genius) #Geniecisco

  • @TheSony7up
    @TheSony7up Před 4 lety

    genie still not available for windows. Its a bummer.

  • @profetaII
    @profetaII Před 5 lety

    I want one sticker!

  • @davejohnson392
    @davejohnson392 Před 5 lety

    Will pyATS/Genie get ported to Windows?

    • @llellouche
      @llellouche Před 5 lety

      Dave Johnson I think it can be used regardless of the OS just pip install pyats genie and you are good to go

    • @davejohnson392
      @davejohnson392 Před 5 lety

      @@llellouche from the pyATS website:
      Requirements
      pyATS currently supports Python 3.4+ on Linux & Mac systems. Windows platforms are not yet supported.
      From developer.cisco.com/docs/pyats/#!requirements
      Platform
      pyATS & Genie is designed to run from a Linux (or Linux-like*) environment. Here are some example platforms you can install on.
      Any flavor of Linux, eg: Ubuntu, CentOS, Fedora, etc.
      macOS (or formerly, Mac OSX)
      Windows Subsystem for Linux
      Docker containers
      The confusing one is: Windows Subsystem for Linux
      . Does that mean it will work on Windows?

    • @vardd0505
      @vardd0505 Před 5 lety +2

      @Abraham Avila Garcia Exactly, just run with WSL and it will work fine.

    • @SimingYuan
      @SimingYuan Před 5 lety

      @@davejohnson392 WSL is the way to go!

  • @paulpattersonjr6841
    @paulpattersonjr6841 Před 4 lety

    Sticker Requested!!!!

  • @syphax260
    @syphax260 Před 5 lety

    I WANT A STICK TOO !

    • @davidbombal
      @davidbombal  Před 5 lety +2

      lol.. I'll ask Hank if he can make stickers available!

    • @sujiibenz
      @sujiibenz Před 5 lety

      @@davidbombal hahaha

  • @leomjb
    @leomjb Před 5 lety

    Send me one that code lord sticker 😁

  • @catharsis222
    @catharsis222 Před 5 lety

    Chris Pratt or Dan Crenshaw?

  • @fracjackmac
    @fracjackmac Před 4 lety

    CODE LORD!!!! :-)

  • @cenkkoc79
    @cenkkoc79 Před 5 lety +1

    Can I have one of the #codelord sticker

  • @jewelbennett7325
    @jewelbennett7325 Před 3 lety

    Glad it wasnt black hole null dev🤔

  • @atyagi77
    @atyagi77 Před 5 lety

    It's been much time seeing any good training from u. Now seems focus to be a motivational speaker /ccna trainer or sponsoring interviews only.
    Please understand that ur student needs a thorough training with u and these discussions on technology are not much help. Plz only u learn from these so called gurus and then prepare some good material for ur students, that we can understand. We respect u a lot as teacher and waiting for a good training on latest technologies.

    • @davidbombal
      @davidbombal  Před 5 lety +9

      Firstly - none of my videos are sponsored. It takes me a lot of time and costs me money to make these types of videos. What type of training are you missing me creating? These videos with Hank Preston are cutting edge and provide a lot of information about the latest technology trends. I cannot be an expert in everything - hence me talking to people in the industry. They share their expertise with all of us. I do have many courses on Udemy that cover a lot of technologies in depth. Not sure which type of content you are looking for? I have over 800 videos on my CZcams channel that cover a lot of technologies. A lot of people really enjoy the motivational videos and there is a very large audience for CCNA content. I cannot be everything to everyone, but I do try to cover a large number of topics. Not sure what you feel is missing?

    • @llellouche
      @llellouche Před 5 lety +4

      Anurag Tyagi to be completely fair your comment is selfish and so wrong he always put on good content, it doesn't suits you maybe no biggie just don't watch but to try and minimize the value of cutting edge technology is just wrong. So you had specific content you want just look for it without trying to put people down

  • @lyacinekhima9919
    @lyacinekhima9919 Před 5 lety

    I want one sticker!