{"id":19096595,"url":"https://github.com/sapcc/netbox-device-groups","last_synced_at":"2025-10-27T10:39:14.235Z","repository":{"id":200699264,"uuid":"693651340","full_name":"sapcc/netbox-device-groups","owner":"sapcc","description":"A netbox plugin for managing multiple device group types and device groups, by site.  ","archived":false,"fork":false,"pushed_at":"2024-09-26T11:07:21.000Z","size":1519,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":39,"default_branch":"develop","last_synced_at":"2025-07-13T17:05:33.516Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://sapcc.github.io/netbox-device-groups/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sapcc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-09-19T12:54:45.000Z","updated_at":"2025-01-06T21:33:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"72be7329-b379-4126-b2a8-7041a38c23e6","html_url":"https://github.com/sapcc/netbox-device-groups","commit_stats":null,"previous_names":["sapcc/netbox-physical-clusters","sapcc/netbox-device-groups"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/sapcc/netbox-device-groups","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fnetbox-device-groups","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fnetbox-device-groups/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fnetbox-device-groups/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fnetbox-device-groups/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sapcc","download_url":"https://codeload.github.com/sapcc/netbox-device-groups/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fnetbox-device-groups/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265175560,"owners_count":23722659,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T03:37:11.877Z","updated_at":"2025-09-17T21:21:13.642Z","avatar_url":"https://github.com/sapcc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nA netbox plugin for managing multiple device group types by site\n\n\u003ca href=\"https://github.com/sapcc/netbox-device-groups/forks\"\u003e\u003cimg src=\"https://img.shields.io/github/forks/sapcc/netbox-device-groups\" alt=\"Forks Badge\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/sapcc/netbox-device-groups/pulls\"\u003e\u003cimg src=\"https://img.shields.io/github/issues-pr/sapcc/netbox-device-groups\" alt=\"Pull Requests Badge\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/sapcc/netbox-device-groups/issues\"\u003e\u003cimg src=\"https://img.shields.io/github/issues/sapcc/netbox-device-groups\" alt=\"Issues Badge\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/sapcc/netbox-device-groups/graphs/contributors\"\u003e\u003cimg alt=\"GitHub contributors\" src=\"https://img.shields.io/github/contributors/sapcc/netbox-device-groups?color=2b9348\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/sapcc/netbox-device-groups/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/sapcc/netbox-device-groups?color=2b9348\" alt=\"License Badge\"/\u003e\u003c/a\u003e\n\n## Installing the Plugin in Netbox\n\n### Prerequisites\n\n- The plugin is compatible with Netbox 3.5.0 and higher.\n- Databases supported: PostgreSQL\n- Python supported : Python3 \u003e= 3.10\n\n### Install Guide\n\n\u003e NOTE: Plugins can be installed manually or using Python's `pip`. See the [netbox documentation](https://docs.netbox.dev/en/stable/plugins/) for more details. The pip package name for this plugin is [`netbox-device-groups`](https://pypi.org/project/netbox-device-groups/).\n\nThe plugin is available as a Python package via PyPI and can be installed with `pip`:\n\n```shell\npip install netbox-device-groups\n```\n\nTo ensure the device group plugin is automatically re-installed during future upgrades, create a file named `local_requirements.txt` (if not already existing) in the Netbox root directory (alongside `requirements.txt`) and list the `netbox_device_groups` package:\n\n```shell\necho netbox-device-groups \u003e\u003e local_requirements.txt\n```\n\nOnce installed, the plugin needs to be enabled in your Netbox configuration. The following block of code below shows the additional configuration required to be added to your `$NETBOX_ROOT/netbox/configuration.py` file:\n\n- Append `\"netbox_device_groups\"` to the `PLUGINS` list.\n- Append the `\"netbox_device_groups\"` dictionary to the `PLUGINS_CONFIG` dictionary and override any defaults.\n\n```python\nPLUGINS = [\n    \"netbox_device_groups\",\n]\n```\n\n## Post Install Steps\n\nOnce the Netbox configuration is updated, run the post install steps from the _Netbox Home_ to run migrations and clear any cache:\n\n```shell\n# Apply any database migrations\npython3 netbox/manage.py migrate\n# Trace any missing cable paths (not typically needed)\npython3 netbox/manage.py trace_paths --no-input\n# Collect static files\npython3 netbox/manage.py collectstatic --no-input\n# Delete any stale content types\npython3 netbox/manage.py remove_stale_contenttypes --no-input\n# Rebuild the search cache (lazily)\npython3 netbox/manage.py reindex --lazy\n# Delete any expired user sessions\npython3 netbox/manage.py clearsessions\n# Clear the cache\npython3 netbox/manage.py clearcache\n```\n\nThen restart the Netbox services:\n\n```shell\nsudo systemctl restart netbox netbox-rq\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapcc%2Fnetbox-device-groups","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsapcc%2Fnetbox-device-groups","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapcc%2Fnetbox-device-groups/lists"}