3
#################################################################################
4
# Linux Management Providers (LMP), Simple Identity Management provider package
5
# Copyright (C) 2007 Frederic Desmons, ETRI <desmons@etri.re.kr, desmons_frederic@yahoo.fr>
7
# This program is being developed under the "OpenDRIM" project.
8
# The "OpenDRIM" project web page: http://opendrim.sourceforge.net
9
# The "OpenDRIM" project mailing list: opendrim@googlegroups.com
11
# This program is free software; you can redistribute it and/or
12
# modify it under the terms of the GNU General Public License
13
# as published by the Free Software Foundation; version 2
16
# This program is distributed in the hope that it will be useful,
17
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
# GNU General Public License for more details.
21
# You should have received a copy of the GNU General Public License
22
# along with this program; if not, write to the Free Software
23
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24
#################################################################################
26
#################################################################################
27
# To contributors, please leave your contact information in this section
28
# AND comment your changes in the source code.
30
# Modified by 2009 Khahramon NURIDDINOV, TUIT <qahramon0786@gmail.com>
31
# Modified by 2009 Guillaume BOTTEX, ETRI <guillaumebottex@etri.re.kr>
32
#################################################################################
35
if test "$3" = pegasus
38
cimmof -aE -n $1 $6/mof/OpenDRIM_AccountManagementServiceConformsToProfile.mof
39
cimmof -aE -n $4 $6/mof/OpenDRIM_AccountManagementServiceConformsToProfile.mof
41
OUTFILE=./TEMP_REGISTRATION
43
cat >> $OUTFILE << EOFC
44
instance of PG_ProviderModule {
45
Caption = "OpenDRIM_AccountManagementServiceConformsToProfile provider module";
46
Name = "Simple_Identity_Management_OpenDRIM_AccountManagementServiceConformsToProfileModule";
47
Location = "cmpiSimple_Identity_Management_OpenDRIM_AccountManagementServiceConformsToProfileProvider";
50
InterfaceType = "CMPI";
51
InterfaceVersion = "2.0.0";
54
instance of PG_Provider {
55
Caption = "OpenDRIM_AccountManagementServiceConformsToProfile provider";
56
Name = "Simple_Identity_Management_OpenDRIM_AccountManagementServiceConformsToProfileProvider";
57
ProviderModuleName = "Simple_Identity_Management_OpenDRIM_AccountManagementServiceConformsToProfileModule";
60
instance of PG_ProviderCapabilities {
61
Caption = "OpenDRIM_AccountManagementServiceConformsToProfile provider capabilities";
62
ProviderModuleName = "Simple_Identity_Management_OpenDRIM_AccountManagementServiceConformsToProfileModule";
63
ProviderName = "Simple_Identity_Management_OpenDRIM_AccountManagementServiceConformsToProfileProvider";
64
ClassName = "OpenDRIM_AccountManagementServiceConformsToProfile";
65
ProviderType = {2, 3};
66
Namespaces = {"$1", "$4"};
67
SupportedProperties = {"ConformantStandard", "ManagedElement"};
68
CapabilityID = "Simple_Identity_Management_OpenDRIM_AccountManagementServiceConformsToProfile";
73
cimmof -n root/PG_InterOp $OUTFILE
82
OUTFILE=./OpenDRIM_AccountManagementServiceConformsToProfile.reg
84
cat >> $OUTFILE <<EOFC
85
[OpenDRIM_AccountManagementServiceConformsToProfile]
86
provider: Simple_Identity_Management_OpenDRIM_AccountManagementServiceConformsToProfileProvider
87
location: cmpiSimple_Identity_Management_OpenDRIM_AccountManagementServiceConformsToProfileProvider
88
type: instance association
93
sfcbstage -r $OUTFILE -n $1 $6/mof/OpenDRIM_AccountManagementServiceConformsToProfile.mof
94
sfcbstage -r $OUTFILE -n $4 $6/mof/OpenDRIM_AccountManagementServiceConformsToProfile.mof
102
if test "$3" = openwbem
105
OUTFILE=./OpenDRIM_AccountManagementServiceConformsToProfile-reg.mof
107
sed "s/Provider *( *\"cmpi:/Provider(\"cmpi::/g" < $6/mof/OpenDRIM_AccountManagementServiceConformsToProfile.mof >> $OUTFILE
108
owmofc -u http://localhost/$1 $OUTFILE
109
owmofc -u http://localhost/$4 $OUTFILE