netbox icon indicating copy to clipboard operation
netbox copied to clipboard

Add the field Facility to the Location model

Open jsenecal opened this issue 2 years ago • 3 comments

NetBox version

v3.6.3

Feature type

Data model extension

Proposed functionality

Add the field facility to the Location model the same way it's done on the Site model

Use case

Most of the time the Facility is not a whole building but rather a Suite (Location) in a building (Site). You may also have more than one Facility inside the same Site or have a single facility in a suite in the building but also other tenants in their own Locations which are not part of that Facility.

For example: 151 Front St., Toronto, ON Canada; Canada's largest Carrier Hotel. Equinix TR1: Suite 706 Neutral Data Toronto: Suite 800 BELL Canada: Suite 605 Coloware YTZ1: Suite 504 Cologix TOR1: Suite 602 eStruxture TOR-1: Suite 341 Aptum: Suite 402 ... and many others

Being able to document this Facility name/ID in a consistent manner across NetBox seems only reasonable.

Database changes

A new CharField, facility needs to be added to the Location model.

We can use the Site model for reference.

External dependencies

None

jsenecal avatar Sep 27 '23 17:09 jsenecal

Agreed, we have POPs in many locations where the location is a suite that acts as a Provider's facility

kmorin18 avatar Sep 27 '23 17:09 kmorin18

FWIW I can submit a PR for this, if accepted.

jsenecal avatar Sep 27 '23 17:09 jsenecal

@abhi1693 Can you please assign me this task i can able to do that

yash-pal1 avatar Sep 28 '23 04:09 yash-pal1