{"id":16288122,"url":"https://github.com/barbarossatm/netbox-scripts","last_synced_at":"2025-03-20T03:30:35.632Z","repository":{"id":41424019,"uuid":"270175475","full_name":"BarbarossaTM/netbox-scripts","owner":"BarbarossaTM","description":"Netbox Scripts","archived":false,"fork":false,"pushed_at":"2024-12-31T22:18:20.000Z","size":1964,"stargazers_count":22,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-17T14:02:39.460Z","etag":null,"topics":["netbox","netbox-script"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BarbarossaTM.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-07T03:07:05.000Z","updated_at":"2025-02-05T15:25:28.000Z","dependencies_parsed_at":"2024-10-27T21:43:57.863Z","dependency_job_id":"d0f6ac1c-c9de-45be-ab22-c59a1de34f11","html_url":"https://github.com/BarbarossaTM/netbox-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BarbarossaTM%2Fnetbox-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BarbarossaTM%2Fnetbox-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BarbarossaTM%2Fnetbox-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BarbarossaTM%2Fnetbox-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BarbarossaTM","download_url":"https://codeload.github.com/BarbarossaTM/netbox-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244543704,"owners_count":20469546,"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":["netbox","netbox-script"],"created_at":"2024-10-10T19:47:19.961Z","updated_at":"2025-03-20T03:30:35.622Z","avatar_url":"https://github.com/BarbarossaTM.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Max' NetBox Scripts\n\nThis repository contains some\n[NetBox](https://docs.netbox.dev/en/stable/)\n[Custom Scripts](https://docs.netbox.dev/en/stable/customization/custom-scripts/)\nI wrote to make life of operators easier.\n\nMost scripts here were written for the [Freifunk Hochstift](https://www.ffho.net) network,\nand are used to provision NetBox data to be consumed by the [FFHO Salt stack](https://github.com/FreifunkHochstift/ffho-salt-public).\n\n## Connect Helper\n\nThis script gets two Devices as input and will connect all rear ports with a cable.  This is intended\nto easy setting up a lot of patch panels with a lot of ports.  This might be extended in the future\nwith more bells and whistels, to be more clever and allow setting the kind of cable (CAT6, SMF, MMF, ...) etc.\n\n## Provision Backbone POP\n\nThe ProvisionBackbonePOP script allows to fully provision a typical FFHO backbone POP, including\n * Mgmt prefix + VLAN\n * Rack\n * Patch panel including cabling to outdoor surge protectors (if any)\n * a switch, precabled to patch panel front ports, ports configured, and mgmt IP set\n * a backbone router, with ports configured, and loopback IP + mgmt VLAN/IP set\n * switch + backbone router also having asset tag and S/N set\n\nSee the screenshots in the [doc](ProvisionBackbonePOP/doc) folder for an example run.\n\n## Wireguard tunnels\n\nThis script provisions Wireguard tunnels in NetBox between two nodes, allowing each side\nto be a Device or a VM.  To model the connection between two nodes custom fields (type object)\non interfaces are used which will be set to the remote Device or VM.  IP allocation happens\nprogramatically so that the only input to the script are server + client Device or VM.\n\nSee the script's [README](Wireguard-tunnels/README.md) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarbarossatm%2Fnetbox-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarbarossatm%2Fnetbox-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarbarossatm%2Fnetbox-scripts/lists"}