summaryrefslogtreecommitdiffstats
path: root/mof
diff options
context:
space:
mode:
authorTomas Smetana <tsmetana@redhat.com>2013-01-15 09:48:13 +0100
committerTomas Smetana <tsmetana@redhat.com>2013-01-15 09:48:13 +0100
commit93d359d202c0f930afa6544f81441cc05080bd12 (patch)
tree8946ff31a09caa7779055805cd3edc5fbff7a31f /mof
parentdf6847b72e4ba18d34c9309847f1f8c061102dd0 (diff)
downloadopenlmi-providers-93d359d202c0f930afa6544f81441cc05080bd12.tar.gz
openlmi-providers-93d359d202c0f930afa6544f81441cc05080bd12.tar.xz
openlmi-providers-93d359d202c0f930afa6544f81441cc05080bd12.zip
New provider: Hardware
Diffstat (limited to 'mof')
-rw-r--r--mof/LMI_Hardware.mof35
1 files changed, 35 insertions, 0 deletions
diff --git a/mof/LMI_Hardware.mof b/mof/LMI_Hardware.mof
new file mode 100644
index 0000000..87d5741
--- /dev/null
+++ b/mof/LMI_Hardware.mof
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2013 Red Hat, Inc. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * Authors: Tomas Smetana <tsmetana@redhat.com>
+ */
+
+[ Provider("cmpi:cmpiLMI_PCIDevice") ]
+class LMI_PCIDevice: CIM_PCIDevice
+{
+ [ Description("Name of the subsystem") ]
+ string SubsystemName;
+
+ [ Description("Name of the subsystem vendor") ]
+ string SubsystemVendorName;
+
+ [ Description("Name of the device") ]
+ string PCIDeviceName;
+
+ [ Description("Name of the vendor") ]
+ string VendorName;
+};