hi Mike Mike Shapiro wrote: > > Finally, we agreed that there will be a clean separation between policy > engines and the underlying configuration representation. That is, NWAM > is one implementation of a policy engine that goes and sets up and tears > down these objects, and there may be others (akin to the separation between > legacy network/physical and NWAM today). Clustering software would be > another example. > > Therefore the method scripts for the above objects should simply plumb > up the abstractions (i.e. you can implement them as just shell scripts > calling dladm and ifconfig), but not be tied to a particular policy engine > that is enabled on the system if we can possibly help it. > > from an implementation perspective, it sounds to me like with this approach, we don't actually need a delegated restarter to handle links and interfaces. regardless of which policy engine is active, links and interface instances have a start method which simply initializes the underlying object, and from there the active policy engine carries out configuration. each policy engine is responsible for creating the interface/link instances it needs to manage, but the methods that those instances run are the same regardless of who does the managing. have i got this right?
if i understand this correctly then, the semantics of the instance states reported by "svcs interface" or "svcs datalink" represent something along the lines of: online: the object (datalink or interface) was initialized and is being managed by the active policy engine. maintenance: initialization of the object failed, or the active policy engine requires user intervention to fix a configuration problem, and so marked the instance for maintenance. disabled: the object is not active - either the policy engine or the administrator (via "svcadm disable") has specified it is not to be used. so in other words, if a link or interface is reported as "online" in SMF, it does not necessarily imply the entity is fully configured - rather that it has been initialized, and that the active policy engine is operating upon it. does that sound right? thanks! alan