- **status**: assigned --> review


---

** [tickets:#1383] IMM: immcfg should allow explcit admin-owner in explicit 
commit mode**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Fri Jun 05, 2015 07:30 AM UTC by Anders Bjornerstedt
**Last Updated:** Tue Jul 12, 2016 09:50 AM UTC
**Owner:** Neelakanta Reddy


The basic immcfg allows the user to explicitly set admin-owner

 immcfg -o MyAdminOwner .....

In explicit commit mode this is not possible.

 # immcfg
 > immcfg -o MyAdmo
 Administrative owner name can be set only once

Setting admin-owner explicitly is necessary when operating on objects
that have admin-owner set more or less permanently. This is the case
when saImmOmAdminOwnerInitialize is invoked with the releaseOwnershipOnFinalize
argument set to SA_FALSE. 
See the SAF IMM A.02.01 spec for details on saImmOmAdminOwnerInitialize.

Possible solutions for immcfg in explicit commit mode are either:

(1) Postpone allocating the temporary admo until an explicit operation gets
invoked that is not 'immcfg -o  XXXXX' and no admo is initialized currently.

(2) If 'immcfg -o  XXXXX' is invoked in explicit commit mode while there is
currently another admo initialized, then close the current one and open the
new explicit admo.

I suggest solution (2) since it also allows a change of admo in one immcfg 
session.
The downside is that the user may shoot themselves in the foot with that one by
derailing a CCB that is under buildup. You cannot build up a CCB or a chain of 
CCBs
using one ccb-handle and several admin-oowners. One initialized CCB handle is
always associated with one initialized admin-owner handle.



---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to