{"repo":"lanrat/python-mikrotik-swos","free":true,"listed":false,"github":"https://github.com/lanrat/python-mikrotik-swos","clone":"git clone https://github.com/lanrat/python-mikrotik-swos.git","description":"Python and Ansible tools for interacting with Miktotik SwitchOS and SwitchOS Lite","language":"HTML","stars":18,"topics":["ansible","ansible-playbook","automation","mikrotik","network-automation","python","switchos","swos"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"SwOS API and Tools Python library and tools for managing MikroTik SwOS (SwitchOS) and SwOS Lite (SwitchOS Lite) switches. Components - swos package : Python library for reading/writing switch configuration - swos-config : CLI tool for displaying configuration - swos-export : CLI tool for exporting configurations to Ansible YAML format - Ansible module : Full-featured Ansible integration for declarative, idempotent switch configuration management - Supports check mode (dry-run) - Auto-detects platform (SwOS vs SwOS Lite) - Manages ports, PoE, VLANs, LAG/LACP, SNMP - See ANSIBLE.md for complete documentation Capabilities Read: System info, ports, PoE, LAG/LACP, per-port VLANs, VLAN table, host table, SFP info, SNMP Write: System settings, port config, PoE settings, LAG/LACP, per-port VLANs, VLAN table, SNMP Backup/Restore: Download binary backups, restore from backup files SwOS-only: VLAN names, isolation, learning, mirror settings (not available on SwOS Lite) Note: All configuration changes are immediately applied and persisted by the switch. Requirements - Python 3.6+ - requests =2.25.0 Installation Or for development: Confirmed Compatibility - SwOS 2.17 - SwOS 2.18 - SwOS Lite 2.17 - SwOS Lite 2.18 - SwOS Lite 2.19 - SwOS Lite 2.20 Tested Hardware - CRS305-1G-4S+ - CRS309-1G-8S+ - CRS310-8G+2S+ - CRS326-24S+2Q - CSS610-8G-2S+ - CSS610-8P-2S+ Note: Gracefully handles switches without PoE, LAG/LACP, or SFP capabilities. Quick Start CLI Tools swos-config - Display switch config","default_branch":null,"files":null,"tree":[],"storefront":"/r/lanrat","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lanrat/python-mikrotik-swos/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}