)]}'
{"designate/slappy/handler.py":[{"author":{"_account_id":741,"name":"Kiall Mac Innes","email":"kiall@macinnes.ie","username":"kiall"},"change_message_id":"a8434430d07c5bb5dd1450fd86571ead19fbd2f3","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"# Unassigned OPCODES"},{"line_number":28,"context_line":"CREATE \u003d 6"},{"line_number":29,"context_line":"DELETE \u003d 7"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"class RequestHandler(object):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_a8e53939","line":29,"updated":"2014-12-11 11:43:31.000000000","message":"Looking at this, and knowing we have a very limited # of \"spare\" opcodes, which could be assigned by the IANA at any moment in time, maybe we\u0027re better picking a single opcode for \"command and control\" (maybe #14, as they tend to allocate the final # in each range for whatever reason..). We also have the possibility of using a custom CLASS instead of a custom OPCODE, which also happens to have a reserved for private use range of 254 classes (65280-65534).\n\nMy thinking is that we\u0027ll want more than just CREATE/DELETE over time - e.g. reprovision, disable (maybe due to billing issue), batch actions, and probably more I can\u0027t think of right now.\n\nEDNS sets a kinda-precedent for this, where instead of adding the extra data to the very limited space DNS header, they add it into the Question RR Section (using the OPT Pseudo-RR type). The DNS spec defines 254 private use RR codes (65280-65534) that we can use to represent each action. This may also allow for  batch actions as the Questions/Answers RR sections are variable length, e.g. you might submit a packet like this with 4 actions to be taken:\n\n     CLASS 65280 (Command and Control)\n     Questions:\n        - RR 65280 (CREATE) example-1.com.\n        - RR 65280 (CREATE) example-2.com.\n        - RR 65281 (DELETE) example-3.com.\n        - RR 65282 (REPROVISION) example-4.com.\n\nand receive a response of:\n\n     CLASS 65280 (Command and Control)\n     Questions:\n        - RR 65282 (CREATE) example-1.com.\n        - RR 65282 (CREATE) example-2.com.\n        - RR 65283 (DELETE) example-3.com.\n        - RR 65284 (REPROVISION) example-4.com.\n     Answers:\n        - RR 65280 (SUCCESS)\n        - RR 65281 (FAILURE) \"Zone example-2.com. already exists\" \n        - RR 65280 (SUCCESS)\n        - RR 65280 (SUCCESS)","commit_id":"55ab90176d92efea5ceb3fbeb74a458d321b3ea5"},{"author":{"_account_id":8174,"name":"Tim Simmons","email":"tim.r.simmons@gmail.com","username":"TimSimmons"},"change_message_id":"fe0942878e533ae67021b0a60d322df14403cc65","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"# Unassigned OPCODES"},{"line_number":28,"context_line":"CREATE \u003d 6"},{"line_number":29,"context_line":"DELETE \u003d 7"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"class RequestHandler(object):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_c9fa8442","line":29,"in_reply_to":"3a961159_68fb51c1","updated":"2014-12-11 14:55:45.000000000","message":"Thanks for the feedback, this makes a lot more sense.","commit_id":"55ab90176d92efea5ceb3fbeb74a458d321b3ea5"},{"author":{"_account_id":741,"name":"Kiall Mac Innes","email":"kiall@macinnes.ie","username":"kiall"},"change_message_id":"0f3c4f153ee22b3a61594bf97ab86c9a9c632503","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"# Unassigned OPCODES"},{"line_number":28,"context_line":"CREATE \u003d 6"},{"line_number":29,"context_line":"DELETE \u003d 7"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"class RequestHandler(object):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_68fb51c1","line":29,"in_reply_to":"3a961159_a8e53939","updated":"2014-12-11 11:45:24.000000000","message":"DNS Assigned numbers: http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml\n\nDNS Packet Format showing the \"space\" we have: http://www.networksorcery.com/enp/protocol/dns.htm","commit_id":"55ab90176d92efea5ceb3fbeb74a458d321b3ea5"}]}
