summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2018-01-29 14:54:51 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-01-31 11:18:29 -0500
commitbcc06444001e8af6d72245b0b471a0ead9c902b5 (patch)
treea27094ad42f5720f6531dd953320dc2e9d4b02b1
parentcabc638548d89390db664329a3c2a8d7633b4598 (diff)
downloadphosphor-objmgr-bcc06444001e8af6d72245b0b471a0ead9c902b5.tar.gz
phosphor-objmgr-bcc06444001e8af6d72245b0b471a0ead9c902b5.zip
server: Unmask association signals
PropertiesChanged signals are masked by default by pyphosphor. When left masked, PropertiesChanged signals are not emitted by the mapper when it adds or removes endpoints from an association. Unmask signals when association objects are created so the signal is emitted. Tested: Manually verified PropertiesChanged signals are emitted on association endpoint updates with busctl. Change-Id: Ie222aa414554c416a0c7483ddbcdab1c81dac77e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r--obmc/mapper/server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/obmc/mapper/server.py b/obmc/mapper/server.py
index 35415f8..3837a17 100644
--- a/obmc/mapper/server.py
+++ b/obmc/mapper/server.py
@@ -188,6 +188,7 @@ class Association(obmc.dbuslib.bindings.DbusProperties):
"""
super(Association, self).__init__(conn=bus, object_path=path)
self.properties = {self.iface: {'endpoints': endpoints}}
+ self.unmask_signals()
class Manager(obmc.dbuslib.bindings.DbusObjectManager):
OpenPOWER on IntegriCloud