)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"c3fad3c1f53e4ce184c8020a217c0f7907aa718d","unresolved":false,"context_lines":[{"line_number":10,"context_line":"integration bridge, so the Neutron agent that runs on the Smart NIC must"},{"line_number":11,"context_line":"behave like libvirt and do plug/unplug for the representor port."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"The workflow for ovs plugin in os-vif doesn\u0027t do the actual plugging"},{"line_number":14,"context_line":"because of security concerns due to bug #1734320."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Change-Id: Ic2c3c88ad0c3865dae96c717b5d137f1ea18326f"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"9fdfeff1_44725e4b","line":14,"range":{"start_line":13,"start_character":0,"end_line":14,"end_character":49},"updated":"2019-02-11 14:19:49.000000000","message":"that is incorrect.\nhaving os-vif do the plugin would actully fix that bug.\ni reverted the change that did that as id triggered other bugs in the ovs agent.\n\nhaving os-vif do the pluggin is the preferend and correct thing to do and we will likely move back to that model in the future.","commit_id":"ccd9d575411ae8eebab6e850d5283ca4c162fa8f"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"6dd753d7b21f1270636e3ecaa0a9740f6bfae524","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Hamdy Khader \u003chamdyk@mellanox.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2019-02-17 12:41:09 +0200"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add create_ovs_port field in VIFPortProfileOpenVSwitch profile"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"In case of Smart NIC, os-vif is used to plug the representor port to the"},{"line_number":10,"context_line":"integration bridge, so the Neutron agent that runs on the Smart NIC must"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"9fdfeff1_d5698c26","line":7,"range":{"start_line":7,"start_character":4,"end_line":7,"end_character":19},"updated":"2019-02-18 16:56:40.000000000","message":"nit: this is still create_ovs_port instead of create_port","commit_id":"b68026a24c5dc7b839258eb9ca7e843fb2cfefb3"},{"author":{"_account_id":22948,"name":"Hamdy Khader","email":"hamdyk@mellanox.com","username":"hamdyk"},"change_message_id":"03b689833b6ab37adc7023f7bf03d219d3f7fd1f","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Hamdy Khader \u003chamdyk@mellanox.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2019-02-17 12:41:09 +0200"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add create_ovs_port field in VIFPortProfileOpenVSwitch profile"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"In case of Smart NIC, os-vif is used to plug the representor port to the"},{"line_number":10,"context_line":"integration bridge, so the Neutron agent that runs on the Smart NIC must"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"9fdfeff1_db1e89ba","line":7,"range":{"start_line":7,"start_character":4,"end_line":7,"end_character":19},"in_reply_to":"9fdfeff1_d5698c26","updated":"2019-02-19 14:17:26.000000000","message":"Done","commit_id":"b68026a24c5dc7b839258eb9ca7e843fb2cfefb3"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"8a8ee51f24e0c58f77333aba50cadf56afa31721","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Hamdy Khader \u003chamdyk@mellanox.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2019-02-17 12:41:09 +0200"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add create_ovs_port field in VIFPortProfileOpenVSwitch profile"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"In case of Smart NIC, os-vif is used to plug the representor port to the"},{"line_number":10,"context_line":"integration bridge, so the Neutron agent that runs on the Smart NIC must"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"9fdfeff1_968c582f","line":7,"range":{"start_line":7,"start_character":4,"end_line":7,"end_character":19},"in_reply_to":"9fdfeff1_d5698c26","updated":"2019-02-19 14:02:08.000000000","message":"yep this should be updated.","commit_id":"b68026a24c5dc7b839258eb9ca7e843fb2cfefb3"}],"os_vif/objects/vif.py":[{"author":{"_account_id":28714,"name":"Adrian Chiris","email":"adrianc@nvidia.com","username":"adrianc"},"change_message_id":"d7fe71a3e0ede6323ef07876303ab0daa1340d9e","unresolved":false,"context_lines":[{"line_number":310,"context_line":"    # Version 1.0: Initial release"},{"line_number":311,"context_line":"    # Version 1.1: VIFPortProfileOpenVSwitch updated to 1.1"},{"line_number":312,"context_line":"    # Version 1.2: VIFPortProfileOpenVSwitch updated to 1.2"},{"line_number":313,"context_line":"    VERSION \u003d \u00271.2\u0027"},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"    fields \u003d {"},{"line_number":316,"context_line":"        \u0027interface_id\u0027: fields.UUIDField()"}],"source_content_type":"text/x-python","patch_set":3,"id":"9fdfeff1_98a98bde","line":313,"updated":"2019-02-11 09:38:36.000000000","message":"I believe you can start from 1.0.","commit_id":"57a5f2488b34a2f987cfc8eaf53c3823f0a7d9cf"},{"author":{"_account_id":22948,"name":"Hamdy Khader","email":"hamdyk@mellanox.com","username":"hamdyk"},"change_message_id":"3d65f8ed9703f71551d328f60fb068ceda1c5607","unresolved":false,"context_lines":[{"line_number":310,"context_line":"    # Version 1.0: Initial release"},{"line_number":311,"context_line":"    # Version 1.1: VIFPortProfileOpenVSwitch updated to 1.1"},{"line_number":312,"context_line":"    # Version 1.2: VIFPortProfileOpenVSwitch updated to 1.2"},{"line_number":313,"context_line":"    VERSION \u003d \u00271.2\u0027"},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"    fields \u003d {"},{"line_number":316,"context_line":"        \u0027interface_id\u0027: fields.UUIDField()"}],"source_content_type":"text/x-python","patch_set":3,"id":"9fdfeff1_7e55af4f","line":313,"in_reply_to":"9fdfeff1_98a98bde","updated":"2019-02-11 14:12:44.000000000","message":"Done","commit_id":"57a5f2488b34a2f987cfc8eaf53c3823f0a7d9cf"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"c3fad3c1f53e4ce184c8020a217c0f7907aa718d","unresolved":false,"context_lines":[{"line_number":304,"context_line":"                primitive, \"1.1\")"},{"line_number":305,"context_line":""},{"line_number":306,"context_line":""},{"line_number":307,"context_line":"@base.VersionedObjectRegistry.register"},{"line_number":308,"context_line":"class VIFPortProfileSmartNIC(VIFPortProfileOpenVSwitch):"},{"line_number":309,"context_line":"    # Port profile info for Smart NIC"},{"line_number":310,"context_line":"    VERSION \u003d \u00271.0\u0027"},{"line_number":311,"context_line":""},{"line_number":312,"context_line":"    fields \u003d {"},{"line_number":313,"context_line":"        \u0027interface_id\u0027: fields.UUIDField()"},{"line_number":314,"context_line":"    }"},{"line_number":315,"context_line":""},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"@base.VersionedObjectRegistry.register"}],"source_content_type":"text/x-python","patch_set":4,"id":"9fdfeff1_e48ef225","line":314,"range":{"start_line":307,"start_character":1,"end_line":314,"end_character":5},"updated":"2019-02-11 14:19:49.000000000","message":"this is not needed the interface id is stored int he VIF id field.","commit_id":"ccd9d575411ae8eebab6e850d5283ca4c162fa8f"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"86c590c0733a0da96a5d01266929a4dc8c1d8638","unresolved":false,"context_lines":[{"line_number":237,"context_line":"        \u0027datapath_type\u0027: fields.StringField(nullable\u003dTrue),"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"        # Always add the port to OVS switch."},{"line_number":240,"context_line":"        \u0027create_ovs_port\u0027: fields.BooleanField(default\u003dFalse),"},{"line_number":241,"context_line":"    }"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"    def obj_make_compatible(self, primitive, target_version):"}],"source_content_type":"text/x-python","patch_set":5,"id":"9fdfeff1_de647724","line":240,"range":{"start_line":240,"start_character":9,"end_line":240,"end_character":24},"updated":"2019-02-15 10:18:36.000000000","message":"Could we just call this \u0027create_port\u0027 since OVS is in the profile name?","commit_id":"5a7033c3a57978a633a6c356ce4bbe2878fc5765"},{"author":{"_account_id":22948,"name":"Hamdy Khader","email":"hamdyk@mellanox.com","username":"hamdyk"},"change_message_id":"d08e4031272b188915f89e78c505a93e3d41ae3b","unresolved":false,"context_lines":[{"line_number":237,"context_line":"        \u0027datapath_type\u0027: fields.StringField(nullable\u003dTrue),"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"        # Always add the port to OVS switch."},{"line_number":240,"context_line":"        \u0027create_ovs_port\u0027: fields.BooleanField(default\u003dFalse),"},{"line_number":241,"context_line":"    }"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"    def obj_make_compatible(self, primitive, target_version):"}],"source_content_type":"text/x-python","patch_set":5,"id":"9fdfeff1_058a98bd","line":240,"range":{"start_line":240,"start_character":9,"end_line":240,"end_character":24},"in_reply_to":"9fdfeff1_de647724","updated":"2019-02-17 10:36:19.000000000","message":"yes, that makes sense.","commit_id":"5a7033c3a57978a633a6c356ce4bbe2878fc5765"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"6dd753d7b21f1270636e3ecaa0a9740f6bfae524","unresolved":false,"context_lines":[{"line_number":236,"context_line":"        # Datapath type of the bridge"},{"line_number":237,"context_line":"        \u0027datapath_type\u0027: fields.StringField(nullable\u003dTrue),"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"        # Always add the port to OVS switch."},{"line_number":240,"context_line":"        \u0027create_port\u0027: fields.BooleanField(default\u003dFalse),"},{"line_number":241,"context_line":"    }"},{"line_number":242,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"9fdfeff1_351018a9","line":239,"range":{"start_line":239,"start_character":10,"end_line":239,"end_character":44},"updated":"2019-02-18 16:56:40.000000000","message":"nit: Maybe this should be reworded to:\n\"If set, the os-vif plugin should add the port to the bridge.\"","commit_id":"b68026a24c5dc7b839258eb9ca7e843fb2cfefb3"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"8a8ee51f24e0c58f77333aba50cadf56afa31721","unresolved":false,"context_lines":[{"line_number":236,"context_line":"        # Datapath type of the bridge"},{"line_number":237,"context_line":"        \u0027datapath_type\u0027: fields.StringField(nullable\u003dTrue),"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"        # Always add the port to OVS switch."},{"line_number":240,"context_line":"        \u0027create_port\u0027: fields.BooleanField(default\u003dFalse),"},{"line_number":241,"context_line":"    }"},{"line_number":242,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"9fdfeff1_b6be3cd2","line":239,"range":{"start_line":239,"start_character":10,"end_line":239,"end_character":44},"in_reply_to":"9fdfeff1_351018a9","updated":"2019-02-19 14:02:08.000000000","message":"+1","commit_id":"b68026a24c5dc7b839258eb9ca7e843fb2cfefb3"},{"author":{"_account_id":22948,"name":"Hamdy Khader","email":"hamdyk@mellanox.com","username":"hamdyk"},"change_message_id":"03b689833b6ab37adc7023f7bf03d219d3f7fd1f","unresolved":false,"context_lines":[{"line_number":236,"context_line":"        # Datapath type of the bridge"},{"line_number":237,"context_line":"        \u0027datapath_type\u0027: fields.StringField(nullable\u003dTrue),"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"        # Always add the port to OVS switch."},{"line_number":240,"context_line":"        \u0027create_port\u0027: fields.BooleanField(default\u003dFalse),"},{"line_number":241,"context_line":"    }"},{"line_number":242,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"9fdfeff1_bb2aa57b","line":239,"range":{"start_line":239,"start_character":10,"end_line":239,"end_character":44},"in_reply_to":"9fdfeff1_351018a9","updated":"2019-02-19 14:17:26.000000000","message":"Done","commit_id":"b68026a24c5dc7b839258eb9ca7e843fb2cfefb3"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"6dd753d7b21f1270636e3ecaa0a9740f6bfae524","unresolved":false,"context_lines":[{"line_number":240,"context_line":"        \u0027create_port\u0027: fields.BooleanField(default\u003dFalse),"},{"line_number":241,"context_line":"    }"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"    def obj_make_compatible(self, primitive, target_version):"},{"line_number":244,"context_line":"        super(VIFPortProfileOpenVSwitch, self).obj_make_compatible("},{"line_number":245,"context_line":"            primitive, target_version)"},{"line_number":246,"context_line":"        target_version \u003d versionutils.convert_version_to_tuple(target_version)"},{"line_number":247,"context_line":"        if target_version \u003c (1, 1) and \u0027datapath_type\u0027 in primitive:"},{"line_number":248,"context_line":"            del primitive[\u0027datapath_type\u0027]"},{"line_number":249,"context_line":"        if target_version \u003c (1, 2):"},{"line_number":250,"context_line":"            super(VIFPortProfileOpenVSwitch, self).obj_make_compatible("},{"line_number":251,"context_line":"                primitive, \"1.0\")"},{"line_number":252,"context_line":"        if target_version \u003c (1, 3) and \u0027create_port\u0027 in primitive:"},{"line_number":253,"context_line":"            del primitive[\u0027create_port\u0027]"},{"line_number":254,"context_line":""},{"line_number":255,"context_line":""},{"line_number":256,"context_line":"@base.VersionedObjectRegistry.register"}],"source_content_type":"text/x-python","patch_set":6,"id":"9fdfeff1_b5a5e849","line":253,"range":{"start_line":243,"start_character":4,"end_line":253,"end_character":40},"updated":"2019-02-18 16:56:40.000000000","message":"The backlevel code here still suffers from the acne I gave it :-(\n\nThere\u0027s a proposal here to work out a formalised way of writing this section: https://review.openstack.org/#/c/632321/ \n\nMaybe this is a good time for me to dust off https://review.openstack.org/#/c/630976/ as a follow-on?","commit_id":"b68026a24c5dc7b839258eb9ca7e843fb2cfefb3"},{"author":{"_account_id":22948,"name":"Hamdy Khader","email":"hamdyk@mellanox.com","username":"hamdyk"},"change_message_id":"03b689833b6ab37adc7023f7bf03d219d3f7fd1f","unresolved":false,"context_lines":[{"line_number":240,"context_line":"        \u0027create_port\u0027: fields.BooleanField(default\u003dFalse),"},{"line_number":241,"context_line":"    }"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"    def obj_make_compatible(self, primitive, target_version):"},{"line_number":244,"context_line":"        super(VIFPortProfileOpenVSwitch, self).obj_make_compatible("},{"line_number":245,"context_line":"            primitive, target_version)"},{"line_number":246,"context_line":"        target_version \u003d versionutils.convert_version_to_tuple(target_version)"},{"line_number":247,"context_line":"        if target_version \u003c (1, 1) and \u0027datapath_type\u0027 in primitive:"},{"line_number":248,"context_line":"            del primitive[\u0027datapath_type\u0027]"},{"line_number":249,"context_line":"        if target_version \u003c (1, 2):"},{"line_number":250,"context_line":"            super(VIFPortProfileOpenVSwitch, self).obj_make_compatible("},{"line_number":251,"context_line":"                primitive, \"1.0\")"},{"line_number":252,"context_line":"        if target_version \u003c (1, 3) and \u0027create_port\u0027 in primitive:"},{"line_number":253,"context_line":"            del primitive[\u0027create_port\u0027]"},{"line_number":254,"context_line":""},{"line_number":255,"context_line":""},{"line_number":256,"context_line":"@base.VersionedObjectRegistry.register"}],"source_content_type":"text/x-python","patch_set":6,"id":"9fdfeff1_db04491b","line":253,"range":{"start_line":243,"start_character":4,"end_line":253,"end_character":40},"in_reply_to":"9fdfeff1_a4760e0c","updated":"2019-02-19 14:17:26.000000000","message":"added unit tests for the new version.","commit_id":"b68026a24c5dc7b839258eb9ca7e843fb2cfefb3"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"8a8ee51f24e0c58f77333aba50cadf56afa31721","unresolved":false,"context_lines":[{"line_number":240,"context_line":"        \u0027create_port\u0027: fields.BooleanField(default\u003dFalse),"},{"line_number":241,"context_line":"    }"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"    def obj_make_compatible(self, primitive, target_version):"},{"line_number":244,"context_line":"        super(VIFPortProfileOpenVSwitch, self).obj_make_compatible("},{"line_number":245,"context_line":"            primitive, target_version)"},{"line_number":246,"context_line":"        target_version \u003d versionutils.convert_version_to_tuple(target_version)"},{"line_number":247,"context_line":"        if target_version \u003c (1, 1) and \u0027datapath_type\u0027 in primitive:"},{"line_number":248,"context_line":"            del primitive[\u0027datapath_type\u0027]"},{"line_number":249,"context_line":"        if target_version \u003c (1, 2):"},{"line_number":250,"context_line":"            super(VIFPortProfileOpenVSwitch, self).obj_make_compatible("},{"line_number":251,"context_line":"                primitive, \"1.0\")"},{"line_number":252,"context_line":"        if target_version \u003c (1, 3) and \u0027create_port\u0027 in primitive:"},{"line_number":253,"context_line":"            del primitive[\u0027create_port\u0027]"},{"line_number":254,"context_line":""},{"line_number":255,"context_line":""},{"line_number":256,"context_line":"@base.VersionedObjectRegistry.register"}],"source_content_type":"text/x-python","patch_set":6,"id":"9fdfeff1_f6ea84d6","line":253,"range":{"start_line":243,"start_character":4,"end_line":253,"end_character":40},"in_reply_to":"9fdfeff1_a4760e0c","updated":"2019-02-19 14:02:08.000000000","message":"i think this is fine for now but yes it would be good to add a test for the back leveling and also to respin  https://review.openstack.org/#/c/630976/.\n\njan do you mind rebasing it on top of this patch so there will be no conflict.","commit_id":"b68026a24c5dc7b839258eb9ca7e843fb2cfefb3"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"902bad83baff1a0f656bc6e8b6c47db201e29c8e","unresolved":false,"context_lines":[{"line_number":240,"context_line":"        \u0027create_port\u0027: fields.BooleanField(default\u003dFalse),"},{"line_number":241,"context_line":"    }"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"    def obj_make_compatible(self, primitive, target_version):"},{"line_number":244,"context_line":"        super(VIFPortProfileOpenVSwitch, self).obj_make_compatible("},{"line_number":245,"context_line":"            primitive, target_version)"},{"line_number":246,"context_line":"        target_version \u003d versionutils.convert_version_to_tuple(target_version)"},{"line_number":247,"context_line":"        if target_version \u003c (1, 1) and \u0027datapath_type\u0027 in primitive:"},{"line_number":248,"context_line":"            del primitive[\u0027datapath_type\u0027]"},{"line_number":249,"context_line":"        if target_version \u003c (1, 2):"},{"line_number":250,"context_line":"            super(VIFPortProfileOpenVSwitch, self).obj_make_compatible("},{"line_number":251,"context_line":"                primitive, \"1.0\")"},{"line_number":252,"context_line":"        if target_version \u003c (1, 3) and \u0027create_port\u0027 in primitive:"},{"line_number":253,"context_line":"            del primitive[\u0027create_port\u0027]"},{"line_number":254,"context_line":""},{"line_number":255,"context_line":""},{"line_number":256,"context_line":"@base.VersionedObjectRegistry.register"}],"source_content_type":"text/x-python","patch_set":6,"id":"9fdfeff1_a4760e0c","line":253,"range":{"start_line":243,"start_character":4,"end_line":253,"end_character":40},"in_reply_to":"9fdfeff1_b5a5e849","updated":"2019-02-19 09:13:27.000000000","message":"Argh, I missed: there\u0027s no test for this either in test_vif. So I\u0027m back to being unopinionated.","commit_id":"b68026a24c5dc7b839258eb9ca7e843fb2cfefb3"}],"vif_plug_ovs/ovs.py":[{"author":{"_account_id":28714,"name":"Adrian Chiris","email":"adrianc@nvidia.com","username":"adrianc"},"change_message_id":"d7fe71a3e0ede6323ef07876303ab0daa1340d9e","unresolved":false,"context_lines":[{"line_number":268,"context_line":"            raise exception.WrongPortProfile("},{"line_number":269,"context_line":"                profile\u003dvif.port_profile.__class__.__name__)"},{"line_number":270,"context_line":""},{"line_number":271,"context_line":"        if isinstance(vif, objects.vif.VIFOpenVSwitch):"},{"line_number":272,"context_line":"            if sys.platform !\u003d constants.PLATFORM_WIN32:"},{"line_number":273,"context_line":"                self._plug_vif_generic(vif, instance_info)"},{"line_number":274,"context_line":"            else:"}],"source_content_type":"text/x-python","patch_set":3,"id":"9fdfeff1_b8f24f05","line":271,"updated":"2019-02-11 09:38:36.000000000","message":"you can implement a : _plug_vif_smartnic() and call it here in case instance is VIFPortProfileSmartNIC.\n\nCleaner IMO","commit_id":"57a5f2488b34a2f987cfc8eaf53c3823f0a7d9cf"},{"author":{"_account_id":22948,"name":"Hamdy Khader","email":"hamdyk@mellanox.com","username":"hamdyk"},"change_message_id":"3d65f8ed9703f71551d328f60fb068ceda1c5607","unresolved":false,"context_lines":[{"line_number":268,"context_line":"            raise exception.WrongPortProfile("},{"line_number":269,"context_line":"                profile\u003dvif.port_profile.__class__.__name__)"},{"line_number":270,"context_line":""},{"line_number":271,"context_line":"        if isinstance(vif, objects.vif.VIFOpenVSwitch):"},{"line_number":272,"context_line":"            if sys.platform !\u003d constants.PLATFORM_WIN32:"},{"line_number":273,"context_line":"                self._plug_vif_generic(vif, instance_info)"},{"line_number":274,"context_line":"            else:"}],"source_content_type":"text/x-python","patch_set":3,"id":"9fdfeff1_241b9a1b","line":271,"in_reply_to":"9fdfeff1_b8f24f05","updated":"2019-02-11 14:12:44.000000000","message":"Done","commit_id":"57a5f2488b34a2f987cfc8eaf53c3823f0a7d9cf"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"86c590c0733a0da96a5d01266929a4dc8c1d8638","unresolved":false,"context_lines":[{"line_number":232,"context_line":"        \"\"\"Create a per-VIF OVS port.\"\"\""},{"line_number":233,"context_line":"        self.ovsdb.ensure_ovs_bridge(vif.network.bridge,"},{"line_number":234,"context_line":"                                     self._get_vif_datapath_type(vif))"},{"line_number":235,"context_line":"        # NOTE(sean-k-mooney): as part of a partial revert of"},{"line_number":236,"context_line":"        # change Iaf15fa7a678ec2624f7c12f634269c465fbad930"},{"line_number":237,"context_line":"        # (always create ovs port during plug), we stopped calling"},{"line_number":238,"context_line":"        # self._create_vif_port(vif, vif.vif_name, instance_info)."},{"line_number":239,"context_line":"        # Calling _create_vif_port here was intended to ensure"},{"line_number":240,"context_line":"        # that the vif was wired up by neutron before the vm was"},{"line_number":241,"context_line":"        # spawned on boot or live migration to partially resolve"},{"line_number":242,"context_line":"        # #1734320. When the \"always create ovs port during plug\" change"},{"line_number":243,"context_line":"        # was written it was understood by me that libvirt would not"},{"line_number":244,"context_line":"        # modify ovs if the port exists but in fact it deletes and"},{"line_number":245,"context_line":"        # recreates the port. This both undoes the effort to resolve"},{"line_number":246,"context_line":"        # bug #1734320 and intoduces other issues for neutron."},{"line_number":247,"context_line":"        # this comment will be removed when we actully fix #1734320 in"},{"line_number":248,"context_line":"        # all cases."},{"line_number":249,"context_line":"        if (\"create_ovs_port\" in vif.port_profile and"},{"line_number":250,"context_line":"                vif.port_profile.create_ovs_port):"},{"line_number":251,"context_line":"            self._create_vif_port(vif, vif.vif_name, instance_info)"}],"source_content_type":"text/x-python","patch_set":5,"id":"9fdfeff1_be46537a","line":248,"range":{"start_line":235,"start_character":0,"end_line":248,"end_character":20},"updated":"2019-02-15 10:18:36.000000000","message":"This feels like it should be reworded to take into account the fact we\u0027re now sometimes creating the port","commit_id":"5a7033c3a57978a633a6c356ce4bbe2878fc5765"},{"author":{"_account_id":22948,"name":"Hamdy Khader","email":"hamdyk@mellanox.com","username":"hamdyk"},"change_message_id":"d08e4031272b188915f89e78c505a93e3d41ae3b","unresolved":false,"context_lines":[{"line_number":232,"context_line":"        \"\"\"Create a per-VIF OVS port.\"\"\""},{"line_number":233,"context_line":"        self.ovsdb.ensure_ovs_bridge(vif.network.bridge,"},{"line_number":234,"context_line":"                                     self._get_vif_datapath_type(vif))"},{"line_number":235,"context_line":"        # NOTE(sean-k-mooney): as part of a partial revert of"},{"line_number":236,"context_line":"        # change Iaf15fa7a678ec2624f7c12f634269c465fbad930"},{"line_number":237,"context_line":"        # (always create ovs port during plug), we stopped calling"},{"line_number":238,"context_line":"        # self._create_vif_port(vif, vif.vif_name, instance_info)."},{"line_number":239,"context_line":"        # Calling _create_vif_port here was intended to ensure"},{"line_number":240,"context_line":"        # that the vif was wired up by neutron before the vm was"},{"line_number":241,"context_line":"        # spawned on boot or live migration to partially resolve"},{"line_number":242,"context_line":"        # #1734320. When the \"always create ovs port during plug\" change"},{"line_number":243,"context_line":"        # was written it was understood by me that libvirt would not"},{"line_number":244,"context_line":"        # modify ovs if the port exists but in fact it deletes and"},{"line_number":245,"context_line":"        # recreates the port. This both undoes the effort to resolve"},{"line_number":246,"context_line":"        # bug #1734320 and intoduces other issues for neutron."},{"line_number":247,"context_line":"        # this comment will be removed when we actully fix #1734320 in"},{"line_number":248,"context_line":"        # all cases."},{"line_number":249,"context_line":"        if (\"create_ovs_port\" in vif.port_profile and"},{"line_number":250,"context_line":"                vif.port_profile.create_ovs_port):"},{"line_number":251,"context_line":"            self._create_vif_port(vif, vif.vif_name, instance_info)"}],"source_content_type":"text/x-python","patch_set":5,"id":"9fdfeff1_c5a81021","line":248,"range":{"start_line":235,"start_character":0,"end_line":248,"end_character":20},"in_reply_to":"9fdfeff1_be46537a","updated":"2019-02-17 10:36:19.000000000","message":"maybe adding anther note would make things clear, after all this is a work around until the bugs are resolved.","commit_id":"5a7033c3a57978a633a6c356ce4bbe2878fc5765"}]}
