)]}'
{"designate/agent/__init__.py":[{"author":{"_account_id":8174,"name":"Tim Simmons","email":"tim.r.simmons@gmail.com","username":"TimSimmons"},"change_message_id":"6f0709c47e52ec0fa5da4b4d81980e416b2b66a4","unresolved":false,"context_lines":[{"line_number":28,"context_line":"               help\u003d\u0027mDNS Port Number\u0027),"},{"line_number":29,"context_line":"    cfg.IntOpt(\u0027tcp-backlog\u0027, default\u003d100,"},{"line_number":30,"context_line":"               help\u003d\u0027The Agent TCP Backlog\u0027),"},{"line_number":31,"context_line":"    cfg.ListOpt(\u0027allow-notify\u0027, default\u003d[],"},{"line_number":32,"context_line":"                help\u003d\u0027List of IP addresses allowed to NOTIFY The Agent\u0027)"},{"line_number":33,"context_line":"]"},{"line_number":34,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"3a961159_7df28ae4","line":31,"updated":"2015-01-20 21:49:15.000000000","message":"allow-dns-control","commit_id":"edf0ec6a777b2a134f903b6ccf0736fe7b68bc08"}],"designate/agent/middleware.py":[{"author":{"_account_id":8094,"name":"Vinod Mangalpally","email":"mrvinod@outlook.com","username":"vinodmr"},"change_message_id":"f0da8c2fc01f1def3fc9156627fd117260e5bd4a","unresolved":false,"context_lines":[{"line_number":15,"context_line":"# under the License."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"class Middleware(object):"},{"line_number":19,"context_line":"    def __init__(self, application):"},{"line_number":20,"context_line":"        self.application \u003d application"},{"line_number":21,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"3a961159_dc6252ac","line":18,"updated":"2015-01-14 22:57:48.000000000","message":"Wondering if we could move this to some common location from where mdns and agent could use it - instead of having to duplicate the code at both places.","commit_id":"60573659b0f581f9d25e8019efc8b61d052069eb"}],"designate/agent/service.py":[{"author":{"_account_id":8094,"name":"Vinod Mangalpally","email":"mrvinod@outlook.com","username":"vinodmr"},"change_message_id":"f0da8c2fc01f1def3fc9156627fd117260e5bd4a","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"class Service(service.TCPService):"},{"line_number":36,"context_line":"    def __init__(self, *args, **kwargs):"},{"line_number":37,"context_line":"        super(Service, self).__init__(*args, **kwargs)"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"        # Create an instance of the RequestHandler class"},{"line_number":40,"context_line":"        self.application \u003d handler.RequestHandler()"}],"source_content_type":"text/x-python","patch_set":7,"id":"3a961159_97225cff","line":37,"updated":"2015-01-14 22:57:48.000000000","message":"All of the changed code here is common to mdns too - so we need to ensure that we have a single copy of the code. In fact _handle_tcp in mdns now handles multipacket requests but not the agent\u0027s _handle_tcp.","commit_id":"60573659b0f581f9d25e8019efc8b61d052069eb"},{"author":{"_account_id":741,"name":"Kiall Mac Innes","email":"kiall@macinnes.ie","username":"kiall"},"change_message_id":"7dd79e1fce3f1f09c45863f0a025d107b769fd38","unresolved":false,"context_lines":[{"line_number":106,"context_line":"        LOG.info(_LI(\"_handle_tcp thread started\"))"},{"line_number":107,"context_line":"        while True:"},{"line_number":108,"context_line":"            client, addr \u003d self._sock_tcp.accept()"},{"line_number":109,"context_line":"            LOG.warn(_LW(\"Handling TCP Request from: %(host)s:%(port)d\") %"},{"line_number":110,"context_line":"                     {\u0027host\u0027: addr[0], \u0027port\u0027: addr[1]})"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"            payload \u003d client.recv(65535)"}],"source_content_type":"text/x-python","patch_set":8,"id":"3a961159_9dee56b4","line":109,"updated":"2015-01-20 19:19:57.000000000","message":"Switch to LOG.debug","commit_id":"edf0ec6a777b2a134f903b6ccf0736fe7b68bc08"},{"author":{"_account_id":741,"name":"Kiall Mac Innes","email":"kiall@macinnes.ie","username":"kiall"},"change_message_id":"7dd79e1fce3f1f09c45863f0a025d107b769fd38","unresolved":false,"context_lines":[{"line_number":131,"context_line":"            # TODO(kiall): Determine the appropriate default value for"},{"line_number":132,"context_line":"            #              UDP recvfrom."},{"line_number":133,"context_line":"            payload, addr \u003d self._sock_udp.recvfrom(8192)"},{"line_number":134,"context_line":"            LOG.warn(_LW(\"Handling UDP Request from: %(host)s:%(port)d\") %"},{"line_number":135,"context_line":"                     {\u0027host\u0027: addr[0], \u0027port\u0027: addr[1]})"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"            self.tg.add_thread(self._handle, addr, payload)"}],"source_content_type":"text/x-python","patch_set":8,"id":"3a961159_bdeb12a3","line":134,"updated":"2015-01-20 19:19:57.000000000","message":"Switch to LOG.debug","commit_id":"edf0ec6a777b2a134f903b6ccf0736fe7b68bc08"}],"designate/tests/test_agent/test_handler.py":[{"author":{"_account_id":8094,"name":"Vinod Mangalpally","email":"mrvinod@outlook.com","username":"vinodmr"},"change_message_id":"f0da8c2fc01f1def3fc9156627fd117260e5bd4a","unresolved":false,"context_lines":[{"line_number":28,"context_line":"        self.config(allow_notify\u003d[\"0.0.0.0\"],"},{"line_number":29,"context_line":"                    group\u003d\u0027service:agent\u0027)"},{"line_number":30,"context_line":"        self.handler \u003d handler.RequestHandler()"},{"line_number":31,"context_line":"        self.addr \u003d [\"0.0.0.0\", 5558]"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    @mock.patch.object(dns.resolver.Resolver, \u0027query\u0027)"},{"line_number":34,"context_line":"    def test_receive_notify(self, func):"}],"source_content_type":"text/x-python","patch_set":7,"id":"3a961159_02e2acd4","line":31,"updated":"2015-01-14 22:57:48.000000000","message":"Is self.addr needed?","commit_id":"60573659b0f581f9d25e8019efc8b61d052069eb"}]}
