Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jeremystretch opened this issue Aug 1, 2024 · 2 comments
Assignees
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Milestone

Comments

@jeremystretch
Copy link
Member

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

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application labels Aug 1, 2024
@jeremystretch jeremystretch added this to the v4.1 milestone Aug 1, 2024
@jeremystretch jeremystretch self-assigned this Aug 1, 2024
@mr1716
Copy link

mr1716 commented 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.

@jsenecal
Copy link
Contributor

jsenecal commented 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.

jeremystretch added a commit that referenced this issue Aug 2, 2024
…17067)

* Closes #17051: Introduce ISOLATED_DEPLOYMENT config parameter

* Revert omission of external footer links
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

3 participants