Skip to content

Introduce a SiteGroup model to provide a secondary mechanism for classifying sites #5892

@jeremystretch

Description

@jeremystretch

Environment

  • Python version: 3.7.9
  • NetBox version: 2.10.5

Proposed Functionality

Introduce a new SiteGroup model, recursively nested similar to Region. Each site can be assigned to both a region and a site group.

Use Case

As regions are intended for the geographic classification of sites (e.g. continent > country > city), site groups can be used to classify sites by function. Site groups also offer an attractive avenue for supporting more flexible L2/L3 domain scoping.

Database Changes

  • Create a table for the SiteGroup model
  • Add a ForeignKey field on Site to SiteGroup

External Dependencies

None

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions