)]}'
{"neutron/plugins/ml2/managers.py":[{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"0a2b517c2bb9de2365376cd4bfae3e91c83066a4","unresolved":false,"context_lines":[{"line_number":40,"context_line":"                                for required_type in required_types"},{"line_number":41,"context_line":"                                if required_type not in"},{"line_number":42,"context_line":"                                cfg.CONF.ml2.type_drivers]"},{"line_number":43,"context_line":"        LOG.info(_(\u0027Missing Type drivers to be added: %s\u0027),"},{"line_number":44,"context_line":"                 missing_type_drivers)"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"        type_driver_list \u003d cfg.CONF.ml2.type_drivers + missing_type_drivers"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_7fc56e5a","line":43,"updated":"2014-07-21 19:49:15.000000000","message":"Could you use _LI() instead of _()? https://review.openstack.org/107137 provides some samples.\n\nIMHO, the log message is unclear, i would prefer something like \"Add missing required type drivers: %s\".","commit_id":"3e3b8ddc387ec45ae82de415d5a497be0376671c"}],"neutron/plugins/ml2/plugin.py":[{"author":{"_account_id":1689,"name":"Robert Kukura","email":"rk@theep.net","username":"rkukura"},"change_message_id":"3598df20d69baf73a8d08ca0de6c732d3ee101e6","unresolved":false,"context_lines":[{"line_number":63,"context_line":"# providernet.py?"},{"line_number":64,"context_line":"TYPE_MULTI_SEGMENT \u003d \u0027multi-segment\u0027"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"REQUIRED_TYPES \u003d [service_constants.TYPE_FLAT]"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"class Ml2Plugin(db_base_plugin_v2.NeutronDbPluginV2,"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_9db6153d","line":66,"updated":"2014-07-11 15:09:34.000000000","message":"There is no reason every neutron deployment would require flat networks. External networks are often on VLANs.","commit_id":"6d79b97d84068fcda63077975e27868ba33a2f0b"},{"author":{"_account_id":1689,"name":"Robert Kukura","email":"rk@theep.net","username":"rkukura"},"change_message_id":"3598df20d69baf73a8d08ca0de6c732d3ee101e6","unresolved":false,"context_lines":[{"line_number":174,"context_line":""},{"line_number":175,"context_line":"            if self._get_attribute(network, external_net.EXTERNAL):"},{"line_number":176,"context_line":"                if not network_type:"},{"line_number":177,"context_line":"                    network_type \u003d service_constants.TYPE_FLAT"},{"line_number":178,"context_line":"                if not physical_network:"},{"line_number":179,"context_line":"                    physical_network \u003d self._get_attribute(network, \u0027name\u0027)"},{"line_number":180,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_3d298937","line":177,"updated":"2014-07-11 15:09:34.000000000","message":"If provider attributes are not supplied for an external network, the \u0027local\u0027 type is more appropriate than \u0027flat\u0027. When an external bridge is used, the provider attributes are completely ignored. In this case, \u0027local\u0027 is safe and does not waste a tenant network allocation. Setting network_type to \u0027flat\u0027 implies that the physical_network value has meaning.","commit_id":"6d79b97d84068fcda63077975e27868ba33a2f0b"},{"author":{"_account_id":1689,"name":"Robert Kukura","email":"rk@theep.net","username":"rkukura"},"change_message_id":"3598df20d69baf73a8d08ca0de6c732d3ee101e6","unresolved":false,"context_lines":[{"line_number":176,"context_line":"                if not network_type:"},{"line_number":177,"context_line":"                    network_type \u003d service_constants.TYPE_FLAT"},{"line_number":178,"context_line":"                if not physical_network:"},{"line_number":179,"context_line":"                    physical_network \u003d self._get_attribute(network, \u0027name\u0027)"},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"            segments \u003d [{provider.NETWORK_TYPE: network_type,"},{"line_number":182,"context_line":"                         provider.PHYSICAL_NETWORK: physical_network,"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_bd14b9e9","line":179,"updated":"2014-07-11 15:09:34.000000000","message":"Network names can be empty, so I don\u0027t think you want to use the network name as the physical_network. This isn\u0027t needed if you default to \u0027local\u0027 for external networks.","commit_id":"6d79b97d84068fcda63077975e27868ba33a2f0b"},{"author":{"_account_id":6876,"name":"stephen-ma","email":"stephenbma43@gmail.com","username":"stephen-ma"},"change_message_id":"f3f48ba2eae93265bdc1b3c256fdc84ab38204a7","unresolved":false,"context_lines":[{"line_number":68,"context_line":"TYPE_MULTI_SEGMENT \u003d \u0027multi-segment\u0027"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"# For external networks where the provider_type is no specified"},{"line_number":71,"context_line":"# default to \u0027local\u0027, so it is required to be loaded by the "},{"line_number":72,"context_line":"# TypeManager"},{"line_number":73,"context_line":"REQUIRED_TYPES \u003d [service_constants.TYPE_LOCAL]"},{"line_number":74,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_8cc14231","line":71,"updated":"2014-07-21 19:20:09.000000000","message":"Extra space at the end of line.","commit_id":"3e3b8ddc387ec45ae82de415d5a497be0376671c"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"0a2b517c2bb9de2365376cd4bfae3e91c83066a4","unresolved":false,"context_lines":[{"line_number":70,"context_line":"# For external networks where the provider_type is no specified"},{"line_number":71,"context_line":"# default to \u0027local\u0027, so it is required to be loaded by the "},{"line_number":72,"context_line":"# TypeManager"},{"line_number":73,"context_line":"REQUIRED_TYPES \u003d [service_constants.TYPE_LOCAL]"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"class Ml2Plugin(db_base_plugin_v2.NeutronDbPluginV2,"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_9fbc02b7","line":73,"updated":"2014-07-21 19:49:15.000000000","message":"It implies local network types can not be disabled.","commit_id":"3e3b8ddc387ec45ae82de415d5a497be0376671c"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"0a2b517c2bb9de2365376cd4bfae3e91c83066a4","unresolved":false,"context_lines":[{"line_number":179,"context_line":"            segmentation_id \u003d self._get_attribute(network,"},{"line_number":180,"context_line":"                                                  provider.SEGMENTATION_ID)"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"            if self._get_attribute(network, external_net.EXTERNAL):"},{"line_number":183,"context_line":"                if not network_type:"},{"line_number":184,"context_line":"                    network_type \u003d service_constants.TYPE_LOCAL"},{"line_number":185,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_bf32a60d","line":182,"updated":"2014-07-21 19:49:15.000000000","message":"If external_network_bridge !\u003d None on L3 agents, then external networks are not local networks.\nIf external_network_bridge \u003d\u003d None on L3 agents, then external networks created without an explicit provider:network_type are local networks ... which implies not external connectivity.\n\nI would prefer an explicit TYPE_EXTERNAL network_type. Moreover, if we want to unify the behavior on different plugins, local networks are not supported at least by VMWare plugin.","commit_id":"3e3b8ddc387ec45ae82de415d5a497be0376671c"}],"neutron/tests/unit/ml2/test_ml2_plugin.py":[{"author":{"_account_id":6876,"name":"stephen-ma","email":"stephenbma43@gmail.com","username":"stephen-ma"},"change_message_id":"f3f48ba2eae93265bdc1b3c256fdc84ab38204a7","unresolved":false,"context_lines":[{"line_number":112,"context_line":"        network \u003d self.deserialize(self.fmt,"},{"line_number":113,"context_line":"                                   network_req.get_response(self.api))"},{"line_number":114,"context_line":"        #For external network, expect network type to be \u0027local\u0027"},{"line_number":115,"context_line":"        self.assertEqual(\u0027local\u0027, network[\u0027network\u0027][pnet.NETWORK_TYPE])"},{"line_number":116,"context_line":"        #No physical network specified, expect \u0027None\u0027"},{"line_number":117,"context_line":"        self.assertEqual(None, network[\u0027network\u0027][pnet.PHYSICAL_NETWORK])"},{"line_number":118,"context_line":"        #External network will not have a segmentation id"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_4c6e4a30","line":115,"updated":"2014-07-21 19:20:09.000000000","message":"Replace \u0027local\u0027 with service_constants.TYPE_LOCAL.","commit_id":"3e3b8ddc387ec45ae82de415d5a497be0376671c"}]}
