)]}'
{"neutron/objects/common_types.py":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"b39ed649ffbf06b029e91e82eabc3b605c27e559","unresolved":false,"context_lines":[{"line_number":203,"context_line":"    @staticmethod"},{"line_number":204,"context_line":"    def from_primitive(obj, attr, value):"},{"line_number":205,"context_line":"        try:"},{"line_number":206,"context_line":"            return netaddr.EUI(value)"},{"line_number":207,"context_line":"        except Exception:"},{"line_number":208,"context_line":"            msg \u003d _(\"Field value %s is not a netaddr.EUI\") % value"},{"line_number":209,"context_line":"            raise ValueError(msg)"}],"source_content_type":"text/x-python","patch_set":5,"id":"3a461143_81c5c85c","line":206,"updated":"2017-01-25 15:22:23.000000000","message":"Should we maybe use utils.AuthenticEUI to retain the format?","commit_id":"89dd0d23b343ac85b7640358de988f005a629ba7"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"70df615a39c1ea72b34a1a22967b1a9a355b4ac5","unresolved":false,"context_lines":[{"line_number":270,"context_line":"    @staticmethod"},{"line_number":271,"context_line":"    def from_primitive(obj, attr, value):"},{"line_number":272,"context_line":"        try:"},{"line_number":273,"context_line":"            return netaddr.IPNetwork(value)"},{"line_number":274,"context_line":"        except Exception:"},{"line_number":275,"context_line":"            msg \u003d _(\"Field value %s is not a netaddr.IPNetwork\") % value"},{"line_number":276,"context_line":"            raise ValueError(msg)"}],"source_content_type":"text/x-python","patch_set":5,"id":"3a461143_9fb0a3f6","line":273,"updated":"2017-01-26 03:25:28.000000000","message":"Interesting. I didn\u0027t even know those existed. Yeah, I can switch to that.","commit_id":"89dd0d23b343ac85b7640358de988f005a629ba7"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"b39ed649ffbf06b029e91e82eabc3b605c27e559","unresolved":false,"context_lines":[{"line_number":270,"context_line":"    @staticmethod"},{"line_number":271,"context_line":"    def from_primitive(obj, attr, value):"},{"line_number":272,"context_line":"        try:"},{"line_number":273,"context_line":"            return netaddr.IPNetwork(value)"},{"line_number":274,"context_line":"        except Exception:"},{"line_number":275,"context_line":"            msg \u003d _(\"Field value %s is not a netaddr.IPNetwork\") % value"},{"line_number":276,"context_line":"            raise ValueError(msg)"}],"source_content_type":"text/x-python","patch_set":5,"id":"3a461143_a1872411","line":273,"updated":"2017-01-25 15:22:23.000000000","message":"Should we use utils.AuthenticIPNetwork?","commit_id":"89dd0d23b343ac85b7640358de988f005a629ba7"}],"neutron/objects/rbac_db.py":[{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"3213a128fe0deff547d65246b36ad5a29f2b8a41","unresolved":false,"context_lines":[{"line_number":254,"context_line":""},{"line_number":255,"context_line":"def _to_dict_hook(self, to_dict_orig):"},{"line_number":256,"context_line":"    dct \u003d to_dict_orig(self)"},{"line_number":257,"context_line":"    if self.obj_context:"},{"line_number":258,"context_line":"        dct[\u0027shared\u0027] \u003d self.is_shared_with_tenant(self.obj_context,"},{"line_number":259,"context_line":"                                                   self.id,"},{"line_number":260,"context_line":"                                                   self.obj_context.tenant_id)"}],"source_content_type":"text/x-python","patch_set":4,"id":"5a3905b3_ba1c8c14","line":257,"updated":"2017-01-25 11:10:06.000000000","message":"To provide a little more context (ha!), anything from RPC callbacks on the agent is constructed using obj_base.NeutronObject.clean_obj_from_primitive, which does not take a context so all of the OVO objects on the agent side have a context of None. This is a normal use case.","commit_id":"d712da1a224ae328041a4f7f23fa296f861ce301"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"bca511473f59d036ee5eeccb28093106e6dfc40f","unresolved":false,"context_lines":[{"line_number":254,"context_line":""},{"line_number":255,"context_line":"def _to_dict_hook(self, to_dict_orig):"},{"line_number":256,"context_line":"    dct \u003d to_dict_orig(self)"},{"line_number":257,"context_line":"    if self.obj_context:"},{"line_number":258,"context_line":"        dct[\u0027shared\u0027] \u003d self.is_shared_with_tenant(self.obj_context,"},{"line_number":259,"context_line":"                                                   self.id,"},{"line_number":260,"context_line":"                                                   self.obj_context.tenant_id)"}],"source_content_type":"text/x-python","patch_set":4,"id":"5a3905b3_00fc543d","line":257,"updated":"2017-01-25 10:23:11.000000000","message":"When will this happen?, is it a normal condition/case?.\n\nIf it\u0027s not normal may be it\u0027s better to fail, or at least to log it.","commit_id":"d712da1a224ae328041a4f7f23fa296f861ce301"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"5ff9944812c50c55a0a7a9363ccb2b58f14e2ca6","unresolved":false,"context_lines":[{"line_number":254,"context_line":""},{"line_number":255,"context_line":"def _to_dict_hook(self, to_dict_orig):"},{"line_number":256,"context_line":"    dct \u003d to_dict_orig(self)"},{"line_number":257,"context_line":"    if self.obj_context:"},{"line_number":258,"context_line":"        dct[\u0027shared\u0027] \u003d self.is_shared_with_tenant(self.obj_context,"},{"line_number":259,"context_line":"                                                   self.id,"},{"line_number":260,"context_line":"                                                   self.obj_context.tenant_id)"}],"source_content_type":"text/x-python","patch_set":4,"id":"5a3905b3_1a73e0b5","line":257,"updated":"2017-01-25 11:02:08.000000000","message":"calling to_dict() on any networks on the agent resulted in exceptions without this.","commit_id":"d712da1a224ae328041a4f7f23fa296f861ce301"}]}
