Feature request: Interface description

Hi,

With OpenWRT starting to support switches, it would be nice to be able to add a description to a physical Interface. A simple "Description" label so we can tell what is connected to that port.

5 Likes

you mean permit the user to put a custom description and display that in the tooltip?

1 Like

I mean something similar to a Cisco interface description "Port Description". That would look like:
config device 'switch'
option name 'switch'
option type 'bridge'
option macaddr '01:02:03:04:05:06'
list ports 'lan1' description 'Some Description'
In the config file.

A Description field could be added to luci device config page as well and an on-mouse over a given port would show the description. Also, a Description column could be added in the Device Tab list.

It is easy to figure out ports on a router or a small switch but when the time will come with up to 48 ports switch support, being able to name them will kind of be mandatory, IMHO. I took a few screenshots that I'll post with my ideas so it will be clearer.

1 Like

Here are my ideas

1 Like

1 Like

1 Like


Sorry about the multiple posts, new users seemingly cannot post multiple images at once :confused:

1 Like

Having a way to store freeform text that will never be parsed like option comment or option description would be good. LuCI could then use those for tooltips or whatever.

It is possible to put #comment lines in a config file but they will be stripped out if UCI or LuCI is ever used.

1 Like

i will try to implement this... but first i have to do other task. I'm adding this to my queue...

4 Likes

suggest remark as an alternative to description... it's shorter and a little more uniq overall...

2 Likes

i mean at the end is just an additional uci option... think we will decide it until i have a good implementation

1 Like

I think hint would also work and even shorter

1 Like

Description is what is used in most Vendors so this is the term I naturally went with, any of the other suggestions would work as equally well.

2 Likes

Did this go anywhere? Just setup a 48 port switch and this would be a big help!

1 Like

I know I'm just asking and not coding myself, but, especially with devices switching to DSA with "interface" and "device" items, I really really would like to have this.

1 Like