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