Replace node['name'] to node['slave_name'] everywhere;
Fix errors.

Change-Id: I6d6b0483317f92b2bc05ef17bf20a9950afdec43