Skip to content

About

Create user-friendly url's for standard netbox/model/type/pk/ format

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Latest commit

 

History

23 Commits

Folders and files

Repository files navigation

netbox_friendlyurl

Create user-friendly url's for standard netbox/model/type/pk/ format

Install in the most common ways.

The links are build as 'search' parameters, relative to the model. The first parameter has to be the primary field of the model (name, vid, address, ...) All values are searched for with case insensitive 'starts with'

format:

Use a | (pipe) as separator between the key=value pairs. If you refer to related objects in the second keys, then you can either use the 'id' of the object, or you can use the 'name'. If an ID is expected, but a text is found, then an case insenitive exact lookup for the 'name' field is performed to find the correct ID. If that fails, then the pair is removed from the searchparameters

Examples:

If no unique object is found with those values, then you get redirected to the search enginge, with the primairykey value to be searched for and the object type set.

About

Create user-friendly url's for standard netbox/model/type/pk/ format

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages