Creating a pyATS | Genie Parser from SCRATCH

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ส.ค. 2024
  • In this video, I'm going to create a parser for Dell OS6 specifically for the "show mac address-table" command from scratch!
    Videos:
    Create a python dev environment: • Create a Python Dev En...
    Create a pyATS dev environment: • Use PyATS in a Contain...
    Developing pyATS parsers and Unicon: • Creating pyATS | Genie...
    ===========================================================
    ➡️Visit DataKnox: dataknox.dev
    ➡️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 ENCOR Exams: bit.ly/3dRXDKr
    Boson ENARSI: bit.ly/2Yvh0DS
    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
    Cisco ISR 1113 IOS-XE Router: ebay.to/2zNztSA
    ----------------------------------------------------------------------------------------------------------------
    🤝🤝🤝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

ความคิดเห็น • 15

  • @sauvus
    @sauvus 3 ปีที่แล้ว +1

    That was pretty fun. Really cool to see your workflow.

  • @kenmurphy4259
    @kenmurphy4259 3 ปีที่แล้ว +1

    Noice! Good demo of the CI flow at the end there on Git

  • @IngleseAngel
    @IngleseAngel 3 ปีที่แล้ว +2

    Hi, nice video! are you planning to do some other topics regarding Parsers? I really liked this and looking forward to see or maybe build a few myself. Just a hint: VMWare parsers. And VPN S2S command parsers could be aswesome.

  • @jaynj908
    @jaynj908 3 ปีที่แล้ว

    I borrowed that piece of code for line 77 to see if regex could help with my filename format script. I literally cannot believe I got it to work. The code is not shorter but it looks allot more professional and it will work on all my files without all the if statements and omit word list I had.

  • @atypicaladult8720
    @atypicaladult8720 3 ปีที่แล้ว

    Love the video, so easy to follow!

  • @clcartlidge
    @clcartlidge 3 ปีที่แล้ว +2

    Great content Knox as usual, do you have any vids on getting your regex chops up to speed? I feel like regex is a really weak point for me.

    • @DataKnox
      @DataKnox  3 ปีที่แล้ว +1

      I just used a RegEx cheat sheet and RegEx101.com to be honest

  • @CakRama01
    @CakRama01 3 ปีที่แล้ว

    This is gold

  • @user-gk2cy8fu9c
    @user-gk2cy8fu9c 6 หลายเดือนก่อน

    Great Video. Thank you very much, it helped getting to know the structure of pyats. Also interesting to see your thought process going over it.
    But i have an issue with the code: I think it contains a bug:
    As you can see in your mac address-table sample output, you got from the device, it is possible for mac addresses to appear more than once. See the first and last row of the mac table. So using the mac address as a key isnt really sufficient. I think this happens for the mac addresses of the own VLAN Interfaces.
    While i like your coding style in general, i think that your approach to the tests is not that great. You using the output of the code, you want to test, completely defeats the purpose of the test in the first place. I get that it is hard to write tests but because you chose the lazy way, it didnt catch your bug there.

  • @trecall2
    @trecall2 3 ปีที่แล้ว

    This is a nice video. Will you happen to create API from scratch?

  • @Lukethenuke837
    @Lukethenuke837 2 ปีที่แล้ว

    Did you publish the parsers you wrote?

  • @exequielgop
    @exequielgop 3 ปีที่แล้ว

    Hi Knox! I hope that you are doing very well! Thanks for your videos! I'm thinking join to CBT Nuggets, but my English for understanding videos is not the best, for that reason, do you know is possible have subtitles on the platform or modify a speed of the videos (slower)? Thanks!

  • @karthickg11
    @karthickg11 3 ปีที่แล้ว

    Hi,
    how the tester.py and testbed.yaml got connected in the showmacaddresstable.py

  • @leonheartsss
    @leonheartsss 3 ปีที่แล้ว

    Great content Knox. For the "show mac address-table", it does show up on the Genie parser doc: pubhub.devnetcloud.com/media/genie-feature-browser/docs/#/parsers
    So it's definitely somewhere in the library. It turns out that it's embedded in "show_fdb". I think FDB = Field Programmable Device. Weird name to use if you ask me...

    • @zmania101
      @zmania101 9 หลายเดือนก่อน

      FDB stands for Forwarding DataBase