Why is Python better than Ansible? What is Nornir? Is AI important? Dmitry shares his views!

Поділитися
Вставка
  • Опубліковано 29 чер 2024
  • Dmitry tells us why he believes Python and Nornir are better than Ansible. He explains what Nornir is and how he became part of the core developer team of Nornir.
    Menu:
    Live Stream on Twitch: 0:32
    Dimitry's programming background and how he got into Cisco: 1:00
    Are you a Networker or Programmer: 6:32
    Nornir: 8:25
    Why is Python better than Ansible? 11:16
    Why is Nornir better (threading and other options)? 16:25
    Is Normir a Python version of Ansible? 22:27
    Can someone start with Nornir? 22:47
    Just get started: 28:28
    Are certifications important? 30:18
    Reasons to get certs: 32:40
    Would you still go for CCNA, CCNP, CCIE today? 34:08
    What is machine learning and AI? 36:50
    Dmitry's details:
    Twitter: / dmfigol
    Twitch: / dmfigol
    LinkedIn: / dmfigol
    UA-cam: / @dmfigol_live_archive
    Nornir:
    nornir.readthedocs.io/en/stable/
    Netmiko:
    github.com/ktbyers/netmiko
    NAPALM:
    github.com/napalm-automation/...
    Pyats:
    developer.cisco.com/pyats/
    Network to Code slack group:
    slack.networktocode.com/
    #Python #Ansible #Nornir
    Note: Travel and conference access courtesy of Cisco.

КОМЕНТАРІ • 59

  • @dmfigol_live_archive
    @dmfigol_live_archive 5 років тому +40

    David, thank you so much for having me! It was great meeting you for the first time and talking to you!
    I am looking forward to our next meeting (hopefully at CLUS!)

    • @nectar200
      @nectar200 5 років тому +3

      Great interview bro

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

      It was fantastic meeting you and talking with you Dmitry! Thank you for sharing your knowledge with us all.

    • @ristoshikongo7730
      @ristoshikongo7730 2 роки тому +1

      I've noticed your english and accent doesn't have to be as good as a native english speaker, because when you master your craft. It really puts your English on top of the world. It was my bigest concern especially if I have to apply for a job. Thanks Dmitry for reminding me once more and great interview David.

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

    Menu:
    Live Stream on Twitch: 0:32
    Dimitry's programming background and how he got into Cisco: 1:00
    Are you a Networker or Programmer: 6:32
    Nornir: 8:25
    Why is Python better than Ansible? 11:16
    Why is Nornir better (threading and other options)? 16:25
    Is Nornir a Python version of Ansible? 22:27
    Can someone start with Nornir? 22:47
    Just get started: 28:28
    Are certifications important? 30:18
    Reasons to get certs: 32:40
    Would you still go for CCNA, CCNP, CCIE today? 34:08
    What is machine learning and AI? 36:50
    Dmitry's details:
    Twitter: twitter.com/dmfigol
    Twitch: www.twitch.tv/dmfigol
    LinkedIn: www.linkedin.com/in/dmfigol/
    UA-cam: ua-cam.com/channels/S8yWZCX-fdxft8yFAffZCg.html
    Nornir:
    nornir.readthedocs.io/en/stable/
    Netmiko:
    github.com/ktbyers/netmiko
    NAPALM:
    github.com/napalm-automation/...
    Pyats:
    developer.cisco.com/pyats/
    Network to Code slack group:
    slack.networktocode.com/
    Note: Travel and conference access courtesy of Cisco.

  • @rakeshn5070
    @rakeshn5070 5 років тому +6

    This was a very good interview. Dmitry knows so much, it's difficult to get everything in one interview. Again python scripting is shown importance in network automation. It's fabulous to meet all networking gurus through your videos David. Thanks to you.

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

    We use Netmiko a lot in service provider land and is the only way to work in scale when you learn to multithread or turn you simple script into a worker microservice that can instantly scale to thousands for really big jobs. I have been looking at Nornir and it's nice that it affords multitasking to a new programmer without having to manage it. We already wrote our own multi processing and scaling solutions to employ Netmiko among other libs and they live in a datacenter behind an API service. The way Python threads share the parent process fits fairly well with the asynchronous nature of network device interaction. Pythons dreaded GIL is not as much of barrier in this specific use case unless you crank up the worker threads too high and/or they are too I/O heavy. Using multiprocessing can multiply your thread use further by essentially running the same script module multiple times in their own separate processor cores and interpreter instance to split the work but is a little harder to build and manage. You have to plan and break up the structure of your modules more carefully to fit that work style to get the best performance. I encourage new programmers to learn to multithread Netmiko as soon as they master doing simple tasks because it's the easiest to understand and implement. You will learn a lot and have a powerful tool at your disposal when you are done.
    Ansible is cool but it is not always the best tool for the job but is good to know because its popular. YAML is a great config language but when you start mixing programming logic into your business info it can become an ugly mess to maintain/test and is only so flexible. CSVs and spreadsheets make great quick disposable job controls and data sources but are best for human data exchange then digested into a system. Whatever you use make sure to get version control like Git.
    Netdevs should eventually learn at least the basics of using a database as their storage/data source because that's what SDN config orchestrators really are; databases with worker programs that act on that data wrapped in an API. A DB connection works like Netmikos connection handler and just as simple to learn. Python comes with SQLite3 built-in and is a portable single file database so you don't need a server or VM/emulation to use. You will learn the basics of SQL query languages and how to make you own simple databases to power your dream app. Using a real DB is a trivial step after that and allows you to do datacenter scale jobs like auditing 10K routers in 10 minutes. You can mine that data at will to generate reports for audits or learn insights about your network. DBs make a great I/O device for automation work because of its asynchronous behavior like network devices so it plays nicer with threading and can handle scale built in unless you use Oracle then you are doomed to fail because they ruin everything they touch.

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

      Fantastic, real world example! Thank you for sharing :)

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

    Thank you, Sir, for another great meetup!!!

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

    David thank you for interviewing one of our industry's mentors and a trail-blazer, Dmitry! You're an excellent interviewer, and the questions asked of Dmitry are questions many of us are asking ourselves and considering the implications of. This is an excellent, propitious video!

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

      Thank you! Dmitry is amazing! Hope you are well?

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

    Wow, what an amazing interview. Dmitry is incredibly sharp, easy to understand, and inspiring all at the same time!

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

    Thanks for the timestamps, excellent interview

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

    Very well done, thank you. The video description also is quite perfect!

  • @kgomado
    @kgomado 5 років тому +3

    Dimitry, you're a smart guy! This everchanging world needs more people like you to meet chanllenges!

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

    I’m taking Kirk Byers classes right now, and information like this is incredibly helpful. A perspective from someone who has professional experience using Python, Nornir, Ansible

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

      How was that class? I was thinking taking it too but needed a review.

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

      The class was Invaluable to my career and growth. I can’t recommend it enough.

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

      @@davidcarrasco Thank you. I'm also going to take it. Thank you.

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

      @@nycalien let me know how it goes. I’d be super curious

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

    Hi David.. we never see people like you for getting of best in everything with the free cost channel in this commercial world. You are giving best to us with free cost & always thankful for lot of your hard work. Thank you so much.

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

    really great to see someone so obviously highly intelligent yet also grounded and humble. Great interview

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

    Hi David, Love your work 💓

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

    great interview, great topics. Thank you guys! You´ve just said all I think about ansible and all the pain I feel when I have to make hard stuff (and debugging it...)

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

    Thank you David for delivering great educational and inspirational materials!

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

    Hello David, I'm not sure if you will this message but I just want to say it!
    * - You have chosen NOT to monetize your UA-cam channel. For this I respect you a lot. Ads are the reason why I have unfollowed guy with big beard and will never ever touch his videos. Is he despred to earn money from UA-cam while feeding his audience with 3-4 advertisments per video? It is really annoyng to learn something while ads interupt my concentration.
    * - Thank you for choosing NOT monetize your UA-cam channel! I'm just one of the many students who appreciate your decision to NOT feeding us with UA-cam ads, but rather with value content.
    * - I have BIG respect for you!!!
    Thank you Dave!

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

      LOL "guy with big beard"... we all know who :p

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

    Very good interview, Dimitry is very good I attended one of his presentations last year at CLUS on net dev and Asyncio I used his recommendations for logging into 200 routers in 30-45 minutes to 2-3 minutes which turn help we auto close and auto fix of devices will definitely look into the nornir!!!

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

      Wow, that's so cool! I can't express how glad I am to hear that such a niche session about Python asyncio made a difference for your network automation tasks.

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

    Great interview David

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

    He mentioned an article at about 21:34 for nornir to update Operating Systems. Could you also post that link? Great interview! I am standing this up as I watch this!

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

      Have a look here: pynet.twb-tech.com/blog/nornir/os-upgrade-p1.html and here: pynet.twb-tech.com/blog/nornir/os-upgrade-p2.html

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

      Thanks. I would really like to test this. Copying using SCP to over 300 devices via a VSAT network is not the best use of your time 😖

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

    David, please add Nornir and create GUI interfaces for our scripts in to your courses... Thanks for this video

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

    Hi David
    Great video

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

    David, what are your thoughts on GoLang for Network Engineers?

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

      Stuart gives a good answer here (he starts talking about Go and then compares to Python): ua-cam.com/video/YB_UGPDcXIs/v-deo.html

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

    25:42 Right Ansible version Dmitry , made me chuckle, Ansible is great but troubleshooting is pain ( I know -vvvv switch) , Also once you have this playbook working different version of ansible !!!! .

  • @AH-ps3uv
    @AH-ps3uv 4 роки тому +1

    Hello David, so i am assuming from the courses that you have on udemy that you have spent a fair share amount on stuff like netmiko/napalm as well as ansible, i am curious what is your opinion about this 'rather direct python instead of ansible' subject?

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

      I personally prefer Python. Especially with newer options like Genie and Nornir. Makes things a lot easier and I have a programming background so I prefer being able to "directly control my own destiny". However, a lot of others prefer Ansible.

    • @AH-ps3uv
      @AH-ps3uv 4 роки тому +1

      @@davidbombal top, thx for the reply it gives a good insight about other peoples opinions. by the way your udemy course about python network automation is awesome, so are Dmitry Figol his streams.

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

    I think certifications are a guide and show the level of knowledge you have and from there depends on learning more and expand on the level of knowledge you have. For me I think is a good way to measure a skill and the expansion of knowledge and skills will always depend on the person.

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

    David...how about a combination of the two for being a network automation engineer, for ex. get your CCNA or CCNP and then Python programming education and do both! A hybrid of the two. I like networking and programming both but I don't want to fry my brain to get CCIE. Would CCNA and good Python programming skills be enough? Why are you always pushing the CCIE?

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

      I have often said and so have most of the people I interviewed that you should get your CCNA & CCNP and work on Python. For example, once you have your CCNA, then start with Python and try to learn Python at the same time as studying for your CCNP. Best to have both. I only mention CCIE in a lot of videos because people ask me about CCIE vs Python. It is up to you if you want to get a CCIE - I am not pushing everyone to become a CCIE - it is your choice :)

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

    Ansible assert module takes care of syntax check. Coupled with regex is quite powerful...

  • @ebenezerawuah-asomaning4868
    @ebenezerawuah-asomaning4868 5 років тому

    David please what phone do you use, will be very happy to know

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

      I have an iPhone X and iPhone XS Max which I use for recordings. The one camera in this video is an iPhone XS Max and the audio recordings are taken on an iPhone X.

    • @ebenezerawuah-asomaning4868
      @ebenezerawuah-asomaning4868 5 років тому

      Thanks for the infomation

  • @BobbyWilliams39443
    @BobbyWilliams39443 5 років тому +3

    I agree with Dmitry that using raw python is better than ansible. However, I now choose Golang hands down. Goroutines will kill python threads any day....even python’s async io.

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

    Is the link to nomir working? Not working for me. Oh got it, Nornir.

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

    Hi Dmitry!

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

    Glad I viewed this video. I know more Python than Ansible.

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

    If he codes live, that means he knows what he's doing ;)

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

    What I love about listening to people that are smarter than myself is that I have no clue what they are discussing.

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

    I too, love to hate on Ansible.

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

      lol... everyone has their favourite and hated automation tools :)

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

    First big like