mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 05:27:55 +00:00
use subtype=meonly for channel subscriptions in bigtool (i think it currently only wants responses, not other chatter)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@269 e5f2f494-b856-4b98-b285-d166d9295462
This commit is contained in:
parent
d7827f2289
commit
8f9a4c381f
@ -32,9 +32,9 @@ def _prepare_fake_data(bigtool):
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
cc = ISC.CC.Session()
|
||||
cc.group_subscribe("BigTool")
|
||||
cc.group_subscribe("ConfigManager")
|
||||
cc.group_subscribe("Boss")
|
||||
cc.group_subscribe("BigTool", "*", "meonly")
|
||||
cc.group_subscribe("ConfigManager", "*", "meonly")
|
||||
cc.group_subscribe("Boss", "*", "meonly")
|
||||
|
||||
tool = BigTool(cc)
|
||||
_prepare_fake_data(tool)
|
||||
|
@ -103,6 +103,7 @@ class Session:
|
||||
return self._sequence
|
||||
|
||||
def group_subscribe(self, group, instance = "*", subtype = "normal"):
|
||||
"""subtype can be 'normal' or 'meonly'"""
|
||||
self.sendmsg({
|
||||
"type": "subscribe",
|
||||
"group": group,
|
||||
|
Loading…
x
Reference in New Issue
Block a user