)]}'
{"vif_plug_ovs/ovs.py":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"bf856b656c86b266836315377d1792f497dbf121","unresolved":false,"context_lines":[{"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":""},{"line_number":250,"context_line":"    def _plug_vf_passthrough(self, vif, instance_info):"},{"line_number":251,"context_line":"        self.ovsdb.ensure_ovs_bridge("},{"line_number":252,"context_line":"            vif.network.bridge, constants.OVS_DATAPATH_SYSTEM)"},{"line_number":253,"context_line":"        if (\u0027datapath_offload\u0027 in vif.port_profile and"}],"source_content_type":"text/x-python","patch_set":1,"id":"9fdfeff1_a8fec668","line":250,"range":{"start_line":250,"start_character":9,"end_line":250,"end_character":28},"updated":"2019-02-06 13:02:03.000000000","message":"_plug_vf_passthough is only used for VIFHostDevice\n\nthe pci address form the Vif shoudl be used not the one form the port profile.","commit_id":"5ca1500e1ea62fba0302150202dc36e22ac5576f"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"7a565c1ba9d966ad6fbea386603d8f0a5f4fdb0c","unresolved":false,"context_lines":[{"line_number":250,"context_line":"    def _plug_vf_passthrough(self, vif, instance_info):"},{"line_number":251,"context_line":"        self.ovsdb.ensure_ovs_bridge("},{"line_number":252,"context_line":"            vif.network.bridge, constants.OVS_DATAPATH_SYSTEM)"},{"line_number":253,"context_line":"        if (\u0027datapath_offload\u0027 in vif.port_profile and"},{"line_number":254,"context_line":"            hasattr(vif.port_profile, \u0027datapath_offload\u0027) and"},{"line_number":255,"context_line":"            isinstance(vif.port_profile.datapath_offload,"},{"line_number":256,"context_line":"                       objects.vif.DatapathOffloadRepresentor)):"},{"line_number":257,"context_line":"            pci_slot \u003d vif.port_profile.datapath_offload.representor_address"},{"line_number":258,"context_line":"        else:"},{"line_number":259,"context_line":"            pci_slot \u003d vif.dev_address"}],"source_content_type":"text/x-python","patch_set":1,"id":"9fdfeff1_989c996b","line":256,"range":{"start_line":253,"start_character":12,"end_line":256,"end_character":62},"updated":"2019-02-04 15:05:42.000000000","message":"note to reviewers: py3.x tests fail if the first check is left out.\n\nChecking for object version isn\u0027t guaranteed to tell you that Nova populated the field. From Train, this should be modified to raise an exception on failure.","commit_id":"5ca1500e1ea62fba0302150202dc36e22ac5576f"}],"vif_plug_ovs/tests/unit/test_plugin.py":[{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"7a565c1ba9d966ad6fbea386603d8f0a5f4fdb0c","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"        self.dp_offloads_repr \u003d objects.vif.DatapathOffloadRepresentor("},{"line_number":61,"context_line":"            representor_name\u003d\u0027reprx\u0027,"},{"line_number":62,"context_line":"            representor_address\u003d\u00270002:42:12.3\u0027)"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"        self.profile_ovs \u003d objects.vif.VIFPortProfileOpenVSwitch("},{"line_number":65,"context_line":"            interface_id\u003d\u0027e65867e0-9340-4a7f-a256-09af6eb7a3aa\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"9fdfeff1_7808d5d8","line":62,"range":{"start_line":62,"start_character":33,"end_line":62,"end_character":45},"updated":"2019-02-04 15:05:42.000000000","message":"note to reviewers: representor_address is deliberately different from the objects.vif.VIFHostDevice.dev_address to check that representor_address is being used for the os-vif plugin code.\n\nIt\u0027s difficult to foresee a use case where those addresses are different, but since representor_address is supposed to be common to all VIF types supporting this type of offload, it\u0027s a better pattern to rely on it.","commit_id":"5ca1500e1ea62fba0302150202dc36e22ac5576f"}]}
