evilfreelancer / craftcms-routeros-manager
A Craft CMS plugin for Mikrotik RouterOS devices management.
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 1
Open Issues: 0
Type:craft-plugin
Requires
- php: ^7.2
- craftcms/cms: ^3.4.0|^3.5.0|^3.6.0
- evilfreelancer/routeros-api-php: ^1.4
Requires (Dev)
- codeception/codeception: ^4.0
- roave/security-advisories: dev-master
- vlucas/phpdotenv: ^3.0
This package is auto-updated.
Last update: 2024-11-22 03:10:45 UTC
README
A CraftCMS plugin for Mikrotik RouterOS devices management.
Requirements
- PHP >= 7.2
- CraftCMS >= 3.4
Installation
To install the plugin, follow these instructions.
- Open your terminal and go to your Craft project:
cd /path/to/project
- Then tell Composer to load the plugin:
composer require evilfreelancer/craftcms-routeros-manager
- In the Control Panel, go to Settings → Plugins and click the “Install” button for CraftCMS RouterOS manager.
Roadmap
1.0
- Basic functionality
- Table migration
- id
- remote config (should be obtained after adding new device)
- traffic statistics from interfaces (no history, only current state)
- Soft deletes
- Table migration
- Page in admin panel
- Create new device
- IP-address
- Username/Password (hidden)
- Test connection
- Update device information
- Dump of config
- Upload config then apply
- Create new device
- Events
- Device added
- Device updated
- Device removed
- Device rebooted
- Actions
- Remove device
- Reboot device
- Tests
- Unit (and probably integration) tests via the Codeception
- Code quality (SonarCloud, Scrutinizer CI)
- Release in the Plugins Store
1.1
- Background tasks
- Check status of devices
- A configurable timeout between tasks
- Get traffic from ports
- Dump/upload configuration
- Check status of devices
1.2
- Commands execution shell with response
- Will need to create a parser from command to API call
1.3
- Widgets
- List of device with links to editor
- Status of devices UP/DOWN
- Execute command on a selected device
Links
- https://github.com/EvilFreelancer/routeros-api-php - core library
- https://pluginfactory.io/ - build craft cms plugins