change lanename from com to master

This commit is contained in:
Thomas S Hatch 2014-03-04 14:14:03 -07:00
parent 938e517695
commit 359bbfff09
2 changed files with 7 additions and 4 deletions

View File

@ -50,9 +50,12 @@ class LocalClient(salt.client.LocalClient):
timeout=5,
**kwargs)
yid = salt.utils.gen_jid()
stack = stacking.StackUxd(yid=yid, lanename='com', dirpath=self.opts['sock_dir'])
stack = stacking.StackUxd(
yid=yid,
lanename='master',
dirpath=self.opts['sock_dir'])
router_yard = yarding.Yard(
prefix='com',
prefix='master',
yid=0,
dirpath=self.opts['sock_dir'])
stack.addRemoteYard(router_yard)

View File

@ -65,7 +65,7 @@ class UxdRouter(ioflo.base.deeding.Deed): # pylint: disable=W0232
'''
self.stack.value = stacking.StackUxd(
name='router',
lanename='com',
lanename='master',
yid=0,
dirpath=self.opts.value['sock_dir'])
self.event_yards.value = set()
@ -81,7 +81,7 @@ class UxdRouter(ioflo.base.deeding.Deed): # pylint: disable=W0232
try:
ev_yard = yarding.Yard(
yid=msg['load']['yid'],
prefix='com',
prefix='master',
dirpath=msg['load']['dirpath'])
except Exception:
return