Automation for RouterOS
What is dis? this project help you to use napalm-ros package without too much coding,
so you can just run the file and ready to command your MikroTik. Since this project used napalm-ros package, you can learn how to use the package.
Note: You need to replace Node info with your own in stuff/baka
module
first you need to install napalm-ros packages
python 3.x
$ pip3 install napalm
$ pip3 install napalm-ros
Enable api in your mikrotik
IP - Services
mark sure to enable api
section, also you can use api-ssl for secure connection.
run the python file and you'll see list of method.
$ python3 base.py
- get_facts
- get_interfaces
- get_interfaces_ip
- is_alive
- ping
- get_ipv6_neighbors_table
- get_snmp_information
- get_ntp_servers
- get_lldp_neighbors_detail
- get_interfaces_counters
- get_arp_table
- get_bgp_neighbors
update soon for more feature.
Read more about
napalm-ros repository and napalm-ros site