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

Поділитися
Вставка
  • Опубліковано 30 вер 2024

КОМЕНТАРІ • 61

  • @davidbombal
    @davidbombal  5 років тому +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 UA-cam Channel: bit.ly/2VZOztZ
    pyATS and Genie on GitHub: bit.ly/2DtShEZ

  • @patoco817
    @patoco817 5 років тому +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.

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

    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..

  • @anthonykahwati5999
    @anthonykahwati5999 5 років тому +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 5 років тому +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 5 років тому +1

      Thank you. And the solution worked perfectly.

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

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

  • @raymondwishart540
    @raymondwishart540 5 років тому +1

    Looking forward to DevNet at Cisco Live!

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

    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?

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

    does it support other vendor network devices?

  • @cenkkoc79
    @cenkkoc79 5 років тому +1

    Can I have one of the #codelord sticker

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

    Glad it wasnt black hole null dev🤔

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

    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 3 роки тому

    like it thanks.. going to try it..

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

    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 Рік тому

      What do you mean by parsing a cmd?

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

      @@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 Рік тому +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.

  • @pedropaixao1992
    @pedropaixao1992 5 років тому

    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.

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

    genie still not available for windows. Its a bummer.

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

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

  • @naingaung7827
    @naingaung7827 5 років тому

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

  • @yawoviakakpo3228
    @yawoviakakpo3228 5 років тому

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

  • @SledgeFrimpong
    @SledgeFrimpong 5 років тому

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

  • @GoonCity777
    @GoonCity777 5 років тому

    Chris Pratt or Dan Crenshaw?

  • @AbuAhmedAlsudani
    @AbuAhmedAlsudani 5 років тому

    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 5 років тому

      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 5 років тому

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

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

    many thanks to all of you.

  • @leomjb
    @leomjb 5 років тому

    Send me one that code lord sticker 😁

  • @mape556
    @mape556 5 років тому

    I would love a code-lord sticker too!

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

    Sticker Requested!!!!

  • @johnmichaelechavez7426
    @johnmichaelechavez7426 5 років тому

    Thank David. I feel so exited on this.

  • @mehdi-lp6kd
    @mehdi-lp6kd 4 роки тому

    Thank you both.

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

    CODE LORD!!!! :-)

  • @resistance9660
    @resistance9660 5 років тому

    Good stuff code lord!

  • @66hariskhan
    @66hariskhan 5 років тому

    I want one, please!

  • @profetaII
    @profetaII 5 років тому

    I want one sticker!

  • @davejohnson392
    @davejohnson392 5 років тому

    Will pyATS/Genie get ported to Windows?

    • @llellouche
      @llellouche 5 років тому

      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 5 років тому

      @@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 5 років тому +2

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

    • @SimingYuan
      @SimingYuan 5 років тому

      @@davejohnson392 WSL is the way to go!

  • @mikewhitney7345
    @mikewhitney7345 5 років тому

    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 5 років тому +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 5 років тому

      @@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 5 років тому

      @@mikewhitney7345 Perfect!

    • @mikewhitney7345
      @mikewhitney7345 5 років тому

      @@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 5 років тому +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!

  • @syphax260
    @syphax260 5 років тому

    I WANT A STICK TOO !

    • @davidbombal
      @davidbombal  5 років тому +2

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

    • @sujiibenz
      @sujiibenz 5 років тому

      @@davidbombal hahaha

  • @lyacinekhima9919
    @lyacinekhima9919 5 років тому

    I want one sticker!

  • @atyagi77
    @atyagi77 5 років тому

    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  5 років тому +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 UA-cam 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 5 років тому +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