Mikrotik Config to Markup
Project description
Mikrotik HTML Dumper
This is a small project written since my team worked with mikrotiks and we sometimes needed to present audits of the configuration for upper manangement in a quick and easy to read format.
Installing
You can use pip to install this script
pip install mikrotik_html_documentation
General Use
One installed, you can see the options available to you by running the help parameter
mt-html --help
Usage: mt-html [OPTIONS] COMMAND [ARGS]...
This simple tool logins to a Mikrotik and creats an HTML dump
Options:
--help Show this message and exit.
Commands:
dump
env
Requirements
You'll need to setup a .env file for the username and password. You can do so by running the following command
mt-html generate-env
It will then ask you to enter the username and password which will be stored in a .env file for you from the current working directory of the script.
Usage
To use the script, simply run the following
mt-html html-dump -f <firewall>
It will then ask you to enter the IP or FQDN of the firewall and dump out HTML code so you can easily upload to markup language supported documentation systems, or simply share it as a web file. Files are created and can be located in your home directory
~/mikrotik_html_dump
License
Apache-2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Mikrotik_HTML_Documentation-0.1.3rc0.tar.gz
.
File metadata
- Download URL: Mikrotik_HTML_Documentation-0.1.3rc0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.8.9 Darwin/21.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbd0f2688562908bf34888adbcbac9419f02679d79f373bca15126a40a036461 |
|
MD5 | d355692811b185b5d20923294ab08a00 |
|
BLAKE2b-256 | ca4b15de4bc3eed78ecb267e958dd1066ebbd78f2b8ae1e2ffa7cf193425a94e |
File details
Details for the file Mikrotik_HTML_Documentation-0.1.3rc0-py3-none-any.whl
.
File metadata
- Download URL: Mikrotik_HTML_Documentation-0.1.3rc0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.8.9 Darwin/21.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae009de8b08cf5218e722aeafc30394b8a4ab7a45deaac1dd510430e007059a2 |
|
MD5 | df09dfec319763f87840fdee75a69df7 |
|
BLAKE2b-256 | 9f51a1fbc112764e3daa4ed82045b0bf446b027e20dfbd39159bba30256fdf86 |