Skip to content

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

License

Notifications You must be signed in to change notification settings

PieterL75/netbox_friendlyurl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages