1#!/usr/bin/env python 2# 3# Copyright 2016 Google Inc. 4# 5# Use of this source code is governed by a BSD-style license that can be 6# found in the LICENSE file. 7 8 9import collections 10import json 11 12 13DEFAULT_PORT = '22' 14DEFAULT_USER = 'chrome-bot' 15 16 17SlaveInfo = collections.namedtuple('SlaveInfo', 18 'ssh_user ssh_host ssh_port') 19 20SLAVE_INFO = { 21 'skiabot-shuttle-ubuntu12-003': 22 SlaveInfo('root', '192.168.1.123', DEFAULT_PORT), 23 'skiabot-shuttle-ubuntu12-004': 24 SlaveInfo('root', '192.168.1.134', DEFAULT_PORT), 25 'default': 26 SlaveInfo('nouser', 'noip', 'noport'), 27} 28 29 30if __name__ == '__main__': 31 print json.dumps(SLAVE_INFO) # pragma: no cover 32 33