One of the things discussed during today's Brussels demo was the need to unify the set of subcommand arguments having to do with addresses assigned to tunnels and IP interfaces. For dladm, Clearview has implemented:
dladm create-iptun -T <type> -s <src> -d <dst> <linkname> Given that -s and -d aren't feasible for ipadm, Erik and others proposed using "local" and "remote" as the basis of these arguments in both comands. So, for example: dladm create-iptun -T <type> -l <local-addr> -r <remote-addr> <linkname> and ipadm create-addr ... -l <local-addr> <label> or ipadm create-addr ... -l <local-addr> -r <remote-addr> <label> For long options, I'd propose using --local-address and --remote-address. Does that look reasonable? I can make similar changes to internal data structures in the iptun code to bring more cohesion between the UI and the APIs. Thoughts? Perhaps -l and -a could be aliases for ipadm create-addr... -Seb
