Комментарии:
Amazing video!!! Mikrotik + Python videos is a great idea!!!
ОтветитьV good series ...nice work! I 'd like to see python in action with routerboard
ОтветитьHow make a map of my net?
ОтветитьHave you considered providing alternative machine friendly output to your commands (simar to gpg option --with-colons)?
ОтветитьIs it possible to backup/restore entire config with scp (to copy files) and ssh (to execute config import/export). Is scp supported?
ОтветитьSuch a good thumbnail - kudos!
ОтветитьAnsible with mikrotik would be really useful
ОтветитьBeen using SSH for healthchecks for over a decade.
ОтветитьThank you for the nice video ! One question: Can I use the public key for multiple routers ? Say, I want to access Router B and Router C from Router A, after generate a pair of key, can the same public key used by Router B and Router C ?
ОтветитьWhat about some automation examples with Ansible...
ОтветитьPython + MikroTik examples, please!
ОтветитьI am also doing that and managing it by my own custom software.
Ответитьalso by using ssh u can push the config, so useful!
ОтветитьYes, I want to see Python examples or any other, how to automate changes etc. on routers with using some "maths" and "dynamic parameters"...
ОтветитьAt work we use ssh exclusively to setup hundreds of mikrotik with vpn, ssh keys, vlan, etc...
To bad there is no way to auto setup switchos devices.
one thing we do on every new install is setting the l2mtu to the max-l2mtu of each interface. not really sure why it doesn't already come this way from the factory or why there even are separate l2mtu and max-l2mtu values.
:foreach i in=[/interface/ethernet/find] do={ \
:local iName [/interface/ethernet/get $i name]; \
:local iMtu [/interface/get $iName max-l2mtu]; \
/interface/set $iName l2mtu=$iMtu}
I believe python use example will be more than welcome.
Ответитьcool, wasn't aware of the OR
ОтветитьOf course we want something with Python! :-) Even if it is just a "Hello, world!", something to start with, it would be really helpful
ОтветитьI'm really warming to Druvis, he would make a good teacher.
ОтветитьYou should say about script.auto.rsc !!! This way i run scripts who detect internal stuff e.g interfaces/addresses and modify them in dedication way to only this branch. On end of script is self-remove .auto.rsc. Linux script do massive FTP sendding and reconnect to check if file is removed, if not then list all not done and report as mail to check them.
Ответитьdo some python mikrotik
ОтветитьPlease scale up text in next videos, font in console is too small 😑
Ответитьi am using python to grab wireguard interface bandwidth every 5min and save it into a influxdb and Grafana to show data.
Ответить