)]}'
{"quantum/db/db_base_plugin_v2.py":[{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"0541c56a5973f90fd491c213f9e6bdebd9d8b435","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"AGENT_OWNER_PREFIX \u003d \u0027network:\u0027"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"# Ports with the following \u0027device_owner\u0027 values will not prevent"},{"line_number":40,"context_line":"# network deletion.  Instead, these ports will be deleted automatically"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAALH%2F%2FdcU%3D","line":37,"updated":"2012-09-09 11:34:54.000000000","message":"Can this constant be deleted after this change?","commit_id":"1f7b54c78b7720f005a950badc746d3f1c9d955e"},{"author":{"_account_id":447,"name":"dan wendlandt","email":"dan@nicira.com","username":"danwent"},"unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"AGENT_OWNER_PREFIX \u003d \u0027network:\u0027"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"# Ports with the following \u0027device_owner\u0027 values will not prevent"},{"line_number":40,"context_line":"# network deletion.  Instead, these ports will be deleted automatically"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAALH%2F%2FdY8%3D","line":37,"in_reply_to":"AAAALH%2F%2FdcU%3D","updated":"2012-09-09 14:49:26.000000000","message":"I had originally thought so as well, but its actually referred to by some files in the cisco plugin, so I left it.","commit_id":"1f7b54c78b7720f005a950badc746d3f1c9d955e"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"0541c56a5973f90fd491c213f9e6bdebd9d8b435","unresolved":false,"context_lines":[{"line_number":37,"context_line":"AGENT_OWNER_PREFIX \u003d \u0027network:\u0027"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"# Ports with the following \u0027device_owner\u0027 values will not prevent"},{"line_number":40,"context_line":"# network deletion.  Instead, these ports will be deleted automatically"},{"line_number":41,"context_line":"AUTO_DELETE_PORT_OWNERS \u003d [\u0027network:dhcp\u0027, \u0027network:router_interface\u0027]"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"class QuantumDbPluginV2(quantum_plugin_base_v2.QuantumPluginBaseV2):"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAALH%2F%2FdcQ%3D","line":40,"updated":"2012-09-09 11:34:54.000000000","message":"I am confused by latter part of this comment.\nIn delete_network, these ports will be deleted after the check.\nin delete_subnet, I don\u0027t know if these ports will be deleted by cascading.","commit_id":"1f7b54c78b7720f005a950badc746d3f1c9d955e"},{"author":{"_account_id":447,"name":"dan wendlandt","email":"dan@nicira.com","username":"danwent"},"unresolved":false,"context_lines":[{"line_number":37,"context_line":"AGENT_OWNER_PREFIX \u003d \u0027network:\u0027"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"# Ports with the following \u0027device_owner\u0027 values will not prevent"},{"line_number":40,"context_line":"# network deletion.  Instead, these ports will be deleted automatically"},{"line_number":41,"context_line":"AUTO_DELETE_PORT_OWNERS \u003d [\u0027network:dhcp\u0027, \u0027network:router_interface\u0027]"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"class QuantumDbPluginV2(quantum_plugin_base_v2.QuantumPluginBaseV2):"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAALH%2F%2FdY0%3D","line":40,"in_reply_to":"AAAALH%2F%2FdcQ%3D","updated":"2012-09-09 14:49:26.000000000","message":"I will try to clarify.  The ports are deleted explicitly in delete_network().  In delete_subnet(), the check is to make sure that any remaining IPAllocations for the subnet as associated with one of these \"auto_delete\" ports, in which case subnet deletion can continue and the IPAllocation objects are deleted via cascade (the ports themselves are untouched).","commit_id":"1f7b54c78b7720f005a950badc746d3f1c9d955e"}]}
