The premier source of truth powering network automation. Open source under Apache 2. Try NetBox Cloud free: https://netboxlabs.com/products/free-netbox-cloud/
Go to file
Daniel Sheppard b374351154
Closes: #7854 - Add VDC/Instances/etc (#10787)
* Work on #7854

* Move to new URL scheme.

* Fix PEP8 errors

* Fix PEP8 errors

* Add GraphQL and fix primary_ip missing

* Fix PEP8 on GQL Type

* Fix missing NestedSerializer.

* Fix missing NestedSerializer & rename VDC to VDCs

* Fix migration

* Change Validation for identifier

* Fix missing migration

* Rebase to feature

* Post-review changes

* Remove VDC Type
* Remove M2M Enforcement logic

* Interface related changes

* Add filter fields to filterset for Interface filter
* Add form field to filterset form for Interface filter
* Add VDC display to interface detail template

* Remove VirtualDeviceContextTypeChoices

* Accommodate recent changes in feature branch

* Add tests
Add missing search()

* Update tests, and fix model form

* Update test_api

* Update test_api.InterfaceTest create_data

* Fix issue with tests

* Update interface serializer

* Update serializer and tests

* Update status to be required

* Remove error message for constraint

* Remove extraneous import

* Re-ordered devices menu to place VDC below virtual chassis

* Add helptext for `identifier` field

* Fix breadcrumb link

* Remove add interface link

* Add missing tenant and status fields

* Changes to tests as per Jeremy

* Change for #9623

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>

* Update filterset form for status field

* Remove Rename View

* Change tabs to spaces

* Update netbox/dcim/tables/devices.py

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>

* Update netbox/dcim/tables/devices.py

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>

* Fix tenant in bulk_edit

* Apply suggestions from code review

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>

* Add status field to table.

* Re-order table fields.

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-11-11 07:55:49 -05:00
.github Merge branch 'develop' into feature 2022-11-01 17:13:11 -04:00
contrib Closes #9218: Update documentation links with docs.netbox.dev 2022-04-25 09:48:39 -04:00
docs #4347: Changelog & cleanup 2022-11-10 11:05:44 -05:00
netbox Closes: #7854 - Add VDC/Instances/etc (#10787) 2022-11-11 07:55:49 -05:00
scripts 10310 pre commit yarn (#10315) 2022-09-12 09:16:17 -04:00
.gitattributes Treat compiled JS/CSS as binary when diffing 2021-09-16 11:03:55 -04:00
.gitignore Closes #8210: Establish netbox/local/ as a path for local resources 2022-01-03 09:45:30 -05:00
.readthedocs.yaml Create custom RTD configuration 2022-02-11 14:49:45 -05:00
base_requirements.txt Merge branch 'develop' into feature 2022-10-05 10:28:48 -04:00
CHANGELOG.md Closes #9218: Update documentation links with docs.netbox.dev 2022-04-25 09:48:39 -04:00
CONTRIBUTING.md Clarify that issues must be accepted and assigned prior to PR submission 2022-08-26 13:33:55 -04:00
LICENSE.txt Initial push to public repo 2016-03-01 11:23:03 -05:00
mkdocs.yml Closes #10560: New global search (#10676) 2022-10-21 13:16:16 -04:00
NOTICE Update NOTICE file 2022-07-01 11:36:34 -04:00
pyproject.toml Add [tool.pyright] to pyproject.toml 2022-09-21 15:19:40 -04:00
README.md Add Repography stats 2022-09-08 09:18:45 -04:00
requirements.txt Merge branch 'develop' into feature 2022-11-01 17:13:11 -04:00
SECURITY.md Add security document 2022-05-11 09:12:07 -04:00
upgrade.sh Clear the cache when running the upgrade script 2022-04-29 09:19:37 +02:00

NetBox logo

NetBox is the leading solution for modeling and documenting modern networks. By combining the traditional disciplines of IP address management (IPAM) and datacenter infrastructure management (DCIM) with powerful APIs and extensions, NetBox provides the ideal "source of truth" to power network automation. Available as open source software under the Apache 2.0 license, NetBox is employed by thousands of organizations around the world.

Master branch build status

Timeline graph Issue status graph Pull request status graph Top contributors
Stats via Repography

About NetBox

Screenshot of Netbox UI

Myriad infrastructure components can be modeled in NetBox, including:

  • Hierarchical regions, site groups, sites, and locations
  • Racks, devices, and device components
  • Cables and wireless connections
  • Power distribution
  • Data circuits and providers
  • Virtual machines and clusters
  • IP prefixes, ranges, and addresses
  • VRFs and route targets
  • L2VPN and overlays
  • FHRP groups (VRRP, HSRP, etc.)
  • AS numbers
  • VLANs and scoped VLAN groups
  • Organizational tenants and contacts

In addition to its extensive built-in models and functionality, NetBox can be customized and extended through the use of:

  • Custom fields
  • Custom links
  • Configuration contexts
  • Custom model validation rules
  • Reports
  • Custom scripts
  • Export templates
  • Conditional webhooks
  • Plugins
  • Single sign-on (SSO) authentication
  • NAPALM integration
  • Detailed change logging

NetBox also features a complete REST API as well as a GraphQL API for easily integrating with other tools and systems.

The complete documentation for NetBox can be found at docs.netbox.dev. A public demo instance is available at demo.netbox.dev.

NetBox runs as a web application atop the Django Python framework with a PostgreSQL database. For a complete list of requirements, see requirements.txt. The code is available on GitHub.

Thank you to our sponsors!

DigitalOcean            Equinix Metal            NS1
Sentry            Stellar Technologies

Discussion

  • GitHub Discussions - Discussion forum hosted by GitHub; ideal for Q&A and other structured discussions
  • Slack - Real-time chat hosted by the NetDev Community; best for unstructured discussion or just hanging out

Installation

Please see the documentation for instructions on installing NetBox. To upgrade NetBox, please download the latest release and run upgrade.sh.

Providing Feedback

The best platform for general feedback, assistance, and other discussion is our GitHub discussions. To report a bug or request a specific feature, please open a GitHub issue using the appropriate template.

If you are interested in contributing to the development of NetBox, please read our contributing guide prior to beginning any work.

Screenshots

Screenshot of main page (dark mode)

Screenshot of rack elevation

Screenshot of prefixes hierarchy

Screenshot of cable trace

Please see our wiki for a list of relevant community projects.