)]}'
{
  "commit": "032d3307fb72066fbdfb8b5b2cdf010c649876d8",
  "tree": "36c8bf11cf3add1a8c2a76d362fc8c9ae92a89ae",
  "parents": [
    "d24189ec6bb130c4d517a31ceb9864a64c83a4de"
  ],
  "author": {
    "name": "khenaidoo",
    "email": "knursimu@ciena.com",
    "time": "Fri Jun 09 14:50:04 2017 -0400"
  },
  "committer": {
    "name": "Sergio Slobodrian",
    "email": "sslobodr@ciena.com",
    "time": "Mon Jun 12 06:37:05 2017 -0700"
  },
  "message": "[ 4222 ] Minor changes after code review\n\nThis is the initial commit for Persistence and Voltha restart.\nIt consists of the following:\n1) Introduction of a store config id which represents the data of\n   a Voltha instance.\n2) The Coordinator service dynamically allocates a store config id\n   to each voltha instance on startup.  It also reallocates the same id\n   to another voltha instance in the event the previous voltha instance\n   with that store id went down.\n3) All voltha data is stored in Consul as KV\n4) When a Voltha instance is started and get allocated a config id that\n   refers to existing data (from an instance that went down), then it will\n   load all the data from Consul into its own memory and start a reconciliation\n   process.\n5) During the reconciliation process, the necessary agents and\n   callbacks are created as per the data.  A reconcile() API is also\n   invoked on the adapters to perform their side of the reconciliation.\n6) The Reconciliation process is implemented in ponsim OLT and ONU\n7) A set of integration tests focussed on persistence and voltha\n   restarts.\n8) Fix a few bugs along the way\n\nChange-Id: I8c2bbae3b2fc79d0afd8ce3b7b0be6bde93e492a\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d572e62dbc0d550b599c9d08074561f6c81d7298",
      "old_mode": 33188,
      "old_path": "common/event_bus.py",
      "new_id": "8c903d9cb2dfdbbba28533af73b6407538b09c1a",
      "new_mode": 33188,
      "new_path": "common/event_bus.py"
    },
    {
      "type": "modify",
      "old_id": "7eeac38bab40fb2607906e97576555d4523b471a",
      "old_mode": 33188,
      "old_path": "common/utils/consulhelpers.py",
      "new_id": "df4dd58b16c109d0186cb1d9a67a4a92fb2b90f8",
      "new_mode": 33188,
      "new_path": "common/utils/consulhelpers.py"
    },
    {
      "type": "modify",
      "old_id": "fb6385f6e65c8182c2fd5d9ae59fb5d2a3300e95",
      "old_mode": 33188,
      "old_path": "compose/docker-compose-system-test.yml",
      "new_id": "7d15c1639fc930034ae9161de0d2dbb578cab627",
      "new_mode": 33188,
      "new_path": "compose/docker-compose-system-test.yml"
    },
    {
      "type": "modify",
      "old_id": "2100879d09fd624b1766e0150c191af209d430f5",
      "old_mode": 33261,
      "old_path": "ponsim/main.py",
      "new_id": "1b11407a94158b853bf2d01d129e7d5c6221274e",
      "new_mode": 33261,
      "new_path": "ponsim/main.py"
    },
    {
      "type": "modify",
      "old_id": "b304b03aaec390a06fed1e5f5665062bdc87d41b",
      "old_mode": 33188,
      "old_path": "tests/itests/voltha/rest_base.py",
      "new_id": "3b880d6d12d6a68548fd6dd1412a017f221fecb3",
      "new_mode": 33188,
      "new_path": "tests/itests/voltha/rest_base.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "428d51db8a4a63a77b3810cf3c9efdfad0ef957b",
      "new_mode": 33188,
      "new_path": "tests/itests/voltha/test_persistence.py"
    },
    {
      "type": "modify",
      "old_id": "a4248315dcd95657bb8ae8eca9fe0add63793da6",
      "old_mode": 33188,
      "old_path": "voltha/adapters/broadcom_onu/broadcom_onu.py",
      "new_id": "8adb0e812f53623a5c86374bf9d8ae3a1bbc6565",
      "new_mode": 33188,
      "new_path": "voltha/adapters/broadcom_onu/broadcom_onu.py"
    },
    {
      "type": "modify",
      "old_id": "5aa883831d188524dc68f660aac88dabd66efe0f",
      "old_mode": 33188,
      "old_path": "voltha/adapters/dpoe_onu/dpoe_onu.py",
      "new_id": "4bf13f2f11aeb992529b00422df53e13357142a9",
      "new_mode": 33188,
      "new_path": "voltha/adapters/dpoe_onu/dpoe_onu.py"
    },
    {
      "type": "modify",
      "old_id": "e44537b3b5e20d67393cf79bd75b43ab9c36dcf0",
      "old_mode": 33188,
      "old_path": "voltha/adapters/interface.py",
      "new_id": "1b6881f5aaf62f9d9948e65cc4e3b0778ad1a906",
      "new_mode": 33188,
      "new_path": "voltha/adapters/interface.py"
    },
    {
      "type": "modify",
      "old_id": "f77db1948f791ca05c23e67a42aac8decef6a49e",
      "old_mode": 33188,
      "old_path": "voltha/adapters/maple_olt/maple_olt.py",
      "new_id": "85430b000814e18946b3ed9780874de9eab4f43f",
      "new_mode": 33188,
      "new_path": "voltha/adapters/maple_olt/maple_olt.py"
    },
    {
      "type": "modify",
      "old_id": "42dc56f9bc854971ded44e3e1c7ecdb9cf963a8c",
      "old_mode": 33188,
      "old_path": "voltha/adapters/microsemi_olt/microsemi_olt.py",
      "new_id": "03783fb583f9c7dba9cd678fce594094b316822f",
      "new_mode": 33188,
      "new_path": "voltha/adapters/microsemi_olt/microsemi_olt.py"
    },
    {
      "type": "modify",
      "old_id": "a58353f342007471c0405899988e4b10db58db9d",
      "old_mode": 33188,
      "old_path": "voltha/adapters/pmcs_onu/pmcs_onu.py",
      "new_id": "da5a5be4404ff3051b03d1206be3512f0b5a9b57",
      "new_mode": 33188,
      "new_path": "voltha/adapters/pmcs_onu/pmcs_onu.py"
    },
    {
      "type": "modify",
      "old_id": "138e248bbde5a63291abd3414ca2b986bf04b2dc",
      "old_mode": 33188,
      "old_path": "voltha/adapters/ponsim_olt/ponsim_olt.py",
      "new_id": "be57fac4f33a17095052958ebf696c1880957f02",
      "new_mode": 33188,
      "new_path": "voltha/adapters/ponsim_olt/ponsim_olt.py"
    },
    {
      "type": "modify",
      "old_id": "cbaf3abb5a4b40b46f0accb37ef39b16ebb46811",
      "old_mode": 33188,
      "old_path": "voltha/adapters/ponsim_onu/ponsim_onu.py",
      "new_id": "05df34077cc63ef73ff997ac4e5ff6eda844415c",
      "new_mode": 33188,
      "new_path": "voltha/adapters/ponsim_onu/ponsim_onu.py"
    },
    {
      "type": "modify",
      "old_id": "f2e056b7a72f06759628714da3d6f5be2b344434",
      "old_mode": 33188,
      "old_path": "voltha/adapters/simulated_olt/simulated_olt.py",
      "new_id": "f97338127a007082c84edebced07a60416cb41de",
      "new_mode": 33188,
      "new_path": "voltha/adapters/simulated_olt/simulated_olt.py"
    },
    {
      "type": "modify",
      "old_id": "83dfd85d5ce94a382e90c0bcedfd5f1755fe2a08",
      "old_mode": 33188,
      "old_path": "voltha/adapters/simulated_onu/simulated_onu.py",
      "new_id": "b53fd111e31e75d3d191bc34756f267c8d4933c1",
      "new_mode": 33188,
      "new_path": "voltha/adapters/simulated_onu/simulated_onu.py"
    },
    {
      "type": "modify",
      "old_id": "593610722496240f305c354d180c39835609afe7",
      "old_mode": 33188,
      "old_path": "voltha/adapters/tibit_olt/tibit_olt.py",
      "new_id": "3d9e2645c1a4caac12f28b19659570f084aba442",
      "new_mode": 33188,
      "new_path": "voltha/adapters/tibit_olt/tibit_olt.py"
    },
    {
      "type": "modify",
      "old_id": "247a8687ffda00d04a82bc1547afaf7482ecc039",
      "old_mode": 33188,
      "old_path": "voltha/adapters/tibit_onu/tibit_onu.py",
      "new_id": "8b5f754046520a92bacd77cc47e3b9851778926c",
      "new_mode": 33188,
      "new_path": "voltha/adapters/tibit_onu/tibit_onu.py"
    },
    {
      "type": "modify",
      "old_id": "a2b94a6bbd08856b01bbf8152fcb193f6ba27621",
      "old_mode": 33188,
      "old_path": "voltha/coordinator.py",
      "new_id": "65786ff7e1318c9ab859ab2c7c18632bbe394e71",
      "new_mode": 33188,
      "new_path": "voltha/coordinator.py"
    },
    {
      "type": "modify",
      "old_id": "7daa0a7fd65a6ebfbe2dd59725e1eec643ce160e",
      "old_mode": 33188,
      "old_path": "voltha/core/adapter_agent.py",
      "new_id": "614d535d1a8ba7ebf4583ce7999898fb088ffc2f",
      "new_mode": 33188,
      "new_path": "voltha/core/adapter_agent.py"
    },
    {
      "type": "modify",
      "old_id": "21ef5ec98e28940a017612573ece6771f938426e",
      "old_mode": 33188,
      "old_path": "voltha/core/config/config_backend.py",
      "new_id": "0b1a38feed3ba0b14ae7fa9cf6de2f75425e186c",
      "new_mode": 33188,
      "new_path": "voltha/core/config/config_backend.py"
    },
    {
      "type": "modify",
      "old_id": "f1c8fc03dbaa68150d96f81d895a11e6acf1bf32",
      "old_mode": 33188,
      "old_path": "voltha/core/config/config_node.py",
      "new_id": "ab73484a0a0c4d97d695d59b274dc524dfa2dbea",
      "new_mode": 33188,
      "new_path": "voltha/core/config/config_node.py"
    },
    {
      "type": "modify",
      "old_id": "01c1ae2d6167d58e85d8e58653a3910debee890e",
      "old_mode": 33188,
      "old_path": "voltha/core/config/config_rev.py",
      "new_id": "8bfac18762f34874c3e541efbcc11ade519a69c6",
      "new_mode": 33188,
      "new_path": "voltha/core/config/config_rev.py"
    },
    {
      "type": "modify",
      "old_id": "547641cbe7cba1d72c600f53cc526a3a7ea97c39",
      "old_mode": 33188,
      "old_path": "voltha/core/config/config_rev_persisted.py",
      "new_id": "34646649a924e172ccae4e725479c92a021afb64",
      "new_mode": 33188,
      "new_path": "voltha/core/config/config_rev_persisted.py"
    },
    {
      "type": "modify",
      "old_id": "88271a4aa8f408d56360084c85209caf44dd096a",
      "old_mode": 33188,
      "old_path": "voltha/core/core.py",
      "new_id": "ae81306a6b2d19ec9f875dc4d5c1d71f31237508",
      "new_mode": 33188,
      "new_path": "voltha/core/core.py"
    },
    {
      "type": "modify",
      "old_id": "b00bebfe7143a3db6b22c99a0930f151708012a4",
      "old_mode": 33188,
      "old_path": "voltha/core/device_agent.py",
      "new_id": "9f7c8cf4fb533033bfecce04afcc41845f8e6e67",
      "new_mode": 33188,
      "new_path": "voltha/core/device_agent.py"
    },
    {
      "type": "modify",
      "old_id": "13e8b682961d50d34f8f4668d47472b11bd9a62d",
      "old_mode": 33188,
      "old_path": "voltha/core/local_handler.py",
      "new_id": "00d5ecf76ad755a73a30bb0dcd7277c7a3e093b5",
      "new_mode": 33188,
      "new_path": "voltha/core/local_handler.py"
    },
    {
      "type": "modify",
      "old_id": "21be9bfbfa6389cc3c41dc197f4f3927ab31e735",
      "old_mode": 33188,
      "old_path": "voltha/core/logical_device_agent.py",
      "new_id": "083f42eef21f45a366b29fea806952a8f2f73ff6",
      "new_mode": 33188,
      "new_path": "voltha/core/logical_device_agent.py"
    },
    {
      "type": "modify",
      "old_id": "fed32bd37ec2dc1e9153144c130c10cb8f57fde0",
      "old_mode": 33188,
      "old_path": "voltha/leader.py",
      "new_id": "6e58bd7e5f468b2026485747682faba15183452e",
      "new_mode": 33188,
      "new_path": "voltha/leader.py"
    },
    {
      "type": "modify",
      "old_id": "e889864619b829a6f28a65ac3b38d91057d4900f",
      "old_mode": 33261,
      "old_path": "voltha/main.py",
      "new_id": "ae914d05c77b4355cb9da5f565639743d950975f",
      "new_mode": 33261,
      "new_path": "voltha/main.py"
    },
    {
      "type": "modify",
      "old_id": "fa2a3eab316758f8b1d974599d6ac183f2fe7e6f",
      "old_mode": 33188,
      "old_path": "voltha/voltha.yml",
      "new_id": "bd91ec41add0e6e286634ed46b80ce76b9329b42",
      "new_mode": 33188,
      "new_path": "voltha/voltha.yml"
    },
    {
      "type": "modify",
      "old_id": "b9e14e26d30da236bb1438fb12a07202c30b3d4d",
      "old_mode": 33188,
      "old_path": "voltha/worker.py",
      "new_id": "aff83b1eab55a219ab878d399acc40818110d8a7",
      "new_mode": 33188,
      "new_path": "voltha/worker.py"
    }
  ]
}
