xref: /openbmc/pyphosphor/obmc/dbuslib/enums.py (revision dc7f067d)
1# Contributors Listed Below - COPYRIGHT 2016
2# [+] International Business Machines Corp.
3#
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9#     http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
14# implied. See the License for the specific language governing
15# permissions and limitations under the License.
16
17import dbus
18
19DBUS_OBJMGR_IFACE = dbus.BUS_DAEMON_IFACE + '.ObjectManager'
20DBUS_UNKNOWN_INTERFACE = 'org.freedesktop.DBus.Error.UnknownInterface'
21DBUS_UNKNOWN_SERVICE = 'org.freedesktop.DBus.Error.ServiceUnknown'
22DBUS_UNKNOWN_PROPERTY = 'org.freedesktop.DBus.Error.UnknownProperty'
23DBUS_UNKNOWN_METHOD = 'org.freedesktop.DBus.Error.UnknownMethod'
24DBUS_INVALID_ARGS = 'org.freedesktop.DBus.Error.InvalidArgs'
25DBUS_NO_REPLY = 'org.freedesktop.DBus.Error.NoReply'
26DBUS_TYPE_ERROR = 'org.freedesktop.DBus.Python.TypeError'
27OBMC_ASSOCIATIONS_IFACE = 'org.openbmc.Associations'
28OBMC_ASSOC_IFACE = 'org.openbmc.Association'
29OBMC_DELETE_IFACE = 'org.openbmc.Object.Delete'
30OBMC_PROPERTIES_IFACE = "org.openbmc.Object.Properties"
31OBMC_ENUMERATE_IFACE = "org.openbmc.Object.Enumerate"
32