)]}'
{"networking_bagpipe/bagpipe_bgp/common/dataplane_utils.py":[{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"5f1151942bbbf2134dc1ea5674e5306f1ab82916","unresolved":false,"context_lines":[{"line_number":221,"context_line":"        return self.objects"},{"line_number":222,"context_line":""},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"class ObjectLifecycleManagerProxy(object):"},{"line_number":225,"context_line":""},{"line_number":226,"context_line":"    def __init__(self, manager, parent_user):"},{"line_number":227,"context_line":"        self.manager \u003d manager"}],"source_content_type":"text/x-python","patch_set":13,"id":"5f7c97a3_6eded86d","line":224,"range":{"start_line":224,"start_character":6,"end_line":224,"end_character":33},"updated":"2018-05-31 19:33:15.000000000","message":"I saw this in the logs:\n\nMay 31 16:25:29.056570 ... bagpipe-bgp[17453]: DEBUG networking_bagpipe.bagpipe_bgp.common.dataplane_utils [-] existing object for 10.100.1.10/32: 12\n\n...and realized that we have a objec_key collision issue.\n\nWe missed something significant when designing this proxy: in the case where the object is an IP prefix in a VRF, the actual object key ultimately used to determine if an object already exists (e.g. line 175) should include the parent_key !\n\nI would bet that the already existing buckt issue we see in the logs results from having two VRFs \"collide\" on a prefix being used as an object key, and two VRFs ending up using a same group_id.\n\nNote that the proxy, as currently designed, does the right thing for the EVPN dataplane, because the object stored in the lifecycle manager are shared between VPN instances.\n\nSo we need two kinds of object lifecycle managers: one for which objects are shared, one for which objects are per_parent. This can be achieved by:\n- using self._object_key(object_key) instead of object_key in the code below\n- defining self._object_key(object_key): return (self.parent_key, object_key) \n- adding a new SharedObjectLifecycleManagerProxy inheriting from ObjectLifecycleManagerProxy with  self._object_key(object_key): return object_key   -- and the IPVPN MPLS code will use this new class","commit_id":"23fd88209218c2976f76b0c00dce01bccb8c4f64"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"1748f1a6a1b3a9fdddefbb156fe5138845ea2b9c","unresolved":false,"context_lines":[{"line_number":148,"context_line":"        self.delete_flows(**flow_args)"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"def join_s(*args):"},{"line_number":152,"context_line":"    return \u0027,\u0027.join([_f for _f in args if _f])"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"class ObjectLifecycleManager(object):"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f7c97a3_ce66fe51","line":152,"range":{"start_line":151,"start_character":0,"end_line":152,"end_character":46},"updated":"2018-06-01 13:06:52.000000000","message":"method used only once \u003d\u003e remove the method ?","commit_id":"b3758fb3e21fc125c5f8f78261c8fd6cc409927a"}],"networking_bagpipe/bagpipe_bgp/vpn/identifier_allocators.py":[{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"2a5685319578d0b8e45eb07c0e7fea315358a1ba","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"        return exa.RouteDistinguisher.fromElements(self.prefix, new_id)"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"    def release(self, rd):"},{"line_number":93,"context_line":"        super(RDAllocator, self).release(int(str(rd).split(\u0027:\u0027)[1]))"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"9f6a8fd7_27e338a6","line":92,"range":{"start_line":92,"start_character":4,"end_line":92,"end_character":26},"updated":"2018-04-24 15:52:05.000000000","message":"Unrelated to this change: if we redefine a method from motherclass, I think we lose the \"synchronized\" decorator, don\u0027t we...?","commit_id":"77a32667c403d6c06e9508bd06f58476b9c48b26"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"2a5685319578d0b8e45eb07c0e7fea315358a1ba","unresolved":false,"context_lines":[{"line_number":102,"context_line":"        return self.get_new_id(description)"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"class GroupAllocator(IDAllocator):"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"    MAX \u003d 2**32-1"},{"line_number":108,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"9f6a8fd7_47498cb4","line":105,"range":{"start_line":105,"start_character":6,"end_line":105,"end_character":20},"updated":"2018-04-24 15:52:05.000000000","message":"\"OVSGroupAllocator\" ?","commit_id":"77a32667c403d6c06e9508bd06f58476b9c48b26"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"2a5685319578d0b8e45eb07c0e7fea315358a1ba","unresolved":false,"context_lines":[{"line_number":106,"context_line":""},{"line_number":107,"context_line":"    MAX \u003d 2**32-1"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    def get_new_group(self, description):"},{"line_number":110,"context_line":"        return self.get_new_id(description)"}],"source_content_type":"text/x-python","patch_set":3,"id":"9f6a8fd7_27aa5818","line":110,"range":{"start_line":109,"start_character":0,"end_line":110,"end_character":43},"updated":"2018-04-24 15:52:05.000000000","message":"not needed IHMO","commit_id":"77a32667c403d6c06e9508bd06f58476b9c48b26"}],"networking_bagpipe/bagpipe_bgp/vpn/ipvpn/mpls_ovs_dataplane.py":[{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"b02e186e2c2737ab82a3b1f550b20277548b1a50","unresolved":false,"context_lines":[{"line_number":80,"context_line":"                         \u0027pop:NXM_OF_ARP_SPA[],\u0027"},{"line_number":81,"context_line":"                         \u0027%(vlan_action)soutput:%(in_port)d\u0027)"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"VRF_REGISTER \u003d \u00270\u0027"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"def join_s(*args):"}],"source_content_type":"text/x-python","patch_set":2,"id":"bf659307_1cffce01","line":83,"range":{"start_line":83,"start_character":14,"end_line":83,"end_character":18},"updated":"2018-04-10 08:19:22.000000000","message":"Why a string here ?","commit_id":"cd5d677417bc2432eabeed1c5e70156916cc239a"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"d9c278bdef788963bea8b731f1693db49a12f77a","unresolved":false,"context_lines":[{"line_number":522,"context_line":"            output_action \u003d self._match_output_action(endpoint[\u0027remote_pe\u0027],"},{"line_number":523,"context_line":"                                                      endpoint[\u0027encaps\u0027])"},{"line_number":524,"context_line":""},{"line_number":525,"context_line":"            buckets.append(\"bucket\u003d%s\", join_s(dec_ttl_action,"},{"line_number":526,"context_line":"                                               label_action,"},{"line_number":527,"context_line":"                                               output_action))"},{"line_number":528,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"bf659307_4fc6bf6a","line":525,"updated":"2018-04-11 15:11:38.000000000","message":"I\u0027ve just checked the way OVS does hashing and it seems that the bucket_id is used in hashing in some cases, so it would be useful to pass the lb_consistent_hash_sort_order in the bucket_id\n\n(in the future, we\u0027ll want to adda way to control bucket_weight here as well, and link that with sfc port-pair weight)","commit_id":"cd5d677417bc2432eabeed1c5e70156916cc239a"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"d9c278bdef788963bea8b731f1693db49a12f77a","unresolved":false,"context_lines":[{"line_number":528,"context_line":""},{"line_number":529,"context_line":"        self.bridge.mod_group(group_id\u003dself.instance_id,"},{"line_number":530,"context_line":"                              type\u003d\u0027select\u0027,"},{"line_number":531,"context_line":"                              selection_method\u003d\u0027dp_hash\u0027,"},{"line_number":532,"context_line":"                              buckets\u003d\u0027,\u0027.join(buckets))"},{"line_number":533,"context_line":""},{"line_number":534,"context_line":"        self.bridge.add_flow(table\u003dself.driver.vrf_table,"}],"source_content_type":"text/x-python","patch_set":2,"id":"bf659307_8f74d769","line":531,"range":{"start_line":531,"start_character":47,"end_line":531,"end_character":56},"updated":"2018-04-11 15:11:38.000000000","message":"we need to make this configurable with the config file, because the various different options can be relevant in different contexts\n\nand to make this complete, we\u0027ll want to also control selection_method_params","commit_id":"cd5d677417bc2432eabeed1c5e70156916cc239a"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"b02e186e2c2737ab82a3b1f550b20277548b1a50","unresolved":false,"context_lines":[{"line_number":851,"context_line":"            raise exc.OVSBridgeNotFound(self.bridge_name)"},{"line_number":852,"context_line":""},{"line_number":853,"context_line":"        # Fixup OpenFlow versions"},{"line_number":854,"context_line":"        self.bridge.add_protocols(ovs_const.OPENFLOW10, ovs_const.OPENFLOW12,"},{"line_number":855,"context_line":"                                  ovs_const.OPENFLOW13, ovs_const.OPENFLOW14)"},{"line_number":856,"context_line":""},{"line_number":857,"context_line":"        if not self.use_gre:"},{"line_number":858,"context_line":"            self.log.info(\"Will not force the use of GRE/MPLS, trying to bind \""}],"source_content_type":"text/x-python","patch_set":2,"id":"bf659307_79029c0d","line":855,"range":{"start_line":854,"start_character":33,"end_line":855,"end_character":77},"updated":"2018-04-10 08:19:22.000000000","message":"bridge.use_at_least_protocol(ovs_const.OPENFLOW14)\n\n(will make OF14 be usedin add-flow and delete-flows commands, and also enables just the version we need)","commit_id":"cd5d677417bc2432eabeed1c5e70156916cc239a"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"a5cb201e1a6038683ebc7dcfa279628fb55b33d7","unresolved":false,"context_lines":[{"line_number":916,"context_line":"            self.bridge.delete_flows(table\u003dself.vrf_table)"},{"line_number":917,"context_line":"            self.bridge.delete_flows(table\u003dself.post_hash_vrf_table)"},{"line_number":918,"context_line":""},{"line_number":919,"context_line":"            if self.log.debug:"},{"line_number":920,"context_line":"                self.log.debug(\"All our rules have been flushed\")"},{"line_number":921,"context_line":"                self.bridge.dump_all_flows()"},{"line_number":922,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f6a8fd7_525fb140","line":919,"range":{"start_line":919,"start_character":15,"end_line":919,"end_character":29},"updated":"2018-04-17 08:35:01.000000000","message":"nit: replace with \"if self.log.isEnabledFor(logging.DEBUG)\"\n(this had always been the wrong test, although without being a critical issue...)\n\n(requires \"from oslo_log import log as logging\" )","commit_id":"cd5d677417bc2432eabeed1c5e70156916cc239a"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"3796aa6e493b73251e35faec53d8c7a4c4423b6a","unresolved":false,"context_lines":[{"line_number":80,"context_line":"                         \u0027pop:NXM_OF_ARP_SPA[],\u0027"},{"line_number":81,"context_line":"                         \u0027%(vlan_action)soutput:%(in_port)d\u0027)"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"VRF_REGISTER \u003d \u00270\u0027"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"def _match_from_prefix(prefix):"}],"source_content_type":"text/x-python","patch_set":3,"id":"9f6a8fd7_3d790a93","line":83,"range":{"start_line":83,"start_character":14,"end_line":83,"end_character":18},"updated":"2018-04-24 14:31:42.000000000","message":"why string ?","commit_id":"77a32667c403d6c06e9508bd06f58476b9c48b26"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"3796aa6e493b73251e35faec53d8c7a4c4423b6a","unresolved":false,"context_lines":[{"line_number":262,"context_line":"        # does not matches any VRF route"},{"line_number":263,"context_line":"        self.bridge.add_flow_extended("},{"line_number":264,"context_line":"            flow_matches\u003d[self._vrf_match()],"},{"line_number":265,"context_line":"            actions\u003d[self.get_push_vlan_action(),"},{"line_number":266,"context_line":"                     \u0027output:%d\u0027 % self.fallback.get(\u0027ovs_port_number\u0027)],"},{"line_number":267,"context_line":"            table\u003dself.driver.vrf_table,"},{"line_number":268,"context_line":"            cookie\u003dself._cookie(add\u003dTrue),"},{"line_number":269,"context_line":"            priority\u003dFALLBACK_PRIORITY,"}],"source_content_type":"text/x-python","patch_set":3,"id":"9f6a8fd7_dd956e88","line":266,"range":{"start_line":265,"start_character":12,"end_line":266,"end_character":72},"updated":"2018-04-24 14:31:42.000000000","message":"put actions at the end of the call, for readability ?","commit_id":"77a32667c403d6c06e9508bd06f58476b9c48b26"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"3796aa6e493b73251e35faec53d8c7a4c4423b6a","unresolved":false,"context_lines":[{"line_number":264,"context_line":"            flow_matches\u003d[self._vrf_match()],"},{"line_number":265,"context_line":"            actions\u003d[self.get_push_vlan_action(),"},{"line_number":266,"context_line":"                     \u0027output:%d\u0027 % self.fallback.get(\u0027ovs_port_number\u0027)],"},{"line_number":267,"context_line":"            table\u003dself.driver.vrf_table,"},{"line_number":268,"context_line":"            cookie\u003dself._cookie(add\u003dTrue),"},{"line_number":269,"context_line":"            priority\u003dFALLBACK_PRIORITY,"},{"line_number":270,"context_line":"            mod_dl_src\u003dself.fallback.get(\u0027src_mac\u0027),"},{"line_number":271,"context_line":"            mod_dl_dst\u003dself.fallback.get(\u0027dst_mac\u0027))"},{"line_number":272,"context_line":""},{"line_number":273,"context_line":"    @log_decorator.log_info"},{"line_number":274,"context_line":"    def setup_arp_responder(self, ovs_port):"}],"source_content_type":"text/x-python","patch_set":3,"id":"9f6a8fd7_3decaa28","line":271,"range":{"start_line":267,"start_character":11,"end_line":271,"end_character":50},"updated":"2018-04-24 14:31:42.000000000","message":"why not add these to flow_matches ?\n\n(same in all other places)","commit_id":"77a32667c403d6c06e9508bd06f58476b9c48b26"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"c0226056ba5df0b288cd98e133d9f99154cdb83a","unresolved":false,"context_lines":[{"line_number":508,"context_line":"    def setup_dataplane_for_remote_endpoint(self, prefix, remote_pe, label,"},{"line_number":509,"context_line":"                                            nlri, encaps,"},{"line_number":510,"context_line":"                                            lb_consistent_hash_order\u003d0):"},{"line_number":511,"context_line":"        # FIXME: use a priority depending on the prefix len"},{"line_number":512,"context_line":"        #        to compensate the fact that \"OpenFlow  leaves  behavior"},{"line_number":513,"context_line":"        #        undefined when two or more flows with the same priority"},{"line_number":514,"context_line":"        #        can match a single packet.  Some users expect ``sensible\u0027\u0027"},{"line_number":515,"context_line":"        #        behavior, such as more specific flows taking precedence"},{"line_number":516,"context_line":"        #        over less specific flows, but OpenFlow does not specify"},{"line_number":517,"context_line":"        #        this and Open vSwitch does not implement it.  Users should"},{"line_number":518,"context_line":"        #        therefore  take  care  to  use  priorities  to ensure the"},{"line_number":519,"context_line":"        #        behavior that they expect."},{"line_number":520,"context_line":"        nexthop \u003d NextHop(label, remote_pe, encaps, lb_consistent_hash_order)"},{"line_number":521,"context_line":""},{"line_number":522,"context_line":"        if self.nh_group_mgr.is_object_user(prefix, nexthop):"}],"source_content_type":"text/x-python","patch_set":3,"id":"9f6a8fd7_54acc6eb","line":519,"range":{"start_line":511,"start_character":8,"end_line":519,"end_character":43},"updated":"2018-04-25 08:34:29.000000000","message":"need to move this comment to where the _priority_from_prefix method is defined","commit_id":"77a32667c403d6c06e9508bd06f58476b9c48b26"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"c0226056ba5df0b288cd98e133d9f99154cdb83a","unresolved":false,"context_lines":[{"line_number":524,"context_line":"                           prefix, nexthop)"},{"line_number":525,"context_line":"            return"},{"line_number":526,"context_line":""},{"line_number":527,"context_line":"        if not self.nh_group_mgr.get_object(prefix):"},{"line_number":528,"context_line":"            group \u003d self.nh_group_mgr.get_object(prefix, nexthop)"},{"line_number":529,"context_line":""},{"line_number":530,"context_line":"            self.bridge.add_flow(table\u003dself.driver.vrf_table,"},{"line_number":531,"context_line":"                                 cookie\u003dself._cookie(add\u003dTrue),"},{"line_number":532,"context_line":"                                 priority\u003d_priority_from_prefix(prefix),"},{"line_number":533,"context_line":"                                 nw_dst\u003d_match_from_prefix(prefix),"},{"line_number":534,"context_line":"                                 actions\u003d\"group:%d\" % group)"},{"line_number":535,"context_line":""},{"line_number":536,"context_line":"        dec_ttl \u003d (netaddr.IPNetwork(prefix) not in netaddr.IPNetwork("},{"line_number":537,"context_line":"                   \"%s/%s\" % (self.gateway_ip, self.network_plen)))"}],"source_content_type":"text/x-python","patch_set":3,"id":"9f6a8fd7_f4b63a3e","line":534,"range":{"start_line":527,"start_character":0,"end_line":534,"end_character":60},"updated":"2018-04-25 08:34:29.000000000","message":"move to proxy manager","commit_id":"77a32667c403d6c06e9508bd06f58476b9c48b26"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"3796aa6e493b73251e35faec53d8c7a4c4423b6a","unresolved":false,"context_lines":[{"line_number":586,"context_line":"    @log_decorator.log_info"},{"line_number":587,"context_line":"    def add_dataplane_for_traffic_classifier(self, classifier,"},{"line_number":588,"context_line":"                                             redirect_to_instance_id):"},{"line_number":589,"context_line":"        matches \u003d self._vrf_match()"},{"line_number":590,"context_line":"        matches.update(self._create_flow_match_from_tc(classifier))"},{"line_number":591,"context_line":""},{"line_number":592,"context_line":"        # Add traffic redirection to redirection VRF"},{"line_number":593,"context_line":"        self.bridge.add_flow_extended("}],"source_content_type":"text/x-python","patch_set":3,"id":"9f6a8fd7_813eb4b5","line":590,"range":{"start_line":589,"start_character":1,"end_line":590,"end_character":67},"updated":"2018-04-24 14:31:42.000000000","message":"not needed anymore, I guess ?","commit_id":"77a32667c403d6c06e9508bd06f58476b9c48b26"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"2a5685319578d0b8e45eb07c0e7fea315358a1ba","unresolved":false,"context_lines":[{"line_number":603,"context_line":""},{"line_number":604,"context_line":"    @log_decorator.log_info"},{"line_number":605,"context_line":"    def remove_dataplane_for_traffic_classifier(self, classifier):"},{"line_number":606,"context_line":"        matches \u003d self._vrf_match()"},{"line_number":607,"context_line":"        matches.update(self._create_flow_match_from_tc(classifier))"},{"line_number":608,"context_line":""},{"line_number":609,"context_line":"        # Remove traffic redirection"},{"line_number":610,"context_line":"        self.bridge.delete_flows("}],"source_content_type":"text/x-python","patch_set":3,"id":"9f6a8fd7_442f4a87","line":607,"range":{"start_line":606,"start_character":1,"end_line":607,"end_character":67},"updated":"2018-04-24 15:52:05.000000000","message":"needed ?","commit_id":"77a32667c403d6c06e9508bd06f58476b9c48b26"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"2a5685319578d0b8e45eb07c0e7fea315358a1ba","unresolved":false,"context_lines":[{"line_number":632,"context_line":"        self.encaps \u003d encaps"},{"line_number":633,"context_line":"        self.lb_consistent_hash_order \u003d lb_consistent_hash_order"},{"line_number":634,"context_line":""},{"line_number":635,"context_line":"    def __eq__(self, other):"},{"line_number":636,"context_line":"        return self.__dict__ \u003d\u003d other.__dict__"},{"line_number":637,"context_line":""},{"line_number":638,"context_line":"    def __hash__(self):"},{"line_number":639,"context_line":"        return hash((self.label,"},{"line_number":640,"context_line":"                     self.remote_pe,"},{"line_number":641,"context_line":"                     self.encaps,"},{"line_number":642,"context_line":"                     self.lb_consistent_hash_order))"},{"line_number":643,"context_line":""},{"line_number":644,"context_line":""},{"line_number":645,"context_line":"class NextHopGroupManager(dataplane_utils.ObjectLifecycleManager):"}],"source_content_type":"text/x-python","patch_set":3,"id":"9f6a8fd7_07c4f4f3","line":642,"range":{"start_line":635,"start_character":0,"end_line":642,"end_character":52},"updated":"2018-04-24 15:52:05.000000000","message":"Having lb_consistent_hash_order as part of the test introduces an interesting problem: if the lbho changes, this will be considered a new next hop, and the previous one will be kept (will not be removed)\n\n(not trivially solved, we need to discuss...)","commit_id":"77a32667c403d6c06e9508bd06f58476b9c48b26"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"2a5685319578d0b8e45eb07c0e7fea315358a1ba","unresolved":false,"context_lines":[{"line_number":655,"context_line":""},{"line_number":656,"context_line":"    @log_decorator.log_info"},{"line_number":657,"context_line":"    def create_object(self, prefix):"},{"line_number":658,"context_line":"        group \u003d self.group_allocator.get_new_group(\"Group ID for prefix %s\" %"},{"line_number":659,"context_line":"                                                   prefix)"},{"line_number":660,"context_line":""},{"line_number":661,"context_line":"        self.bridge.add_group(group_id\u003dgroup,"}],"source_content_type":"text/x-python","patch_set":3,"id":"9f6a8fd7_67b4d080","line":658,"range":{"start_line":658,"start_character":8,"end_line":658,"end_character":13},"updated":"2018-04-24 15:52:05.000000000","message":"\u0027group_id\u0027","commit_id":"77a32667c403d6c06e9508bd06f58476b9c48b26"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"2a5685319578d0b8e45eb07c0e7fea315358a1ba","unresolved":false,"context_lines":[{"line_number":667,"context_line":""},{"line_number":668,"context_line":"    @log_decorator.log_info"},{"line_number":669,"context_line":"    def delete_object(self, group):"},{"line_number":670,"context_line":"        self.group_allocator.release(group)"},{"line_number":671,"context_line":""},{"line_number":672,"context_line":"    def new_nexthop(self, prefix, nexthop, actions\u003d[]):"},{"line_number":673,"context_line":"        self.bridge.insert_bucket("}],"source_content_type":"text/x-python","patch_set":3,"id":"9f6a8fd7_0ad87978","line":670,"updated":"2018-04-24 15:52:05.000000000","message":"We need to call self.bridge.delete_group at some point, don\u0027t we ?","commit_id":"77a32667c403d6c06e9508bd06f58476b9c48b26"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"2a5685319578d0b8e45eb07c0e7fea315358a1ba","unresolved":false,"context_lines":[{"line_number":673,"context_line":"        self.bridge.insert_bucket("},{"line_number":674,"context_line":"            group_id\u003dself.get_object(prefix, nexthop),"},{"line_number":675,"context_line":"            bucket_id\u003dnexthop.lb_consistent_hash_order,"},{"line_number":676,"context_line":"            command_bucket_id\u003d\"last\","},{"line_number":677,"context_line":"            actions\u003ddataplane_utils.join_s(*actions))"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"    def del_nexthop(self, prefix, nexthop):"}],"source_content_type":"text/x-python","patch_set":3,"id":"9f6a8fd7_8acd6986","line":676,"range":{"start_line":676,"start_character":12,"end_line":676,"end_character":37},"updated":"2018-04-24 15:52:05.000000000","message":"for some bucket selection mecanism, it is possible that we will need to use the lbcho to order the buckets and use that for bucket insertion... to be investgated...","commit_id":"77a32667c403d6c06e9508bd06f58476b9c48b26"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"2a5685319578d0b8e45eb07c0e7fea315358a1ba","unresolved":false,"context_lines":[{"line_number":679,"context_line":"    def del_nexthop(self, prefix, nexthop):"},{"line_number":680,"context_line":"        self.bridge.remove_bucket("},{"line_number":681,"context_line":"            group_id\u003dself.get_object(prefix),"},{"line_number":682,"context_line":"            command_bucket_id\u003dnexthop.lb_consistent_hash_order)"},{"line_number":683,"context_line":""},{"line_number":684,"context_line":""},{"line_number":685,"context_line":"class NextHopGroupManagerProxy(dataplane_utils.ObjectLifecycleManagerProxy):"}],"source_content_type":"text/x-python","patch_set":3,"id":"9f6a8fd7_2ac8dd71","line":682,"updated":"2018-04-24 15:52:05.000000000","message":"Some cleanup step seems to be missing here: if this is the last nexthop for this prefix, then we need to cleanup the group corresponding to the prefix.\n\nI think that calling self.free_object(prefix, nexhtop) would ensure this.","commit_id":"77a32667c403d6c06e9508bd06f58476b9c48b26"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"2a5685319578d0b8e45eb07c0e7fea315358a1ba","unresolved":false,"context_lines":[{"line_number":685,"context_line":"class NextHopGroupManagerProxy(dataplane_utils.ObjectLifecycleManagerProxy):"},{"line_number":686,"context_line":""},{"line_number":687,"context_line":"    def new_nexthop(self, prefix, nexthop, actions\u003d[]):"},{"line_number":688,"context_line":"        self.manager.new_nexthop(prefix, nexthop, actions)"},{"line_number":689,"context_line":""},{"line_number":690,"context_line":"    def del_nexthop(self, prefix, nexthop):"},{"line_number":691,"context_line":"        self.manager.del_nexthop(prefix, nexthop)"}],"source_content_type":"text/x-python","patch_set":3,"id":"9f6a8fd7_0a2e3991","line":688,"range":{"start_line":688,"start_character":0,"end_line":688,"end_character":58},"updated":"2018-04-24 15:52:05.000000000","message":"If you call self.manager directly, you lose the proxy work done by ObjectLifecycleManagerProxy get_object/free.object.\n\nI think that it would be ok to:\n- not have new_nexthop/del_nexthop in NextHopGroupManager\n- have  new_nexthop/del_nexthop in NextHopGroupManager in NextHopGroupManagerProxy call self.get_obiect/self.free_object\n- have the self.get_obiect/self.free_object in NextHopGroupManager do the work done at line L673-L682, but calling super.get_object to get a bucket_id (same for \u0027free\u0027)","commit_id":"77a32667c403d6c06e9508bd06f58476b9c48b26"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"3796aa6e493b73251e35faec53d8c7a4c4423b6a","unresolved":false,"context_lines":[{"line_number":772,"context_line":"                   choices\u003d[\"hash\", \"dp-hash\"],"},{"line_number":773,"context_line":"                   default\u003d\"dp-hash\","},{"line_number":774,"context_line":"                   advanced\u003dTrue,"},{"line_number":775,"context_line":"                   help\u003d(\"\")),"},{"line_number":776,"context_line":"        cfg.ListOpt(\"hash_fields\", default\u003d[], advanced\u003dTrue,"},{"line_number":777,"context_line":"                    help\u003d(\"\"))"},{"line_number":778,"context_line":"    ]"}],"source_content_type":"text/x-python","patch_set":3,"id":"9f6a8fd7_bdfbdabe","line":775,"updated":"2018-04-24 14:31:42.000000000","message":"can be used to control the OVS group bucket selection method (mapped to ovs \u0027selection_method\u0027)","commit_id":"77a32667c403d6c06e9508bd06f58476b9c48b26"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"3796aa6e493b73251e35faec53d8c7a4c4423b6a","unresolved":false,"context_lines":[{"line_number":774,"context_line":"                   advanced\u003dTrue,"},{"line_number":775,"context_line":"                   help\u003d(\"\")),"},{"line_number":776,"context_line":"        cfg.ListOpt(\"hash_fields\", default\u003d[], advanced\u003dTrue,"},{"line_number":777,"context_line":"                    help\u003d(\"\"))"},{"line_number":778,"context_line":"    ]"},{"line_number":779,"context_line":""},{"line_number":780,"context_line":"    def __init__(self):"}],"source_content_type":"text/x-python","patch_set":3,"id":"9f6a8fd7_3dd6ea29","line":777,"updated":"2018-04-24 14:31:42.000000000","message":"\"can be used to control the fields used by the OVS group bucket selection method (mapped to ovs \u0027fields\u0027)\"\n\nComment: don\u0027t we also need something that will be mapped to \u0027selection_method_param\u0027 ?","commit_id":"77a32667c403d6c06e9508bd06f58476b9c48b26"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"3796aa6e493b73251e35faec53d8c7a4c4423b6a","unresolved":false,"context_lines":[{"line_number":935,"context_line":"            self.bridge.delete_flows(table\u003dself.vrf_table)"},{"line_number":936,"context_line":"            self.bridge.delete_flows(table\u003dself.post_hash_vrf_table)"},{"line_number":937,"context_line":""},{"line_number":938,"context_line":"            if self.log.debug:"},{"line_number":939,"context_line":"                self.log.debug(\"All our rules have been flushed\")"},{"line_number":940,"context_line":"                self.bridge.dump_all_flows()"},{"line_number":941,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":3,"id":"9f6a8fd7_012e2491","line":938,"range":{"start_line":938,"start_character":0,"end_line":938,"end_character":30},"updated":"2018-04-24 14:31:42.000000000","message":"nit: replace with \"if self.log.isEnabledFor(logging.DEBUG)\"\n(this had always been the wrong test, although without being a critical issue...)\n\n(requires \"from oslo_log import log as logging\" )","commit_id":"77a32667c403d6c06e9508bd06f58476b9c48b26"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"0c132ef803a9ffb7e9c446e6eae8e5cb9e2e93e4","unresolved":false,"context_lines":[{"line_number":297,"context_line":"                          self._vrf_match(),"},{"line_number":298,"context_line":"                          # Respond to all IP addresses if proxy ARP is"},{"line_number":299,"context_line":"                          # enabled, otherwise only for gateway"},{"line_number":300,"context_line":"                          ({\u0027arp_tpa\u0027: self.gateway_ip}"},{"line_number":301,"context_line":"                           if not self.driver.config.proxy_arp else {})],"},{"line_number":302,"context_line":"            actions\u003d[ARP_RESPONDER_ACTIONS % {"},{"line_number":303,"context_line":"                \u0027mac\u0027: netaddr.EUI(GATEWAY_MAC, dialect\u003dnetaddr.mac_unix),"}],"source_content_type":"text/x-python","patch_set":4,"id":"9f6a8fd7_75bd2db5","line":300,"range":{"start_line":300,"start_character":26,"end_line":300,"end_character":27},"updated":"2018-04-26 08:12:09.000000000","message":"parenthesis are not required here, I think","commit_id":"39819ac92e1cb48ec4a97bdf23442fc445dada0a"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"0c132ef803a9ffb7e9c446e6eae8e5cb9e2e93e4","unresolved":false,"context_lines":[{"line_number":529,"context_line":"                           prefix, nexthop)"},{"line_number":530,"context_line":"            return"},{"line_number":531,"context_line":""},{"line_number":532,"context_line":"        if not self.nh_group_mgr.get_object(prefix):"},{"line_number":533,"context_line":"            group \u003d self.nh_group_mgr.get_object(prefix, nexthop)"},{"line_number":534,"context_line":""},{"line_number":535,"context_line":"            self.bridge.add_flow(table\u003dself.driver.vrf_table,"},{"line_number":536,"context_line":"                                 cookie\u003dself._cookie(add\u003dTrue),"},{"line_number":537,"context_line":"                                 priority\u003d_priority_from_prefix(prefix),"},{"line_number":538,"context_line":"                                 nw_dst\u003d_match_from_prefix(prefix),"},{"line_number":539,"context_line":"                                 actions\u003d\"group:%d\" % group)"},{"line_number":540,"context_line":""},{"line_number":541,"context_line":"        dec_ttl \u003d (netaddr.IPNetwork(prefix) not in netaddr.IPNetwork("},{"line_number":542,"context_line":"                   \"%s/%s\" % (self.gateway_ip, self.network_plen)))"}],"source_content_type":"text/x-python","patch_set":4,"id":"9f6a8fd7_55082990","line":539,"range":{"start_line":532,"start_character":3,"end_line":539,"end_character":60},"updated":"2018-04-26 08:12:09.000000000","message":"not needed anymore","commit_id":"39819ac92e1cb48ec4a97bdf23442fc445dada0a"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"0c132ef803a9ffb7e9c446e6eae8e5cb9e2e93e4","unresolved":false,"context_lines":[{"line_number":792,"context_line":"                    help\u003d(\"Can be used to control the fields used by the OVS \""},{"line_number":793,"context_line":"                          \"group bucket selection method (mapped to ovs \""},{"line_number":794,"context_line":"                          \"\u0027fields\u0027)\"))"},{"line_number":795,"context_line":"    ]"},{"line_number":796,"context_line":""},{"line_number":797,"context_line":"    def __init__(self):"},{"line_number":798,"context_line":"        super(MPLSOVSDataplaneDriver, self).__init__()"}],"source_content_type":"text/x-python","patch_set":4,"id":"9f6a8fd7_557b49f3","line":795,"updated":"2018-04-26 08:12:09.000000000","message":"we still need a way to control selection_method_param, I think","commit_id":"39819ac92e1cb48ec4a97bdf23442fc445dada0a"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"9b815e6031cb468339dc403bcbf3b2d636c5fc5b","unresolved":false,"context_lines":[{"line_number":277,"context_line":"            flow_matches\u003d[dict(table\u003dself.driver.vrf_table,"},{"line_number":278,"context_line":"                               cookie\u003dself._cookie(add\u003dTrue),"},{"line_number":279,"context_line":"                               priority\u003dFALLBACK_PRIORITY,"},{"line_number":280,"context_line":"                               mod_dl_src\u003dself.fallback.get(\u0027src_mac\u0027),"},{"line_number":281,"context_line":"                               mod_dl_dst\u003dself.fallback.get(\u0027dst_mac\u0027)),"},{"line_number":282,"context_line":"                          self._vrf_match()],"},{"line_number":283,"context_line":"            actions\u003d[self.get_push_vlan_action(),"}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_9311d856","line":280,"range":{"start_line":280,"start_character":31,"end_line":280,"end_character":41},"updated":"2018-05-18 07:51:10.000000000","message":"I\u0027ve looked at the failing tempest test log: it seems that mod_dl_src (and I assume, mod_dl_dst as well), are not usable with OF15. We need to use, I guess, load:xxx-\u003efield , I haven\u0027t check what is the field name we should use.","commit_id":"65ce63d84d2fcc7ace6569e28c7e40ca6cab53d0"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"68e013b5ff005bcd687c0d3ebc1b9233ee776f91","unresolved":false,"context_lines":[{"line_number":277,"context_line":"            flow_matches\u003d[dict(table\u003dself.driver.vrf_table,"},{"line_number":278,"context_line":"                               cookie\u003dself._cookie(add\u003dTrue),"},{"line_number":279,"context_line":"                               priority\u003dFALLBACK_PRIORITY,"},{"line_number":280,"context_line":"                               mod_dl_src\u003dself.fallback.get(\u0027src_mac\u0027),"},{"line_number":281,"context_line":"                               mod_dl_dst\u003dself.fallback.get(\u0027dst_mac\u0027)),"},{"line_number":282,"context_line":"                          self._vrf_match()],"},{"line_number":283,"context_line":"            actions\u003d[self.get_push_vlan_action(),"}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_b31df410","line":280,"range":{"start_line":280,"start_character":31,"end_line":280,"end_character":41},"in_reply_to":"5f7c97a3_9311d856","updated":"2018-05-18 08:26:39.000000000","message":"I\u0027m realizing that in fact the error is elsewhere: mod_dl_src is an action, but used here as a match!\n\nIt should be moved to line 283/284.\n\n(the syntax to avoid mod_dl_src would be \nset_field:aa:bb:cc:dd:ee:ff-\u003eeth_src , but I\u0027m not sure we need that; my assumption that this wasn\u0027t available anymore with OF1.5 was a too quick interpretation of the error)","commit_id":"65ce63d84d2fcc7ace6569e28c7e40ca6cab53d0"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"68e013b5ff005bcd687c0d3ebc1b9233ee776f91","unresolved":false,"context_lines":[{"line_number":278,"context_line":"                               cookie\u003dself._cookie(add\u003dTrue),"},{"line_number":279,"context_line":"                               priority\u003dFALLBACK_PRIORITY,"},{"line_number":280,"context_line":"                               mod_dl_src\u003dself.fallback.get(\u0027src_mac\u0027),"},{"line_number":281,"context_line":"                               mod_dl_dst\u003dself.fallback.get(\u0027dst_mac\u0027)),"},{"line_number":282,"context_line":"                          self._vrf_match()],"},{"line_number":283,"context_line":"            actions\u003d[self.get_push_vlan_action(),"},{"line_number":284,"context_line":"                     \u0027output:%d\u0027 % self.fallback.get(\u0027ovs_port_number\u0027)])"}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_f3e04cfd","line":281,"range":{"start_line":281,"start_character":31,"end_line":281,"end_character":41},"updated":"2018-05-18 08:26:39.000000000","message":"Same here, of course.","commit_id":"65ce63d84d2fcc7ace6569e28c7e40ca6cab53d0"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"9b815e6031cb468339dc403bcbf3b2d636c5fc5b","unresolved":false,"context_lines":[{"line_number":650,"context_line":"        group_id \u003d self.group_allocator.get_new_id(\"Group ID for prefix %s\" %"},{"line_number":651,"context_line":"                                                   prefix)"},{"line_number":652,"context_line":""},{"line_number":653,"context_line":"        self.bridge.add_group(group_id\u003dgroup_id,"},{"line_number":654,"context_line":"                              type\u003d\u0027select\u0027,"},{"line_number":655,"context_line":"                              selection_method\u003dself.hash_method,"},{"line_number":656,"context_line":"                              selection_method_param\u003dself.hash_method_param,"},{"line_number":657,"context_line":"                              fields\u003dself.hash_fields)"},{"line_number":658,"context_line":""},{"line_number":659,"context_line":"        return group_id"},{"line_number":660,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_536260da","line":657,"range":{"start_line":653,"start_character":0,"end_line":657,"end_character":54},"updated":"2018-05-18 07:51:10.000000000","message":"Looking at the failing tempest logs: this fails, because you can\u0027t create an OVS group without any bucket in it.  \n\nWe need to adapt the code so that:\n* the info for the first bucket is passed to create_object. I think that a quite generic way to allow that in ObjectLifeCycleManager would be to have get_object accept *args and *kwargs, and pass these to create_object\n* the code at lines 687-691 should only be done if has_group is True (if has_group was False, the bucket will have been inserted as the first bucket) \u003d\u003e just add \u0027else:\u0027 at line 686","commit_id":"65ce63d84d2fcc7ace6569e28c7e40ca6cab53d0"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"679e279ef11b7f34a5bfa60402370bd33e4b4dd5","unresolved":false,"context_lines":[{"line_number":618,"context_line":"    def __init__(self, label, remote_pe, encaps, lb_consistent_hash_order):"},{"line_number":619,"context_line":"        self.label \u003d label"},{"line_number":620,"context_line":"        self.remote_pe \u003d remote_pe"},{"line_number":621,"context_line":"        self.encaps \u003d encaps"},{"line_number":622,"context_line":"        self.lb_consistent_hash_order \u003d lb_consistent_hash_order"},{"line_number":623,"context_line":""},{"line_number":624,"context_line":"    def __eq__(self, other):"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_146ee495","line":621,"range":{"start_line":621,"start_character":22,"end_line":621,"end_character":28},"updated":"2018-05-21 23:05:06.000000000","message":"see http://logs.openstack.org/47/559747/6/check/legacy-tempest-dsvm-networking-bgpvpn-bagpipe/9ef7585/logs/screen-neutron-bagpipe-bgp.txt.gz#_May_18_16_25_31_996085\n\nTo have the hash work, we would need to do self.encaps \u003d list(sorted(encaps))\n[or frozenset(encaps) if sorting does not work, but I think it should work]","commit_id":"800e2c377f49d9f96da6902adcd422d3fe8a4e62"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"679e279ef11b7f34a5bfa60402370bd33e4b4dd5","unresolved":false,"context_lines":[{"line_number":656,"context_line":"                              type\u003d\u0027select\u0027,"},{"line_number":657,"context_line":"                              selection_method\u003dself.hash_method,"},{"line_number":658,"context_line":"                              selection_method_param\u003dself.hash_method_param,"},{"line_number":659,"context_line":"                              fields\u003dself.hash_fields,"},{"line_number":660,"context_line":"                              **buckets)"},{"line_number":661,"context_line":""},{"line_number":662,"context_line":"        return group_id"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_b40130b2","line":659,"range":{"start_line":659,"start_character":30,"end_line":659,"end_character":54},"updated":"2018-05-21 23:05:06.000000000","message":"see http://logs.openstack.org/47/559747/6/check/legacy-tempest-dsvm-networking-bgpvpn-bagpipe/9ef7585/logs/screen-neutron-bagpipe-bgp.txt.gz#_May_18_16_25_31_998310\n\nI think that if self.hash_fields is None, we need to *not* add fields\u003d to the group definition","commit_id":"800e2c377f49d9f96da6902adcd422d3fe8a4e62"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"0eeffed6ae563c5146ce6409e18a5af80f17c456","unresolved":false,"context_lines":[{"line_number":698,"context_line":"        else:"},{"line_number":699,"context_line":"            self.manager.bridge.insert_bucket("},{"line_number":700,"context_line":"                group_id\u003dgroup_id,"},{"line_number":701,"context_line":"                bucket_id\u003dnexthop.lb_consistent_hash_order,"},{"line_number":702,"context_line":"                command_bucket_id\u003d\"last\","},{"line_number":703,"context_line":"                actions\u003ddataplane_utils.join_s(*actions))"},{"line_number":704,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"5f7c97a3_d27dc06e","line":701,"range":{"start_line":701,"start_character":16,"end_line":701,"end_character":25},"updated":"2018-05-23 20:38:40.000000000","message":"logs indicate that this fails\nwe need \u0027command_bucket_id\u0027 here, I think after reading man ovs-ofctl again","commit_id":"da36cc4ba126028303656ee3159b9bcc9feceffa"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"5f8790d7d0294aeb13c29d1053b1c5ecffd94eb8","unresolved":false,"context_lines":[{"line_number":806,"context_line":"                   advanced\u003dTrue,"},{"line_number":807,"context_line":"                   help\u003d(\"Can be used to control the OVS group bucket \""},{"line_number":808,"context_line":"                         \"selection method (mapped to ovs \""},{"line_number":809,"context_line":"                         \"\u0027selection_method\u0027)\")),"},{"line_number":810,"context_line":"        cfg.ListOpt(\"hash_fields\", default\u003d[], advanced\u003dTrue,"},{"line_number":811,"context_line":"                    help\u003d(\"Can be used to control the fields used by the OVS \""},{"line_number":812,"context_line":"                          \"group bucket selection method (mapped to ovs \""}],"source_content_type":"text/x-python","patch_set":9,"id":"5f7c97a3_74bffdfa","line":809,"range":{"start_line":809,"start_character":27,"end_line":809,"end_character":43},"updated":"2018-05-23 16:19:26.000000000","message":"selection_method_param","commit_id":"da36cc4ba126028303656ee3159b9bcc9feceffa"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"0d92d66abf3f33977aef2b09d43af0684252de09","unresolved":false,"context_lines":[{"line_number":681,"context_line":"    def new_nexthop(self, prefix, nexthop, actions\u003d[]):"},{"line_number":682,"context_line":"        group_id \u003d self.get_object(prefix)"},{"line_number":683,"context_line":""},{"line_number":684,"context_line":"        buckets \u003d ("},{"line_number":685,"context_line":"            \u0027bucket\u003dbucket_id\u003d%d,%s\u0027 % (nexthop.lb_consistent_hash_order,"},{"line_number":686,"context_line":"                                        dataplane_utils.join_s(*actions)))"},{"line_number":687,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"5f7c97a3_b1d039cb","line":684,"range":{"start_line":684,"start_character":8,"end_line":684,"end_character":15},"updated":"2018-05-24 14:21:00.000000000","message":"\u0027bucket\u0027 singular would be better here","commit_id":"b44163cda2188c6d85d04533af6f63047a2462fa"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"9d91f0a78edc2841118e888c1f5d348277520fe0","unresolved":false,"context_lines":[{"line_number":682,"context_line":"        group_id \u003d self.get_object(prefix)"},{"line_number":683,"context_line":""},{"line_number":684,"context_line":"        buckets \u003d ("},{"line_number":685,"context_line":"            \u0027bucket\u003dbucket_id\u003d%d,%s\u0027 % (nexthop.lb_consistent_hash_order,"},{"line_number":686,"context_line":"                                        dataplane_utils.join_s(*actions)))"},{"line_number":687,"context_line":""},{"line_number":688,"context_line":"        if group_id is None:"}],"source_content_type":"text/x-python","patch_set":11,"id":"5f7c97a3_825a894d","line":685,"range":{"start_line":685,"start_character":20,"end_line":685,"end_character":32},"updated":"2018-05-24 18:41:08.000000000","message":"looking at the failing test logs, I get that we should only add bucket_id only if an lb_consistent_hash is present","commit_id":"b44163cda2188c6d85d04533af6f63047a2462fa"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"c92b4f32e693b5ba371502c882b45861c84d2dd7","unresolved":false,"context_lines":[{"line_number":1111,"context_line":"            output.update({"},{"line_number":1112,"context_line":"                \"%s (%d)\" % (table_name, table_id): self._run_command("},{"line_number":1113,"context_line":"                    \"ovs-ofctl dump-flows --names %s \u0027%s\u0027 %s\" % ("},{"line_number":1114,"context_line":"                        self.bridge,"},{"line_number":1115,"context_line":"                        dataplane_utils.join_s(\"table\u003d%d\" % table_id,"},{"line_number":1116,"context_line":"                                               cookie_spec),"},{"line_number":1117,"context_line":"                        OVS_DUMP_FLOW_FILTER),"}],"source_content_type":"text/x-python","patch_set":17,"id":"5f7c97a3_25529e36","line":1114,"range":{"start_line":1114,"start_character":24,"end_line":1114,"end_character":35},"updated":"2018-06-08 14:14:35.000000000","message":"missing \u0027.br_name\u0027","commit_id":"2b410f8d46ea74bb5254af7d2bb2d384e4ff9636"}]}
