[PATCH pyphosphor] Use standard DBUS naming conventions

OpenBMC Patches openbmc-patches at stwcx.xyz
Tue Jun 14 02:30:49 AEST 2016


From: Brad Bishop <bradleyb at fuzziesquirrel.com>

The existing service/iface/object path names were out-of-spec.

busname: org.openbmc.ObjectMapper
iface: org.openbmc.ObjectMapper
path: /org/openbmc/ObjectMapper

Signed-off-by: Brad Bishop <bradleyb at fuzziesquirrel.com>
---
 obmc/mapper.py | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/obmc/mapper.py b/obmc/mapper.py
index 68ffb63..ab23524 100644
--- a/obmc/mapper.py
+++ b/obmc/mapper.py
@@ -19,11 +19,10 @@ import obmc.dbuslib.enums
 import obmc.utils.misc
 import obmc.utils.pathtree
 
-MAPPER_NAME = 'org.openbmc.objectmapper'
-MAPPER_IFACE = MAPPER_NAME + '.ObjectMapper'
-MAPPER_PATH = '/org/openbmc/objectmapper/objectmapper'
-ENUMERATE_IFACE = 'org.openbmc.Object.Enumerate'
-MAPPER_NOT_FOUND = 'org.openbmc.objectmapper.Error.NotFound'
+MAPPER_NAME = 'org.openbmc.ObjectMapper'
+MAPPER_IFACE = MAPPER_NAME
+MAPPER_PATH = '/org/openbmc/ObjectMapper'
+MAPPER_NOT_FOUND = MAPPER_NAME + '.Error.NotFound'
 
 
 class Mapper:
-- 
2.8.4




More information about the openbmc mailing list