)]}'
{
  "commit": "acfc19dc8285a07412ee0078fbc13d7319d5be8b",
  "tree": "87eb70dce18a5b7bc0cc76c16d33df033046be73",
  "parents": [
    "3515f574c39dd8249012cefbce3db7169ffcb59f"
  ],
  "author": {
    "name": "Wei Zhou",
    "email": "w.zhou@tech.leaseweb.com",
    "time": "Thu Dec 10 13:26:02 2015 +0100"
  },
  "committer": {
    "name": "Wei Zhou",
    "email": "w.zhou@tech.leaseweb.com",
    "time": "Thu Dec 10 14:02:02 2015 +0100"
  },
  "message": "CLOUDSTACK-9134: set device_id as the first device_id not in use instead of nic count\n\nwhen we restart vpc tiers, the old nics will be removed, and create a new nic.\nhowever, the device_id was set to the nic count, which may be already used.\nthis commit get the first device_id not in use as the device_id of new nic.\n\nThis issue also happen when we add multiple networks to a vm and remove them.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a3ae526176f0ee818bdb42bc7274eee5a2596f13",
      "old_mode": 33188,
      "old_path": "engine/orchestration/src/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java",
      "new_id": "21699a32fcdcd3e05b4e25ed7c45612a52896448",
      "new_mode": 33188,
      "new_path": "engine/orchestration/src/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java"
    },
    {
      "type": "modify",
      "old_id": "a7ad01692cfd2b87ae0b32a573d0ff2b75999b8a",
      "old_mode": 33188,
      "old_path": "engine/schema/src/com/cloud/vm/dao/NicDao.java",
      "new_id": "2c7895a5a55795f801a11e32cecb70e86e0ecc0b",
      "new_mode": 33188,
      "new_path": "engine/schema/src/com/cloud/vm/dao/NicDao.java"
    },
    {
      "type": "modify",
      "old_id": "da89b2c54d35b0a4f1905e8736bfb4d7db20fb37",
      "old_mode": 33188,
      "old_path": "engine/schema/src/com/cloud/vm/dao/NicDaoImpl.java",
      "new_id": "f1299b389cce46d4277763572980fc02528470fd",
      "new_mode": 33188,
      "new_path": "engine/schema/src/com/cloud/vm/dao/NicDaoImpl.java"
    }
  ]
}
