)]}'
{
  "commit": "f36f1ffca4c0191bfd3a6998ad375c3b876340ee",
  "tree": "b398158b29c5d647ae9da4c7518206d5e98416d7",
  "parents": [
    "a380be6081d3bad1ca3a08e34c94cd3eab7f3a1a"
  ],
  "author": {
    "name": "Devdeep Singh",
    "email": "devdeep@gmail.com",
    "time": "Tue May 05 18:24:04 2015 +0530"
  },
  "committer": {
    "name": "Devdeep Singh",
    "email": "devdeep@gmail.com",
    "time": "Tue May 05 18:28:35 2015 +0530"
  },
  "message": "Implementation for the ability to disable a storage pool for provisioning\nof new volumes. Following changes are implemented\n1. Disable or enable a pool with the updateStoragePool api. A new \u0027enabled\u0027\n   parameter added for the same.\n2. When a pool is disabled the state of the pool is updated to \u0027Disabled\u0027\n   in the db. On enabling it is updated back to \u0027Up\u0027. Alert is raised when\n   a pool is disabled or enabled.\n3. Updated other storage providers to also honour the disabled state.\n4. A disabled pool is skipped by allocators for provisioing of new volumes.\n5. Since the allocators skip a disabled pool for provisioning of volumes,\n   the volumes are also not listed as a destination for volume migration.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "20f287a36c7082ec164f704b431a10beacd90b19",
      "old_mode": 33188,
      "old_path": "api/src/com/cloud/event/EventTypes.java",
      "new_id": "78236fabbbe3f70e787e74abc64729f4aa531461",
      "new_mode": 33188,
      "new_path": "api/src/com/cloud/event/EventTypes.java"
    },
    {
      "type": "modify",
      "old_id": "c7ff0ff2879b5d16c96b9ba47772068534a8d130",
      "old_mode": 33188,
      "old_path": "api/src/com/cloud/storage/StoragePoolStatus.java",
      "new_id": "778d3881e3ea768022a77d3c552e1df2eafa5bec",
      "new_mode": 33188,
      "new_path": "api/src/com/cloud/storage/StoragePoolStatus.java"
    },
    {
      "type": "modify",
      "old_id": "3d1a77353257c814efaf60875ffdf99603bc414e",
      "old_mode": 33188,
      "old_path": "api/src/org/apache/cloudstack/api/command/admin/storage/UpdateStoragePoolCmd.java",
      "new_id": "6bf62282a7ae889cbd6dd0f37227a111ea67f194",
      "new_mode": 33188,
      "new_path": "api/src/org/apache/cloudstack/api/command/admin/storage/UpdateStoragePoolCmd.java"
    },
    {
      "type": "modify",
      "old_id": "7640cf33abce3f7116e20c38779139affe3ecad9",
      "old_mode": 33188,
      "old_path": "engine/api/src/org/apache/cloudstack/engine/subsystem/api/storage/PrimaryDataStoreLifeCycle.java",
      "new_id": "fcbc19c28b7bcda3fc289e4a6bf1f4cf5142967f",
      "new_mode": 33188,
      "new_path": "engine/api/src/org/apache/cloudstack/engine/subsystem/api/storage/PrimaryDataStoreLifeCycle.java"
    },
    {
      "type": "modify",
      "old_id": "a976bfbf6fe46306d20ad939c335bba6b9b7be54",
      "old_mode": 33188,
      "old_path": "engine/schema/src/org/apache/cloudstack/storage/datastore/db/PrimaryDataStoreDao.java",
      "new_id": "393954588221b3a08096da5a626651cab3b9a4d6",
      "new_mode": 33188,
      "new_path": "engine/schema/src/org/apache/cloudstack/storage/datastore/db/PrimaryDataStoreDao.java"
    },
    {
      "type": "modify",
      "old_id": "ae2287e9181dd480927e76680a450fdd33d734f1",
      "old_mode": 33188,
      "old_path": "engine/schema/src/org/apache/cloudstack/storage/datastore/db/PrimaryDataStoreDaoImpl.java",
      "new_id": "faf5291554a68506b14438a7e1cda61cd4c3cc0c",
      "new_mode": 33188,
      "new_path": "engine/schema/src/org/apache/cloudstack/storage/datastore/db/PrimaryDataStoreDaoImpl.java"
    },
    {
      "type": "modify",
      "old_id": "0f4df4f1b030516eb2edb4f346b475a52f48738a",
      "old_mode": 33188,
      "old_path": "engine/storage/src/org/apache/cloudstack/storage/allocator/ClusterScopeStoragePoolAllocator.java",
      "new_id": "d78bd09e017e6fa8b3215748c5a18b578deba21c",
      "new_mode": 33188,
      "new_path": "engine/storage/src/org/apache/cloudstack/storage/allocator/ClusterScopeStoragePoolAllocator.java"
    },
    {
      "type": "modify",
      "old_id": "446e101141bafde28615d766fdffd3a36ee8f3ce",
      "old_mode": 33188,
      "old_path": "engine/storage/src/org/apache/cloudstack/storage/allocator/LocalStoragePoolAllocator.java",
      "new_id": "a4edf76c105308a6b127af3445d8e392906416ad",
      "new_mode": 33188,
      "new_path": "engine/storage/src/org/apache/cloudstack/storage/allocator/LocalStoragePoolAllocator.java"
    },
    {
      "type": "modify",
      "old_id": "b38b76f6bfa5ad285cfc6e5f5086c9a606b8e960",
      "old_mode": 33188,
      "old_path": "engine/storage/src/org/apache/cloudstack/storage/allocator/ZoneWideStoragePoolAllocator.java",
      "new_id": "7a109669ab75e78c47c6b347888d3fc68a7dada3",
      "new_mode": 33188,
      "new_path": "engine/storage/src/org/apache/cloudstack/storage/allocator/ZoneWideStoragePoolAllocator.java"
    },
    {
      "type": "modify",
      "old_id": "ef0db853520cda95d2b1bc545ac85dafb98c5a64",
      "old_mode": 33188,
      "old_path": "engine/storage/src/org/apache/cloudstack/storage/volume/datastore/PrimaryDataStoreHelper.java",
      "new_id": "8752c198e3d87c4a3a5730424bae415ace18ccb8",
      "new_mode": 33188,
      "new_path": "engine/storage/src/org/apache/cloudstack/storage/volume/datastore/PrimaryDataStoreHelper.java"
    },
    {
      "type": "modify",
      "old_id": "1778d43be4754cb9fa8e323e77270f720b222952",
      "old_mode": 33188,
      "old_path": "plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/lifecycle/ElastistorPrimaryDataStoreLifeCycle.java",
      "new_id": "5a8ccf17fa1216bcc59a5741daa7fb4afcf9ba2e",
      "new_mode": 33188,
      "new_path": "plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/lifecycle/ElastistorPrimaryDataStoreLifeCycle.java"
    },
    {
      "type": "modify",
      "old_id": "d11342c033119df4aa66ee1820f5c2d5676c9ce4",
      "old_mode": 33188,
      "old_path": "plugins/storage/volume/default/src/org/apache/cloudstack/storage/datastore/lifecycle/CloudStackPrimaryDataStoreLifeCycleImpl.java",
      "new_id": "38e9d9c9d0cc7f60b1f782c541e1e70c348058fa",
      "new_mode": 33188,
      "new_path": "plugins/storage/volume/default/src/org/apache/cloudstack/storage/datastore/lifecycle/CloudStackPrimaryDataStoreLifeCycleImpl.java"
    },
    {
      "type": "modify",
      "old_id": "493f2742e36f5c07cec78c863a3305b637e27df5",
      "old_mode": 33188,
      "old_path": "plugins/storage/volume/nexenta/src/org/apache/cloudstack/storage/datastore/lifecylce/NexentaPrimaryDataStoreLifeCycle.java",
      "new_id": "4fffb348a8b75c47f21e4709edf1bb4cfc455ecc",
      "new_mode": 33188,
      "new_path": "plugins/storage/volume/nexenta/src/org/apache/cloudstack/storage/datastore/lifecylce/NexentaPrimaryDataStoreLifeCycle.java"
    },
    {
      "type": "modify",
      "old_id": "ee38072879b14e01e5b1036e947b46cddbbdf0b7",
      "old_mode": 33188,
      "old_path": "plugins/storage/volume/sample/src/org/apache/cloudstack/storage/datastore/lifecycle/SamplePrimaryDataStoreLifeCycleImpl.java",
      "new_id": "3a0ce83f9513a89dfa351e435fed5eeba45b0f68",
      "new_mode": 33188,
      "new_path": "plugins/storage/volume/sample/src/org/apache/cloudstack/storage/datastore/lifecycle/SamplePrimaryDataStoreLifeCycleImpl.java"
    },
    {
      "type": "modify",
      "old_id": "7c36416970b9bf267b53efd935c4a46ff251fdf7",
      "old_mode": 33188,
      "old_path": "plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/lifecycle/SolidFirePrimaryDataStoreLifeCycle.java",
      "new_id": "4b38f221df0196faccc50dc95e7fb8c0c14e5e5b",
      "new_mode": 33188,
      "new_path": "plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/lifecycle/SolidFirePrimaryDataStoreLifeCycle.java"
    },
    {
      "type": "modify",
      "old_id": "4fa49ef9daaf3609950fd48045f2440c87b567b4",
      "old_mode": 33188,
      "old_path": "plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/lifecycle/SolidFireSharedPrimaryDataStoreLifeCycle.java",
      "new_id": "bc22ac7342b4825cd70aa577f728cb44eb1052b5",
      "new_mode": 33188,
      "new_path": "plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/lifecycle/SolidFireSharedPrimaryDataStoreLifeCycle.java"
    },
    {
      "type": "modify",
      "old_id": "f31095b68b8035cc266f572bd6fb6abc68c0d506",
      "old_mode": 33188,
      "old_path": "server/src/com/cloud/storage/StorageManagerImpl.java",
      "new_id": "e725ce30cd6114db8fb28a8ac5f664dbaa727d5e",
      "new_mode": 33188,
      "new_path": "server/src/com/cloud/storage/StorageManagerImpl.java"
    }
  ]
}
