Closed govardhan271 closed 5 years ago
Unfortunately I don't have the cycles to keep maintaining this project so as of now it's officially abandoned. If someone wants to fork the project and maintain it don't hesitate to contact me to add a link to the fork and direct existing and new users to the new fork. However, I'd recommend checking the following alternative:
Yangify has a cleaner interface that is easier to maintain and happens to be orders of magnitude faster and also more memory efficient.
If you are an existing user of napalm-yang and are worried about this announcement and/or want help migrating to some other project don't hesitate to contact me.
Writing Parser for mikrotik-ros device?
1) How to select the parser type for ROS device? 2) What is the command similar to show running-config all command in eos and nxos device? 3) How the parser implementation is to be done, I mean writing the regex to parse the data?
I was able to get the data from device, but to parse the data i am facing the above issues mentioned.
The data i got from the device after implementing the cli with argument ["/interface/vlan/print"] in ros is :
[{".id": "6", "vlan-id": 10, "arp": "enabled", "l2mtu": 65531, "mtu": 1500, "running": true, "loop-protect-status": "off", "loop-protect-disable-time": "5m", "name": "vlan1", "loop-protect": "default", "interface": "bridge0", "loop-protect-send-interval": "5s", "mac-address": "22:80:99:DE:1D:32", "arp-timeout": "auto", "use-service-tag": false, "disabled": false}, {".id": "7", "vlan-id": 20, "arp": "enabled", "l2mtu": 65531, "mtu": 1500, "running": true, "loop-protect-status": "off", "loop-protect-disable-time": "5m", "name": "vlan2", "loop-protect": "default", "interface": "bridge1", "loop-protect-send-interval": "5s", "mac-address": "42:B6:CF:09:E7:1D", "arp-timeout": "auto", "use-service-tag": false, "disabled": false}, {".id": "*8", "arp-timeout": "auto", "arp": "enabled", "mtu": 1500, "interface": "ether1", "running": true, "loop-protect-status": "off", "loop-protect-disable-time": "5m", "name": "vlan3", "loop-protect": "default", "loop-protect-send-interval": "5s", "mac-address": "08:00:27:33:7C:0D", "vlan-id": 30, "use-service-tag": false, "disabled": false}]
The version of ROS device which i am currently using is MikroTik RouterOS 6.42.11 (c) 1999-2018
Thanks in advance.