On 04/22/09 22:26, [email protected] wrote:
On (04/22/09 15:03), Erik Nordmark wrote:
But it still leaves out the -i link0 for a delete-dhcp. Given that we can't leave out -i link0 for a delete-address it would make sense to have it consistently require -i. Thus the name space for <label> becomes local to the interface name.

Ok, we can do that.

What is the name space for that name? By that I mean whether or not I can do
        ipadm create-dhcp4 -i link0 default
        ipadm create-dhcp6 -i link0 default
or whether that tells me the object called "default" already exists.
If you specified it as above, then "default" would be considered the label.
A label must be specified at all times.
That doesn't answer my question whether the create-dhcp6 above would fail.

In the current world-order, this would be

  ipadm create-ipv6addrs -i link0 default

and it would be ok because the label would be local to the interface
and IP-version. (i.e, the *-v6addrs and *-dhcp have distinct namespaces)


Well, can't we just return "object called 'default' already exists". That way *address object* names are truly unique to the interface. In other words the namespace is specific to that interface.

Further if we don't return 'error' above, then to disambiguate the name "default" in ipadm set-addrprop, we should start accepting '-f' option.

~Girish









_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to