)]}'
{
  "commit": "896300ca7cd13749ad10609ade557b3140b2c269",
  "tree": "746f1d91b2709d07ae43ac946ec10a490a919f75",
  "parents": [
    "609f6030a21c94618ff3fffe8ec47fba7435b868"
  ],
  "author": {
    "name": "wantwatering",
    "email": "yun.wang2@hp.com",
    "time": "Fri Mar 27 15:17:42 2015 +0800"
  },
  "committer": {
    "name": "Wang Yun",
    "email": "yun.wang2@hp.com",
    "time": "Wed Apr 01 09:59:40 2015 +0000"
  },
  "message": "Allow SSH instance with username and password in scenario cases\n\nCurrent scenario test cases only allow SSH with keypair.\nHere we change the entrance where call SSH client:\nscenario.manager.get_remote_client(). Check the ssh_auth_method to\ndecide which way should be picked, pass a None private to paramiko\nif username/password has been chosen and vice versa.\n\nSince disable ssh_auth_method makes most of the scenario test cases\nmeaningless, here the disable flag is not checked and the SSH method\nis either username/password or private key.\n\nTO test the modification for username/password authentication with\ncirros, set tempest.conf as below and run senario test cases:\n\n[compute]\n...\nimage_ssh_user \u003d cirros\nimage_ssh_password \u003d cubswin:)\nssh_auth_method \u003d configured  #default is keypair\nrun_ssh \u003d True #If want to test scenario.test_server_basic_opts\n...\n\n[scenario]\n...\nssh_user \u003d cirros\n...\n\nTODO in the next:\nSSH username and password come from different config options.\ne.g. some of the scenario cases use compute.image_ssh_password and\ncompute.image_ssh_user, some of them use scenario.ssh_user or\ninput-scenario.ssh_user_regex. And the rest use all of them. It\u0027s\nhard for user to configure for all the cases since they need to\nmodify many places for username, password etc. It\u0027s better to use the\nsame place to configure them.\n\nChange-Id: I48e3689c4040b18e887284b8eec3a6537c6adb50\nCloses-Bug: #1400638\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bae82967749cf7648e7ecaf7d38dbf447d768e6d",
      "old_mode": 33188,
      "old_path": "tempest/scenario/manager.py",
      "new_id": "c0374e6b88d5db1851a4ae0d1ff059bb5b42bf77",
      "new_mode": 33188,
      "new_path": "tempest/scenario/manager.py"
    }
  ]
}
