Skip to main content

Brings back the old search functionality to NetBox

Project description

netbox-old-search PyPI

This plugin brings back the old global search method that was used in netbox prior to NetBox v3.4.0. The plugin is intended for users that prefer the old search method, or prefers to have the option to use both.

Version Compatibility

Netbox Plugin
NetBox < 4.0 <= 0.1.3
NetBox >= 4.0 >= 1.0.0
NetBox >= 4.2 >= 1.1.0

Installing

With pip:

pip install netbox-old-search

Then add to local_requirements.txt:

netbox-old-search

Configuration

Enable the plugin in /opt/netbox/netbox/netbox/configuration.py:

PLUGINS = [
    "netbox_old_search"
]

PLUGINS_CONFIG = {
    "netbox_old_search": {
        "replace_search": True, # Hijacks the top search bar in netbox, redirecting to this plugins search method instead
        "show_menu": False, # Shows a link to the old search form in the plugin menu
    },
}

Attribution

A lot of the code is repurposed from the netbox source code from before the old search engine was removed.

Screenshots

Example Screenshot

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netbox_old_search-1.1.0.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

netbox_old_search-1.1.0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file netbox_old_search-1.1.0.tar.gz.

File metadata

  • Download URL: netbox_old_search-1.1.0.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for netbox_old_search-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e06d8133e7073cf8d55ff6cffaf7efd226948d23df41dbc1eff1988b822837a2
MD5 5019fbccb07a0b32bcc191b1dabc9d94
BLAKE2b-256 0828e282cfeb6ee2c503304ea9c4f21f08fd4857a7593899eb85033a5bd12a45

See more details on using hashes here.

File details

Details for the file netbox_old_search-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for netbox_old_search-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b7c45902deedd289414214221fa963c82db76e6b7cb8c6b56badade7652c61fd
MD5 adf8f3fd8db839738e0a96a6b0d2ebe7
BLAKE2b-256 ab305da8ef00342c5df0167db208f9521fcef8d6f2100d8bf85685af644e51a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page