Skip to content

Latest commit

 

History

History
93 lines (54 loc) · 4.72 KB

netbox.md

File metadata and controls

93 lines (54 loc) · 4.72 KB

NetBox

  • NetBox

    What is NetBox?

    • NetBox is an infrastructure resource modeling (IRM) application designed to empower NETWORK AUTOMATION.

      Initially conceived by the network engineering team at DigitalOcean, NetBox was developed specifically to address the needs of network and infrastructure engineers. NetBox is made available as open source under the Apache 2 license.

    • It encompasses the following aspects of network management:

      • IP address management (IPAM) - IP networks and addresses, VRFs, and VLANs
      • Equipment racks - Organized by group and site
      • Devices - Types of devices and where they are installed
      • Connections - Network, console, and power connections among devices
      • Virtualization - Virtual machines and clusters
      • Data circuits (數據電路) - Long-haul communications circuits and providers

    What NetBox Is Not

    • While NetBox strives to cover many areas of network management, the scope of its feature set is necessarily limited. This ensures that development focuses on core functionality and that scope creep is reasonably contained. To that end, it might help to provide some examples of functionality that NetBox does not provide:

      • Network monitoring
      • DNS server
      • RADIUS server
      • Configuration management
      • Facilities management

      That said, NetBox can be used to great effect in POPULATING EXTERNAL TOOLS WITH THE DATA they need to perform these functions.

      NetBox 存放 master data,方便做進一步的應用,例如 network automation??

    Design Philosophy

    • NetBox was designed with the following tenets foremost in mind.

    • Replicate the Real World

      Careful consideration has been given to the DATA MODEL to ensure that it can accurately REFLECT A REAL-WORLD NETWORK. For instance, IP addresses are assigned not to devices, but to specific interfaces attached to a device, and an interface may have multiple IP addresses assigned to it.

    • Serve as a "Source of Truth"

      NetBox intends to represent the DESIRED STATE of a network versus its OPERATIONAL STATE. As such, AUTOMATED IMPORT of live network state is STRONGLY DISCOURAGED.

      All data created in NetBox should first be VETTED BY A HUMAN to ensure its integrity. NetBox can then be used to POPULATE monitoring and provisioning systems with a HIGH DEGREE OF CONFIDENCE.

    • Keep it Simple

      When given a choice between a relatively simple 80% solution and a much more complex complete solution, the former will typically be favored. This ensures a lean codebase with a low learning curve.

    Application Stack

    • NetBox is built on the Django Python framework and utilizes a PostgreSQL database. It runs as a WSGI service behind your choice of HTTP server.

      • HTTP service: nginx or Apache
      • WSGI service: gunicorn or uWSGI
      • Application: Django/Python
      • Database: PostgreSQL 10+
      • Task queuing: Redis/django-rq
      • Live device access: NAPALM ??

Topology Visualization

參考資料 {: #reference }

文件: