netbox-ipv4-tools


Namenetbox-ipv4-tools JSON
Version 1.0.3 PyPI version JSON
download
home_pagehttps://github.com/mlongo4290/netbox-ipv4-tools
SummaryWork with ipv4 in NetBox
upload_time2023-06-12 08:17:14
maintainer
docs_urlNone
authorMichael Longo
requires_python
licenseApache 2.0
keywords netbox-plugin
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## netbox-ipv4-tools

Work with ipv4 in NetBox.
This project includes code from [netmask](https://github.com/rs/node-netmask) (rewritten in Vanilla Javascript), which is licensed under the MIT license: [original license](https://github.com/rs/node-netmask/blob/master/LICENSE.md)

This plugin offers a place to retrieve
 - A table with the CIDR to netmask conversion, inluding the wildcard bits and the total hosts available per CIDR
 - A tool to convert a CIDR into an IP range including information such the usable host count, the netmask in decimal dotted format and the wildcard bits

## Install

The plugin is available as a Python package and can be installed with pip.

Run `pip install netbox-ipv4-tools` in your virtual env.

Create a file named `local_requirements.txt` (if not already existing) in the NetBox root directory (alongside `requirements.txt`) and list the `netbox-ipv4-tools` package:

```no-highlight
# echo netbox-ipv4-tools >> local_requirements.txt
```

Once installed, the plugin needs to be enabled in your `configuration.py`

```python
# In your configuration.py
PLUGINS = ["netbox_ipv4_tools"]
```

First run `source /opt/netbox/venv/bin/activate` to enter the Python virtual environment.


Then run 
```bash
cd /opt/netbox/netbox
pip3 install netbox-ipv4-tools
python3 manage.py collectstatic --no-input
```

### Versions
This plugin requires netbox >= 3.4.0

### Thanks
Thanks to [rs](https://github.com/rs) for the work on [netmask](https://github.com/rs/node-netmask)  
Thanks to [mattieserver](https://github.com/mattieserver) and his project [netbox-topology-view](https://github.com/mattieserver/netbox-topology-views). I used his work to get a working plugin and to publish it to pypi

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/mlongo4290/netbox-ipv4-tools",
    "name": "netbox-ipv4-tools",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "netbox-plugin",
    "author": "Michael Longo",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/89/0c/5e0fa7e4ea2c0fee15b00edf5660bc190daca6ee90f9c0c3770d9a5b09f3/netbox-ipv4-tools-1.0.3.tar.gz",
    "platform": null,
    "description": "## netbox-ipv4-tools\n\nWork with ipv4 in NetBox.\nThis project includes code from [netmask](https://github.com/rs/node-netmask) (rewritten in Vanilla Javascript), which is licensed under the MIT license: [original license](https://github.com/rs/node-netmask/blob/master/LICENSE.md)\n\nThis plugin offers a place to retrieve\n - A table with the CIDR to netmask conversion, inluding the wildcard bits and the total hosts available per CIDR\n - A tool to convert a CIDR into an IP range including information such the usable host count, the netmask in decimal dotted format and the wildcard bits\n\n## Install\n\nThe plugin is available as a Python package and can be installed with pip.\n\nRun `pip install netbox-ipv4-tools` in your virtual env.\n\nCreate a file named `local_requirements.txt` (if not already existing) in the NetBox root directory (alongside `requirements.txt`) and list the `netbox-ipv4-tools` package:\n\n```no-highlight\n# echo netbox-ipv4-tools >> local_requirements.txt\n```\n\nOnce installed, the plugin needs to be enabled in your `configuration.py`\n\n```python\n# In your configuration.py\nPLUGINS = [\"netbox_ipv4_tools\"]\n```\n\nFirst run `source /opt/netbox/venv/bin/activate` to enter the Python virtual environment.\n\n\nThen run \n```bash\ncd /opt/netbox/netbox\npip3 install netbox-ipv4-tools\npython3 manage.py collectstatic --no-input\n```\n\n### Versions\nThis plugin requires netbox >= 3.4.0\n\n### Thanks\nThanks to [rs](https://github.com/rs) for the work on [netmask](https://github.com/rs/node-netmask)  \nThanks to [mattieserver](https://github.com/mattieserver) and his project [netbox-topology-view](https://github.com/mattieserver/netbox-topology-views). I used his work to get a working plugin and to publish it to pypi\n",
    "bugtrack_url": null,
    "license": "Apache 2.0",
    "summary": "Work with ipv4 in NetBox",
    "version": "1.0.3",
    "project_urls": {
        "Homepage": "https://github.com/mlongo4290/netbox-ipv4-tools",
        "Source": "https://github.com/mlongo4290/netbox-ipv4-tools"
    },
    "split_keywords": [
        "netbox-plugin"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a2fa01b98e0d53b2080789edceb64b574f6637ecd15ee17ff5cf0c357e17c9e6",
                "md5": "e9660e7463e2f12deb8634be006f7c78",
                "sha256": "bc8707a53c1aab17f2e19737871f138393c36df8be7fb7c233430b9c8e41279b"
            },
            "downloads": -1,
            "filename": "netbox_ipv4_tools-1.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e9660e7463e2f12deb8634be006f7c78",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 14386,
            "upload_time": "2023-06-12T08:17:12",
            "upload_time_iso_8601": "2023-06-12T08:17:12.461999Z",
            "url": "https://files.pythonhosted.org/packages/a2/fa/01b98e0d53b2080789edceb64b574f6637ecd15ee17ff5cf0c357e17c9e6/netbox_ipv4_tools-1.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "890c5e0fa7e4ea2c0fee15b00edf5660bc190daca6ee90f9c0c3770d9a5b09f3",
                "md5": "5aeb0466e1e8bc031936438e5cfddaf4",
                "sha256": "37d4a5ad7025f7f25bedb066301ea0cb340e3e913ef088389195436cbc02e813"
            },
            "downloads": -1,
            "filename": "netbox-ipv4-tools-1.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "5aeb0466e1e8bc031936438e5cfddaf4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 12467,
            "upload_time": "2023-06-12T08:17:14",
            "upload_time_iso_8601": "2023-06-12T08:17:14.233589Z",
            "url": "https://files.pythonhosted.org/packages/89/0c/5e0fa7e4ea2c0fee15b00edf5660bc190daca6ee90f9c0c3770d9a5b09f3/netbox-ipv4-tools-1.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-12 08:17:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mlongo4290",
    "github_project": "netbox-ipv4-tools",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "netbox-ipv4-tools"
}
        
Elapsed time: 0.16346s