)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"df8782dc74a7c8c3ccc3838669e211880ecddef5","unresolved":false,"context_lines":[{"line_number":11,"context_line":"need to implement get_configured_ip_versions. Likewise"},{"line_number":12,"context_line":"ipv4 support is computed by the same method."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Close bug: #1734127"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Change-Id: I382767918a65b91e99ac1e604304ad01fac332e6"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"ff82abbf_1227f8b8","line":14,"range":{"start_line":14,"start_character":0,"end_line":14,"end_character":10},"updated":"2017-12-01 10:28:44.000000000","message":"Closes-bug:","commit_id":"7797dfafb3e7232b59ee864436f8d0df7acf67a7"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"16ba0a4424c8e7eacfc55b852e137e4abb28298b","unresolved":false,"context_lines":[{"line_number":11,"context_line":"need to implement get_configured_ip_versions. Likewise"},{"line_number":12,"context_line":"ipv4 support is computed by the same method."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Close bug: #1734127"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Change-Id: I382767918a65b91e99ac1e604304ad01fac332e6"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"df87a7cf_d0dab715","line":14,"range":{"start_line":14,"start_character":0,"end_line":14,"end_character":9},"updated":"2017-12-05 18:55:39.000000000","message":"Closes-Bug","commit_id":"4865c10402fd2f137cfdb1d539d2d1aed04cf0db"}],"manila/share/driver.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"64e90861c9efe1009f25c4f68e06bb9d84fc0517","unresolved":false,"context_lines":[{"line_number":242,"context_line":"        self.configuration \u003d kwargs.get(\u0027configuration\u0027, None)"},{"line_number":243,"context_line":"        self.initialized \u003d False"},{"line_number":244,"context_line":"        self._stats \u003d {}"},{"line_number":245,"context_line":"        self.ip_version \u003d None"},{"line_number":246,"context_line":"        self.ipv6_implemented \u003d False"},{"line_number":247,"context_line":""},{"line_number":248,"context_line":"        self.pools \u003d []"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff82abbf_253d222c","line":245,"range":{"start_line":245,"start_character":0,"end_line":245,"end_character":30},"updated":"2017-12-01 01:31:09.000000000","message":"since this is a list, it should be self.ip_versions","commit_id":"7797dfafb3e7232b59ee864436f8d0df7acf67a7"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"8c132dcd927bb2736ab9325f2e0a2ec2b9c139ef","unresolved":false,"context_lines":[{"line_number":2471,"context_line":"        :param data: the capability dictionary"},{"line_number":2472,"context_line":"        :returns: capability data"},{"line_number":2473,"context_line":"        \"\"\""},{"line_number":2474,"context_line":"        if self.driver_handles_share_servers:"},{"line_number":2475,"context_line":"            user_network_version \u003d self.network_api.enabled_ip_version"},{"line_number":2476,"context_line":"            if self.admin_network_api:"},{"line_number":2477,"context_line":"                if (user_network_version \u003d\u003d"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff82abbf_5aa12495","line":2474,"range":{"start_line":2474,"start_character":8,"end_line":2474,"end_character":45},"updated":"2017-12-01 02:11:38.000000000","message":"If the self.driver_handles_share_servers is True, we only check the ip version from configuration about network, not check from the driver itself now. Is this we really wanted it? We could remove the ipv6_support capability from the _update_share_stats because we have another flag named self.ipv6_implemented. We could just save one of them. \nThe get_configured_ip_version() only work for driver_handles_share_servers is equal to false. or do I missing something?","commit_id":"7797dfafb3e7232b59ee864436f8d0df7acf67a7"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"64e90861c9efe1009f25c4f68e06bb9d84fc0517","unresolved":false,"context_lines":[{"line_number":2472,"context_line":"        :returns: capability data"},{"line_number":2473,"context_line":"        \"\"\""},{"line_number":2474,"context_line":"        if self.driver_handles_share_servers:"},{"line_number":2475,"context_line":"            user_network_version \u003d self.network_api.enabled_ip_version"},{"line_number":2476,"context_line":"            if self.admin_network_api:"},{"line_number":2477,"context_line":"                if (user_network_version \u003d\u003d"},{"line_number":2478,"context_line":"                        self.admin_network_api.enabled_ip_version):"},{"line_number":2479,"context_line":"                    self.ip_version \u003d user_network_version"},{"line_number":2480,"context_line":"                else:"},{"line_number":2481,"context_line":"                    LOG.warning(\"The enabled IP version for the admin \""},{"line_number":2482,"context_line":"                                \"network plugin is different from \""},{"line_number":2483,"context_line":"                                \"that of user network plugin, this \""},{"line_number":2484,"context_line":"                                \"may lead to the backend never being \""},{"line_number":2485,"context_line":"                                \"chosen by the scheduler when ip \""},{"line_number":2486,"context_line":"                                \"version is specified in the share \""},{"line_number":2487,"context_line":"                                \"type.\")"},{"line_number":2488,"context_line":"            else:"},{"line_number":2489,"context_line":"                self.ip_version \u003d user_network_version"},{"line_number":2490,"context_line":"        else:"},{"line_number":2491,"context_line":"            self.ip_version \u003d self.get_configured_ip_versions()"},{"line_number":2492,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ff82abbf_8503ce73","line":2489,"range":{"start_line":2475,"start_character":0,"end_line":2489,"end_character":54},"updated":"2017-12-01 01:31:09.000000000","message":"simplification  for readability:\n\n if self.driver_handles_share_servers:\n     self.ip_version \u003d self.network_api.enabled_ip_version\n     if (self.admin_api and \n            self.ip_version !\u003d self.admin_network_api.enabled_ip_version):\n            LOG.warning(\"The enabled IP version for the admin \"\n                       \"network plugin is different from \"\n                       \"that of user network plugin, this \"\n                       \"may lead to the backend never being \"\n                       \"chosen by the scheduler when ip \"\n                        \"version is specified in the share \"\n                        \"type.\")\n            self.ip_version \u003d []\n\n\nAlso, should this really be a use-case? Why should the capability of the backend depend on whether the administrator network supports ipv4 or ipv6?\n\nIf the network plugin used (for non-admin network) supports IPv6, ipv6_support should be True, else False. If the network plugin used supports IPv4, ipv4_support should be True, else False. \n\nAdmin networks aren\u0027t exposed to the tenant, so why should the capability of the backend depend on the configured IP version for the administrator network?","commit_id":"7797dfafb3e7232b59ee864436f8d0df7acf67a7"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"16ba0a4424c8e7eacfc55b852e137e4abb28298b","unresolved":false,"context_lines":[{"line_number":2447,"context_line":"        return []"},{"line_number":2448,"context_line":""},{"line_number":2449,"context_line":"    def get_configured_ip_versions(self):"},{"line_number":2450,"context_line":"        \"\"\"\"Get Configured IP versions when DHSS is false."},{"line_number":2451,"context_line":""},{"line_number":2452,"context_line":"        The supported versions are returned with list, possible"},{"line_number":2453,"context_line":"        values are: [4], [6] or [4, 6]"}],"source_content_type":"text/x-python","patch_set":3,"id":"df87a7cf_f01c9bc2","line":2450,"range":{"start_line":2450,"start_character":44,"end_line":2450,"end_character":57},"updated":"2017-12-05 18:55:39.000000000","message":"This isn\u0027t true anymore, this method is invoked even for DHSS\u003dTrue, and if the method is overridden, the driver is expected to return a list of IP versions supported (or \"configured\") on the backend it is talking to.","commit_id":"4865c10402fd2f137cfdb1d539d2d1aed04cf0db"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"16ba0a4424c8e7eacfc55b852e137e4abb28298b","unresolved":false,"context_lines":[{"line_number":2452,"context_line":"        The supported versions are returned with list, possible"},{"line_number":2453,"context_line":"        values are: [4], [6] or [4, 6]"},{"line_number":2454,"context_line":"        Each driver could override the method to return the IP version"},{"line_number":2455,"context_line":"        which represents its self configuration."},{"line_number":2456,"context_line":"        \"\"\""},{"line_number":2457,"context_line":""},{"line_number":2458,"context_line":"        # For drivers that haven\u0027t implemented IPv6, assume legacy behavior"}],"source_content_type":"text/x-python","patch_set":3,"id":"df87a7cf_d04f17bb","line":2455,"range":{"start_line":2455,"start_character":29,"end_line":2455,"end_character":47},"updated":"2017-12-05 18:55:39.000000000","message":"This could include looking at the configuration section or in the backend, depending on the driver.","commit_id":"4865c10402fd2f137cfdb1d539d2d1aed04cf0db"}],"manila/share/drivers/lvm.py":[{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"3d14a150360c7b15ab8ec8502b0abe7e13115d5b","unresolved":false,"context_lines":[{"line_number":432,"context_line":"                                                    share_server)"},{"line_number":433,"context_line":""},{"line_number":434,"context_line":"    def get_configured_ip_versions(self):"},{"line_number":435,"context_line":"        \"\"\"\"Get Configured IP versions when DHSS is false.\"\"\""},{"line_number":436,"context_line":"        if self.configured_ip_version is None:"},{"line_number":437,"context_line":"            try:"},{"line_number":438,"context_line":"                self.configured_ip_version \u003d []"}],"source_content_type":"text/x-python","patch_set":4,"id":"df87a7cf_b38dbd32","line":435,"range":{"start_line":435,"start_character":39,"end_line":435,"end_character":58},"updated":"2017-12-05 19:40:05.000000000","message":"Should we remove this modifier?  It leads one to look for cases with the lvm driver when DHSS is true.","commit_id":"46c25e0d7ec2b47124120d3e45e5eafe4e424529"}]}
