3
################################################################################
4
# Linux Management Providers (LMP), OpenDRIM_RecordLogPackage provider package
5
# Copyright (C) 2007 Ilsoo Byun, ETRI <widepis@etri.re.kr, widepis@empal.com>
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 2008 Guillaume BOTTEX, ETRI <guillaumebottex@etri.re.kr, guillaumebottex@gmail.com>
31
################################################################################
33
if test "$3" = pegasus
36
cimmof -aE -n $1 $6/mof/OpenDRIM_LogManagesRecord.mof
38
OUTFILE=./TEMP_REGISTRATION
40
cat >> $OUTFILE << EOFC
41
instance of PG_ProviderModule {
42
Caption = "OpenDRIM_LogManagesRecord provider module";
43
Name = "OpenDRIM_RecordLogPackage_OpenDRIM_LogManagesRecordModule";
44
Location = "cmpiOpenDRIM_RecordLogPackage_OpenDRIM_LogManagesRecordProvider";
47
InterfaceType = "CMPI";
48
InterfaceVersion = "2.0.0";
51
instance of PG_Provider {
52
Caption = "OpenDRIM_LogManagesRecord provider";
53
Name = "OpenDRIM_RecordLogPackage_OpenDRIM_LogManagesRecordProvider";
54
ProviderModuleName = "OpenDRIM_RecordLogPackage_OpenDRIM_LogManagesRecordModule";
57
instance of PG_ProviderCapabilities {
58
Caption = "OpenDRIM_LogManagesRecord provider capabilities";
59
ProviderModuleName = "OpenDRIM_RecordLogPackage_OpenDRIM_LogManagesRecordModule";
60
ProviderName = "OpenDRIM_RecordLogPackage_OpenDRIM_LogManagesRecordProvider";
61
ClassName = "OpenDRIM_LogManagesRecord";
62
ProviderType = {2, 3};
64
SupportedProperties = {"Log", "Record"};
65
CapabilityID = "OpenDRIM_RecordLogPackage_OpenDRIM_LogManagesRecord";
70
cimmof -n root/PG_InterOp $OUTFILE
79
OUTFILE=./OpenDRIM_LogManagesRecord.reg
81
cat >> $OUTFILE <<EOFC
82
[OpenDRIM_LogManagesRecord]
83
provider: OpenDRIM_RecordLogPackage_OpenDRIM_LogManagesRecordProvider
84
location: cmpiOpenDRIM_RecordLogPackage_OpenDRIM_LogManagesRecordProvider
85
type: instance association
90
sfcbstage -r $OUTFILE -n $1 $6/mof/OpenDRIM_LogManagesRecord.mof
98
if test "$3" = openwbem
101
OUTFILE=./OpenDRIM_LogManagesRecord-reg.mof
103
sed "s/Provider *( *\"cmpi:/Provider(\"cmpi::/g" < $6/mof/OpenDRIM_LogManagesRecord.mof >> $OUTFILE
104
owmofc -u http://localhost/$1 $OUTFILE