WebUI has been updated in Device -> Edit -> Port Settings. You can now edit the Description which is updated on change. A devices_attrib entry is then stored to indicate that the port description has been manually set.
If the user removes the description it will then be re-polled.
Honours the port parser code so you can manually set say Cust: Customer A and have it pick the port up as a customer port and do everything else you would expect.
Updated get_dev_attrib() to accept the value to be looked up as well to save checking the output of get_dev_attrib to see if the ifName is the one we are currently checking against. values are stored against ifName so this shouldn't break if a port is deleted and re-added say for a ppoe port.
Initial work on port override
added form file
Final bits of webui
Stop ifAlias being set to blank
Final update for overwriting ifAlias
Auto-Deploy finished, Test PR at http://1811.ci.librenms.org or https://1811.ci.librenms.org
n.b For the first time, please click any button twice. ?
n.b For the first time, please click any button twice.
Unrelated to this PR though :)