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

Should work with all current versions of NetBox >= v3.4.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-0.1.3.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file netbox-old-search-0.1.3.tar.gz.

File metadata

  • Download URL: netbox-old-search-0.1.3.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for netbox-old-search-0.1.3.tar.gz
Algorithm Hash digest
SHA256 fc607f3aa1547cb002f0f156c329f89972ceefba5b79ec2a0a3a5cdb5840e377
MD5 304ac3b550f52b0873cd4f2480109415
BLAKE2b-256 87bd9dd334b18b5826a463304b811e764bc4dc47a3ec946c7c29a74fc0ab59d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netbox_old_search-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dc90942546abe624bb96680a6b6f91b67a2d31313c073a624c1326ddeda272d2
MD5 05bc7ea51661fc18e35623ccc1ea828b
BLAKE2b-256 4d400e7187aa76a58cab4cac83d28236a87dd51ae97223683fbcb5bc9b7af187

See more details on using hashes here.

Supported by

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