d9fa758292
BUG=skia:4763 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1703663002 Review URL: https://codereview.chromium.org/1703663002
33 lines
692 B
Python
33 lines
692 B
Python
#!/usr/bin/env python
|
|
#
|
|
# Copyright 2016 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
|
|
import collections
|
|
import json
|
|
|
|
|
|
DEFAULT_PORT = '22'
|
|
DEFAULT_USER = 'chrome-bot'
|
|
|
|
|
|
SlaveInfo = collections.namedtuple('SlaveInfo',
|
|
'ssh_user ssh_host ssh_port')
|
|
|
|
SLAVE_INFO = {
|
|
'skiabot-shuttle-ubuntu12-003':
|
|
SlaveInfo('root', '192.168.1.123', DEFAULT_PORT),
|
|
'skiabot-shuttle-ubuntu12-004':
|
|
SlaveInfo('root', '192.168.1.134', DEFAULT_PORT),
|
|
'default':
|
|
SlaveInfo('nouser', 'noip', 'noport'),
|
|
}
|
|
|
|
|
|
if __name__ == '__main__':
|
|
print json.dumps(SLAVE_INFO) # pragma: no cover
|
|
|