)]}'
{"neutron/objects/ports.py":[{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"9d943aa8d8dd25f5609e2495e170d6778762c1a7","unresolved":false,"context_lines":[{"line_number":630,"context_line":""},{"line_number":631,"context_line":"    @classmethod"},{"line_number":632,"context_line":"    def get_ports_allocated_by_subnet_id(cls, context, subnet_id):"},{"line_number":633,"context_line":"        \"\"\"Return the fixed IPs of the ports in a subnet\"\"\""},{"line_number":634,"context_line":"        return context.session.query(models_v2.Port).filter("},{"line_number":635,"context_line":"            models_v2.IPAllocation.port_id \u003d\u003d models_v2.Port.id).filter("},{"line_number":636,"context_line":"            models_v2.IPAllocation.subnet_id \u003d\u003d subnet_id).all()"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f4c43b2_a6806e8d","line":633,"updated":"2020-04-14 09:48:17.000000000","message":"name of this method suggests that it will return Ports, but this doc says only about fixed IPs. I think that this doc should be updated to match with the other :)","commit_id":"b085a3ee8d431fa401a51fbff911af1d61f486cd"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"2d30dd7f46228810b58852986ee1eae1c297823c","unresolved":false,"context_lines":[{"line_number":630,"context_line":""},{"line_number":631,"context_line":"    @classmethod"},{"line_number":632,"context_line":"    def get_ports_allocated_by_subnet_id(cls, context, subnet_id):"},{"line_number":633,"context_line":"        \"\"\"Return the fixed IPs of the ports in a subnet\"\"\""},{"line_number":634,"context_line":"        return context.session.query(models_v2.Port).filter("},{"line_number":635,"context_line":"            models_v2.IPAllocation.port_id \u003d\u003d models_v2.Port.id).filter("},{"line_number":636,"context_line":"            models_v2.IPAllocation.subnet_id \u003d\u003d subnet_id).all()"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f4c43b2_6a5104d9","line":633,"in_reply_to":"3f4c43b2_a6806e8d","updated":"2020-04-14 12:49:51.000000000","message":"Agree, the doc string is not correct.","commit_id":"b085a3ee8d431fa401a51fbff911af1d61f486cd"}],"neutron/tests/unit/objects/test_ports.py":[{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"f4567d17e8501a56d3e614eba21dbb4a8535efab","unresolved":false,"context_lines":[{"line_number":554,"context_line":"        self.update_obj_fields("},{"line_number":555,"context_line":"            {\u0027network_id\u0027: network_id,"},{"line_number":556,"context_line":"             \u0027fixed_ips\u0027: {\u0027subnet_id\u0027: subnet_id,"},{"line_number":557,"context_line":"                           \u0027network_id\u0027: network_id},"},{"line_number":558,"context_line":"             \u0027device_owner\u0027: \u0027not_a_router\u0027,"},{"line_number":559,"context_line":"             \u0027binding_levels\u0027: {\u0027segment_id\u0027: segment_id}},"},{"line_number":560,"context_line":"            db_objs\u003d[self.db_objs[0]])"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_8fc32157","line":557,"range":{"start_line":557,"start_character":28,"end_line":557,"end_character":38},"updated":"2020-04-01 08:49:10.000000000","message":"network_id in fixed_ips? where it is like that?","commit_id":"b085a3ee8d431fa401a51fbff911af1d61f486cd"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"9d943aa8d8dd25f5609e2495e170d6778762c1a7","unresolved":false,"context_lines":[{"line_number":554,"context_line":"        self.update_obj_fields("},{"line_number":555,"context_line":"            {\u0027network_id\u0027: network_id,"},{"line_number":556,"context_line":"             \u0027fixed_ips\u0027: {\u0027subnet_id\u0027: subnet_id,"},{"line_number":557,"context_line":"                           \u0027network_id\u0027: network_id},"},{"line_number":558,"context_line":"             \u0027device_owner\u0027: \u0027not_a_router\u0027,"},{"line_number":559,"context_line":"             \u0027binding_levels\u0027: {\u0027segment_id\u0027: segment_id}},"},{"line_number":560,"context_line":"            db_objs\u003d[self.db_objs[0]])"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f4c43b2_465c0a4b","line":557,"range":{"start_line":557,"start_character":28,"end_line":557,"end_character":38},"in_reply_to":"df33271e_6c7b94bd","updated":"2020-04-14 09:48:17.000000000","message":"ok","commit_id":"b085a3ee8d431fa401a51fbff911af1d61f486cd"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"0602407550ef247c447019ac4b35f9c7d0865fb0","unresolved":false,"context_lines":[{"line_number":554,"context_line":"        self.update_obj_fields("},{"line_number":555,"context_line":"            {\u0027network_id\u0027: network_id,"},{"line_number":556,"context_line":"             \u0027fixed_ips\u0027: {\u0027subnet_id\u0027: subnet_id,"},{"line_number":557,"context_line":"                           \u0027network_id\u0027: network_id},"},{"line_number":558,"context_line":"             \u0027device_owner\u0027: \u0027not_a_router\u0027,"},{"line_number":559,"context_line":"             \u0027binding_levels\u0027: {\u0027segment_id\u0027: segment_id}},"},{"line_number":560,"context_line":"            db_objs\u003d[self.db_objs[0]])"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_6c7b94bd","line":557,"range":{"start_line":557,"start_character":28,"end_line":557,"end_character":38},"in_reply_to":"df33271e_8fc32157","updated":"2020-04-08 17:12:46.000000000","message":"This is the DB model object. \"fixed_ips\" is a list of IPAllocation registers:\n\nhttps://github.com/openstack/neutron/blob/master/neutron/db/models_v2.py#L56","commit_id":"b085a3ee8d431fa401a51fbff911af1d61f486cd"}]}
