The imm tool 'immadm' should support an argument providing an explicit
admin-owner name to be set. The tool 'immcfg' already supports the '-o'
argument for that purpose. The '-o' argument is already used for a different
puprpose in immadm so I suggest the '-a' argument for immadm.
By default both immcfg and immadm set admin-owner to a transiently generated
string. But explicit setting of admin-owner is needed if the operation is to be
invoked on an object that already has admin-owner set permanently or long term.
When admin-owner is set explicitly in this way by a command, the command should
not release admin-owner as part of the command. Thus releaseOwnershipOnFinalize
should be set to false in saImmOmAdminOwnerInitialize and the command should not
do explicit release of admin-owner as this could interfere with the tasks of one
or more other clients using hte same admin-owner.
Changing ticket type from enhancement to defect. This to make common
scripting using immadm possible for 4.2. 4.3 and next release 4.4.
changeset: 4594:f84cd925a60a
tag: tip
parent: 4591:2fc99388732e
user: Anders Bjornerstedt anders.bjornerstedt@ericsson.com
date: Wed Nov 06 17:13:18 2013 +0100
summary: IMM: Support for 'immadm -a (--admin-owner) <admo-name>' [#613]</admo-name>
changeset: 4593:892d244c1112
branch: opensaf-4.3.x
parent: 4590:337dc3e96c5d
user: Anders Bjornerstedt anders.bjornerstedt@ericsson.com
date: Wed Nov 06 16:57:55 2013 +0100
summary: IMM: Support for 'immadm -a (--admin-owner) <admo-name>' [#613]</admo-name>
changeset: 4592:7d737b076cf0
branch: opensaf-4.2.x
parent: 4589:19ed4b426ae7
user: Anders Bjornerstedt anders.bjornerstedt@ericsson.com
date: Wed Nov 06 16:57:55 2013 +0100
summary: IMM: Support for 'immadm -a (--admin-owner) <admo-name>' [#613]</admo-name>
Related
Tickets:
#613