Hi Nicolas/Eric,

As you might know that the Clearview vanity naming component is proposing to 
add a "-l" option to specify the link of various dladm subcommands. For 
example, "dladm create-vlan -l net0 -v 28 vlan1" is to create a VLAN vlan1 
over link net0.

But then we found that "-l" is already used in the create-aggr subcommand to 
specify the LACP mode.

We can think of several options to solve this problem:

1. we can choose not to introduce another option, but simply use the 
original "-d" option to specify the link. Although it might be somewhat 
misleading because the link is not really a *d*evice, but from the user's 
perspective, it might not necessarily a bad thing. Plus "-d" is used in 
snoop to specify a link anyway.

2. use "-l" to specify both link and the LACP mode. Because link name always 
ends with a digit, so that we can differentiate these two cases.

3. use "-L" to specify the link, and leave "-l" to specify the LACP mode. I 
personally don't like this option.

What do you think?

Thanks
- Cathy

Reply via email to