Introduce a configuration parameter for signifying an offline or air-gapped deployment #10035

Closed
opened 2025-12-29 21:26:02 +01:00 by adam · 2 comments
Owner

Originally created by @jeremystretch on GitHub (Aug 1, 2024).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v4.0.8

Feature type

New functionality

Proposed functionality

Introduce a new boolean configuration parameter, e.g. OFFLINE_DEPLOYMENT, which is false by default. This should be set to true is NetBox is installed on a system without Internet connectivity, which may be the case in certain high-security environments.

Use case

When this parameter is true, NetBox will omit any built-in external links, such as the footer links to GitHub and Slack. There are likely other instances of external references that may be addressed using this functionality.

Database changes

None

External dependencies

None

Originally created by @jeremystretch on GitHub (Aug 1, 2024). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v4.0.8 ### Feature type New functionality ### Proposed functionality Introduce a new boolean configuration parameter, e.g. `OFFLINE_DEPLOYMENT`, which is false by default. This should be set to true is NetBox is installed on a system without Internet connectivity, which may be the case in certain high-security environments. ### Use case When this parameter is true, NetBox will omit any built-in external links, such as the footer links to GitHub and Slack. There are likely other instances of external references that may be addressed using this functionality. ### Database changes None ### External dependencies None
adam added the status: acceptedtype: feature labels 2025-12-29 21:26:02 +01:00
adam closed this issue 2025-12-29 21:26:02 +01:00
Author
Owner

@mr1716 commented on GitHub (Aug 1, 2024):

One thing that would be great to include is that if Netbox is deployed in a way that isn’t connected to the internet, have a configurable setting for Netbox to use to point to the requirements that are already in a local directory. Therefore, instead of trying to download requirements from the internet, it would use that location instead and NOT try to download from the internet.

@mr1716 commented on GitHub (Aug 1, 2024): One thing that would be great to include is that if Netbox is deployed in a way that isn’t connected to the internet, have a configurable setting for Netbox to use to point to the requirements that are already in a local directory. Therefore, instead of trying to download requirements from the internet, it would use that location instead and NOT try to download from the internet.
Author
Owner

@jsenecal commented on GitHub (Aug 1, 2024):

One thing that would be great to include is that if Netbox is deployed in a way that isn’t connected to the internet, have a configurable setting for Netbox to use to point to the requirements that are already in a local directory. Therefore, instead of trying to download requirements from the internet, it would use that location instead and NOT try to download from the internet.

This, to me, is specific to the way one manages their python venv and has nothing to do with NetBox itself.

@jsenecal commented on GitHub (Aug 1, 2024): > One thing that would be great to include is that if Netbox is deployed in a way that isn’t connected to the internet, have a configurable setting for Netbox to use to point to the requirements that are already in a local directory. Therefore, instead of trying to download requirements from the internet, it would use that location instead and NOT try to download from the internet. This, to me, is specific to the way one manages their python venv and has nothing to do with NetBox itself.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10035