)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"e3cf4550889a0b32916258044e62b1491c0c1965","unresolved":false,"context_lines":[{"line_number":7,"context_line":"INFINIDAT add Manila driver."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Adding basic driver version for the INFINIDAT Infinibox storage array."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: I8299915a12b51c80a044f41ceb7a49da32745272"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3f4b6375_acdf150b","line":10,"range":{"start_line":10,"start_character":0,"end_line":10,"end_character":0},"updated":"2017-10-27 09:16:43.000000000","message":"Please add a blueprint for this patch.\nsuch as: https://blueprints.launchpad.net/openstack/?searchtext\u003dveritas-manila-driver\n\nhttps://review.openstack.org/#/c/472190/","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"1127b9cd19bf887c9c25c57ac88ee7273a832eb0","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Amit Oren \u003caoren@infinidat.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-11-06 14:47:24 +0200"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"INFINIDAT add Manila driver."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Adding basic driver version for the INFINIDAT Infinibox storage array."},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"3f4b6375_5bd2a001","line":7,"range":{"start_line":7,"start_character":27,"end_line":7,"end_character":28},"updated":"2017-11-08 02:44:22.000000000","message":"The title doesn\u0027t have to add \u0027.\u0027","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"2ad90f120faa91eb9ae2508598250260f78d883d","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Amit Oren \u003caoren@infinidat.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-11-06 14:47:24 +0200"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"INFINIDAT add Manila driver."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Adding basic driver version for the INFINIDAT Infinibox storage array."},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"1f485f77_5868841b","line":7,"range":{"start_line":7,"start_character":27,"end_line":7,"end_character":28},"in_reply_to":"3f4b6375_5bd2a001","updated":"2017-11-17 17:34:46.000000000","message":"Done","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"1127b9cd19bf887c9c25c57ac88ee7273a832eb0","unresolved":false,"context_lines":[{"line_number":7,"context_line":"INFINIDAT add Manila driver."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Adding basic driver version for the INFINIDAT Infinibox storage array."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: I8299915a12b51c80a044f41ceb7a49da32745272"},{"line_number":12,"context_line":"Implements: blueprint infinidat-manila-driver"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"3f4b6375_db2c5003","line":10,"range":{"start_line":10,"start_character":0,"end_line":10,"end_character":0},"updated":"2017-11-08 02:44:22.000000000","message":"Could you add a driver config doc for this bp. otherwise you have to add DocImpact in this message. The DocImpact  tag will help us to raise the bug about INFINIDAT driver doc.\nSuch as: https://github.com/openstack/manila/blob/master/doc/source/admin/cephfs_driver.rst","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"2ad90f120faa91eb9ae2508598250260f78d883d","unresolved":false,"context_lines":[{"line_number":7,"context_line":"INFINIDAT add Manila driver."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Adding basic driver version for the INFINIDAT Infinibox storage array."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: I8299915a12b51c80a044f41ceb7a49da32745272"},{"line_number":12,"context_line":"Implements: blueprint infinidat-manila-driver"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"1f485f77_98495cb8","line":10,"range":{"start_line":10,"start_character":0,"end_line":10,"end_character":0},"in_reply_to":"3f4b6375_db2c5003","updated":"2017-11-17 17:34:46.000000000","message":"We didn\u0027t make it in time for this patch set, I believe it will be ready for the next one.","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"}],"doc/source/admin/share_back_ends_feature_support_mapping.rst":[{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"89580d834551e7ae3684bfe67c92bf15c7b96a61","unresolved":false,"context_lines":[{"line_number":65,"context_line":"+----------------------------------------+-----------------------+-----------------------+--------------+--------------+------------------------+----------------------------+--------------------------+--------------------+--------------------+"},{"line_number":66,"context_line":"|                IBM GPFS                |           K           |           O           |       L      |      \\-      |            K           |              K             |            \\-            |          \\-        |          \\-        |"},{"line_number":67,"context_line":"+----------------------------------------+-----------------------+-----------------------+--------------+--------------+------------------------+----------------------------+--------------------------+--------------------+--------------------+"},{"line_number":68,"context_line":"|               INFINIDAT                |           Q           |          \\-           |       Q      |      \\-      |            Q           |              Q             |            \\-            |           Q        |          \\-        |"},{"line_number":69,"context_line":"+----------------------------------------+-----------------------+-----------------------+--------------+--------------+------------------------+----------------------------+--------------------------+--------------------+--------------------+"},{"line_number":70,"context_line":"|                  LVM                   |           M           |          \\-           |       M      |      \\-      |            M           |              M             |            \\-            |           O        |           O        |"},{"line_number":71,"context_line":"+----------------------------------------+-----------------------+-----------------------+--------------+--------------+------------------------+----------------------------+--------------------------+--------------------+--------------------+"}],"source_content_type":"text/x-rst","patch_set":12,"id":"ff82abbf_9da71bbe","line":68,"range":{"start_line":68,"start_character":231,"end_line":68,"end_character":236},"updated":"2017-11-27 12:19:34.000000000","message":"Q","commit_id":"163887846f3d6b47586099614693c30efbbae5e8"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"42d88550d06305ef54861f1c2d6a85f9bf88b56e","unresolved":false,"context_lines":[{"line_number":65,"context_line":"+----------------------------------------+-----------------------+-----------------------+--------------+--------------+------------------------+----------------------------+--------------------------+--------------------+--------------------+"},{"line_number":66,"context_line":"|                IBM GPFS                |           K           |           O           |       L      |      \\-      |            K           |              K             |            \\-            |          \\-        |          \\-        |"},{"line_number":67,"context_line":"+----------------------------------------+-----------------------+-----------------------+--------------+--------------+------------------------+----------------------------+--------------------------+--------------------+--------------------+"},{"line_number":68,"context_line":"|               INFINIDAT                |           Q           |          \\-           |       Q      |      \\-      |            Q           |              Q             |            \\-            |           Q        |          \\-        |"},{"line_number":69,"context_line":"+----------------------------------------+-----------------------+-----------------------+--------------+--------------+------------------------+----------------------------+--------------------------+--------------------+--------------------+"},{"line_number":70,"context_line":"|                  LVM                   |           M           |          \\-           |       M      |      \\-      |            M           |              M             |            \\-            |           O        |           O        |"},{"line_number":71,"context_line":"+----------------------------------------+-----------------------+-----------------------+--------------+--------------+------------------------+----------------------------+--------------------------+--------------------+--------------------+"}],"source_content_type":"text/x-rst","patch_set":12,"id":"ff82abbf_fdfae772","line":68,"range":{"start_line":68,"start_character":231,"end_line":68,"end_character":236},"in_reply_to":"ff82abbf_9da71bbe","updated":"2017-11-27 12:26:59.000000000","message":"Done","commit_id":"163887846f3d6b47586099614693c30efbbae5e8"}],"doc/source/configuration/shared-file-systems/drivers/infinidat-share-driver.rst":[{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"a80018d03591d88ac12b89d0901fa670c4abf123","unresolved":false,"context_lines":[{"line_number":16,"context_line":"* Create and delete filesystem snapshots."},{"line_number":17,"context_line":"* Create a share from a share snapshot."},{"line_number":18,"context_line":"* Revert a share to its snapshot."},{"line_number":19,"context_line":"* Set access rights to shares and snapshots."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"External package installation"},{"line_number":22,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ff82abbf_7579352d","line":19,"range":{"start_line":19,"start_character":44,"end_line":19,"end_character":44},"updated":"2017-11-24 02:52:09.000000000","message":"mount share snapshot?","commit_id":"8230496225fdbac3228a479a342ebbae5a197c7e"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"a80018d03591d88ac12b89d0901fa670c4abf123","unresolved":false,"context_lines":[{"line_number":16,"context_line":"* Create and delete filesystem snapshots."},{"line_number":17,"context_line":"* Create a share from a share snapshot."},{"line_number":18,"context_line":"* Revert a share to its snapshot."},{"line_number":19,"context_line":"* Set access rights to shares and snapshots."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"External package installation"},{"line_number":22,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ff82abbf_1578e927","line":19,"range":{"start_line":19,"start_character":5,"end_line":19,"end_character":13},"updated":"2017-11-24 02:52:09.000000000","message":"only support ip?","commit_id":"8230496225fdbac3228a479a342ebbae5a197c7e"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"339b3958fc77e48b8a11ce220fc5338507065b49","unresolved":false,"context_lines":[{"line_number":16,"context_line":"* Create and delete filesystem snapshots."},{"line_number":17,"context_line":"* Create a share from a share snapshot."},{"line_number":18,"context_line":"* Revert a share to its snapshot."},{"line_number":19,"context_line":"* Set access rights to shares and snapshots."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"External package installation"},{"line_number":22,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ff82abbf_d2ce09b3","line":19,"range":{"start_line":19,"start_character":5,"end_line":19,"end_character":13},"in_reply_to":"ff82abbf_1578e927","updated":"2017-11-27 10:29:53.000000000","message":"Done","commit_id":"8230496225fdbac3228a479a342ebbae5a197c7e"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"a80018d03591d88ac12b89d0901fa670c4abf123","unresolved":false,"context_lines":[{"line_number":95,"context_line":""},{"line_number":96,"context_line":"  .. code-block:: ini"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"     infinidat_thin_provision \u003d true/false"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"  This parameter defaults to ``true``."},{"line_number":101,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"ff82abbf_553f5124","line":98,"range":{"start_line":98,"start_character":4,"end_line":98,"end_character":42},"updated":"2017-11-24 02:52:09.000000000","message":"If you can support both thin and thick  provisioned file systems in one back end, you can just export thin_provisioning\u003d[True, False] in def _update_share_stats(self): function.\nhttps://review.openstack.org/#/c/515432/8/manila/share/drivers/infinidat.py","commit_id":"8230496225fdbac3228a479a342ebbae5a197c7e"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"339b3958fc77e48b8a11ce220fc5338507065b49","unresolved":false,"context_lines":[{"line_number":95,"context_line":""},{"line_number":96,"context_line":"  .. code-block:: ini"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"     infinidat_thin_provision \u003d true/false"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"  This parameter defaults to ``true``."},{"line_number":101,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"ff82abbf_8cc4eb92","line":98,"range":{"start_line":98,"start_character":4,"end_line":98,"end_character":42},"in_reply_to":"ff82abbf_553f5124","updated":"2017-11-27 10:29:53.000000000","message":"Done","commit_id":"8230496225fdbac3228a479a342ebbae5a197c7e"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"a80018d03591d88ac12b89d0901fa670c4abf123","unresolved":false,"context_lines":[{"line_number":107,"context_line":"   [DEFAULT]"},{"line_number":108,"context_line":"   enabled_backends \u003d infinidat-pool-a"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"   [infinidat-pool-a]"},{"line_number":111,"context_line":"   share_driver \u003d manila.share.drivers.infinidat.InfiniboxShareDriver"},{"line_number":112,"context_line":"   share_backend_name \u003d infinidat-pool-a"},{"line_number":113,"context_line":"   infinibox_hostname \u003d 10.1.2.3"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ff82abbf_f51785a2","line":110,"range":{"start_line":110,"start_character":20,"end_line":110,"end_character":21},"updated":"2017-11-24 02:52:09.000000000","message":"please add \"driver_handles_share_servers \u003d False\" and noticed that infinidat share driver only support driver_handles_share_servers is set to False.","commit_id":"8230496225fdbac3228a479a342ebbae5a197c7e"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"339b3958fc77e48b8a11ce220fc5338507065b49","unresolved":false,"context_lines":[{"line_number":107,"context_line":"   [DEFAULT]"},{"line_number":108,"context_line":"   enabled_backends \u003d infinidat-pool-a"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"   [infinidat-pool-a]"},{"line_number":111,"context_line":"   share_driver \u003d manila.share.drivers.infinidat.InfiniboxShareDriver"},{"line_number":112,"context_line":"   share_backend_name \u003d infinidat-pool-a"},{"line_number":113,"context_line":"   infinibox_hostname \u003d 10.1.2.3"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ff82abbf_4cba630a","line":110,"range":{"start_line":110,"start_character":20,"end_line":110,"end_character":21},"in_reply_to":"ff82abbf_f51785a2","updated":"2017-11-27 10:29:53.000000000","message":"Done","commit_id":"8230496225fdbac3228a479a342ebbae5a197c7e"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"f3a3de0bd0480533c09b0e0869d0449925d645a0","unresolved":false,"context_lines":[{"line_number":18,"context_line":"* Revert a share to its snapshot."},{"line_number":19,"context_line":"* Set access rights to shares and snapshots."},{"line_number":20,"context_line":"  * Only IP access type is supported."},{"line_number":21,"context_line":"  * Both RW \u0026 RO access level is supported."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"External package installation"},{"line_number":24,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":10,"id":"ff82abbf_0055e9f9","line":21,"range":{"start_line":21,"start_character":43,"end_line":21,"end_character":43},"updated":"2017-11-27 01:33:26.000000000","message":"Add \"mount snapshot\"?","commit_id":"97d97041aea5db0e16f433d28eb04fb16976674c"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"339b3958fc77e48b8a11ce220fc5338507065b49","unresolved":false,"context_lines":[{"line_number":18,"context_line":"* Revert a share to its snapshot."},{"line_number":19,"context_line":"* Set access rights to shares and snapshots."},{"line_number":20,"context_line":"  * Only IP access type is supported."},{"line_number":21,"context_line":"  * Both RW \u0026 RO access level is supported."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"External package installation"},{"line_number":24,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":10,"id":"ff82abbf_d770220b","line":21,"range":{"start_line":21,"start_character":43,"end_line":21,"end_character":43},"in_reply_to":"ff82abbf_0055e9f9","updated":"2017-11-27 10:29:53.000000000","message":"Done","commit_id":"97d97041aea5db0e16f433d28eb04fb16976674c"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0388359b485722fad918c59b63084373553329d1","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":2,"context_line":"INFINIDAT InfiniBox Share driver"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"ff82abbf_1e9197f1","line":1,"range":{"start_line":1,"start_character":32,"end_line":1,"end_character":40},"updated":"2017-11-28 23:12:42.000000000","message":"remove","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"5cfbac368b335b265fbd0635cbfb96d9c3ca979f","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":2,"context_line":"INFINIDAT InfiniBox Share driver"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"ff82abbf_a9070818","line":1,"range":{"start_line":1,"start_character":32,"end_line":1,"end_character":40},"in_reply_to":"ff82abbf_1e9197f1","updated":"2017-11-29 12:46:00.000000000","message":"Done","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0388359b485722fad918c59b63084373553329d1","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":2,"context_line":"INFINIDAT InfiniBox Share driver"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"The INFINIDAT Share driver provides support for managing filesystem sharess"},{"line_number":6,"context_line":"on the INFINIDAT InfiniBox storage systems."}],"source_content_type":"text/x-rst","patch_set":14,"id":"ff82abbf_3e8c9bd5","line":3,"range":{"start_line":3,"start_character":32,"end_line":3,"end_character":40},"updated":"2017-11-28 23:12:42.000000000","message":"remove","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"5cfbac368b335b265fbd0635cbfb96d9c3ca979f","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":2,"context_line":"INFINIDAT InfiniBox Share driver"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"The INFINIDAT Share driver provides support for managing filesystem sharess"},{"line_number":6,"context_line":"on the INFINIDAT InfiniBox storage systems."}],"source_content_type":"text/x-rst","patch_set":14,"id":"ff82abbf_c90a8c1e","line":3,"range":{"start_line":3,"start_character":32,"end_line":3,"end_character":40},"in_reply_to":"ff82abbf_3e8c9bd5","updated":"2017-11-29 12:46:00.000000000","message":"Done","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0388359b485722fad918c59b63084373553329d1","unresolved":false,"context_lines":[{"line_number":2,"context_line":"INFINIDAT InfiniBox Share driver"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"The INFINIDAT Share driver provides support for managing filesystem sharess"},{"line_number":6,"context_line":"on the INFINIDAT InfiniBox storage systems."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"This section explains how to configure the INFINIDAT driver."}],"source_content_type":"text/x-rst","patch_set":14,"id":"ff82abbf_9eb6078a","line":5,"range":{"start_line":5,"start_character":68,"end_line":5,"end_character":75},"updated":"2017-11-28 23:12:42.000000000","message":"shares","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"5cfbac368b335b265fbd0635cbfb96d9c3ca979f","unresolved":false,"context_lines":[{"line_number":2,"context_line":"INFINIDAT InfiniBox Share driver"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"The INFINIDAT Share driver provides support for managing filesystem sharess"},{"line_number":6,"context_line":"on the INFINIDAT InfiniBox storage systems."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"This section explains how to configure the INFINIDAT driver."}],"source_content_type":"text/x-rst","patch_set":14,"id":"ff82abbf_6915803f","line":5,"range":{"start_line":5,"start_character":68,"end_line":5,"end_character":75},"in_reply_to":"ff82abbf_9eb6078a","updated":"2017-11-29 12:46:00.000000000","message":"Done","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0388359b485722fad918c59b63084373553329d1","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"* Add a section for the INFINIDAT driver back end."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"* Under the ``[DEFAULT]`` section, set the ``enabled_backends`` parameter with"},{"line_number":50,"context_line":"  the name of the new back-end section."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Configure the driver back-end section with the parameters below."}],"source_content_type":"text/x-rst","patch_set":14,"id":"ff82abbf_41165e4b","line":49,"range":{"start_line":49,"start_character":45,"end_line":49,"end_character":61},"updated":"2017-11-28 23:12:42.000000000","message":"enabled_share_backends","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"5cfbac368b335b265fbd0635cbfb96d9c3ca979f","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"* Add a section for the INFINIDAT driver back end."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"* Under the ``[DEFAULT]`` section, set the ``enabled_backends`` parameter with"},{"line_number":50,"context_line":"  the name of the new back-end section."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Configure the driver back-end section with the parameters below."}],"source_content_type":"text/x-rst","patch_set":14,"id":"ff82abbf_291bf872","line":49,"range":{"start_line":49,"start_character":45,"end_line":49,"end_character":61},"in_reply_to":"ff82abbf_41165e4b","updated":"2017-11-29 12:46:00.000000000","message":"Done","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0388359b485722fad918c59b63084373553329d1","unresolved":false,"context_lines":[{"line_number":115,"context_line":".. code-block:: ini"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"   [DEFAULT]"},{"line_number":118,"context_line":"   enabled_backends \u003d infinidat-pool-a"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"   [infinidat-pool-a]"},{"line_number":121,"context_line":"   share_driver \u003d manila.share.drivers.infinidat.InfiniboxShareDriver"}],"source_content_type":"text/x-rst","patch_set":14,"id":"ff82abbf_613e02c2","line":118,"range":{"start_line":118,"start_character":3,"end_line":118,"end_character":19},"updated":"2017-11-28 23:12:42.000000000","message":"enabled_share_backends","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"5cfbac368b335b265fbd0635cbfb96d9c3ca979f","unresolved":false,"context_lines":[{"line_number":115,"context_line":".. code-block:: ini"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"   [DEFAULT]"},{"line_number":118,"context_line":"   enabled_backends \u003d infinidat-pool-a"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"   [infinidat-pool-a]"},{"line_number":121,"context_line":"   share_driver \u003d manila.share.drivers.infinidat.InfiniboxShareDriver"}],"source_content_type":"text/x-rst","patch_set":14,"id":"ff82abbf_e92af07c","line":118,"range":{"start_line":118,"start_character":3,"end_line":118,"end_character":19},"in_reply_to":"ff82abbf_613e02c2","updated":"2017-11-29 12:46:00.000000000","message":"Done","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"365445e6be8631f7e7a60f16db1e0fc1e5cf7ad3","unresolved":false,"context_lines":[{"line_number":55,"context_line":""},{"line_number":56,"context_line":"  .. code-block:: ini"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"     share_driver \u003d manila.share.drivers.infinidat.InfiniboxShareDriver"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"* Configure the management IP of the InfiniBox array by adding the following"},{"line_number":61,"context_line":"  parameter:"}],"source_content_type":"text/x-rst","patch_set":19,"id":"ff82abbf_a2b61e3e","line":58,"range":{"start_line":58,"start_character":41,"end_line":58,"end_character":50},"updated":"2017-11-30 08:59:54.000000000","message":"manila.share.drivers.infinidat.infinibox.InfiniboxShareDriver","commit_id":"b419b3c9b39703abdd40efb743a54fd35202fff2"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"f7065ac16dc72b965b4845ca03de62474b758cba","unresolved":false,"context_lines":[{"line_number":18,"context_line":"* Revert a share to its snapshot."},{"line_number":19,"context_line":"* Mount a snapshot."},{"line_number":20,"context_line":"* Set access rights to shares and snapshots."},{"line_number":21,"context_line":"  * Only IP access type is supported."},{"line_number":22,"context_line":"  * Both RW \u0026 RO access levels are supported."},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"External package installation"},{"line_number":25,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":22,"id":"df87a7cf_29c3485f","line":22,"range":{"start_line":21,"start_character":0,"end_line":22,"end_character":45},"updated":"2017-12-07 13:13:34.000000000","message":"These are getting rendered on the same line as line 20.","commit_id":"d6e07cbdb58c0c4dbe03e0428119be745981d53b"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"5b00325faa5f670cb35dc04511d94cfee66a3a46","unresolved":false,"context_lines":[{"line_number":18,"context_line":"* Revert a share to its snapshot."},{"line_number":19,"context_line":"* Mount a snapshot."},{"line_number":20,"context_line":"* Set access rights to shares and snapshots."},{"line_number":21,"context_line":"  * Only IP access type is supported."},{"line_number":22,"context_line":"  * Both RW \u0026 RO access levels are supported."},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"External package installation"},{"line_number":25,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":22,"id":"df87a7cf_ffb8b1e5","line":22,"range":{"start_line":21,"start_character":0,"end_line":22,"end_character":45},"in_reply_to":"df87a7cf_29c3485f","updated":"2017-12-07 19:59:30.000000000","message":"Done","commit_id":"d6e07cbdb58c0c4dbe03e0428119be745981d53b"}],"manila/share/drivers/infinidat.py":[{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"e3cf4550889a0b32916258044e62b1491c0c1965","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2016 Infinidat Ltd."},{"line_number":2,"context_line":"# All Rights Reserved."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_557148a7","line":1,"range":{"start_line":1,"start_character":12,"end_line":1,"end_character":16},"updated":"2017-10-27 09:16:43.000000000","message":"2017?","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"e03a511a2ee467fb4b576a3ef990e4dca75ca1b0","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2016 Infinidat Ltd."},{"line_number":2,"context_line":"# All Rights Reserved."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_75fa6043","line":1,"range":{"start_line":1,"start_character":12,"end_line":1,"end_character":16},"in_reply_to":"3f4b6375_557148a7","updated":"2017-11-02 16:27:23.000000000","message":"Done","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"e3cf4550889a0b32916258044e62b1491c0c1965","unresolved":false,"context_lines":[{"line_number":56,"context_line":""},{"line_number":57,"context_line":"infinidat_general_opts \u003d ["},{"line_number":58,"context_line":"    cfg.StrOpt(\u0027infinidat_pool_name\u0027,"},{"line_number":59,"context_line":"               help\u003d\u0027Name of the pool from which volumes are allocated\u0027), ]"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"CONF \u003d cfg.CONF"},{"line_number":62,"context_line":"CONF.register_opts(infinidat_connection_opts)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_d55c181a","line":59,"range":{"start_line":59,"start_character":70,"end_line":59,"end_character":71},"updated":"2017-10-27 09:16:43.000000000","message":"Add \u0027.\u0027 in the end.","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"e03a511a2ee467fb4b576a3ef990e4dca75ca1b0","unresolved":false,"context_lines":[{"line_number":56,"context_line":""},{"line_number":57,"context_line":"infinidat_general_opts \u003d ["},{"line_number":58,"context_line":"    cfg.StrOpt(\u0027infinidat_pool_name\u0027,"},{"line_number":59,"context_line":"               help\u003d\u0027Name of the pool from which volumes are allocated\u0027), ]"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"CONF \u003d cfg.CONF"},{"line_number":62,"context_line":"CONF.register_opts(infinidat_connection_opts)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_359628f2","line":59,"range":{"start_line":59,"start_character":70,"end_line":59,"end_character":71},"in_reply_to":"3f4b6375_d55c181a","updated":"2017-11-02 16:27:23.000000000","message":"Done","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"e3cf4550889a0b32916258044e62b1491c0c1965","unresolved":false,"context_lines":[{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    def __init__(self, *args, **kwargs):"},{"line_number":92,"context_line":"        super(InfiniboxShareDriver, self).__init__(False, *args, **kwargs)"},{"line_number":93,"context_line":"        self.configuration.append_config_values(infinidat_connection_opts)"},{"line_number":94,"context_line":"        self.configuration.append_config_values(infinidat_auth_opts)"},{"line_number":95,"context_line":"        self.configuration.append_config_values(infinidat_general_opts)"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"    def do_setup(self, context):"},{"line_number":98,"context_line":"        \"\"\"Driver initialization\"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_27245e5d","line":95,"range":{"start_line":93,"start_character":0,"end_line":95,"end_character":71},"updated":"2017-10-27 09:16:43.000000000","message":"Those should be added in manila opts list, otherwise it doesn\u0027t work. https://github.com/openstack/manila/blob/master/manila/opts.py#L143","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"e03a511a2ee467fb4b576a3ef990e4dca75ca1b0","unresolved":false,"context_lines":[{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    def __init__(self, *args, **kwargs):"},{"line_number":92,"context_line":"        super(InfiniboxShareDriver, self).__init__(False, *args, **kwargs)"},{"line_number":93,"context_line":"        self.configuration.append_config_values(infinidat_connection_opts)"},{"line_number":94,"context_line":"        self.configuration.append_config_values(infinidat_auth_opts)"},{"line_number":95,"context_line":"        self.configuration.append_config_values(infinidat_general_opts)"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"    def do_setup(self, context):"},{"line_number":98,"context_line":"        \"\"\"Driver initialization\"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_159b2c18","line":95,"range":{"start_line":93,"start_character":0,"end_line":95,"end_character":71},"in_reply_to":"3f4b6375_27245e5d","updated":"2017-11-02 16:27:23.000000000","message":"Done","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"e3cf4550889a0b32916258044e62b1491c0c1965","unresolved":false,"context_lines":[{"line_number":111,"context_line":""},{"line_number":112,"context_line":"    def _update_share_stats(self):"},{"line_number":113,"context_line":"        \"\"\"Retrieve stats info from share group.\"\"\""},{"line_number":114,"context_line":"        free_capacity_bytes, physical_capacity_bytes \u003d \\"},{"line_number":115,"context_line":"            self._get_available_capacity()"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"        data \u003d dict("}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_877b128a","line":114,"range":{"start_line":114,"start_character":54,"end_line":114,"end_character":56},"updated":"2017-10-27 09:16:43.000000000","message":"Could you use \"()\" instead of \u0027\\\u0027","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"e03a511a2ee467fb4b576a3ef990e4dca75ca1b0","unresolved":false,"context_lines":[{"line_number":111,"context_line":""},{"line_number":112,"context_line":"    def _update_share_stats(self):"},{"line_number":113,"context_line":"        \"\"\"Retrieve stats info from share group.\"\"\""},{"line_number":114,"context_line":"        free_capacity_bytes, physical_capacity_bytes \u003d \\"},{"line_number":115,"context_line":"            self._get_available_capacity()"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"        data \u003d dict("}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_b589f8ca","line":114,"range":{"start_line":114,"start_character":54,"end_line":114,"end_character":56},"in_reply_to":"3f4b6375_877b128a","updated":"2017-11-02 16:27:23.000000000","message":"Done","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"e3cf4550889a0b32916258044e62b1491c0c1965","unresolved":false,"context_lines":[{"line_number":116,"context_line":""},{"line_number":117,"context_line":"        data \u003d dict("},{"line_number":118,"context_line":"            share_backend_name\u003dself._backend_name,"},{"line_number":119,"context_line":"            driver_handles_share_servers\u003dFalse,"},{"line_number":120,"context_line":"            vendor_name\u003d\u0027INFINIDAT\u0027,"},{"line_number":121,"context_line":"            driver_version\u003dself.VERSION,"},{"line_number":122,"context_line":"            storage_protocol\u003d\u0027NFS\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_87a0b2f5","line":119,"range":{"start_line":119,"start_character":11,"end_line":119,"end_character":47},"updated":"2017-10-27 09:16:43.000000000","message":"Actually we don\u0027t need to add driver_handles_share_servers in update share stats, because we will got it in common place.","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"e03a511a2ee467fb4b576a3ef990e4dca75ca1b0","unresolved":false,"context_lines":[{"line_number":116,"context_line":""},{"line_number":117,"context_line":"        data \u003d dict("},{"line_number":118,"context_line":"            share_backend_name\u003dself._backend_name,"},{"line_number":119,"context_line":"            driver_handles_share_servers\u003dFalse,"},{"line_number":120,"context_line":"            vendor_name\u003d\u0027INFINIDAT\u0027,"},{"line_number":121,"context_line":"            driver_version\u003dself.VERSION,"},{"line_number":122,"context_line":"            storage_protocol\u003d\u0027NFS\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_9586fcb8","line":119,"range":{"start_line":119,"start_character":11,"end_line":119,"end_character":47},"in_reply_to":"3f4b6375_87a0b2f5","updated":"2017-11-02 16:27:23.000000000","message":"Done","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"e3cf4550889a0b32916258044e62b1491c0c1965","unresolved":false,"context_lines":[{"line_number":120,"context_line":"            vendor_name\u003d\u0027INFINIDAT\u0027,"},{"line_number":121,"context_line":"            driver_version\u003dself.VERSION,"},{"line_number":122,"context_line":"            storage_protocol\u003d\u0027NFS\u0027,"},{"line_number":123,"context_line":"            total_capacity_gb\u003dfloat(physical_capacity_bytes) / units.Gi,"},{"line_number":124,"context_line":"            free_capacity_gb\u003dfloat(free_capacity_bytes) / units.Gi,"},{"line_number":125,"context_line":"            reserved_percentage\u003dself.configuration.reserved_share_percentage,"},{"line_number":126,"context_line":"            snapshot_support\u003dTrue,"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_67db764e","line":123,"range":{"start_line":123,"start_character":30,"end_line":123,"end_character":71},"updated":"2017-10-27 09:16:43.000000000","message":"float(physical_capacity_bytes / units.Gi)","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"e03a511a2ee467fb4b576a3ef990e4dca75ca1b0","unresolved":false,"context_lines":[{"line_number":120,"context_line":"            vendor_name\u003d\u0027INFINIDAT\u0027,"},{"line_number":121,"context_line":"            driver_version\u003dself.VERSION,"},{"line_number":122,"context_line":"            storage_protocol\u003d\u0027NFS\u0027,"},{"line_number":123,"context_line":"            total_capacity_gb\u003dfloat(physical_capacity_bytes) / units.Gi,"},{"line_number":124,"context_line":"            free_capacity_gb\u003dfloat(free_capacity_bytes) / units.Gi,"},{"line_number":125,"context_line":"            reserved_percentage\u003dself.configuration.reserved_share_percentage,"},{"line_number":126,"context_line":"            snapshot_support\u003dTrue,"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_75a8201f","line":123,"range":{"start_line":123,"start_character":30,"end_line":123,"end_character":71},"in_reply_to":"3f4b6375_67db764e","updated":"2017-11-02 16:27:23.000000000","message":"I prefer to first convert to float to, otherwise we might lose information during division. The same for the other comment on this subject.","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"e3cf4550889a0b32916258044e62b1491c0c1965","unresolved":false,"context_lines":[{"line_number":121,"context_line":"            driver_version\u003dself.VERSION,"},{"line_number":122,"context_line":"            storage_protocol\u003d\u0027NFS\u0027,"},{"line_number":123,"context_line":"            total_capacity_gb\u003dfloat(physical_capacity_bytes) / units.Gi,"},{"line_number":124,"context_line":"            free_capacity_gb\u003dfloat(free_capacity_bytes) / units.Gi,"},{"line_number":125,"context_line":"            reserved_percentage\u003dself.configuration.reserved_share_percentage,"},{"line_number":126,"context_line":"            snapshot_support\u003dTrue,"},{"line_number":127,"context_line":"            create_share_from_snapshot_support\u003dTrue,"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_27e9fee4","line":124,"range":{"start_line":124,"start_character":29,"end_line":124,"end_character":66},"updated":"2017-10-27 09:16:43.000000000","message":"float(free_capacity_bytes / units.Gi)","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"e03a511a2ee467fb4b576a3ef990e4dca75ca1b0","unresolved":false,"context_lines":[{"line_number":121,"context_line":"            driver_version\u003dself.VERSION,"},{"line_number":122,"context_line":"            storage_protocol\u003d\u0027NFS\u0027,"},{"line_number":123,"context_line":"            total_capacity_gb\u003dfloat(physical_capacity_bytes) / units.Gi,"},{"line_number":124,"context_line":"            free_capacity_gb\u003dfloat(free_capacity_bytes) / units.Gi,"},{"line_number":125,"context_line":"            reserved_percentage\u003dself.configuration.reserved_share_percentage,"},{"line_number":126,"context_line":"            snapshot_support\u003dTrue,"},{"line_number":127,"context_line":"            create_share_from_snapshot_support\u003dTrue,"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_d56eb4fe","line":124,"range":{"start_line":124,"start_character":29,"end_line":124,"end_character":66},"in_reply_to":"3f4b6375_27e9fee4","updated":"2017-11-02 16:27:23.000000000","message":"See previous comment on this subject.","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"e3cf4550889a0b32916258044e62b1491c0c1965","unresolved":false,"context_lines":[{"line_number":133,"context_line":"    def _get_available_capacity(self):"},{"line_number":134,"context_line":"        pool \u003d self._get_infinidat_pool()"},{"line_number":135,"context_line":"        free_capacity_bytes \u003d (pool.get_free_physical_capacity() /"},{"line_number":136,"context_line":"                               capacity.byte)"},{"line_number":137,"context_line":"        physical_capacity_bytes \u003d (pool.get_physical_capacity() /"},{"line_number":138,"context_line":"                                   capacity.byte)"},{"line_number":139,"context_line":"        return free_capacity_bytes, physical_capacity_bytes"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_2c62050b","line":136,"range":{"start_line":136,"start_character":31,"end_line":136,"end_character":40},"updated":"2017-10-27 09:16:43.000000000","message":"Use \u0027from oslo_utils import units\u0027 instead of capacity.","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"e03a511a2ee467fb4b576a3ef990e4dca75ca1b0","unresolved":false,"context_lines":[{"line_number":133,"context_line":"    def _get_available_capacity(self):"},{"line_number":134,"context_line":"        pool \u003d self._get_infinidat_pool()"},{"line_number":135,"context_line":"        free_capacity_bytes \u003d (pool.get_free_physical_capacity() /"},{"line_number":136,"context_line":"                               capacity.byte)"},{"line_number":137,"context_line":"        physical_capacity_bytes \u003d (pool.get_physical_capacity() /"},{"line_number":138,"context_line":"                                   capacity.byte)"},{"line_number":139,"context_line":"        return free_capacity_bytes, physical_capacity_bytes"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_71103f4f","line":136,"range":{"start_line":136,"start_character":31,"end_line":136,"end_character":40},"in_reply_to":"3f4b6375_2c62050b","updated":"2017-11-02 16:27:23.000000000","message":"The capacity module is not the same as oslo_utils.units. capacity.byte is an object, rather than an integer. infinisdk, the module that we use to communicate with our storage array returns and expects objects from the capacity module. This applies for other comments in this review about the capacity module.","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"e3cf4550889a0b32916258044e62b1491c0c1965","unresolved":false,"context_lines":[{"line_number":219,"context_line":"        address, returns only that IP address."},{"line_number":220,"context_line":"        \"\"\""},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"        import ipaddress"},{"line_number":223,"context_line":"        import six"},{"line_number":224,"context_line":"        ip_address \u003d six.text_type(ip_address)"},{"line_number":225,"context_line":"        try:"},{"line_number":226,"context_line":"            # try treating the ip_address parameter as a single IP address:"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_a78cce35","line":223,"range":{"start_line":222,"start_character":0,"end_line":223,"end_character":18},"updated":"2017-10-27 09:16:43.000000000","message":"Please put all import model together.","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"e03a511a2ee467fb4b576a3ef990e4dca75ca1b0","unresolved":false,"context_lines":[{"line_number":219,"context_line":"        address, returns only that IP address."},{"line_number":220,"context_line":"        \"\"\""},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"        import ipaddress"},{"line_number":223,"context_line":"        import six"},{"line_number":224,"context_line":"        ip_address \u003d six.text_type(ip_address)"},{"line_number":225,"context_line":"        try:"},{"line_number":226,"context_line":"            # try treating the ip_address parameter as a single IP address:"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_9574bcd0","line":223,"range":{"start_line":222,"start_character":0,"end_line":223,"end_character":18},"in_reply_to":"3f4b6375_a78cce35","updated":"2017-11-02 16:27:23.000000000","message":"Done","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"e3cf4550889a0b32916258044e62b1491c0c1965","unresolved":false,"context_lines":[{"line_number":359,"context_line":""},{"line_number":360,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":361,"context_line":"    def _extend_share(self, infinidat_filesystem, new_size):"},{"line_number":362,"context_line":"        new_size_capacity_units \u003d new_size * capacity.GiB"},{"line_number":363,"context_line":"        old_size \u003d infinidat_filesystem.get_size()"},{"line_number":364,"context_line":"        if new_size_capacity_units \u003e old_size:"},{"line_number":365,"context_line":"            infinidat_filesystem.resize(new_size_capacity_units - old_size)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_792d5a93","line":362,"range":{"start_line":362,"start_character":45,"end_line":362,"end_character":53},"updated":"2017-10-27 09:16:43.000000000","message":"Use \u0027from oslo_utils import units\u0027 instead of capacity.","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"e03a511a2ee467fb4b576a3ef990e4dca75ca1b0","unresolved":false,"context_lines":[{"line_number":359,"context_line":""},{"line_number":360,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":361,"context_line":"    def _extend_share(self, infinidat_filesystem, new_size):"},{"line_number":362,"context_line":"        new_size_capacity_units \u003d new_size * capacity.GiB"},{"line_number":363,"context_line":"        old_size \u003d infinidat_filesystem.get_size()"},{"line_number":364,"context_line":"        if new_size_capacity_units \u003e old_size:"},{"line_number":365,"context_line":"            infinidat_filesystem.resize(new_size_capacity_units - old_size)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_15520c3c","line":362,"range":{"start_line":362,"start_character":45,"end_line":362,"end_character":53},"in_reply_to":"3f4b6375_792d5a93","updated":"2017-11-02 16:27:23.000000000","message":"See previous comment on this subject.","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"e3cf4550889a0b32916258044e62b1491c0c1965","unresolved":false,"context_lines":[{"line_number":364,"context_line":"        if new_size_capacity_units \u003e old_size:"},{"line_number":365,"context_line":"            infinidat_filesystem.resize(new_size_capacity_units - old_size)"},{"line_number":366,"context_line":"        elif new_size_capacity_units \u003c old_size:"},{"line_number":367,"context_line":"            raise exception.ShareShrinkingError(_("},{"line_number":368,"context_line":"                \"INFINIDAT Infinibox API does not allow dataset shrinking\"))"},{"line_number":369,"context_line":""},{"line_number":370,"context_line":"    @infinisdk_to_manila_exceptions"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_19b1c647","line":367,"range":{"start_line":367,"start_character":28,"end_line":367,"end_character":48},"updated":"2017-10-27 09:16:43.000000000","message":"This is the extend operation, but the exception is ShareShrinkingError?","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"e03a511a2ee467fb4b576a3ef990e4dca75ca1b0","unresolved":false,"context_lines":[{"line_number":364,"context_line":"        if new_size_capacity_units \u003e old_size:"},{"line_number":365,"context_line":"            infinidat_filesystem.resize(new_size_capacity_units - old_size)"},{"line_number":366,"context_line":"        elif new_size_capacity_units \u003c old_size:"},{"line_number":367,"context_line":"            raise exception.ShareShrinkingError(_("},{"line_number":368,"context_line":"                \"INFINIDAT Infinibox API does not allow dataset shrinking\"))"},{"line_number":369,"context_line":""},{"line_number":370,"context_line":"    @infinisdk_to_manila_exceptions"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_b560d802","line":367,"range":{"start_line":367,"start_character":28,"end_line":367,"end_character":48},"in_reply_to":"3f4b6375_19b1c647","updated":"2017-11-02 16:27:23.000000000","message":"Done","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"38563dd951df096367cf189bb32b2e4c3b951c4f","unresolved":false,"context_lines":[{"line_number":368,"context_line":"                \"INFINIDAT Infinibox API does not allow dataset shrinking\"))"},{"line_number":369,"context_line":""},{"line_number":370,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":371,"context_line":"    def _update_access(self, manila_object, access_rules, is_snapshot):"},{"line_number":372,"context_line":"        infinidat_filesystem \u003d self._get_infinidat_dataset("},{"line_number":373,"context_line":"            manila_object, is_snapshot\u003dis_snapshot)"},{"line_number":374,"context_line":"        infinidat_export \u003d self._get_export(infinidat_filesystem)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_5c0dece5","line":371,"range":{"start_line":371,"start_character":4,"end_line":371,"end_character":71},"updated":"2017-10-27 09:54:50.000000000","message":"The access type (access[\u0027access_type\u0027]) should be checked. We have multiple access type, such as: ip, user, cert ...","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"e03a511a2ee467fb4b576a3ef990e4dca75ca1b0","unresolved":false,"context_lines":[{"line_number":368,"context_line":"                \"INFINIDAT Infinibox API does not allow dataset shrinking\"))"},{"line_number":369,"context_line":""},{"line_number":370,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":371,"context_line":"    def _update_access(self, manila_object, access_rules, is_snapshot):"},{"line_number":372,"context_line":"        infinidat_filesystem \u003d self._get_infinidat_dataset("},{"line_number":373,"context_line":"            manila_object, is_snapshot\u003dis_snapshot)"},{"line_number":374,"context_line":"        infinidat_export \u003d self._get_export(infinidat_filesystem)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_1537ac01","line":371,"range":{"start_line":371,"start_character":4,"end_line":371,"end_character":71},"in_reply_to":"3f4b6375_5c0dece5","updated":"2017-11-02 16:27:23.000000000","message":"Done","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"38563dd951df096367cf189bb32b2e4c3b951c4f","unresolved":false,"context_lines":[{"line_number":388,"context_line":"                 \u0027client\u0027: self._get_ip_address_range("},{"line_number":389,"context_line":"                     access_rule[\u0027access_to\u0027]),"},{"line_number":390,"context_line":"                 \u0027no_root_squash\u0027: True} for access_rule in access_rules]"},{"line_number":391,"context_line":"        infinidat_export.update_permissions(permissions)"},{"line_number":392,"context_line":""},{"line_number":393,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":394,"context_line":"    def create_share(self, context, share, share_server\u003dNone):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_dc19dc21","line":391,"range":{"start_line":391,"start_character":55,"end_line":391,"end_character":56},"updated":"2017-10-27 09:54:50.000000000","message":"The update access method could","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"e03a511a2ee467fb4b576a3ef990e4dca75ca1b0","unresolved":false,"context_lines":[{"line_number":388,"context_line":"                 \u0027client\u0027: self._get_ip_address_range("},{"line_number":389,"context_line":"                     access_rule[\u0027access_to\u0027]),"},{"line_number":390,"context_line":"                 \u0027no_root_squash\u0027: True} for access_rule in access_rules]"},{"line_number":391,"context_line":"        infinidat_export.update_permissions(permissions)"},{"line_number":392,"context_line":""},{"line_number":393,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":394,"context_line":"    def create_share(self, context, share, share_server\u003dNone):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_edaa3683","line":391,"range":{"start_line":391,"start_character":55,"end_line":391,"end_character":56},"in_reply_to":"3f4b6375_3cac709d","updated":"2017-11-02 16:27:23.000000000","message":"I don\u0027t think I follow... According to the update_access method documentation, we can either use add_rules \u0026 delete_rules, or access_rules if we support bulk rule change. As the INFINIDAT Infinibox is capable of bulk access rule change, we only use the access_rules list. We have no need of the add_rules and delete_rules lists.","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"ffe9f738ac172f55f3fc1ab79269d5bbe8d8a9c7","unresolved":false,"context_lines":[{"line_number":388,"context_line":"                 \u0027client\u0027: self._get_ip_address_range("},{"line_number":389,"context_line":"                     access_rule[\u0027access_to\u0027]),"},{"line_number":390,"context_line":"                 \u0027no_root_squash\u0027: True} for access_rule in access_rules]"},{"line_number":391,"context_line":"        infinidat_export.update_permissions(permissions)"},{"line_number":392,"context_line":""},{"line_number":393,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":394,"context_line":"    def create_share(self, context, share, share_server\u003dNone):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_3cac709d","line":391,"range":{"start_line":391,"start_character":55,"end_line":391,"end_character":56},"in_reply_to":"3f4b6375_dc19dc21","updated":"2017-10-27 10:06:29.000000000","message":"sorry, the update access method still have add_rules and delete_rules. Do you need to update it?","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"e3cf4550889a0b32916258044e62b1491c0c1965","unresolved":false,"context_lines":[{"line_number":393,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":394,"context_line":"    def create_share(self, context, share, share_server\u003dNone):"},{"line_number":395,"context_line":"        pool \u003d self._get_infinidat_pool()"},{"line_number":396,"context_line":"        size \u003d share.size * capacity.GiB"},{"line_number":397,"context_line":"        share_name \u003d self._make_share_name(share)"},{"line_number":398,"context_line":"        infinidat_filesystem \u003d self._system.filesystems.create("},{"line_number":399,"context_line":"            pool\u003dpool, name\u003dshare_name, size\u003dsize)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_cca4914d","line":396,"range":{"start_line":396,"start_character":28,"end_line":396,"end_character":40},"updated":"2017-10-27 09:16:43.000000000","message":"Use \u0027from oslo_utils import units\u0027 instead of capacity.","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"e03a511a2ee467fb4b576a3ef990e4dca75ca1b0","unresolved":false,"context_lines":[{"line_number":393,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":394,"context_line":"    def create_share(self, context, share, share_server\u003dNone):"},{"line_number":395,"context_line":"        pool \u003d self._get_infinidat_pool()"},{"line_number":396,"context_line":"        size \u003d share.size * capacity.GiB"},{"line_number":397,"context_line":"        share_name \u003d self._make_share_name(share)"},{"line_number":398,"context_line":"        infinidat_filesystem \u003d self._system.filesystems.create("},{"line_number":399,"context_line":"            pool\u003dpool, name\u003dshare_name, size\u003dsize)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_95227cb8","line":396,"range":{"start_line":396,"start_character":28,"end_line":396,"end_character":40},"in_reply_to":"3f4b6375_cca4914d","updated":"2017-11-02 16:27:23.000000000","message":"See previous comment on this subject.","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"ec08487765a8008bf2364ddd329e2b846f459fe8","unresolved":false,"context_lines":[{"line_number":403,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":404,"context_line":"    def create_share_from_snapshot(self, context, share, snapshot,"},{"line_number":405,"context_line":"                                   share_server\u003dNone):"},{"line_number":406,"context_line":"        if share.size \u003c snapshot.size:"},{"line_number":407,"context_line":"            message \u003d _(\"New share size %(share_size)f is smaller than \""},{"line_number":408,"context_line":"                        \"the original snapshot size %(snapshot_size)f\")"},{"line_number":409,"context_line":"            raise exception.ShareBackendException("},{"line_number":410,"context_line":"                message,"},{"line_number":411,"context_line":"                {\u0027share_size\u0027: share.size, \u0027snapshot_size\u0027: snapshot.size})"},{"line_number":412,"context_line":"        name \u003d self._make_share_name(share)"},{"line_number":413,"context_line":"        infinidat_snapshot \u003d self._get_infinidat_snapshot(snapshot)"},{"line_number":414,"context_line":"        infinidat_new_share \u003d infinidat_snapshot.create_child("}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_dcb67c3e","line":411,"range":{"start_line":406,"start_character":8,"end_line":411,"end_character":75},"updated":"2017-10-27 09:47:48.000000000","message":"We already do this logic in common code.\nhttps://github.com/openstack/manila/blob/master/manila/share/api.py#L103","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"e03a511a2ee467fb4b576a3ef990e4dca75ca1b0","unresolved":false,"context_lines":[{"line_number":403,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":404,"context_line":"    def create_share_from_snapshot(self, context, share, snapshot,"},{"line_number":405,"context_line":"                                   share_server\u003dNone):"},{"line_number":406,"context_line":"        if share.size \u003c snapshot.size:"},{"line_number":407,"context_line":"            message \u003d _(\"New share size %(share_size)f is smaller than \""},{"line_number":408,"context_line":"                        \"the original snapshot size %(snapshot_size)f\")"},{"line_number":409,"context_line":"            raise exception.ShareBackendException("},{"line_number":410,"context_line":"                message,"},{"line_number":411,"context_line":"                {\u0027share_size\u0027: share.size, \u0027snapshot_size\u0027: snapshot.size})"},{"line_number":412,"context_line":"        name \u003d self._make_share_name(share)"},{"line_number":413,"context_line":"        infinidat_snapshot \u003d self._get_infinidat_snapshot(snapshot)"},{"line_number":414,"context_line":"        infinidat_new_share \u003d infinidat_snapshot.create_child("}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_752b8094","line":411,"range":{"start_line":406,"start_character":8,"end_line":411,"end_character":75},"in_reply_to":"3f4b6375_dcb67c3e","updated":"2017-11-02 16:27:23.000000000","message":"Done","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"e3cf4550889a0b32916258044e62b1491c0c1965","unresolved":false,"context_lines":[{"line_number":479,"context_line":"    def get_network_allocations_number(self):"},{"line_number":480,"context_line":"        return 0"},{"line_number":481,"context_line":""},{"line_number":482,"context_line":"    def manage_existing(self, share, driver_options):"},{"line_number":483,"context_line":"        raise NotImplementedError(\"This feature is currently not supported \""},{"line_number":484,"context_line":"                                  \"by the INFINIDAT Infinibox share driver\")"},{"line_number":485,"context_line":""},{"line_number":486,"context_line":"    def manage_existing_snapshot(self, snapshot, driver_options):"},{"line_number":487,"context_line":"        raise NotImplementedError(\"This feature is currently not supported \""},{"line_number":488,"context_line":"                                  \"by the INFINIDAT Infinibox share driver\")"},{"line_number":489,"context_line":""},{"line_number":490,"context_line":"    def revert_to_snapshot(self, context, snapshot, access_rules,"},{"line_number":491,"context_line":"                           share_server\u003dNone):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_2c8b25c3","line":488,"range":{"start_line":482,"start_character":4,"end_line":488,"end_character":76},"updated":"2017-10-27 09:16:43.000000000","message":"We don\u0027t need to write those functions again if the driver doesn\u0027t support it.","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"e03a511a2ee467fb4b576a3ef990e4dca75ca1b0","unresolved":false,"context_lines":[{"line_number":479,"context_line":"    def get_network_allocations_number(self):"},{"line_number":480,"context_line":"        return 0"},{"line_number":481,"context_line":""},{"line_number":482,"context_line":"    def manage_existing(self, share, driver_options):"},{"line_number":483,"context_line":"        raise NotImplementedError(\"This feature is currently not supported \""},{"line_number":484,"context_line":"                                  \"by the INFINIDAT Infinibox share driver\")"},{"line_number":485,"context_line":""},{"line_number":486,"context_line":"    def manage_existing_snapshot(self, snapshot, driver_options):"},{"line_number":487,"context_line":"        raise NotImplementedError(\"This feature is currently not supported \""},{"line_number":488,"context_line":"                                  \"by the INFINIDAT Infinibox share driver\")"},{"line_number":489,"context_line":""},{"line_number":490,"context_line":"    def revert_to_snapshot(self, context, snapshot, access_rules,"},{"line_number":491,"context_line":"                           share_server\u003dNone):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_55288495","line":488,"range":{"start_line":482,"start_character":4,"end_line":488,"end_character":76},"in_reply_to":"3f4b6375_2c8b25c3","updated":"2017-11-02 16:27:23.000000000","message":"Done","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"e3cf4550889a0b32916258044e62b1491c0c1965","unresolved":false,"context_lines":[{"line_number":487,"context_line":"        raise NotImplementedError(\"This feature is currently not supported \""},{"line_number":488,"context_line":"                                  \"by the INFINIDAT Infinibox share driver\")"},{"line_number":489,"context_line":""},{"line_number":490,"context_line":"    def revert_to_snapshot(self, context, snapshot, access_rules,"},{"line_number":491,"context_line":"                           share_server\u003dNone):"},{"line_number":492,"context_line":"        infinidat_snapshot \u003d self._get_infinidat_snapshot(snapshot)"},{"line_number":493,"context_line":"        infinidat_parent_share \u003d self._get_infinidat_filesystem("},{"line_number":494,"context_line":"            snapshot[\u0027share\u0027])"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_278b3ec3","line":491,"range":{"start_line":490,"start_character":4,"end_line":491,"end_character":46},"updated":"2017-10-27 09:16:43.000000000","message":"This interface is not consistent with driver interface.\n    def revert_to_snapshot(self, context, snapshot, share_access_rules,\n                           snapshot_access_rules, share_server\u003dNone):\n\nPlease use the same interface.\nhttps://github.com/openstack/manila/blob/master/manila/share/driver.py#L994","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"e03a511a2ee467fb4b576a3ef990e4dca75ca1b0","unresolved":false,"context_lines":[{"line_number":487,"context_line":"        raise NotImplementedError(\"This feature is currently not supported \""},{"line_number":488,"context_line":"                                  \"by the INFINIDAT Infinibox share driver\")"},{"line_number":489,"context_line":""},{"line_number":490,"context_line":"    def revert_to_snapshot(self, context, snapshot, access_rules,"},{"line_number":491,"context_line":"                           share_server\u003dNone):"},{"line_number":492,"context_line":"        infinidat_snapshot \u003d self._get_infinidat_snapshot(snapshot)"},{"line_number":493,"context_line":"        infinidat_parent_share \u003d self._get_infinidat_filesystem("},{"line_number":494,"context_line":"            snapshot[\u0027share\u0027])"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_1520ccab","line":491,"range":{"start_line":490,"start_character":4,"end_line":491,"end_character":46},"in_reply_to":"3f4b6375_278b3ec3","updated":"2017-11-02 16:27:23.000000000","message":"Done","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"e3cf4550889a0b32916258044e62b1491c0c1965","unresolved":false,"context_lines":[{"line_number":499,"context_line":"        self._extend_share(infinidat_filesystem, new_size)"},{"line_number":500,"context_line":""},{"line_number":501,"context_line":"    def shrink_share(self, share, new_size, share_server\u003dNone):"},{"line_number":502,"context_line":"        raise exception.ShareShrinkingPossibleDataLoss(share_id\u003dshare[\u0027id\u0027])"},{"line_number":503,"context_line":""},{"line_number":504,"context_line":"    def snapshot_update_access(self, context, snapshot, access_rules,"},{"line_number":505,"context_line":"                               add_rules, delete_rules, share_server\u003dNone):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_99013608","line":502,"range":{"start_line":502,"start_character":8,"end_line":502,"end_character":76},"updated":"2017-10-27 09:16:43.000000000","message":"If the driver doesn\u0027t support this feature, you could just don\u0027t implement it.\nIt should be let user confused if you always raise ShareShrinkingPossibleDataLoss error. For example: If I create a share with 20GB, and I only have 1G real data in this share.  If I shrink this share, and the service tell me that my share data loss. The user may really confuse why they can not shrink the space that they don\u0027t used.\nI may well be missing something?","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"e03a511a2ee467fb4b576a3ef990e4dca75ca1b0","unresolved":false,"context_lines":[{"line_number":499,"context_line":"        self._extend_share(infinidat_filesystem, new_size)"},{"line_number":500,"context_line":""},{"line_number":501,"context_line":"    def shrink_share(self, share, new_size, share_server\u003dNone):"},{"line_number":502,"context_line":"        raise exception.ShareShrinkingPossibleDataLoss(share_id\u003dshare[\u0027id\u0027])"},{"line_number":503,"context_line":""},{"line_number":504,"context_line":"    def snapshot_update_access(self, context, snapshot, access_rules,"},{"line_number":505,"context_line":"                               add_rules, delete_rules, share_server\u003dNone):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_f510905b","line":502,"range":{"start_line":502,"start_character":8,"end_line":502,"end_character":76},"in_reply_to":"3f4b6375_99013608","updated":"2017-11-02 16:27:23.000000000","message":"Done","commit_id":"d1ed9e8f7520fd54c923c03ad9d04d1178c853f4"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"0cb801e2eae7dbde1f8cee1217bae4eb00d112e1","unresolved":false,"context_lines":[{"line_number":426,"context_line":"    def create_snapshot(self, context, snapshot, share_server\u003dNone):"},{"line_number":427,"context_line":"        \"\"\"Creates a snapshot.\"\"\""},{"line_number":428,"context_line":"        share \u003d snapshot[\u0027share\u0027]"},{"line_number":429,"context_line":"        if snapshot.size \u003c share.size:"},{"line_number":430,"context_line":"            message \u003d _(\"New snapshot size %(snapshot_size)f is smaller than \""},{"line_number":431,"context_line":"                        \"the original share size %(share_size)f\")"},{"line_number":432,"context_line":"            raise exception.ShareBackendException("},{"line_number":433,"context_line":"                message,"},{"line_number":434,"context_line":"                {\u0027snapshot_size\u0027: snapshot.size, \u0027share_size\u0027: share.size})"},{"line_number":435,"context_line":"        infinidat_filesystem \u003d self._get_infinidat_filesystem(share)"},{"line_number":436,"context_line":"        name \u003d self._make_snapshot_name(snapshot)"},{"line_number":437,"context_line":"        infinidat_snapshot \u003d infinidat_filesystem.create_child(name\u003dname)"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f4b6375_2d26aa69","line":434,"range":{"start_line":429,"start_character":8,"end_line":434,"end_character":75},"updated":"2017-11-06 07:33:35.000000000","message":"We don\u0027t allow to input the snapshot size when we create the snapshot. The snapshot size is the same as share size.\nSo we don\u0027t have to check this logic.\nhttps://github.com/openstack/manila/blob/master/manila/share/api.py#L1053","commit_id":"f3dce32a07a2bcfc64b3c11647261790e2aa8956"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"3f83db19ff56a3c483d334acb6381f2128404607","unresolved":false,"context_lines":[{"line_number":426,"context_line":"    def create_snapshot(self, context, snapshot, share_server\u003dNone):"},{"line_number":427,"context_line":"        \"\"\"Creates a snapshot.\"\"\""},{"line_number":428,"context_line":"        share \u003d snapshot[\u0027share\u0027]"},{"line_number":429,"context_line":"        if snapshot.size \u003c share.size:"},{"line_number":430,"context_line":"            message \u003d _(\"New snapshot size %(snapshot_size)f is smaller than \""},{"line_number":431,"context_line":"                        \"the original share size %(share_size)f\")"},{"line_number":432,"context_line":"            raise exception.ShareBackendException("},{"line_number":433,"context_line":"                message,"},{"line_number":434,"context_line":"                {\u0027snapshot_size\u0027: snapshot.size, \u0027share_size\u0027: share.size})"},{"line_number":435,"context_line":"        infinidat_filesystem \u003d self._get_infinidat_filesystem(share)"},{"line_number":436,"context_line":"        name \u003d self._make_snapshot_name(snapshot)"},{"line_number":437,"context_line":"        infinidat_snapshot \u003d infinidat_filesystem.create_child(name\u003dname)"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f4b6375_c2323c5e","line":434,"range":{"start_line":429,"start_character":8,"end_line":434,"end_character":75},"in_reply_to":"3f4b6375_2d26aa69","updated":"2017-11-06 12:50:41.000000000","message":"Done","commit_id":"f3dce32a07a2bcfc64b3c11647261790e2aa8956"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"0cb801e2eae7dbde1f8cee1217bae4eb00d112e1","unresolved":false,"context_lines":[{"line_number":446,"context_line":"    def delete_snapshot(self, context, snapshot, share_server\u003dNone):"},{"line_number":447,"context_line":"        self._delete_share(snapshot, is_snapshot\u003dTrue)"},{"line_number":448,"context_line":""},{"line_number":449,"context_line":"    def get_pool(self, share):"},{"line_number":450,"context_line":"        # We only have one pool for OpenStack on the system, and it is"},{"line_number":451,"context_line":"        # set in the configuration. We use _get_infinidat_pool and not the"},{"line_number":452,"context_line":"        # config parameter (infinidat_pool_name) directly in order to make"},{"line_number":453,"context_line":"        # sure the pool actually exists in the backend."},{"line_number":454,"context_line":"        return self._get_infinidat_pool().get_name()"},{"line_number":455,"context_line":""},{"line_number":456,"context_line":"    def ensure_share(self, context, share, share_server\u003dNone):"},{"line_number":457,"context_line":"        infinidat_filesystem \u003d self._get_infinidat_filesystem(share)"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f4b6375_ed141246","line":454,"range":{"start_line":449,"start_character":0,"end_line":454,"end_character":52},"updated":"2017-11-06 07:33:35.000000000","message":"This function is be used for multiple pools feature. \nSince you doesn\u0027t support the multiple pools feature\n (There isn\u0027t have \u0027pools\u0027 value in _update_share_stats). \nThe host of the share is \u0027HostA@BackendB\u0027 format.\nBut if you return a pool name in get_pool function, the\ninfinidat host of the share will be changed to\n\u0027HostA@BackendB#host\u0027 format after you restart the manila\nshare service. Then the share host name is not the same name as the\nshare was created. It will cause other relative function failure.\nIs this what you really want it?\nFor the orignal logic, you should delete \u0027get_pool\u0027 or add \u0027pools\u0027 in _update_share_stats.","commit_id":"f3dce32a07a2bcfc64b3c11647261790e2aa8956"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"3f83db19ff56a3c483d334acb6381f2128404607","unresolved":false,"context_lines":[{"line_number":446,"context_line":"    def delete_snapshot(self, context, snapshot, share_server\u003dNone):"},{"line_number":447,"context_line":"        self._delete_share(snapshot, is_snapshot\u003dTrue)"},{"line_number":448,"context_line":""},{"line_number":449,"context_line":"    def get_pool(self, share):"},{"line_number":450,"context_line":"        # We only have one pool for OpenStack on the system, and it is"},{"line_number":451,"context_line":"        # set in the configuration. We use _get_infinidat_pool and not the"},{"line_number":452,"context_line":"        # config parameter (infinidat_pool_name) directly in order to make"},{"line_number":453,"context_line":"        # sure the pool actually exists in the backend."},{"line_number":454,"context_line":"        return self._get_infinidat_pool().get_name()"},{"line_number":455,"context_line":""},{"line_number":456,"context_line":"    def ensure_share(self, context, share, share_server\u003dNone):"},{"line_number":457,"context_line":"        infinidat_filesystem \u003d self._get_infinidat_filesystem(share)"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f4b6375_a2350047","line":454,"range":{"start_line":449,"start_character":0,"end_line":454,"end_character":52},"in_reply_to":"3f4b6375_ed141246","updated":"2017-11-06 12:50:41.000000000","message":"Done","commit_id":"f3dce32a07a2bcfc64b3c11647261790e2aa8956"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"0cb801e2eae7dbde1f8cee1217bae4eb00d112e1","unresolved":false,"context_lines":[{"line_number":485,"context_line":"    def get_network_allocations_number(self):"},{"line_number":486,"context_line":"        return 0"},{"line_number":487,"context_line":""},{"line_number":488,"context_line":"    def revert_to_snapshot(self, context, snapshot, share_access_rules,"},{"line_number":489,"context_line":"                           snapshot_access_rules, share_server\u003dNone):"},{"line_number":490,"context_line":"        infinidat_snapshot \u003d self._get_infinidat_snapshot(snapshot)"},{"line_number":491,"context_line":"        infinidat_parent_share \u003d self._get_infinidat_filesystem("},{"line_number":492,"context_line":"            snapshot[\u0027share\u0027])"},{"line_number":493,"context_line":"        infinidat_parent_share.restore(infinidat_snapshot)"},{"line_number":494,"context_line":""},{"line_number":495,"context_line":"    def extend_share(self, share, new_size, share_server\u003dNone):"},{"line_number":496,"context_line":"        infinidat_filesystem \u003d self._get_infinidat_filesystem(share)"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f4b6375_791468e9","line":493,"range":{"start_line":488,"start_character":0,"end_line":493,"end_character":58},"updated":"2017-11-06 07:33:35.000000000","message":"Could you add some tests for this function?","commit_id":"f3dce32a07a2bcfc64b3c11647261790e2aa8956"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"3f83db19ff56a3c483d334acb6381f2128404607","unresolved":false,"context_lines":[{"line_number":485,"context_line":"    def get_network_allocations_number(self):"},{"line_number":486,"context_line":"        return 0"},{"line_number":487,"context_line":""},{"line_number":488,"context_line":"    def revert_to_snapshot(self, context, snapshot, share_access_rules,"},{"line_number":489,"context_line":"                           snapshot_access_rules, share_server\u003dNone):"},{"line_number":490,"context_line":"        infinidat_snapshot \u003d self._get_infinidat_snapshot(snapshot)"},{"line_number":491,"context_line":"        infinidat_parent_share \u003d self._get_infinidat_filesystem("},{"line_number":492,"context_line":"            snapshot[\u0027share\u0027])"},{"line_number":493,"context_line":"        infinidat_parent_share.restore(infinidat_snapshot)"},{"line_number":494,"context_line":""},{"line_number":495,"context_line":"    def extend_share(self, share, new_size, share_server\u003dNone):"},{"line_number":496,"context_line":"        infinidat_filesystem \u003d self._get_infinidat_filesystem(share)"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f4b6375_623b8837","line":493,"range":{"start_line":488,"start_character":0,"end_line":493,"end_character":58},"in_reply_to":"3f4b6375_791468e9","updated":"2017-11-06 12:50:41.000000000","message":"Done","commit_id":"f3dce32a07a2bcfc64b3c11647261790e2aa8956"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"1127b9cd19bf887c9c25c57ac88ee7273a832eb0","unresolved":false,"context_lines":[{"line_number":85,"context_line":"        except infinisdk.core.exceptions.InfiniSDKException as ex:"},{"line_number":86,"context_line":"            if ex.error_code \u003d\u003d \u0027POOL_VIRTUAL_CAPACITY\u0027:"},{"line_number":87,"context_line":"                raise exception.ShareSizeExceedsAvailableQuota()"},{"line_number":88,"context_line":"            # string formatting of \u0027ex\u0027 includes http code and url"},{"line_number":89,"context_line":"            msg \u003d _(\u0027Caught exception from infinisdk: %s\u0027) % ex"},{"line_number":90,"context_line":"            LOG.exception(msg)"},{"line_number":91,"context_line":"            raise exception.ShareBackendException(msg\u003dmsg)"},{"line_number":92,"context_line":"    return wrapper"},{"line_number":93,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"3f4b6375_929c6bc0","line":90,"range":{"start_line":88,"start_character":11,"end_line":90,"end_character":30},"updated":"2017-11-08 02:44:22.000000000","message":"Since string formatting of \u0027ex\u0027 includes http code and url. Do you want to push exception log in code line 86? Even if we got \u0027POOL_VIRTUAL_CAPACITY\u0027 error, and we still can see the details of the operation.","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"2ad90f120faa91eb9ae2508598250260f78d883d","unresolved":false,"context_lines":[{"line_number":85,"context_line":"        except infinisdk.core.exceptions.InfiniSDKException as ex:"},{"line_number":86,"context_line":"            if ex.error_code \u003d\u003d \u0027POOL_VIRTUAL_CAPACITY\u0027:"},{"line_number":87,"context_line":"                raise exception.ShareSizeExceedsAvailableQuota()"},{"line_number":88,"context_line":"            # string formatting of \u0027ex\u0027 includes http code and url"},{"line_number":89,"context_line":"            msg \u003d _(\u0027Caught exception from infinisdk: %s\u0027) % ex"},{"line_number":90,"context_line":"            LOG.exception(msg)"},{"line_number":91,"context_line":"            raise exception.ShareBackendException(msg\u003dmsg)"},{"line_number":92,"context_line":"    return wrapper"},{"line_number":93,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"1f485f77_c2328c5e","line":90,"range":{"start_line":88,"start_character":11,"end_line":90,"end_character":30},"in_reply_to":"3f4b6375_929c6bc0","updated":"2017-11-17 17:34:46.000000000","message":"Done","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"1127b9cd19bf887c9c25c57ac88ee7273a832eb0","unresolved":false,"context_lines":[{"line_number":108,"context_line":"            msg \u003d _(\"Missing \u0027infinisdk\u0027 python module, ensure the library\""},{"line_number":109,"context_line":"                    \" is installed and available.\")"},{"line_number":110,"context_line":"            raise exception.ManilaException(message\u003dmsg)"},{"line_number":111,"context_line":"        auth \u003d (self.configuration.infinibox_login,"},{"line_number":112,"context_line":"                self.configuration.infinibox_password)"},{"line_number":113,"context_line":"        self.management_address \u003d self.configuration.infinibox_hostname"},{"line_number":114,"context_line":"        self._system \u003d infinisdk.InfiniBox(self.management_address, auth\u003dauth)"},{"line_number":115,"context_line":"        self._system.login()"},{"line_number":116,"context_line":"        backend_name \u003d self.configuration.safe_get(\u0027share_backend_name\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f4b6375_32f3770b","line":113,"range":{"start_line":111,"start_character":8,"end_line":113,"end_character":71},"updated":"2017-11-08 02:44:22.000000000","message":"Do you have to check if the self.configuration.infinibox_login, configuration.infinibox_hostname has the value. Do you want to raise the error if those parameters doesn\u0027t exist  and let user know what happened if their share service failed to start.","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"2ad90f120faa91eb9ae2508598250260f78d883d","unresolved":false,"context_lines":[{"line_number":108,"context_line":"            msg \u003d _(\"Missing \u0027infinisdk\u0027 python module, ensure the library\""},{"line_number":109,"context_line":"                    \" is installed and available.\")"},{"line_number":110,"context_line":"            raise exception.ManilaException(message\u003dmsg)"},{"line_number":111,"context_line":"        auth \u003d (self.configuration.infinibox_login,"},{"line_number":112,"context_line":"                self.configuration.infinibox_password)"},{"line_number":113,"context_line":"        self.management_address \u003d self.configuration.infinibox_hostname"},{"line_number":114,"context_line":"        self._system \u003d infinisdk.InfiniBox(self.management_address, auth\u003dauth)"},{"line_number":115,"context_line":"        self._system.login()"},{"line_number":116,"context_line":"        backend_name \u003d self.configuration.safe_get(\u0027share_backend_name\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1f485f77_a237904d","line":113,"range":{"start_line":111,"start_character":8,"end_line":113,"end_character":71},"in_reply_to":"3f4b6375_32f3770b","updated":"2017-11-17 17:34:46.000000000","message":"Done","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"1127b9cd19bf887c9c25c57ac88ee7273a832eb0","unresolved":false,"context_lines":[{"line_number":147,"context_line":"        return free_capacity_bytes, physical_capacity_bytes"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"    def _make_share_name(self, manila_share):"},{"line_number":150,"context_line":"        return \u0027openstack-shr-%s\u0027 % manila_share.id"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"    def _make_snapshot_name(self, manila_snapshot):"},{"line_number":153,"context_line":"        return \u0027openstack-snap-%s\u0027 % manila_snapshot[\u0027id\u0027]"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f4b6375_72320fa9","line":150,"range":{"start_line":150,"start_character":48,"end_line":150,"end_character":51},"updated":"2017-11-08 02:44:22.000000000","message":"manila_share[\u0027id\u0027]","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"2ad90f120faa91eb9ae2508598250260f78d883d","unresolved":false,"context_lines":[{"line_number":147,"context_line":"        return free_capacity_bytes, physical_capacity_bytes"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"    def _make_share_name(self, manila_share):"},{"line_number":150,"context_line":"        return \u0027openstack-shr-%s\u0027 % manila_share.id"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"    def _make_snapshot_name(self, manila_snapshot):"},{"line_number":153,"context_line":"        return \u0027openstack-snap-%s\u0027 % manila_snapshot[\u0027id\u0027]"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f4b6375_1e6f5dfd","line":150,"range":{"start_line":150,"start_character":48,"end_line":150,"end_character":51},"in_reply_to":"3f4b6375_72320fa9","updated":"2017-11-17 17:34:46.000000000","message":"Done","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"1127b9cd19bf887c9c25c57ac88ee7273a832eb0","unresolved":false,"context_lines":[{"line_number":403,"context_line":"        infinidat_export.update_permissions(permissions)"},{"line_number":404,"context_line":""},{"line_number":405,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":406,"context_line":"    def create_share(self, context, share, share_server\u003dNone):"},{"line_number":407,"context_line":"        pool \u003d self._get_infinidat_pool()"},{"line_number":408,"context_line":"        size \u003d share.size * capacity.GiB"},{"line_number":409,"context_line":"        share_name \u003d self._make_share_name(share)"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f4b6375_3235b745","line":406,"range":{"start_line":406,"start_character":35,"end_line":406,"end_character":41},"updated":"2017-11-08 02:44:22.000000000","message":"It should check if the share[\u0027share_proto\u0027] is \u0027NFS\u0027. Otherwise it could successful to create a CIFS share in this driver.","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"2ad90f120faa91eb9ae2508598250260f78d883d","unresolved":false,"context_lines":[{"line_number":403,"context_line":"        infinidat_export.update_permissions(permissions)"},{"line_number":404,"context_line":""},{"line_number":405,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":406,"context_line":"    def create_share(self, context, share, share_server\u003dNone):"},{"line_number":407,"context_line":"        pool \u003d self._get_infinidat_pool()"},{"line_number":408,"context_line":"        size \u003d share.size * capacity.GiB"},{"line_number":409,"context_line":"        share_name \u003d self._make_share_name(share)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1f485f77_f1a9b47b","line":406,"range":{"start_line":406,"start_character":35,"end_line":406,"end_character":41},"in_reply_to":"3f4b6375_3235b745","updated":"2017-11-17 17:34:46.000000000","message":"Done","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"1127b9cd19bf887c9c25c57ac88ee7273a832eb0","unresolved":false,"context_lines":[{"line_number":405,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":406,"context_line":"    def create_share(self, context, share, share_server\u003dNone):"},{"line_number":407,"context_line":"        pool \u003d self._get_infinidat_pool()"},{"line_number":408,"context_line":"        size \u003d share.size * capacity.GiB"},{"line_number":409,"context_line":"        share_name \u003d self._make_share_name(share)"},{"line_number":410,"context_line":"        infinidat_filesystem \u003d self._system.filesystems.create("},{"line_number":411,"context_line":"            pool\u003dpool, name\u003dshare_name, size\u003dsize, provtype\u003d\"THIN\")"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f4b6375_92d46b21","line":408,"range":{"start_line":408,"start_character":15,"end_line":408,"end_character":25},"updated":"2017-11-08 02:44:22.000000000","message":"share[\u0027size\u0027]","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"2ad90f120faa91eb9ae2508598250260f78d883d","unresolved":false,"context_lines":[{"line_number":405,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":406,"context_line":"    def create_share(self, context, share, share_server\u003dNone):"},{"line_number":407,"context_line":"        pool \u003d self._get_infinidat_pool()"},{"line_number":408,"context_line":"        size \u003d share.size * capacity.GiB"},{"line_number":409,"context_line":"        share_name \u003d self._make_share_name(share)"},{"line_number":410,"context_line":"        infinidat_filesystem \u003d self._system.filesystems.create("},{"line_number":411,"context_line":"            pool\u003dpool, name\u003dshare_name, size\u003dsize, provtype\u003d\"THIN\")"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f4b6375_7e60910e","line":408,"range":{"start_line":408,"start_character":15,"end_line":408,"end_character":25},"in_reply_to":"3f4b6375_92d46b21","updated":"2017-11-17 17:34:46.000000000","message":"Done","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"e0ba9738918e943fb8ad3610e68b224c9df4eda8","unresolved":false,"context_lines":[{"line_number":133,"context_line":"        free_capacity_bytes, physical_capacity_bytes \u003d ("},{"line_number":134,"context_line":"            self._get_available_capacity())"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"        data \u003d dict("},{"line_number":137,"context_line":"            share_backend_name\u003dself._backend_name,"},{"line_number":138,"context_line":"            vendor_name\u003d\u0027INFINIDAT\u0027,"},{"line_number":139,"context_line":"            driver_version\u003dself.VERSION,"}],"source_content_type":"text/x-python","patch_set":4,"id":"ff82abbf_01ab2b1d","line":136,"range":{"start_line":136,"start_character":8,"end_line":136,"end_character":20},"updated":"2017-11-21 02:47:51.000000000","message":"Since you always support thin provisioning capability, do you have to add \"max_over_subscription_ratio\" and \"provisioned_capacity_gb\" in the update share stats?\nhttps://github.com/openstack/manila/blob/master/manila/scheduler/filters/capacity.py#L91","commit_id":"bb0480a5b51dc8023c62f05c3369973b39527634"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"da9c36496c288e8859cf346b669ab1f98954edd2","unresolved":false,"context_lines":[{"line_number":133,"context_line":"        free_capacity_bytes, physical_capacity_bytes \u003d ("},{"line_number":134,"context_line":"            self._get_available_capacity())"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"        data \u003d dict("},{"line_number":137,"context_line":"            share_backend_name\u003dself._backend_name,"},{"line_number":138,"context_line":"            vendor_name\u003d\u0027INFINIDAT\u0027,"},{"line_number":139,"context_line":"            driver_version\u003dself.VERSION,"}],"source_content_type":"text/x-python","patch_set":4,"id":"ff82abbf_b5edaf8c","line":136,"range":{"start_line":136,"start_character":8,"end_line":136,"end_character":20},"in_reply_to":"ff82abbf_01ab2b1d","updated":"2017-11-22 12:33:14.000000000","message":"Done","commit_id":"bb0480a5b51dc8023c62f05c3369973b39527634"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"e0ba9738918e943fb8ad3610e68b224c9df4eda8","unresolved":false,"context_lines":[{"line_number":376,"context_line":"            infinidat_filesystem \u003d ("},{"line_number":377,"context_line":"                self._get_infinidat_filesystem_by_name(share_name))"},{"line_number":378,"context_line":"        except exception.ShareNotFound:"},{"line_number":379,"context_line":"            return      # filesystem not found"},{"line_number":380,"context_line":"        if infinidat_filesystem.has_children():"},{"line_number":381,"context_line":"            # can\u0027t delete a filesystem that has a live snapshot"},{"line_number":382,"context_line":"            if is_snapshot:"}],"source_content_type":"text/x-python","patch_set":4,"id":"ff82abbf_5c66fcef","line":379,"range":{"start_line":379,"start_character":11,"end_line":379,"end_character":23},"updated":"2017-11-21 02:47:51.000000000","message":"Would you like to add a warning log for share cannot find in the storage.","commit_id":"bb0480a5b51dc8023c62f05c3369973b39527634"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"da9c36496c288e8859cf346b669ab1f98954edd2","unresolved":false,"context_lines":[{"line_number":376,"context_line":"            infinidat_filesystem \u003d ("},{"line_number":377,"context_line":"                self._get_infinidat_filesystem_by_name(share_name))"},{"line_number":378,"context_line":"        except exception.ShareNotFound:"},{"line_number":379,"context_line":"            return      # filesystem not found"},{"line_number":380,"context_line":"        if infinidat_filesystem.has_children():"},{"line_number":381,"context_line":"            # can\u0027t delete a filesystem that has a live snapshot"},{"line_number":382,"context_line":"            if is_snapshot:"}],"source_content_type":"text/x-python","patch_set":4,"id":"ff82abbf_b29f2c4f","line":379,"range":{"start_line":379,"start_character":11,"end_line":379,"end_character":23},"in_reply_to":"ff82abbf_5c66fcef","updated":"2017-11-22 12:33:14.000000000","message":"Done","commit_id":"bb0480a5b51dc8023c62f05c3369973b39527634"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"e0ba9738918e943fb8ad3610e68b224c9df4eda8","unresolved":false,"context_lines":[{"line_number":380,"context_line":"        if infinidat_filesystem.has_children():"},{"line_number":381,"context_line":"            # can\u0027t delete a filesystem that has a live snapshot"},{"line_number":382,"context_line":"            if is_snapshot:"},{"line_number":383,"context_line":"                raise exception.ShareSnapshotIsBusy(snapshot_name\u003dshare_name)"},{"line_number":384,"context_line":"            else:"},{"line_number":385,"context_line":"                reason \u003d _(\"share has snapshots and cannot be deleted\")"},{"line_number":386,"context_line":"                raise exception.ShareBusyException(reason\u003dreason)"}],"source_content_type":"text/x-python","patch_set":4,"id":"ff82abbf_dced2c26","line":383,"range":{"start_line":383,"start_character":52,"end_line":383,"end_character":76},"updated":"2017-11-21 02:47:51.000000000","message":"I\u0027m really confused, could you just use a common name instead of share name?","commit_id":"bb0480a5b51dc8023c62f05c3369973b39527634"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"da9c36496c288e8859cf346b669ab1f98954edd2","unresolved":false,"context_lines":[{"line_number":380,"context_line":"        if infinidat_filesystem.has_children():"},{"line_number":381,"context_line":"            # can\u0027t delete a filesystem that has a live snapshot"},{"line_number":382,"context_line":"            if is_snapshot:"},{"line_number":383,"context_line":"                raise exception.ShareSnapshotIsBusy(snapshot_name\u003dshare_name)"},{"line_number":384,"context_line":"            else:"},{"line_number":385,"context_line":"                reason \u003d _(\"share has snapshots and cannot be deleted\")"},{"line_number":386,"context_line":"                raise exception.ShareBusyException(reason\u003dreason)"}],"source_content_type":"text/x-python","patch_set":4,"id":"ff82abbf_f2b614da","line":383,"range":{"start_line":383,"start_character":52,"end_line":383,"end_character":76},"in_reply_to":"ff82abbf_dced2c26","updated":"2017-11-22 12:33:14.000000000","message":"Done","commit_id":"bb0480a5b51dc8023c62f05c3369973b39527634"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"e0ba9738918e943fb8ad3610e68b224c9df4eda8","unresolved":false,"context_lines":[{"line_number":521,"context_line":"            snapshot[\u0027share\u0027])"},{"line_number":522,"context_line":"        infinidat_parent_share.restore(infinidat_snapshot)"},{"line_number":523,"context_line":""},{"line_number":524,"context_line":"    def extend_share(self, share, new_size, share_server\u003dNone):"},{"line_number":525,"context_line":"        infinidat_filesystem \u003d self._get_infinidat_filesystem(share)"},{"line_number":526,"context_line":"        self._extend_share(infinidat_filesystem, share, new_size)"},{"line_number":527,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"ff82abbf_217d0fb1","line":524,"range":{"start_line":524,"start_character":4,"end_line":524,"end_character":21},"updated":"2017-11-21 02:47:51.000000000","message":"Since you only support create a share with thin provisioning capability, you still doesn\u0027t support shrink share?","commit_id":"bb0480a5b51dc8023c62f05c3369973b39527634"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"da9c36496c288e8859cf346b669ab1f98954edd2","unresolved":false,"context_lines":[{"line_number":521,"context_line":"            snapshot[\u0027share\u0027])"},{"line_number":522,"context_line":"        infinidat_parent_share.restore(infinidat_snapshot)"},{"line_number":523,"context_line":""},{"line_number":524,"context_line":"    def extend_share(self, share, new_size, share_server\u003dNone):"},{"line_number":525,"context_line":"        infinidat_filesystem \u003d self._get_infinidat_filesystem(share)"},{"line_number":526,"context_line":"        self._extend_share(infinidat_filesystem, share, new_size)"},{"line_number":527,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"ff82abbf_26e2d330","line":524,"range":{"start_line":524,"start_character":4,"end_line":524,"end_character":21},"in_reply_to":"ff82abbf_217d0fb1","updated":"2017-11-22 12:33:14.000000000","message":"The INFINIDAT Infinibox architecture simply does not support the shrinking of any type of dataset - neither volumes nor filesystems, whether we use thin or thick provisioning.","commit_id":"bb0480a5b51dc8023c62f05c3369973b39527634"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"a80018d03591d88ac12b89d0901fa670c4abf123","unresolved":false,"context_lines":[{"line_number":149,"context_line":"            total_capacity_gb\u003dfloat(physical_capacity_bytes) / units.Gi,"},{"line_number":150,"context_line":"            free_capacity_gb\u003dfloat(free_capacity_bytes) / units.Gi,"},{"line_number":151,"context_line":"            reserved_percentage\u003dself.configuration.reserved_share_percentage,"},{"line_number":152,"context_line":"            thin_provisioning\u003dself.configuration.infinidat_thin_provisioning,"},{"line_number":153,"context_line":"            max_over_subscription_ratio\u003dmax_over_subscription_ratio,"},{"line_number":154,"context_line":"            provisioned_capacity_gb\u003dprovisioned_capacity_gb,"},{"line_number":155,"context_line":"            snapshot_support\u003dTrue,"}],"source_content_type":"text/x-python","patch_set":8,"id":"ff82abbf_753a9534","line":152,"range":{"start_line":152,"start_character":12,"end_line":152,"end_character":77},"updated":"2017-11-24 02:52:09.000000000","message":"If you can support both thin and thick  provisioned file systems in one back end, you can just export thin_provisioning\u003d[True, False]. If not, this is fine.","commit_id":"8230496225fdbac3228a479a342ebbae5a197c7e"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"339b3958fc77e48b8a11ce220fc5338507065b49","unresolved":false,"context_lines":[{"line_number":149,"context_line":"            total_capacity_gb\u003dfloat(physical_capacity_bytes) / units.Gi,"},{"line_number":150,"context_line":"            free_capacity_gb\u003dfloat(free_capacity_bytes) / units.Gi,"},{"line_number":151,"context_line":"            reserved_percentage\u003dself.configuration.reserved_share_percentage,"},{"line_number":152,"context_line":"            thin_provisioning\u003dself.configuration.infinidat_thin_provisioning,"},{"line_number":153,"context_line":"            max_over_subscription_ratio\u003dmax_over_subscription_ratio,"},{"line_number":154,"context_line":"            provisioned_capacity_gb\u003dprovisioned_capacity_gb,"},{"line_number":155,"context_line":"            snapshot_support\u003dTrue,"}],"source_content_type":"text/x-python","patch_set":8,"id":"ff82abbf_326bb585","line":152,"range":{"start_line":152,"start_character":12,"end_line":152,"end_character":77},"in_reply_to":"ff82abbf_753a9534","updated":"2017-11-27 10:29:53.000000000","message":"Done","commit_id":"8230496225fdbac3228a479a342ebbae5a197c7e"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"f3a3de0bd0480533c09b0e0869d0449925d645a0","unresolved":false,"context_lines":[{"line_number":449,"context_line":""},{"line_number":450,"context_line":"    def _get_share_infinidat_provision_type(self, share):"},{"line_number":451,"context_line":"        extra_specs \u003d share_types.get_extra_specs_from_share(share)"},{"line_number":452,"context_line":"        if (extra_specs.get(\u0027capabilities:thin_provisioning\u0027) \u003d\u003d \u0027True\u0027 or"},{"line_number":453,"context_line":"            extra_specs.get(\u0027capabilities:thin_provisioning\u0027) \u003d\u003d \u0027\u003cis\u003e True\u0027 or"},{"line_number":454,"context_line":"            extra_specs.get(\u0027thin_provisioning\u0027) \u003d\u003d \u0027True\u0027 or"},{"line_number":455,"context_line":"                extra_specs.get(\u0027thin_provisioning\u0027) \u003d\u003d \u0027\u003cis\u003e True\u0027):"}],"source_content_type":"text/x-python","patch_set":10,"id":"ff82abbf_003f2987","line":452,"range":{"start_line":452,"start_character":62,"end_line":452,"end_character":71},"updated":"2017-11-27 01:33:26.000000000","message":"The value could be \"true\" or \"\u003cis\u003e true\". If you only compare the \u0027True\u0027 or \"\u003cis\u003e True\"  value, it is not consistent with the common capabilities rule. Could you just use parse_boolean_extra_spec method.\nPlease see the following links.\nhttps://github.com/openstack/manila/blob/master/manila/share/share_types.py#L332\nhttps://github.com/openstack/manila/blob/a9952a63f18d812b91c6c44d6840ae6e8392630f/manila/share/drivers/netapp/dataontap/cluster_mode/lib_base.py#L498","commit_id":"97d97041aea5db0e16f433d28eb04fb16976674c"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"339b3958fc77e48b8a11ce220fc5338507065b49","unresolved":false,"context_lines":[{"line_number":449,"context_line":""},{"line_number":450,"context_line":"    def _get_share_infinidat_provision_type(self, share):"},{"line_number":451,"context_line":"        extra_specs \u003d share_types.get_extra_specs_from_share(share)"},{"line_number":452,"context_line":"        if (extra_specs.get(\u0027capabilities:thin_provisioning\u0027) \u003d\u003d \u0027True\u0027 or"},{"line_number":453,"context_line":"            extra_specs.get(\u0027capabilities:thin_provisioning\u0027) \u003d\u003d \u0027\u003cis\u003e True\u0027 or"},{"line_number":454,"context_line":"            extra_specs.get(\u0027thin_provisioning\u0027) \u003d\u003d \u0027True\u0027 or"},{"line_number":455,"context_line":"                extra_specs.get(\u0027thin_provisioning\u0027) \u003d\u003d \u0027\u003cis\u003e True\u0027):"}],"source_content_type":"text/x-python","patch_set":10,"id":"ff82abbf_97cdba32","line":452,"range":{"start_line":452,"start_character":62,"end_line":452,"end_character":71},"in_reply_to":"ff82abbf_003f2987","updated":"2017-11-27 10:29:53.000000000","message":"I reverted this change and we decided to no longer use extra_specs for thin provisioning, but to use the \"infinidat_thin_provision\" configuration option. Thanks, and sorry, but this part is no longer relevant.","commit_id":"97d97041aea5db0e16f433d28eb04fb16976674c"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0388359b485722fad918c59b63084373553329d1","unresolved":false,"context_lines":[{"line_number":224,"context_line":"        return pool"},{"line_number":225,"context_line":""},{"line_number":226,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":227,"context_line":"    def _get_infinidat_nas_network_space_ips(self):"},{"line_number":228,"context_line":"        network_space \u003d self._system.network_spaces.safe_get("},{"line_number":229,"context_line":"            name\u003dself._network_space_name)"},{"line_number":230,"context_line":"        if network_space is None:"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_21f23a9b","line":227,"range":{"start_line":227,"start_character":0,"end_line":227,"end_character":51},"updated":"2017-11-28 23:12:42.000000000","message":"How often does this information change? If network_spaces are populated when setting up the client, it makes sense to complete all the error checking and cache this information at startup","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"481e40806049943e4e864706ffe91ec5475b6387","unresolved":false,"context_lines":[{"line_number":224,"context_line":"        return pool"},{"line_number":225,"context_line":""},{"line_number":226,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":227,"context_line":"    def _get_infinidat_nas_network_space_ips(self):"},{"line_number":228,"context_line":"        network_space \u003d self._system.network_spaces.safe_get("},{"line_number":229,"context_line":"            name\u003dself._network_space_name)"},{"line_number":230,"context_line":"        if network_space is None:"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_67a05291","line":227,"range":{"start_line":227,"start_character":0,"end_line":227,"end_character":51},"in_reply_to":"ff82abbf_21f23a9b","updated":"2017-11-28 23:23:06.000000000","message":"Also, this method is missing unit tests: http://logs.openstack.org/32/515432/14/check/openstack-tox-cover/2cfef85/cover/manila_share_drivers_infinidat_py.html#n227","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"5cfbac368b335b265fbd0635cbfb96d9c3ca979f","unresolved":false,"context_lines":[{"line_number":224,"context_line":"        return pool"},{"line_number":225,"context_line":""},{"line_number":226,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":227,"context_line":"    def _get_infinidat_nas_network_space_ips(self):"},{"line_number":228,"context_line":"        network_space \u003d self._system.network_spaces.safe_get("},{"line_number":229,"context_line":"            name\u003dself._network_space_name)"},{"line_number":230,"context_line":"        if network_space is None:"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_2979b5c6","line":227,"range":{"start_line":227,"start_character":0,"end_line":227,"end_character":51},"in_reply_to":"ff82abbf_21f23a9b","updated":"2017-11-29 12:46:00.000000000","message":"Network spaces are defined on the backend and can be changed by a privileged user through the CLI/REST/GUI at any time. Therefore, caching the information at startup is not enough, as it might be irrelevant when we actually want to use it. The same is true for pools.","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"5cfbac368b335b265fbd0635cbfb96d9c3ca979f","unresolved":false,"context_lines":[{"line_number":224,"context_line":"        return pool"},{"line_number":225,"context_line":""},{"line_number":226,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":227,"context_line":"    def _get_infinidat_nas_network_space_ips(self):"},{"line_number":228,"context_line":"        network_space \u003d self._system.network_spaces.safe_get("},{"line_number":229,"context_line":"            name\u003dself._network_space_name)"},{"line_number":230,"context_line":"        if network_space is None:"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_2c2a23da","line":227,"range":{"start_line":227,"start_character":0,"end_line":227,"end_character":51},"in_reply_to":"ff82abbf_67a05291","updated":"2017-11-29 12:46:00.000000000","message":"Done","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0388359b485722fad918c59b63084373553329d1","unresolved":false,"context_lines":[{"line_number":327,"context_line":"        return (set(self._to_network_object(first_network)) \u0026"},{"line_number":328,"context_line":"                set(self._to_network_object(second_network)))"},{"line_number":329,"context_line":""},{"line_number":330,"context_line":"    def _get_new_permission_clients(self, original_permission_client,"},{"line_number":331,"context_line":"                                    denied_client):"},{"line_number":332,"context_line":"        intersection \u003d self._network_intersection("},{"line_number":333,"context_line":"            original_permission_client, denied_client)"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_a7717aaa","line":330,"range":{"start_line":330,"start_character":8,"end_line":330,"end_character":35},"updated":"2017-11-28 23:12:42.000000000","message":"Can remove if removing allow_access and deny_access","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"5cfbac368b335b265fbd0635cbfb96d9c3ca979f","unresolved":false,"context_lines":[{"line_number":327,"context_line":"        return (set(self._to_network_object(first_network)) \u0026"},{"line_number":328,"context_line":"                set(self._to_network_object(second_network)))"},{"line_number":329,"context_line":""},{"line_number":330,"context_line":"    def _get_new_permission_clients(self, original_permission_client,"},{"line_number":331,"context_line":"                                    denied_client):"},{"line_number":332,"context_line":"        intersection \u003d self._network_intersection("},{"line_number":333,"context_line":"            original_permission_client, denied_client)"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_8fcd61b8","line":330,"range":{"start_line":330,"start_character":8,"end_line":330,"end_character":35},"in_reply_to":"ff82abbf_a7717aaa","updated":"2017-11-29 12:46:00.000000000","message":"Done","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0388359b485722fad918c59b63084373553329d1","unresolved":false,"context_lines":[{"line_number":348,"context_line":"            yield \u0027%s-%s\u0027 % (complement[start_index + 1],"},{"line_number":349,"context_line":"                             complement[end_index])"},{"line_number":350,"context_line":""},{"line_number":351,"context_line":"    def _get_new_permissions(self, permissions, ip_address, allow, access):"},{"line_number":352,"context_line":"        new_permissions \u003d []"},{"line_number":353,"context_line":"        # permission.client is in the Infinibox format (single IP or a"},{"line_number":354,"context_line":"        # range XX.XX.XX.XX-YY.YY.YY.YY) whereas ip_address (the"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_673e12b9","line":351,"range":{"start_line":351,"start_character":8,"end_line":351,"end_character":28},"updated":"2017-11-28 23:12:42.000000000","message":"Can remove if removing allow_access and deny_access","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"5cfbac368b335b265fbd0635cbfb96d9c3ca979f","unresolved":false,"context_lines":[{"line_number":348,"context_line":"            yield \u0027%s-%s\u0027 % (complement[start_index + 1],"},{"line_number":349,"context_line":"                             complement[end_index])"},{"line_number":350,"context_line":""},{"line_number":351,"context_line":"    def _get_new_permissions(self, permissions, ip_address, allow, access):"},{"line_number":352,"context_line":"        new_permissions \u003d []"},{"line_number":353,"context_line":"        # permission.client is in the Infinibox format (single IP or a"},{"line_number":354,"context_line":"        # range XX.XX.XX.XX-YY.YY.YY.YY) whereas ip_address (the"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_4fc3d989","line":351,"range":{"start_line":351,"start_character":8,"end_line":351,"end_character":28},"in_reply_to":"ff82abbf_673e12b9","updated":"2017-11-29 12:46:00.000000000","message":"Done","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0388359b485722fad918c59b63084373553329d1","unresolved":false,"context_lines":[{"line_number":390,"context_line":"        return {\u0027access\u0027: access, \u0027client\u0027: client, \u0027no_root_squash\u0027: True}"},{"line_number":391,"context_line":""},{"line_number":392,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":393,"context_line":"    def _set_access(self, infinidat_export, access, allow):"},{"line_number":394,"context_line":"        \"\"\"Set a single access rule (permission) to a filesystem export\"\"\""},{"line_number":395,"context_line":"        permissions \u003d infinidat_export.get_permissions()"},{"line_number":396,"context_line":"        infinidat_access_level \u003d self._get_infinidat_access_level(access)"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_875556fc","line":393,"range":{"start_line":393,"start_character":0,"end_line":393,"end_character":59},"updated":"2017-11-28 23:12:42.000000000","message":"Looks like you don\u0027t need this as well, if it is only used within allow_access and deny_access","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"5cfbac368b335b265fbd0635cbfb96d9c3ca979f","unresolved":false,"context_lines":[{"line_number":390,"context_line":"        return {\u0027access\u0027: access, \u0027client\u0027: client, \u0027no_root_squash\u0027: True}"},{"line_number":391,"context_line":""},{"line_number":392,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":393,"context_line":"    def _set_access(self, infinidat_export, access, allow):"},{"line_number":394,"context_line":"        \"\"\"Set a single access rule (permission) to a filesystem export\"\"\""},{"line_number":395,"context_line":"        permissions \u003d infinidat_export.get_permissions()"},{"line_number":396,"context_line":"        infinidat_access_level \u003d self._get_infinidat_access_level(access)"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_0fb95113","line":393,"range":{"start_line":393,"start_character":0,"end_line":393,"end_character":59},"in_reply_to":"ff82abbf_875556fc","updated":"2017-11-29 12:46:00.000000000","message":"Done","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0388359b485722fad918c59b63084373553329d1","unresolved":false,"context_lines":[{"line_number":427,"context_line":"            infinidat_filesystem \u003d ("},{"line_number":428,"context_line":"                self._get_infinidat_filesystem_by_name(dataset_name))"},{"line_number":429,"context_line":"        except exception.ShareResourceNotFound:"},{"line_number":430,"context_line":"            message \u003d _(\"share %(share)s not found on Infinibox, \""},{"line_number":431,"context_line":"                        \"skipping delete\")"},{"line_number":432,"context_line":"            LOG.info(message, {\"share\": share})"},{"line_number":433,"context_line":"            return      # filesystem not found"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_aca08143","line":430,"range":{"start_line":430,"start_character":22,"end_line":430,"end_character":23},"updated":"2017-11-28 23:12:42.000000000","message":"Doesn\u0027t need a translation marker if it is only being logged.","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"5cfbac368b335b265fbd0635cbfb96d9c3ca979f","unresolved":false,"context_lines":[{"line_number":427,"context_line":"            infinidat_filesystem \u003d ("},{"line_number":428,"context_line":"                self._get_infinidat_filesystem_by_name(dataset_name))"},{"line_number":429,"context_line":"        except exception.ShareResourceNotFound:"},{"line_number":430,"context_line":"            message \u003d _(\"share %(share)s not found on Infinibox, \""},{"line_number":431,"context_line":"                        \"skipping delete\")"},{"line_number":432,"context_line":"            LOG.info(message, {\"share\": share})"},{"line_number":433,"context_line":"            return      # filesystem not found"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_6907bd19","line":430,"range":{"start_line":430,"start_character":22,"end_line":430,"end_character":23},"in_reply_to":"ff82abbf_aca08143","updated":"2017-11-29 12:46:00.000000000","message":"Done","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"481e40806049943e4e864706ffe91ec5475b6387","unresolved":false,"context_lines":[{"line_number":472,"context_line":"            access \u003d ("},{"line_number":473,"context_line":"                _MANILA_TO_INFINIDAT_ACCESS_LEVEL[constants.ACCESS_LEVEL_RO])"},{"line_number":474,"context_line":"            for access_rule in access_rules:"},{"line_number":475,"context_line":"                self._verify_access_type(access_rule)"},{"line_number":476,"context_line":"                permissions.append("},{"line_number":477,"context_line":"                    {\u0027access\u0027: access,"},{"line_number":478,"context_line":"                     \u0027client\u0027: self._get_ip_address_range("},{"line_number":479,"context_line":"                         access_rule[\u0027access_to\u0027]),"},{"line_number":480,"context_line":"                     \u0027no_root_squash\u0027: True})"},{"line_number":481,"context_line":"        else:"},{"line_number":482,"context_line":"            for access_rule in access_rules:"},{"line_number":483,"context_line":"                self._verify_access_type(access_rule)"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_8797963a","line":480,"range":{"start_line":475,"start_character":0,"end_line":480,"end_character":45},"updated":"2017-11-28 23:23:06.000000000","message":"No unit test coverage: http://logs.openstack.org/32/515432/14/check/openstack-tox-cover/2cfef85/cover/manila_share_drivers_infinidat_py.html#n474","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"5cfbac368b335b265fbd0635cbfb96d9c3ca979f","unresolved":false,"context_lines":[{"line_number":472,"context_line":"            access \u003d ("},{"line_number":473,"context_line":"                _MANILA_TO_INFINIDAT_ACCESS_LEVEL[constants.ACCESS_LEVEL_RO])"},{"line_number":474,"context_line":"            for access_rule in access_rules:"},{"line_number":475,"context_line":"                self._verify_access_type(access_rule)"},{"line_number":476,"context_line":"                permissions.append("},{"line_number":477,"context_line":"                    {\u0027access\u0027: access,"},{"line_number":478,"context_line":"                     \u0027client\u0027: self._get_ip_address_range("},{"line_number":479,"context_line":"                         access_rule[\u0027access_to\u0027]),"},{"line_number":480,"context_line":"                     \u0027no_root_squash\u0027: True})"},{"line_number":481,"context_line":"        else:"},{"line_number":482,"context_line":"            for access_rule in access_rules:"},{"line_number":483,"context_line":"                self._verify_access_type(access_rule)"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_7558eef8","line":480,"range":{"start_line":475,"start_character":0,"end_line":480,"end_character":45},"in_reply_to":"ff82abbf_8797963a","updated":"2017-11-29 12:46:00.000000000","message":"Done","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"481e40806049943e4e864706ffe91ec5475b6387","unresolved":false,"context_lines":[{"line_number":490,"context_line":""},{"line_number":491,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":492,"context_line":"    def create_share(self, context, share, share_server\u003dNone):"},{"line_number":493,"context_line":"        self._verify_share_proto(share)"},{"line_number":494,"context_line":""},{"line_number":495,"context_line":"        pool \u003d self._get_infinidat_pool()"},{"line_number":496,"context_line":"        size \u003d share[\u0027size\u0027] * capacity.GiB"},{"line_number":497,"context_line":"        share_name \u003d self._make_share_name(share)"},{"line_number":498,"context_line":""},{"line_number":499,"context_line":"        infinidat_filesystem \u003d self._system.filesystems.create("},{"line_number":500,"context_line":"            pool\u003dpool, name\u003dshare_name, size\u003dsize, provtype\u003dself._provtype)"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_271b2aca","line":497,"range":{"start_line":493,"start_character":0,"end_line":497,"end_character":49},"updated":"2017-11-28 23:23:06.000000000","message":"Missing unit test coverage: http://logs.openstack.org/32/515432/14/check/openstack-tox-cover/2cfef85/cover/manila_share_drivers_infinidat_py.html#n191","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"5cfbac368b335b265fbd0635cbfb96d9c3ca979f","unresolved":false,"context_lines":[{"line_number":490,"context_line":""},{"line_number":491,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":492,"context_line":"    def create_share(self, context, share, share_server\u003dNone):"},{"line_number":493,"context_line":"        self._verify_share_proto(share)"},{"line_number":494,"context_line":""},{"line_number":495,"context_line":"        pool \u003d self._get_infinidat_pool()"},{"line_number":496,"context_line":"        size \u003d share[\u0027size\u0027] * capacity.GiB"},{"line_number":497,"context_line":"        share_name \u003d self._make_share_name(share)"},{"line_number":498,"context_line":""},{"line_number":499,"context_line":"        infinidat_filesystem \u003d self._system.filesystems.create("},{"line_number":500,"context_line":"            pool\u003dpool, name\u003dshare_name, size\u003dsize, provtype\u003dself._provtype)"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_f552bedd","line":497,"range":{"start_line":493,"start_character":0,"end_line":497,"end_character":49},"in_reply_to":"ff82abbf_271b2aca","updated":"2017-11-29 12:46:00.000000000","message":"Done","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0388359b485722fad918c59b63084373553329d1","unresolved":false,"context_lines":[{"line_number":538,"context_line":"            infinidat_export \u003d self._get_export(infinidat_filesystem)"},{"line_number":539,"context_line":"        except exception.ShareBackendException:"},{"line_number":540,"context_line":"            # export not found, need to re-export"},{"line_number":541,"context_line":"            message \u003d _(\"missing export for share %(share)s, \""},{"line_number":542,"context_line":"                        \"trying to re-export\")"},{"line_number":543,"context_line":"            LOG.info(message, {\"share\": share})"},{"line_number":544,"context_line":"            infinidat_export \u003d ("}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_eccc4936","line":541,"range":{"start_line":541,"start_character":22,"end_line":541,"end_character":23},"updated":"2017-11-28 23:12:42.000000000","message":"Doesn\u0027t need a translation marker if this is just being logged.","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"5cfbac368b335b265fbd0635cbfb96d9c3ca979f","unresolved":false,"context_lines":[{"line_number":538,"context_line":"            infinidat_export \u003d self._get_export(infinidat_filesystem)"},{"line_number":539,"context_line":"        except exception.ShareBackendException:"},{"line_number":540,"context_line":"            # export not found, need to re-export"},{"line_number":541,"context_line":"            message \u003d _(\"missing export for share %(share)s, \""},{"line_number":542,"context_line":"                        \"trying to re-export\")"},{"line_number":543,"context_line":"            LOG.info(message, {\"share\": share})"},{"line_number":544,"context_line":"            infinidat_export \u003d ("}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_0944f145","line":541,"range":{"start_line":541,"start_character":22,"end_line":541,"end_character":23},"in_reply_to":"ff82abbf_eccc4936","updated":"2017-11-29 12:46:00.000000000","message":"Done","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0388359b485722fad918c59b63084373553329d1","unresolved":false,"context_lines":[{"line_number":547,"context_line":"        return [self._get_full_nfs_export_path("},{"line_number":548,"context_line":"            infinidat_export.get_export_path())]"},{"line_number":549,"context_line":""},{"line_number":550,"context_line":"    def allow_access(self, context, share, access, share_server\u003dNone):"},{"line_number":551,"context_line":"        self._verify_share_proto(share)"},{"line_number":552,"context_line":"        self._verify_access_type(access)"},{"line_number":553,"context_line":"        infinidat_filesystem \u003d self._get_infinidat_filesystem(share)"},{"line_number":554,"context_line":"        infinidat_export \u003d self._get_export(infinidat_filesystem)"},{"line_number":555,"context_line":"        self._set_access(infinidat_export, access, allow\u003dTrue)"},{"line_number":556,"context_line":""},{"line_number":557,"context_line":"    def deny_access(self, context, share, access, share_server\u003dNone):"},{"line_number":558,"context_line":"        self._verify_share_proto(share)"},{"line_number":559,"context_line":"        self._verify_access_type(access)"},{"line_number":560,"context_line":"        infinidat_filesystem \u003d self._get_infinidat_filesystem(share)"},{"line_number":561,"context_line":"        infinidat_export \u003d self._get_export(infinidat_filesystem)"},{"line_number":562,"context_line":"        self._set_access(infinidat_export, access, allow\u003dFalse)"},{"line_number":563,"context_line":""},{"line_number":564,"context_line":"    def update_access(self, context, share, access_rules, add_rules,"},{"line_number":565,"context_line":"                      delete_rules, share_server\u003dNone):"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_6cf7d98c","line":562,"range":{"start_line":550,"start_character":0,"end_line":562,"end_character":63},"updated":"2017-11-28 23:12:42.000000000","message":"These driver interfaces are deprecated, only update_access() is required/necessary.","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"5cfbac368b335b265fbd0635cbfb96d9c3ca979f","unresolved":false,"context_lines":[{"line_number":547,"context_line":"        return [self._get_full_nfs_export_path("},{"line_number":548,"context_line":"            infinidat_export.get_export_path())]"},{"line_number":549,"context_line":""},{"line_number":550,"context_line":"    def allow_access(self, context, share, access, share_server\u003dNone):"},{"line_number":551,"context_line":"        self._verify_share_proto(share)"},{"line_number":552,"context_line":"        self._verify_access_type(access)"},{"line_number":553,"context_line":"        infinidat_filesystem \u003d self._get_infinidat_filesystem(share)"},{"line_number":554,"context_line":"        infinidat_export \u003d self._get_export(infinidat_filesystem)"},{"line_number":555,"context_line":"        self._set_access(infinidat_export, access, allow\u003dTrue)"},{"line_number":556,"context_line":""},{"line_number":557,"context_line":"    def deny_access(self, context, share, access, share_server\u003dNone):"},{"line_number":558,"context_line":"        self._verify_share_proto(share)"},{"line_number":559,"context_line":"        self._verify_access_type(access)"},{"line_number":560,"context_line":"        infinidat_filesystem \u003d self._get_infinidat_filesystem(share)"},{"line_number":561,"context_line":"        infinidat_export \u003d self._get_export(infinidat_filesystem)"},{"line_number":562,"context_line":"        self._set_access(infinidat_export, access, allow\u003dFalse)"},{"line_number":563,"context_line":""},{"line_number":564,"context_line":"    def update_access(self, context, share, access_rules, add_rules,"},{"line_number":565,"context_line":"                      delete_rules, share_server\u003dNone):"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_a978658f","line":562,"range":{"start_line":550,"start_character":0,"end_line":562,"end_character":63},"in_reply_to":"ff82abbf_6cf7d98c","updated":"2017-11-29 12:46:00.000000000","message":"Done","commit_id":"8bb982ace0efbde542da470fa9c162e21fdec8b4"}],"manila/share/drivers/infinidat/infinibox.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ee641d749225379206bd05dbaaa3486864140424","unresolved":false,"context_lines":[{"line_number":360,"context_line":"        old_size \u003d infinidat_filesystem.get_size()"},{"line_number":361,"context_line":"        if new_size_capacity_units \u003e old_size:"},{"line_number":362,"context_line":"            infinidat_filesystem.resize(new_size_capacity_units - old_size)"},{"line_number":363,"context_line":"        elif new_size_capacity_units \u003c old_size:"},{"line_number":364,"context_line":"            reason \u003d _("},{"line_number":365,"context_line":"                \"New size is smaller than original size; INFINIDAT Infinibox \""},{"line_number":366,"context_line":"                \"API does not allow dataset shrinking.\")"},{"line_number":367,"context_line":"            raise exception.ShareExtendingError(share_id\u003dshare[\u0027id\u0027],"},{"line_number":368,"context_line":"                                                reason\u003dreason)"},{"line_number":369,"context_line":""},{"line_number":370,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":371,"context_line":"    def _update_access(self, manila_object, access_rules, is_snapshot):"}],"source_content_type":"text/x-python","patch_set":21,"id":"df87a7cf_be211eb7","line":368,"range":{"start_line":363,"start_character":8,"end_line":368,"end_character":62},"updated":"2017-12-05 01:00:47.000000000","message":"good check, but it\u0027s already handled by the API: https://github.com/openstack/manila/blob/c485309/manila/share/api.py#L1801","commit_id":"57a316750f395d0d0b11448a2f8af0325525d948"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"ba3e1060e74d0d7fdc0787352f319fcaa15f9eb2","unresolved":false,"context_lines":[{"line_number":360,"context_line":"        old_size \u003d infinidat_filesystem.get_size()"},{"line_number":361,"context_line":"        if new_size_capacity_units \u003e old_size:"},{"line_number":362,"context_line":"            infinidat_filesystem.resize(new_size_capacity_units - old_size)"},{"line_number":363,"context_line":"        elif new_size_capacity_units \u003c old_size:"},{"line_number":364,"context_line":"            reason \u003d _("},{"line_number":365,"context_line":"                \"New size is smaller than original size; INFINIDAT Infinibox \""},{"line_number":366,"context_line":"                \"API does not allow dataset shrinking.\")"},{"line_number":367,"context_line":"            raise exception.ShareExtendingError(share_id\u003dshare[\u0027id\u0027],"},{"line_number":368,"context_line":"                                                reason\u003dreason)"},{"line_number":369,"context_line":""},{"line_number":370,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":371,"context_line":"    def _update_access(self, manila_object, access_rules, is_snapshot):"}],"source_content_type":"text/x-python","patch_set":21,"id":"df87a7cf_ce2ea7f9","line":368,"range":{"start_line":363,"start_character":8,"end_line":368,"end_character":62},"in_reply_to":"df87a7cf_be211eb7","updated":"2017-12-05 09:41:49.000000000","message":"Done","commit_id":"57a316750f395d0d0b11448a2f8af0325525d948"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ee641d749225379206bd05dbaaa3486864140424","unresolved":false,"context_lines":[{"line_number":416,"context_line":"                [self._create_filesystem_export(infinidat_snapshot)]}"},{"line_number":417,"context_line":""},{"line_number":418,"context_line":"    def delete_share(self, context, share, share_server\u003dNone):"},{"line_number":419,"context_line":"        self._verify_share_protocol(share)"},{"line_number":420,"context_line":"        self._delete_share(share, is_snapshot\u003dFalse)"},{"line_number":421,"context_line":""},{"line_number":422,"context_line":"    def delete_snapshot(self, context, snapshot, share_server\u003dNone):"}],"source_content_type":"text/x-python","patch_set":21,"id":"df87a7cf_1e1a8a7c","line":419,"range":{"start_line":419,"start_character":8,"end_line":419,"end_character":42},"updated":"2017-12-05 01:00:47.000000000","message":"You should try...except this check and pass, Cleanup shouldn\u0027t fail here, the share status will be set to \"error_deleting\"","commit_id":"57a316750f395d0d0b11448a2f8af0325525d948"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"ba3e1060e74d0d7fdc0787352f319fcaa15f9eb2","unresolved":false,"context_lines":[{"line_number":416,"context_line":"                [self._create_filesystem_export(infinidat_snapshot)]}"},{"line_number":417,"context_line":""},{"line_number":418,"context_line":"    def delete_share(self, context, share, share_server\u003dNone):"},{"line_number":419,"context_line":"        self._verify_share_protocol(share)"},{"line_number":420,"context_line":"        self._delete_share(share, is_snapshot\u003dFalse)"},{"line_number":421,"context_line":""},{"line_number":422,"context_line":"    def delete_snapshot(self, context, snapshot, share_server\u003dNone):"}],"source_content_type":"text/x-python","patch_set":21,"id":"df87a7cf_229ac76d","line":419,"range":{"start_line":419,"start_character":8,"end_line":419,"end_character":42},"in_reply_to":"df87a7cf_1e1a8a7c","updated":"2017-12-05 09:41:49.000000000","message":"Done","commit_id":"57a316750f395d0d0b11448a2f8af0325525d948"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"f7065ac16dc72b965b4845ca03de62474b758cba","unresolved":false,"context_lines":[{"line_number":85,"context_line":"            msg \u003d _(\u0027Caught exception from infinisdk: %s\u0027) % ex"},{"line_number":86,"context_line":"            LOG.exception(msg)"},{"line_number":87,"context_line":"            if ex.error_code \u003d\u003d \u0027POOL_VIRTUAL_CAPACITY\u0027:"},{"line_number":88,"context_line":"                raise exception.ShareSizeExceedsAvailableQuota()"},{"line_number":89,"context_line":"            raise exception.ShareBackendException(msg\u003dmsg)"},{"line_number":90,"context_line":"    return wrapper"},{"line_number":91,"context_line":""}],"source_content_type":"text/x-python","patch_set":22,"id":"df87a7cf_694ab0ac","line":88,"range":{"start_line":88,"start_character":0,"end_line":88,"end_character":64},"updated":"2017-12-07 13:13:34.000000000","message":"This is not an appropriate exception for insufficient backend driver pool capacity for a share.  ShareSizeExceedsAvailableQuota is defined as \"Requested share exceeds allowed project/user or share type gigabytes quota.\"","commit_id":"d6e07cbdb58c0c4dbe03e0428119be745981d53b"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"5b00325faa5f670cb35dc04511d94cfee66a3a46","unresolved":false,"context_lines":[{"line_number":85,"context_line":"            msg \u003d _(\u0027Caught exception from infinisdk: %s\u0027) % ex"},{"line_number":86,"context_line":"            LOG.exception(msg)"},{"line_number":87,"context_line":"            if ex.error_code \u003d\u003d \u0027POOL_VIRTUAL_CAPACITY\u0027:"},{"line_number":88,"context_line":"                raise exception.ShareSizeExceedsAvailableQuota()"},{"line_number":89,"context_line":"            raise exception.ShareBackendException(msg\u003dmsg)"},{"line_number":90,"context_line":"    return wrapper"},{"line_number":91,"context_line":""}],"source_content_type":"text/x-python","patch_set":22,"id":"df87a7cf_bf80eac0","line":88,"range":{"start_line":88,"start_character":0,"end_line":88,"end_character":64},"in_reply_to":"df87a7cf_694ab0ac","updated":"2017-12-07 19:59:30.000000000","message":"Done","commit_id":"d6e07cbdb58c0c4dbe03e0428119be745981d53b"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"f7065ac16dc72b965b4845ca03de62474b758cba","unresolved":false,"context_lines":[{"line_number":292,"context_line":"        except KeyError:"},{"line_number":293,"context_line":"            raise exception.InvalidShareAccessLevel(level\u003daccess_level)"},{"line_number":294,"context_line":""},{"line_number":295,"context_line":"    def _get_ip_address_range(self, ip_address):"},{"line_number":296,"context_line":"        \"\"\"Parse single IP address or subnet into a range."},{"line_number":297,"context_line":""},{"line_number":298,"context_line":"        If the IP address string is in subnet mask format, returns a"},{"line_number":299,"context_line":"        \u003cstart ip\u003e-\u003cend-ip\u003e string. If the IP address contains a single IP"},{"line_number":300,"context_line":"        address, returns only that IP address."},{"line_number":301,"context_line":"        \"\"\""},{"line_number":302,"context_line":""},{"line_number":303,"context_line":"        ip_address \u003d six.text_type(ip_address)"},{"line_number":304,"context_line":""},{"line_number":305,"context_line":"        # try treating the ip_address parameter as a range of IP addresses:"},{"line_number":306,"context_line":"        ip_network \u003d ipaddress.ip_network(ip_address, strict\u003dFalse)"},{"line_number":307,"context_line":"        ip_network_hosts \u003d list(ip_network.hosts())"},{"line_number":308,"context_line":"        if len(ip_network_hosts) \u003d\u003d 0:    # /32, single IP address"},{"line_number":309,"context_line":"            return ip_address.split(\u0027/\u0027)[0]"},{"line_number":310,"context_line":"        return \"{}-{}\".format(ip_network_hosts[0], ip_network_hosts[-1])"},{"line_number":311,"context_line":""},{"line_number":312,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":313,"context_line":"    def _create_filesystem_export(self, infinidat_filesystem):"}],"source_content_type":"text/x-python","patch_set":22,"id":"df87a7cf_e9ba406c","line":310,"range":{"start_line":295,"start_character":4,"end_line":310,"end_character":72},"updated":"2017-12-07 13:13:34.000000000","message":"Just curious, but does your back end support IPv6 and do you plan to do that for manila in the future?","commit_id":"d6e07cbdb58c0c4dbe03e0428119be745981d53b"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"5b00325faa5f670cb35dc04511d94cfee66a3a46","unresolved":false,"context_lines":[{"line_number":292,"context_line":"        except KeyError:"},{"line_number":293,"context_line":"            raise exception.InvalidShareAccessLevel(level\u003daccess_level)"},{"line_number":294,"context_line":""},{"line_number":295,"context_line":"    def _get_ip_address_range(self, ip_address):"},{"line_number":296,"context_line":"        \"\"\"Parse single IP address or subnet into a range."},{"line_number":297,"context_line":""},{"line_number":298,"context_line":"        If the IP address string is in subnet mask format, returns a"},{"line_number":299,"context_line":"        \u003cstart ip\u003e-\u003cend-ip\u003e string. If the IP address contains a single IP"},{"line_number":300,"context_line":"        address, returns only that IP address."},{"line_number":301,"context_line":"        \"\"\""},{"line_number":302,"context_line":""},{"line_number":303,"context_line":"        ip_address \u003d six.text_type(ip_address)"},{"line_number":304,"context_line":""},{"line_number":305,"context_line":"        # try treating the ip_address parameter as a range of IP addresses:"},{"line_number":306,"context_line":"        ip_network \u003d ipaddress.ip_network(ip_address, strict\u003dFalse)"},{"line_number":307,"context_line":"        ip_network_hosts \u003d list(ip_network.hosts())"},{"line_number":308,"context_line":"        if len(ip_network_hosts) \u003d\u003d 0:    # /32, single IP address"},{"line_number":309,"context_line":"            return ip_address.split(\u0027/\u0027)[0]"},{"line_number":310,"context_line":"        return \"{}-{}\".format(ip_network_hosts[0], ip_network_hosts[-1])"},{"line_number":311,"context_line":""},{"line_number":312,"context_line":"    @infinisdk_to_manila_exceptions"},{"line_number":313,"context_line":"    def _create_filesystem_export(self, infinidat_filesystem):"}],"source_content_type":"text/x-python","patch_set":22,"id":"df87a7cf_ff63d240","line":310,"range":{"start_line":295,"start_character":4,"end_line":310,"end_character":72},"in_reply_to":"df87a7cf_e9ba406c","updated":"2017-12-07 19:59:30.000000000","message":"The INFINIDAT Infinibox storage array does not support IPv6 at the moment.","commit_id":"d6e07cbdb58c0c4dbe03e0428119be745981d53b"}],"manila/tests/share/drivers/test_infinidat.py":[{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"5b5408333c2c6261ddcc5c7510b3966ca5b69019","unresolved":false,"context_lines":[{"line_number":162,"context_line":"        self.assertRaises(exception.ManilaException,"},{"line_number":163,"context_line":"                          self.driver._update_share_stats)"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"    def test_create_share(self):"},{"line_number":166,"context_line":"        self.driver.create_share(None, test_share)"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"    def test_create_share_pool_not_found(self):"},{"line_number":169,"context_line":"        self._system.pools.safe_get.return_value \u003d None"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f4b6375_d2fae340","line":166,"range":{"start_line":165,"start_character":4,"end_line":166,"end_character":50},"updated":"2017-11-08 02:59:19.000000000","message":"The test is too simple. At least you should mock one or two object has assertion of call?\nsuch as: \n..._set_manila_object_metadata.assert_called_once_with(....)\n..._system.filesystems.create.assert_called_once_with(...)","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"2ad90f120faa91eb9ae2508598250260f78d883d","unresolved":false,"context_lines":[{"line_number":162,"context_line":"        self.assertRaises(exception.ManilaException,"},{"line_number":163,"context_line":"                          self.driver._update_share_stats)"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"    def test_create_share(self):"},{"line_number":166,"context_line":"        self.driver.create_share(None, test_share)"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"    def test_create_share_pool_not_found(self):"},{"line_number":169,"context_line":"        self._system.pools.safe_get.return_value \u003d None"}],"source_content_type":"text/x-python","patch_set":3,"id":"1f485f77_a31531e7","line":166,"range":{"start_line":165,"start_character":4,"end_line":166,"end_character":50},"in_reply_to":"3f4b6375_d2fae340","updated":"2017-11-17 17:34:46.000000000","message":"Done","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"5b5408333c2c6261ddcc5c7510b3966ca5b69019","unresolved":false,"context_lines":[{"line_number":192,"context_line":"        self.assertRaises(exception.ShareBusyException,"},{"line_number":193,"context_line":"                          self.driver.delete_share, None, test_share)"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"    def test_extend_share(self):"},{"line_number":196,"context_line":"        self.driver.extend_share(test_share, 8)"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"    def test_extend_share_api_fail(self):"},{"line_number":199,"context_line":"        self._mock_filesystem.resize.side_effect \u003d self._raise_infinisdk"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f4b6375_9296abef","line":196,"range":{"start_line":195,"start_character":4,"end_line":196,"end_character":47},"updated":"2017-11-08 02:59:19.000000000","message":"The test is too simple. At least you should mock one or two object has assertion of call?","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"2ad90f120faa91eb9ae2508598250260f78d883d","unresolved":false,"context_lines":[{"line_number":192,"context_line":"        self.assertRaises(exception.ShareBusyException,"},{"line_number":193,"context_line":"                          self.driver.delete_share, None, test_share)"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"    def test_extend_share(self):"},{"line_number":196,"context_line":"        self.driver.extend_share(test_share, 8)"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"    def test_extend_share_api_fail(self):"},{"line_number":199,"context_line":"        self._mock_filesystem.resize.side_effect \u003d self._raise_infinisdk"}],"source_content_type":"text/x-python","patch_set":3,"id":"1f485f77_430b1d7c","line":196,"range":{"start_line":195,"start_character":4,"end_line":196,"end_character":47},"in_reply_to":"3f4b6375_9296abef","updated":"2017-11-17 17:34:46.000000000","message":"Done","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"5b5408333c2c6261ddcc5c7510b3966ca5b69019","unresolved":false,"context_lines":[{"line_number":200,"context_line":"        self.assertRaises(exception.ShareBackendException,"},{"line_number":201,"context_line":"                          self.driver.extend_share, test_share, 8)"},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"    def test_create_snapshot(self):"},{"line_number":204,"context_line":"        self.driver.create_snapshot(None, test_snapshot)"},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"    def test_create_snapshot_metadata(self):"},{"line_number":207,"context_line":"        self._mock_filesystem.create_child.return_value \u003d ("}],"source_content_type":"text/x-python","patch_set":3,"id":"3f4b6375_b2f52753","line":204,"range":{"start_line":203,"start_character":4,"end_line":204,"end_character":56},"updated":"2017-11-08 02:59:19.000000000","message":"The test is too simple. At least you should mock one or two object has assertion of call?","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"2ad90f120faa91eb9ae2508598250260f78d883d","unresolved":false,"context_lines":[{"line_number":200,"context_line":"        self.assertRaises(exception.ShareBackendException,"},{"line_number":201,"context_line":"                          self.driver.extend_share, test_share, 8)"},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"    def test_create_snapshot(self):"},{"line_number":204,"context_line":"        self.driver.create_snapshot(None, test_snapshot)"},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"    def test_create_snapshot_metadata(self):"},{"line_number":207,"context_line":"        self._mock_filesystem.create_child.return_value \u003d ("}],"source_content_type":"text/x-python","patch_set":3,"id":"1f485f77_1098aa67","line":204,"range":{"start_line":203,"start_character":4,"end_line":204,"end_character":56},"in_reply_to":"3f4b6375_b2f52753","updated":"2017-11-17 17:34:46.000000000","message":"Done","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"5b5408333c2c6261ddcc5c7510b3966ca5b69019","unresolved":false,"context_lines":[{"line_number":253,"context_line":"                          self.driver.create_share_from_snapshot,"},{"line_number":254,"context_line":"                          None, test_clone, test_snapshot)"},{"line_number":255,"context_line":""},{"line_number":256,"context_line":"    def test_delete_snapshot(self):"},{"line_number":257,"context_line":"        self.driver.delete_snapshot(None, test_snapshot)"},{"line_number":258,"context_line":""},{"line_number":259,"context_line":"    def test_delete_snapshot_doesnt_exist(self):"},{"line_number":260,"context_line":"        self._system.filesystems.safe_get.return_value \u003d None"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f4b6375_7299ef1c","line":257,"range":{"start_line":256,"start_character":4,"end_line":257,"end_character":56},"updated":"2017-11-08 02:59:19.000000000","message":"above","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"2ad90f120faa91eb9ae2508598250260f78d883d","unresolved":false,"context_lines":[{"line_number":253,"context_line":"                          self.driver.create_share_from_snapshot,"},{"line_number":254,"context_line":"                          None, test_clone, test_snapshot)"},{"line_number":255,"context_line":""},{"line_number":256,"context_line":"    def test_delete_snapshot(self):"},{"line_number":257,"context_line":"        self.driver.delete_snapshot(None, test_snapshot)"},{"line_number":258,"context_line":""},{"line_number":259,"context_line":"    def test_delete_snapshot_doesnt_exist(self):"},{"line_number":260,"context_line":"        self._system.filesystems.safe_get.return_value \u003d None"}],"source_content_type":"text/x-python","patch_set":3,"id":"1f485f77_3095e633","line":257,"range":{"start_line":256,"start_character":4,"end_line":257,"end_character":56},"in_reply_to":"3f4b6375_7299ef1c","updated":"2017-11-17 17:34:46.000000000","message":"Done","commit_id":"ede62855ea59127aeaec3ef744aae94000347965"}]}
