Girish Moodalbail wrote:
Isn't the following two cases different:
(a) "link existed to begin with and went missing later on" and
(b) "link never existed to begin with"
In the first case, we already have an object before the link
disappeared. Since we have an object we could apply modify/delete
properties on it. So when it reappears the latest configuration will be
applied on it. In 'dladm' we could do it by making upcalls to the daemon
and in 'ipadm' we can do it by parsing the persistent store.
However in the second case, we don't even have an object to apply
modify/delete on it. Both these case need separate handling, right?
I don't understand why they need to be different.
Even in the case that the link called 'link0' existed before, due to
vanity naming etc, when it comes back it might be of a completely
different type and have different capabilities.
Thus the cases you need to handle for a link name that comes back are
not any different than the case you need to handle to apply properties
that were created for I link that hadn't yet come into existence.
Erik
_______________________________________________
networking-discuss mailing list
[email protected]