)]}'
{"doc/source/topics/settings.rst":[{"author":{"_account_id":7781,"name":"Ala Rezmerita","email":"ala.rezmerita@orange.com","username":"alla"},"change_message_id":"2dc0cd02ecfd7517f2f2e9303abad3de0516b0f7","unresolved":false,"context_lines":[{"line_number":750,"context_line":"            \u0027supported_provider_types\u0027: [\"*\"],"},{"line_number":751,"context_line":"            \u0027supported_vnic_types\u0027: [\"*\"],"},{"line_number":752,"context_line":"            \u0027segmentation_id_range\u0027: {}"},{"line_number":753,"context_line":"            \u0027enable_opencontrail\u0027: False,"},{"line_number":754,"context_line":"        }"},{"line_number":755,"context_line":""},{"line_number":756,"context_line":"A dictionary of settings which can be used to enable optional services provided"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afb71cf_6d8d42d5","line":753,"updated":"2015-06-10 14:44:07.000000000","message":"it\u0027s fip_needs_router_with_gateway  and not enable_opencontrail","commit_id":"701b04951b62785a55618222b6acb4a740c4dfc9"},{"author":{"_account_id":8674,"name":"Yves-Gwenael Bourhis","email":"ygbourhis@gmail.com","username":"yves"},"change_message_id":"71cdb7603be21667a1b5fdd5d7aba4e97d210db0","unresolved":false,"context_lines":[{"line_number":750,"context_line":"            \u0027supported_provider_types\u0027: [\"*\"],"},{"line_number":751,"context_line":"            \u0027supported_vnic_types\u0027: [\"*\"],"},{"line_number":752,"context_line":"            \u0027segmentation_id_range\u0027: {}"},{"line_number":753,"context_line":"            \u0027enable_opencontrail\u0027: False,"},{"line_number":754,"context_line":"        }"},{"line_number":755,"context_line":""},{"line_number":756,"context_line":"A dictionary of settings which can be used to enable optional services provided"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afb71cf_284bb85a","line":753,"in_reply_to":"3afb71cf_6d8d42d5","updated":"2015-06-10 14:49:03.000000000","message":"Done\n\nThanks for the catch","commit_id":"701b04951b62785a55618222b6acb4a740c4dfc9"},{"author":{"_account_id":55,"name":"Édouard Thuleau","email":"ethuleau@juniper.net","username":"ethuleau"},"change_message_id":"c5f7770b0b684117f525d6069db63a9af8570ca7","unresolved":false,"context_lines":[{"line_number":749,"context_line":"            \u0027profile_support\u0027: None,"},{"line_number":750,"context_line":"            \u0027supported_provider_types\u0027: [\"*\"],"},{"line_number":751,"context_line":"            \u0027supported_vnic_types\u0027: [\"*\"],"},{"line_number":752,"context_line":"            \u0027segmentation_id_range\u0027: {}"},{"line_number":753,"context_line":"            \u0027fip_needs_router_with_gateway\u0027: True,"},{"line_number":754,"context_line":"        }"},{"line_number":755,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"3afb71cf_464360af","line":752,"updated":"2015-06-11 09:06:29.000000000","message":"\u0027,\u0027 missing","commit_id":"cb889a9c55371fd91019334b7cf9e80c64634d46"},{"author":{"_account_id":8674,"name":"Yves-Gwenael Bourhis","email":"ygbourhis@gmail.com","username":"yves"},"change_message_id":"efe97e61d6a7aeb65d6302ca92eb951489a47ca4","unresolved":false,"context_lines":[{"line_number":749,"context_line":"            \u0027profile_support\u0027: None,"},{"line_number":750,"context_line":"            \u0027supported_provider_types\u0027: [\"*\"],"},{"line_number":751,"context_line":"            \u0027supported_vnic_types\u0027: [\"*\"],"},{"line_number":752,"context_line":"            \u0027segmentation_id_range\u0027: {}"},{"line_number":753,"context_line":"            \u0027fip_needs_router_with_gateway\u0027: True,"},{"line_number":754,"context_line":"        }"},{"line_number":755,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"3afb71cf_86003835","line":752,"in_reply_to":"3afb71cf_464360af","updated":"2015-06-11 09:10:37.000000000","message":"Good catch.\n\nDone","commit_id":"cb889a9c55371fd91019334b7cf9e80c64634d46"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"99d66c8eba7b8aeb007c61295e88440a59360f67","unresolved":false,"context_lines":[{"line_number":903,"context_line":""},{"line_number":904,"context_line":"Example: ``{\u0027vlan\u0027: [1024, 2048], \u0027gre\u0027: [4094, 65536]}``"},{"line_number":905,"context_line":""},{"line_number":906,"context_line":"``fip_needs_router_with_gateway``:"},{"line_number":907,"context_line":""},{"line_number":908,"context_line":"Default: ``True``"},{"line_number":909,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1af86dd1_c43f2ad5","line":906,"updated":"2015-06-12 10:55:04.000000000","message":"According to my previous comment, the option name can be:\n\n  enable_fip_topology_check\n\nThis name can cover both case: contrail case where FIP can be associated without gateway router, and a case with network back-end which has better network topology check.\n\nThought?","commit_id":"ec731fb11dd44f17a4329f81e8800b9fcfd91d8d"},{"author":{"_account_id":8674,"name":"Yves-Gwenael Bourhis","email":"ygbourhis@gmail.com","username":"yves"},"change_message_id":"9e5aed4a0bf28705eb62708e22835db73ec61b8d","unresolved":false,"context_lines":[{"line_number":903,"context_line":""},{"line_number":904,"context_line":"Example: ``{\u0027vlan\u0027: [1024, 2048], \u0027gre\u0027: [4094, 65536]}``"},{"line_number":905,"context_line":""},{"line_number":906,"context_line":"``fip_needs_router_with_gateway``:"},{"line_number":907,"context_line":""},{"line_number":908,"context_line":"Default: ``True``"},{"line_number":909,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1af86dd1_cd950641","line":906,"in_reply_to":"1af86dd1_c43f2ad5","updated":"2015-06-12 14:22:16.000000000","message":"Done","commit_id":"ec731fb11dd44f17a4329f81e8800b9fcfd91d8d"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"99d66c8eba7b8aeb007c61295e88440a59360f67","unresolved":false,"context_lines":[{"line_number":908,"context_line":"Default: ``True``"},{"line_number":909,"context_line":""},{"line_number":910,"context_line":"The Default Neutron implementation needs a router with a gataway to associate a"},{"line_number":911,"context_line":"FIP. But many Neutron vendors do not require it. Set to False if you want to be"},{"line_number":912,"context_line":"able to associate a FIP to an instance on a subnet with no router."},{"line_number":913,"context_line":""},{"line_number":914,"context_line":".. versionadded:: 2015.2(Liberty)"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1af86dd1_e43a26e7","line":911,"updated":"2015-06-12 10:55:04.000000000","message":"I am not sure \"many\" vendors do not require it.\n\nSome vendors do more intelligent reachability check using network topology graph. It is different from a case without external gateway. Some including OpenContrail use no gateway.","commit_id":"ec731fb11dd44f17a4329f81e8800b9fcfd91d8d"},{"author":{"_account_id":8674,"name":"Yves-Gwenael Bourhis","email":"ygbourhis@gmail.com","username":"yves"},"change_message_id":"9e5aed4a0bf28705eb62708e22835db73ec61b8d","unresolved":false,"context_lines":[{"line_number":908,"context_line":"Default: ``True``"},{"line_number":909,"context_line":""},{"line_number":910,"context_line":"The Default Neutron implementation needs a router with a gataway to associate a"},{"line_number":911,"context_line":"FIP. But many Neutron vendors do not require it. Set to False if you want to be"},{"line_number":912,"context_line":"able to associate a FIP to an instance on a subnet with no router."},{"line_number":913,"context_line":""},{"line_number":914,"context_line":".. versionadded:: 2015.2(Liberty)"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1af86dd1_4d04767d","line":911,"in_reply_to":"1af86dd1_e43a26e7","updated":"2015-06-12 14:22:16.000000000","message":"Done","commit_id":"ec731fb11dd44f17a4329f81e8800b9fcfd91d8d"}],"openstack_dashboard/api/neutron.py":[{"author":{"_account_id":8674,"name":"Yves-Gwenael Bourhis","email":"ygbourhis@gmail.com","username":"yves"},"change_message_id":"eb04972e11382fa7238fbd62932707008b3f14e9","unresolved":false,"context_lines":[{"line_number":453,"context_line":"        servers, has_more \u003d nova.server_list(self.request)"},{"line_number":454,"context_line":"        server_dict \u003d SortedDict([(s.id, s.name) for s in servers])"},{"line_number":455,"context_line":""},{"line_number":456,"context_line":"        # Do we need to check the topology to restrain reachable subnets?"},{"line_number":457,"context_line":"        reachable_subnets \u003d None"},{"line_number":458,"context_line":"        check_topology \u003d is_enabled_fip_topology_check()"},{"line_number":459,"context_line":"        if check_topology:"}],"source_content_type":"text/x-python","patch_set":9,"id":"1af86dd1_6dc16de4","line":456,"updated":"2015-06-12 16:24:04.000000000","message":"Note to reviewers:\nself._get_reachable_subnets(ports) costs some API calls.\nEven though the check is not needed \"here\" but lower, this check prevents the unnecessary API calls","commit_id":"54dc68b71767347d91134394bc47a8ba3618b118"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"5b1a59f118c210674be20124a766ccae93ae0673","unresolved":false,"context_lines":[{"line_number":453,"context_line":"        servers, has_more \u003d nova.server_list(self.request)"},{"line_number":454,"context_line":"        server_dict \u003d SortedDict([(s.id, s.name) for s in servers])"},{"line_number":455,"context_line":""},{"line_number":456,"context_line":"        # Do we need to check the topology to restrain reachable subnets?"},{"line_number":457,"context_line":"        reachable_subnets \u003d None"},{"line_number":458,"context_line":"        check_topology \u003d is_enabled_fip_topology_check()"},{"line_number":459,"context_line":"        if check_topology:"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa32b979_8178bf90","line":456,"in_reply_to":"1af86dd1_6dc16de4","updated":"2015-06-16 18:35:24.000000000","message":"I am not sure what this comment tries to mention.\nCould you rephrase it?\n\nI understand we can limit the case of calling _get_reachable_subnets (which is a cost-full operation).\nIdeally this kind of things should be covered by Neutron side (as I commented in the initial bug report).","commit_id":"54dc68b71767347d91134394bc47a8ba3618b118"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"5b1a59f118c210674be20124a766ccae93ae0673","unresolved":false,"context_lines":[{"line_number":479,"context_line":"            for ip in p.fixed_ips:"},{"line_number":480,"context_line":"                if ("},{"line_number":481,"context_line":"                    check_topology and ip[\u0027subnet_id\u0027] not in reachable_subnets"},{"line_number":482,"context_line":"                ):"},{"line_number":483,"context_line":"                    continue"},{"line_number":484,"context_line":"                target \u003d {\u0027name\u0027: \u0027%s: %s\u0027 % (server_name, ip[\u0027ip_address\u0027]),"},{"line_number":485,"context_line":"                          \u0027id\u0027: \u0027%s_%s\u0027 % (port_id, ip[\u0027ip_address\u0027]),"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa32b979_e1c50b8e","line":482,"updated":"2015-06-16 18:35:24.000000000","message":"Can\u0027t we write the condition in one line?\nI don\u0027t see any value to use parentheses here.","commit_id":"54dc68b71767347d91134394bc47a8ba3618b118"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"5121cee16d5ac2d8a0c2d66690f9141c75b8211d","unresolved":false,"context_lines":[{"line_number":433,"context_line":"    def _get_reachable_subnets(self, ports):"},{"line_number":434,"context_line":"        if not is_enabled_fip_topology_check():"},{"line_number":435,"context_line":"            # All subnets are reachable from external network"},{"line_number":436,"context_line":"            return set(p.fixed_ips[0][\u0027subnet_id\u0027] for p in ports)"},{"line_number":437,"context_line":"        # Retrieve subnet list reachable from external network"},{"line_number":438,"context_line":"        ext_net_ids \u003d [ext_net.id for ext_net in self.list_pools()]"},{"line_number":439,"context_line":"        gw_routers \u003d [r.id for r in router_list(self.request)"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa32b979_c71a3b7d","line":436,"updated":"2015-06-17 10:53:53.000000000","message":"The logic becomes much easier to read :-)\nThanks.","commit_id":"fd5312d1469aa473462e8b7bfd766d2f26616407"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"5121cee16d5ac2d8a0c2d66690f9141c75b8211d","unresolved":false,"context_lines":[{"line_number":1101,"context_line":"            is_extension_supported(request, \u0027quotas\u0027))"},{"line_number":1102,"context_line":""},{"line_number":1103,"context_line":""},{"line_number":1104,"context_line":"@memoized"},{"line_number":1105,"context_line":"def is_enabled_fip_topology_check():"},{"line_number":1106,"context_line":"    return is_enabled_by_config(\u0027enable_fip_topology_check\u0027, True)"},{"line_number":1107,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"fa32b979_2a5e4e12","line":1104,"updated":"2015-06-17 10:53:53.000000000","message":"is_enabled_by_config does not involves any API calls to back-end, so there is no need to use @memoized.\nWe can call is_enabled_by_config(enable_fip_topology_check) directly above.\n\nWe are trying to keep is_xxx methods minimum as we can.\nPreviously we have similar methods per feature, but most of them except is_quoats_extension_supported above have been removed.","commit_id":"fd5312d1469aa473462e8b7bfd766d2f26616407"},{"author":{"_account_id":8674,"name":"Yves-Gwenael Bourhis","email":"ygbourhis@gmail.com","username":"yves"},"change_message_id":"e3086e9fe280c01156deeee613a63f70558d4917","unresolved":false,"context_lines":[{"line_number":1101,"context_line":"            is_extension_supported(request, \u0027quotas\u0027))"},{"line_number":1102,"context_line":""},{"line_number":1103,"context_line":""},{"line_number":1104,"context_line":"@memoized"},{"line_number":1105,"context_line":"def is_enabled_fip_topology_check():"},{"line_number":1106,"context_line":"    return is_enabled_by_config(\u0027enable_fip_topology_check\u0027, True)"},{"line_number":1107,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"fa32b979_829896c1","line":1104,"in_reply_to":"fa32b979_2a5e4e12","updated":"2015-06-17 14:16:20.000000000","message":"Done","commit_id":"fd5312d1469aa473462e8b7bfd766d2f26616407"}]}
