Creating a pyATS | Genie Parser from SCRATCH

  Рет қаралды 6,982

Data Knox

Data Knox

3 жыл бұрын

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-knox
ENAUTO: learn.gg/enauto2
PowerShell 7: learn.gg/ps7-dataknox
*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/shop/dataknox
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 жыл бұрын
That was pretty fun. Really cool to see your workflow.
@kenmurphy4259
@kenmurphy4259 3 жыл бұрын
Noice! Good demo of the CI flow at the end there on Git
@atypicaladult8720
@atypicaladult8720 3 жыл бұрын
Love the video, so easy to follow!
@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.
@IngleseAngel
@IngleseAngel 3 жыл бұрын
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.
@CakRama01
@CakRama01 3 жыл бұрын
This is gold
@clcartlidge
@clcartlidge 3 жыл бұрын
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 жыл бұрын
I just used a RegEx cheat sheet and RegEx101.com to be honest
@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!
@trecall2
@trecall2 3 жыл бұрын
This is a nice video. Will you happen to create API from scratch?
@karthickg11
@karthickg11 3 жыл бұрын
Hi, how the tester.py and testbed.yaml got connected in the showmacaddresstable.py
@Lukethenuke837
@Lukethenuke837 2 жыл бұрын
Did you publish the parsers you wrote?
@user-gk2cy8fu9c
@user-gk2cy8fu9c 5 ай бұрын
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.
@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
The Real Power Behind MPLS VPNs
18:43
Data Knox
Рет қаралды 3,9 М.
Creating pyATS | Genie Parsers and Unicon Connection Plugins
29:55
ТЫ С ДРУГОМ В ДЕТСТВЕ😂#shorts
01:00
BATEK_OFFICIAL
Рет қаралды 6 МЛН
IQ Level: 10000
00:10
Younes Zarou
Рет қаралды 12 МЛН
НЫСАНА КОНЦЕРТ 2024
2:26:34
Нысана театры
Рет қаралды 1,6 МЛН
Run Multiple Startup-Configs on the Same Topology in EVE-NG
11:35
I'm Back - The Year of Juniper Certifications
41:53
Data Knox
Рет қаралды 6 М.
pyATS Tutorial for Beginners | Getting started with Genie & pyATS
21:31
Connect EVE-NG to VOIP Phones and Wireless Access Points
15:04
Parse Cisco IOS to JSON with Python and Netmiko
17:15
Data Knox
Рет қаралды 21 М.
Profile and Test your Network with Genie CLI - No Code Needed!
34:30
Beyond OSPF: Constrained Shortest Path First (CSPF)
7:18
Data Knox
Рет қаралды 2,5 М.
SchoolBoy RunAway стрим прямая трансляция
4:18:41
Женя - JinDooDos
Рет қаралды 483 М.