)]}'
{"os_vif/common/constants.py":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"92fe99c99914d9d9249f713dea3af6c3bfc113a8","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"7f287b81_d15aa928","updated":"2017-09-04 11:19:41.000000000","message":"actullly these constants need to be in the plugins not in the os_vif module so can you introduce the constants in the patch to for ovs and linux bridge seperatly.\n\nbasically the reference plugins in os vif are something you are ment to be able to clone and use directly as the basis of your own plugin.\n\nif we stored the plugin name constants here it would imply that an update to this file should be done if you want to create your own plugin which is not the case.","commit_id":"00947ca2748064f9082b1aed9f69b9229bcb1787"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"323b80d66576d425967b82d4ce3305721b2c8af7","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"7f287b81_31bd6d68","in_reply_to":"7f287b81_d15aa928","updated":"2017-09-04 12:00:40.000000000","message":"Done","commit_id":"00947ca2748064f9082b1aed9f69b9229bcb1787"}],"os_vif/objects/fields.py":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"0b75d19dd35147c7fa4a017c727da0dd07650332","unresolved":false,"context_lines":[{"line_number":67,"context_line":"    AUTO_TYPE \u003d VIFHostDeviceDevType()"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"class PluginName(fields.Enum):"},{"line_number":71,"context_line":"    ALL \u003d constants.VALID_PLUGIN_NAMES"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    def __init__(self):"},{"line_number":74,"context_line":"        super(PluginName, self).__init__(valid_values\u003dPluginName.ALL)"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"class PluginNameField(fields.AutoTypedField):"},{"line_number":78,"context_line":"    AUTO_TYPE \u003d PluginName()"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f287b81_a8bb4070","line":78,"range":{"start_line":70,"start_character":0,"end_line":78,"end_character":28},"updated":"2017-09-03 06:40:47.000000000","message":"this is unrealted to the rest of of the patch.","commit_id":"368cb33858efa9656374713dc756680ac5921628"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"cb9ebd0a77df4d74debb7f7f49287219af4c4f75","unresolved":false,"context_lines":[{"line_number":67,"context_line":"    AUTO_TYPE \u003d VIFHostDeviceDevType()"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"class PluginName(fields.Enum):"},{"line_number":71,"context_line":"    ALL \u003d constants.VALID_PLUGIN_NAMES"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    def __init__(self):"},{"line_number":74,"context_line":"        super(PluginName, self).__init__(valid_values\u003dPluginName.ALL)"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"class PluginNameField(fields.AutoTypedField):"},{"line_number":78,"context_line":"    AUTO_TYPE \u003d PluginName()"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f287b81_ddeac2aa","line":78,"range":{"start_line":70,"start_character":0,"end_line":78,"end_character":28},"in_reply_to":"7f287b81_a8bb4070","updated":"2017-09-04 08:42:32.000000000","message":"Done","commit_id":"368cb33858efa9656374713dc756680ac5921628"}],"os_vif/objects/host_info.py":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"0b75d19dd35147c7fa4a017c727da0dd07650332","unresolved":false,"context_lines":[{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    fields \u003d {"},{"line_number":78,"context_line":"        # name of the plugin"},{"line_number":79,"context_line":"        \"plugin_name\": osv_fields.PluginNameField(),"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"        # list of HostVIFInfo instances supported by the plugin"},{"line_number":82,"context_line":"        \"vif_info\": fields.ListOfObjectsField(\"HostVIFInfo\"),"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f287b81_48aa9c19","line":79,"range":{"start_line":79,"start_character":7,"end_line":79,"end_character":52},"updated":"2017-09-03 06:40:47.000000000","message":"this would break all external plugins.\nthis is why this is a sting field in the first place and\nnot an enum.","commit_id":"368cb33858efa9656374713dc756680ac5921628"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"cb9ebd0a77df4d74debb7f7f49287219af4c4f75","unresolved":false,"context_lines":[{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    fields \u003d {"},{"line_number":78,"context_line":"        # name of the plugin"},{"line_number":79,"context_line":"        \"plugin_name\": osv_fields.PluginNameField(),"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"        # list of HostVIFInfo instances supported by the plugin"},{"line_number":82,"context_line":"        \"vif_info\": fields.ListOfObjectsField(\"HostVIFInfo\"),"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f287b81_fde57edd","line":79,"range":{"start_line":79,"start_character":7,"end_line":79,"end_character":52},"in_reply_to":"7f287b81_48aa9c19","updated":"2017-09-04 08:42:32.000000000","message":"Done","commit_id":"368cb33858efa9656374713dc756680ac5921628"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"2a54aae2fefb911221c646f60fdd157e7a2028a4","unresolved":false,"context_lines":[{"line_number":70,"context_line":"    Class describing a plugin and its supported VIF classes"},{"line_number":71,"context_line":"    \"\"\""},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    VERSION \u003d \u00271.0\u0027"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    fields \u003d {"},{"line_number":76,"context_line":"        # name of the plugin"}],"source_content_type":"text/x-python","patch_set":2,"id":"7f287b81_319a0dc5","line":73,"range":{"start_line":73,"start_character":14,"end_line":73,"end_character":19},"updated":"2017-09-04 11:21:01.000000000","message":"why make this change. it seems unrelated.","commit_id":"00947ca2748064f9082b1aed9f69b9229bcb1787"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"4de6704ffea93621d36b124aaf1e145284f8db11","unresolved":false,"context_lines":[{"line_number":70,"context_line":"    Class describing a plugin and its supported VIF classes"},{"line_number":71,"context_line":"    \"\"\""},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    VERSION \u003d \u00271.0\u0027"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    fields \u003d {"},{"line_number":76,"context_line":"        # name of the plugin"}],"source_content_type":"text/x-python","patch_set":2,"id":"7f287b81_b1d95df5","line":73,"range":{"start_line":73,"start_character":14,"end_line":73,"end_character":19},"in_reply_to":"7f287b81_319a0dc5","updated":"2017-09-04 11:56:59.000000000","message":"Sorry, I changed back the original string but instead of double quotes I wrote single ones.","commit_id":"00947ca2748064f9082b1aed9f69b9229bcb1787"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"4d2a926dfee3df51acaa8b3e322e2214073cb528","unresolved":false,"context_lines":[{"line_number":70,"context_line":"    Class describing a plugin and its supported VIF classes"},{"line_number":71,"context_line":"    \"\"\""},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    VERSION \u003d \u00271.0\u0027"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    fields \u003d {"},{"line_number":76,"context_line":"        # name of the plugin"}],"source_content_type":"text/x-python","patch_set":3,"id":"7f287b81_c9eafdd6","line":73,"range":{"start_line":73,"start_character":14,"end_line":73,"end_character":19},"updated":"2017-09-04 14:03:36.000000000","message":"unrelated change","commit_id":"cad3dbb7b9737332f1431b1a2496140ab2f4083e"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"1cd8bc8ea40c7c26b1393225f05880bbb4552011","unresolved":false,"context_lines":[{"line_number":70,"context_line":"    Class describing a plugin and its supported VIF classes"},{"line_number":71,"context_line":"    \"\"\""},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    VERSION \u003d \u00271.0\u0027"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    fields \u003d {"},{"line_number":76,"context_line":"        # name of the plugin"}],"source_content_type":"text/x-python","patch_set":3,"id":"7f287b81_288289c9","line":73,"range":{"start_line":73,"start_character":14,"end_line":73,"end_character":19},"in_reply_to":"7f287b81_c9eafdd6","updated":"2017-09-05 11:35:56.000000000","message":"My bad, I changed this twice","commit_id":"cad3dbb7b9737332f1431b1a2496140ab2f4083e"}],"os_vif/tests/unit/test_host_info.py":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"0b75d19dd35147c7fa4a017c727da0dd07650332","unresolved":false,"context_lines":[{"line_number":26,"context_line":"        self.host_info \u003d objects.host_info.HostInfo("},{"line_number":27,"context_line":"            plugin_info\u003d["},{"line_number":28,"context_line":"                objects.host_info.HostPluginInfo("},{"line_number":29,"context_line":"                    plugin_name\u003dosv_constants.PLUGIN_NAME_LINUX_BRIDGE,"},{"line_number":30,"context_line":"                    vif_info\u003d["},{"line_number":31,"context_line":"                        objects.host_info.HostVIFInfo("},{"line_number":32,"context_line":"                            vif_object_name\u003d\"VIFBridge\","}],"source_content_type":"text/x-python","patch_set":1,"id":"7f287b81_e866e829","line":29,"range":{"start_line":29,"start_character":31,"end_line":29,"end_character":70},"updated":"2017-09-03 06:40:47.000000000","message":"this is fine to keep.","commit_id":"368cb33858efa9656374713dc756680ac5921628"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"0b75d19dd35147c7fa4a017c727da0dd07650332","unresolved":false,"context_lines":[{"line_number":177,"context_line":"                         \"VIFOpenVSwitch\")"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"class TestHostPluginInfo(base.TestCase):"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"    def setUp(self):"},{"line_number":183,"context_line":"        super(TestHostPluginInfo, self).setUp()"},{"line_number":184,"context_line":""},{"line_number":185,"context_line":"        objects.register_all()"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"    def test_accepted_plugin_names(self):"},{"line_number":188,"context_line":"        for plug_name in osv_constants.VALID_PLUGIN_NAMES:"},{"line_number":189,"context_line":"            obj \u003d objects.host_info.HostPluginInfo(plugin_name\u003dplug_name,"},{"line_number":190,"context_line":"                                                    vif_info\u003d[])"},{"line_number":191,"context_line":"            self.assertIsInstance(obj, objects.host_info.HostPluginInfo)"},{"line_number":192,"context_line":""},{"line_number":193,"context_line":"    def test_wrong_plugin_name(self):"},{"line_number":194,"context_line":"        self.assertRaises(ValueError, objects.host_info.HostPluginInfo,"},{"line_number":195,"context_line":"                          plugin_name\u003d\"fistro\", vif_info\u003d[])"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f287b81_6872f8e5","line":195,"range":{"start_line":180,"start_character":0,"end_line":195,"end_character":60},"updated":"2017-09-03 06:40:47.000000000","message":"this is unrealted and also as i said before we can go this direction as it breaks all external plugins.","commit_id":"368cb33858efa9656374713dc756680ac5921628"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"cb9ebd0a77df4d74debb7f7f49287219af4c4f75","unresolved":false,"context_lines":[{"line_number":177,"context_line":"                         \"VIFOpenVSwitch\")"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"class TestHostPluginInfo(base.TestCase):"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"    def setUp(self):"},{"line_number":183,"context_line":"        super(TestHostPluginInfo, self).setUp()"},{"line_number":184,"context_line":""},{"line_number":185,"context_line":"        objects.register_all()"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"    def test_accepted_plugin_names(self):"},{"line_number":188,"context_line":"        for plug_name in osv_constants.VALID_PLUGIN_NAMES:"},{"line_number":189,"context_line":"            obj \u003d objects.host_info.HostPluginInfo(plugin_name\u003dplug_name,"},{"line_number":190,"context_line":"                                                    vif_info\u003d[])"},{"line_number":191,"context_line":"            self.assertIsInstance(obj, objects.host_info.HostPluginInfo)"},{"line_number":192,"context_line":""},{"line_number":193,"context_line":"    def test_wrong_plugin_name(self):"},{"line_number":194,"context_line":"        self.assertRaises(ValueError, objects.host_info.HostPluginInfo,"},{"line_number":195,"context_line":"                          plugin_name\u003d\"fistro\", vif_info\u003d[])"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f287b81_1de16ad1","line":195,"range":{"start_line":180,"start_character":0,"end_line":195,"end_character":60},"in_reply_to":"7f287b81_6872f8e5","updated":"2017-09-04 08:42:32.000000000","message":"Done","commit_id":"368cb33858efa9656374713dc756680ac5921628"}],"vif_plug_linux_bridge/linux_bridge.py":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"0b75d19dd35147c7fa4a017c727da0dd07650332","unresolved":false,"context_lines":[{"line_number":83,"context_line":""},{"line_number":84,"context_line":"    def describe(self):"},{"line_number":85,"context_line":"        return objects.host_info.HostPluginInfo("},{"line_number":86,"context_line":"            plugin_name\u003dosv_constants.PLUGIN_NAME_LINUX_BRIDGE,"},{"line_number":87,"context_line":"            vif_info\u003d["},{"line_number":88,"context_line":"                objects.host_info.HostVIFInfo("},{"line_number":89,"context_line":"                    vif_object_name\u003dobjects.vif.VIFBridge.__name__,"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f287b81_084b7487","line":86,"range":{"start_line":86,"start_character":24,"end_line":86,"end_character":62},"updated":"2017-09-03 06:40:47.000000000","message":"yes this is better then using a string directly.","commit_id":"368cb33858efa9656374713dc756680ac5921628"}],"vif_plug_ovs/constants.py":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"4d2a926dfee3df51acaa8b3e322e2214073cb528","unresolved":false,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":"PLATFORM_WIN32 \u003d \u0027win32\u0027"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"PLUGIN_NAME \u003d \u0027ovs\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"7f287b81_e99db966","line":22,"range":{"start_line":22,"start_character":0,"end_line":22,"end_character":19},"updated":"2017-09-04 14:03:36.000000000","message":"nit: Could you move this to the top? It\u0027s probably the most used constant in this file and the only \"standardized\" one","commit_id":"cad3dbb7b9737332f1431b1a2496140ab2f4083e"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"1cd8bc8ea40c7c26b1393225f05880bbb4552011","unresolved":false,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":"PLATFORM_WIN32 \u003d \u0027win32\u0027"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"PLUGIN_NAME \u003d \u0027ovs\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"7f287b81_a820b9f8","line":22,"range":{"start_line":22,"start_character":0,"end_line":22,"end_character":19},"in_reply_to":"7f287b81_e99db966","updated":"2017-09-05 11:35:56.000000000","message":"Done","commit_id":"cad3dbb7b9737332f1431b1a2496140ab2f4083e"}],"vif_plug_ovs/ovs.py":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"0b75d19dd35147c7fa4a017c727da0dd07650332","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    def describe(self):"},{"line_number":69,"context_line":"        return objects.host_info.HostPluginInfo("},{"line_number":70,"context_line":"            plugin_name\u003dosv_constants.PLUGIN_NAME_OVS,"},{"line_number":71,"context_line":"            vif_info\u003d["},{"line_number":72,"context_line":"                objects.host_info.HostVIFInfo("},{"line_number":73,"context_line":"                    vif_object_name\u003dobjects.vif.VIFBridge.__name__,"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f287b81_c8444c77","line":70,"range":{"start_line":70,"start_character":25,"end_line":70,"end_character":53},"updated":"2017-09-03 06:40:47.000000000","message":"this should be in the previous patch.","commit_id":"368cb33858efa9656374713dc756680ac5921628"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"cb9ebd0a77df4d74debb7f7f49287219af4c4f75","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    def describe(self):"},{"line_number":69,"context_line":"        return objects.host_info.HostPluginInfo("},{"line_number":70,"context_line":"            plugin_name\u003dosv_constants.PLUGIN_NAME_OVS,"},{"line_number":71,"context_line":"            vif_info\u003d["},{"line_number":72,"context_line":"                objects.host_info.HostVIFInfo("},{"line_number":73,"context_line":"                    vif_object_name\u003dobjects.vif.VIFBridge.__name__,"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f287b81_7dc4ee40","line":70,"range":{"start_line":70,"start_character":25,"end_line":70,"end_character":53},"in_reply_to":"7f287b81_c8444c77","updated":"2017-09-04 08:42:32.000000000","message":"Well, I\u0027m changing strings to constants in this one, so I think it\u0027s ok.","commit_id":"368cb33858efa9656374713dc756680ac5921628"}]}
