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.
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.
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!
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...
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.
That was pretty fun. Really cool to see your workflow.
Noice! Good demo of the CI flow at the end there on Git
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.
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.
Love the video, so easy to follow!
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.
I just used a RegEx cheat sheet and RegEx101.com to be honest
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!
This is a nice video. Will you happen to create API from scratch?
Did you publish the parsers you wrote?
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...
FDB stands for Forwarding DataBase
This is gold
Hi,
how the tester.py and testbed.yaml got connected in the showmacaddresstable.py
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.