)]}'
{"doc/source/specs/neutron-port-dhcp.rst":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"87da8e07252d4a3d30d77af9a20908798aa69bd5","unresolved":false,"context_lines":[{"line_number":48,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":49,"context_line":"The spec will introduce the creation of a neutron port  at the time of subnet creation."},{"line_number":50,"context_line":"The driver will carry forward these port details to OpenDaylight Neutron inorder to"},{"line_number":51,"context_line":"service DHCP renew requests for scenarios described above in Problem 1\u00262 . Such allocated "},{"line_number":52,"context_line":"neutron ports are to be deleted when the subnet is deleted from OpenStack."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Detailed Design"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dfeb2761_6b65da1d","line":51,"range":{"start_line":51,"start_character":89,"end_line":51,"end_character":90},"updated":"2017-04-05 00:23:39.000000000","message":"nit: trailing white space.\nsame below.","commit_id":"2d50f7223c505b28932f054b4967cdfd8d46f078"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"87da8e07252d4a3d30d77af9a20908798aa69bd5","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Proposed Change"},{"line_number":48,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":49,"context_line":"The spec will introduce the creation of a neutron port  at the time of subnet creation."},{"line_number":50,"context_line":"The driver will carry forward these port details to OpenDaylight Neutron inorder to"},{"line_number":51,"context_line":"service DHCP renew requests for scenarios described above in Problem 1\u00262 . Such allocated "},{"line_number":52,"context_line":"neutron ports are to be deleted when the subnet is deleted from OpenStack."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Detailed Design"},{"line_number":55,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dfeb2761_0b3e4ed9","line":52,"range":{"start_line":49,"start_character":0,"end_line":52,"end_character":74},"updated":"2017-04-05 00:23:39.000000000","message":"Per my understanding, this is short/middle term solution.\nWhat do you think about right solution?\n\nIMHO right long term solution would be to allow ODl to call openstack rpc to neutron. https://review.openstack.org/#/c/449402/\n\nCan we reach consensus on long term direction first?\nAs long as we\u0027re heading for same long term direction, the interim solution isn\u0027t very important because eventually it\u0027ll be replaced with right solution.","commit_id":"2d50f7223c505b28932f054b4967cdfd8d46f078"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"87da8e07252d4a3d30d77af9a20908798aa69bd5","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Detailed Design"},{"line_number":55,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":56,"context_line":"Introduce a driver config parameter (odl-dhcp-enabled) to determine if ODL "},{"line_number":57,"context_line":"based DHCP service is being used. Default setting for the parameter is false."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"The plugin should initiate a neutron port creation on the post-commit of a "},{"line_number":60,"context_line":"subnet create/update with DHCP enabled option. The port will be used to "}],"source_content_type":"text/x-rst","patch_set":1,"id":"dfeb2761_ab052216","line":57,"range":{"start_line":56,"start_character":0,"end_line":57,"end_character":77},"updated":"2017-04-05 00:23:39.000000000","message":"We should introduce a clean mechanis to load module into plugin. We don\u0027t want if this_feature_enabled clause.","commit_id":"2d50f7223c505b28932f054b4967cdfd8d46f078"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"87da8e07252d4a3d30d77af9a20908798aa69bd5","unresolved":false,"context_lines":[{"line_number":56,"context_line":"Introduce a driver config parameter (odl-dhcp-enabled) to determine if ODL "},{"line_number":57,"context_line":"based DHCP service is being used. Default setting for the parameter is false."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"The plugin should initiate a neutron port creation on the post-commit of a "},{"line_number":60,"context_line":"subnet create/update with DHCP enabled option. The port will be used to "},{"line_number":61,"context_line":"service DHCP requests for virtual end points belonging to that subnet."},{"line_number":62,"context_line":"The parameters used to distinguishsuch ports would be "},{"line_number":63,"context_line":"* device-owner(Netvirt:DHCP)"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dfeb2761_de14a646","line":60,"range":{"start_line":59,"start_character":0,"end_line":60,"end_character":47},"updated":"2017-04-05 00:23:39.000000000","message":"post-commit hook is vulnerable to neutron server crash.\nWhat about introducing hook which is called when journal entry is processed before marking the entry completed.\nSo that it\u0027s guaranteed to be processed regardless of server crash.","commit_id":"2d50f7223c505b28932f054b4967cdfd8d46f078"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"e9abcbdc31e5d80cc020e73f79b587f3b8177b32","unresolved":false,"context_lines":[{"line_number":56,"context_line":"Introduce a driver config parameter (odl-dhcp-enabled) to determine if ODL "},{"line_number":57,"context_line":"based DHCP service is being used. Default setting for the parameter is false."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"The plugin should initiate a neutron port creation on the post-commit of a "},{"line_number":60,"context_line":"subnet create/update with DHCP enabled option. The port will be used to "},{"line_number":61,"context_line":"service DHCP requests for virtual end points belonging to that subnet."},{"line_number":62,"context_line":"The parameters used to distinguishsuch ports would be "},{"line_number":63,"context_line":"* device-owner(Netvirt:DHCP)"}],"source_content_type":"text/x-rst","patch_set":1,"id":"5ff73747_89452fb6","line":60,"range":{"start_line":59,"start_character":0,"end_line":60,"end_character":47},"in_reply_to":"dfeb2761_de14a646","updated":"2017-04-25 06:02:30.000000000","message":"Hi Isaku,\n\nI think you are proposing to add a callback from the journal thread between the state movement of PENDING to COMPLETED for every resource.\n\nJust for subnet resource, the callback we install will then perform the DHCP Port Creation for ODL.\n\nIs that right understanding?\n\nAlso can you please let us know why on a neutron crash, the postcommit won\u0027t be invoked?\n\nVivek","commit_id":"2d50f7223c505b28932f054b4967cdfd8d46f078"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"87da8e07252d4a3d30d77af9a20908798aa69bd5","unresolved":false,"context_lines":[{"line_number":60,"context_line":"subnet create/update with DHCP enabled option. The port will be used to "},{"line_number":61,"context_line":"service DHCP requests for virtual end points belonging to that subnet."},{"line_number":62,"context_line":"The parameters used to distinguishsuch ports would be "},{"line_number":63,"context_line":"* device-owner(Netvirt:DHCP)"},{"line_number":64,"context_line":"* device-id(ODL controller IPAddress). "},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Any failures during the neutron port creation or allocation for the subnet should trigger"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dfeb2761_7e30fae8","line":63,"range":{"start_line":63,"start_character":0,"end_line":63,"end_character":28},"updated":"2017-04-05 00:23:39.000000000","message":"I don\u0027t think that neutron behaves as you expected.\nCan you please take a look at neutron-dhcp agent case?\nEspecially create_dchp_port create and dhcp port auto deletion.","commit_id":"2d50f7223c505b28932f054b4967cdfd8d46f078"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"87da8e07252d4a3d30d77af9a20908798aa69bd5","unresolved":false,"context_lines":[{"line_number":61,"context_line":"service DHCP requests for virtual end points belonging to that subnet."},{"line_number":62,"context_line":"The parameters used to distinguishsuch ports would be "},{"line_number":63,"context_line":"* device-owner(Netvirt:DHCP)"},{"line_number":64,"context_line":"* device-id(ODL controller IPAddress). "},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Any failures during the neutron port creation or allocation for the subnet should trigger"},{"line_number":67,"context_line":"failure of the subnet create operation with an appropriate failure message in logs. On success "}],"source_content_type":"text/x-rst","patch_set":1,"id":"dfeb2761_be68c2b8","line":64,"range":{"start_line":64,"start_character":2,"end_line":64,"end_character":37},"updated":"2017-04-05 00:23:39.000000000","message":"Where do you obtain this?\nWhat if loadbalancer like haproxy is used between networking-odl and ODL?","commit_id":"2d50f7223c505b28932f054b4967cdfd8d46f078"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"87da8e07252d4a3d30d77af9a20908798aa69bd5","unresolved":false,"context_lines":[{"line_number":63,"context_line":"* device-owner(Netvirt:DHCP)"},{"line_number":64,"context_line":"* device-id(ODL controller IPAddress). "},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Any failures during the neutron port creation or allocation for the subnet should trigger"},{"line_number":67,"context_line":"failure of the subnet create operation with an appropriate failure message in logs. On success "},{"line_number":68,"context_line":"the subnet and port information needs to be persisted to db, subsequently communicated to  "},{"line_number":69,"context_line":"ODL and synced with the controller."},{"line_number":70,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"dfeb2761_fea76a0a","line":67,"range":{"start_line":66,"start_character":0,"end_line":67,"end_character":84},"updated":"2017-04-05 00:23:39.000000000","message":"Since this port creation is done within different db transaction, probably it would be difficult to cleanly recover from error.","commit_id":"2d50f7223c505b28932f054b4967cdfd8d46f078"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"87da8e07252d4a3d30d77af9a20908798aa69bd5","unresolved":false,"context_lines":[{"line_number":68,"context_line":"the subnet and port information needs to be persisted to db, subsequently communicated to  "},{"line_number":69,"context_line":"ODL and synced with the controller."},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"The plugin should initiate the removal of allocated dhcp neutron port at the "},{"line_number":72,"context_line":"time of subnet delete. The port removal will be handled as a post-commit"},{"line_number":73,"context_line":"operation and any failure during this process should rollback the subnet delete "},{"line_number":74,"context_line":"operation."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"A subnet update operation configuring the DHCP state as enabled should allocate"},{"line_number":77,"context_line":"such a port if not previously allocated for the subnet. Similarly an update "}],"source_content_type":"text/x-rst","patch_set":1,"id":"dfeb2761_9eb61e3e","line":74,"range":{"start_line":71,"start_character":0,"end_line":74,"end_character":10},"updated":"2017-04-05 00:23:39.000000000","message":"Please check neutron network deletion code path and dhcp port.","commit_id":"2d50f7223c505b28932f054b4967cdfd8d46f078"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"044a7fe8d791da74b341349ba84e6a8a79e6aa9e","unresolved":false,"context_lines":[{"line_number":5,"context_line":"This spec describes the proposal to allocate a neutron port for Subnets"},{"line_number":6,"context_line":"created with DHCP enabled option. The port information will be propagated"},{"line_number":7,"context_line":"to ODL and would be used to serve DHCP renew requests for its DHCP proxy"},{"line_number":8,"context_line":"service."},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"Problem Statement"},{"line_number":11,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df140735_1f0ceb39","line":8,"updated":"2017-06-06 18:22:21.000000000","message":"proposal to allocate a Neutron DHCP Port just for use by ODL Controller on Subnets that are created with enable-dhcp to True . Also the spec proposes to allocate a Neutron DHCP Port just for use by ODL Controller for Subnets that are updated to have enable-dhcp to True.\n\nWhen in ODL controller, the \"controller-dhcp-enabled\" configuration flag is set to True, these Neutron DHCP Ports will be used by the ODL Controller to provide DHCP Service instead of using the subnet-gateway-ip as the DHCP Server IP.","commit_id":"802e597ed3b1a6193b7a8002a220e19b54f285d8"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"044a7fe8d791da74b341349ba84e6a8a79e6aa9e","unresolved":false,"context_lines":[{"line_number":10,"context_line":"Problem Statement"},{"line_number":11,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"The DHCP service currently assumes availability of the subnet gateway IP address"},{"line_number":14,"context_line":"and its mac address for its DHCP proxy service, which may or may not be available"},{"line_number":15,"context_line":"to the controller. This can lead to service unavailability."},{"line_number":16,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"df140735_7f888721","line":13,"updated":"2017-06-06 18:22:21.000000000","message":"DHCP service within ODL Controller currently ..","commit_id":"802e597ed3b1a6193b7a8002a220e19b54f285d8"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"044a7fe8d791da74b341349ba84e6a8a79e6aa9e","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Proposed Change"},{"line_number":48,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":49,"context_line":"The spec will introduce the creation of a neutron port  at the time of subnet creation."},{"line_number":50,"context_line":"The driver will carry forward these port details to OpenDaylight Neutron inorder to"},{"line_number":51,"context_line":"service DHCP renew requests for scenarios described above in Problem 1\u00262 . Such allocated "},{"line_number":52,"context_line":"neutron ports are to be deleted when the subnet is deleted from OpenStack."}],"source_content_type":"text/x-rst","patch_set":2,"id":"df140735_ffced759","line":49,"updated":"2017-06-06 18:22:21.000000000","message":"This spec proposes to introduce a dhcp-proxy-service within the networking-odl driver and this service will be responsible for managing the create/update/delete lifecycle for a new set of Neutron DHCP Ports which will be provisioned specifically for use by the ODL Controller\u0027s existing DHCP Service Module.","commit_id":"802e597ed3b1a6193b7a8002a220e19b54f285d8"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"044a7fe8d791da74b341349ba84e6a8a79e6aa9e","unresolved":false,"context_lines":[{"line_number":49,"context_line":"The spec will introduce the creation of a neutron port  at the time of subnet creation."},{"line_number":50,"context_line":"The driver will carry forward these port details to OpenDaylight Neutron inorder to"},{"line_number":51,"context_line":"service DHCP renew requests for scenarios described above in Problem 1\u00262 . Such allocated "},{"line_number":52,"context_line":"neutron ports are to be deleted when the subnet is deleted from OpenStack."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Detailed Design"},{"line_number":55,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df140735_3ffe8f6b","line":52,"updated":"2017-06-06 18:22:21.000000000","message":"all the above 3 lines are superfluous..","commit_id":"802e597ed3b1a6193b7a8002a220e19b54f285d8"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"044a7fe8d791da74b341349ba84e6a8a79e6aa9e","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Detailed Design"},{"line_number":55,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":56,"context_line":"Introduce a driver config parameter (odl-dhcp-enabled) to determine if ODL "},{"line_number":57,"context_line":"based DHCP service is being used. Default setting for the parameter is false."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"The plugin should initiate a neutron port creation on the post-commit of a "}],"source_content_type":"text/x-rst","patch_set":2,"id":"df140735_9f723b49","line":56,"updated":"2017-06-06 18:22:21.000000000","message":"fix all trailing white-spaces.\n\nthis flag can be called \u0027enable_dhcp_proxy\"","commit_id":"802e597ed3b1a6193b7a8002a220e19b54f285d8"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"044a7fe8d791da74b341349ba84e6a8a79e6aa9e","unresolved":false,"context_lines":[{"line_number":60,"context_line":"subnet create/update with DHCP enabled option. The port will be used to "},{"line_number":61,"context_line":"service DHCP requests for virtual end points belonging to that subnet."},{"line_number":62,"context_line":"The parameters used to distinguishsuch ports would be "},{"line_number":63,"context_line":"* device-owner(Netvirt:DHCP)"},{"line_number":64,"context_line":"* device-id(ODL controller IPAddress). "},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Any failures during the neutron port creation or allocation for the subnet should trigger"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df140735_9fa6bb53","line":63,"updated":"2017-06-06 18:22:21.000000000","message":"isn\u0027t this value network:dhcp?","commit_id":"802e597ed3b1a6193b7a8002a220e19b54f285d8"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"044a7fe8d791da74b341349ba84e6a8a79e6aa9e","unresolved":false,"context_lines":[{"line_number":61,"context_line":"service DHCP requests for virtual end points belonging to that subnet."},{"line_number":62,"context_line":"The parameters used to distinguishsuch ports would be "},{"line_number":63,"context_line":"* device-owner(Netvirt:DHCP)"},{"line_number":64,"context_line":"* device-id(ODL controller IPAddress). "},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Any failures during the neutron port creation or allocation for the subnet should trigger"},{"line_number":67,"context_line":"failure of the subnet create operation with an appropriate failure message in logs. On success "}],"source_content_type":"text/x-rst","patch_set":2,"id":"df140735_1f706bdc","line":64,"updated":"2017-06-06 18:22:21.000000000","message":"\"ODL\" + ODL-Controller-hostname","commit_id":"802e597ed3b1a6193b7a8002a220e19b54f285d8"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"044a7fe8d791da74b341349ba84e6a8a79e6aa9e","unresolved":false,"context_lines":[{"line_number":64,"context_line":"* device-id(ODL controller IPAddress). "},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Any failures during the neutron port creation or allocation for the subnet should trigger"},{"line_number":67,"context_line":"failure of the subnet create operation with an appropriate failure message in logs. On success "},{"line_number":68,"context_line":"the subnet and port information needs to be persisted to db, subsequently communicated to  "},{"line_number":69,"context_line":"ODL and synced with the controller."},{"line_number":70,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"df140735_425848f9","line":67,"updated":"2017-06-06 18:22:21.000000000","message":"with the journal callback approach, this would not be possible since the creation of port failure would be asynchronous to subnet_postcommit invocation.","commit_id":"802e597ed3b1a6193b7a8002a220e19b54f285d8"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"044a7fe8d791da74b341349ba84e6a8a79e6aa9e","unresolved":false,"context_lines":[{"line_number":70,"context_line":""},{"line_number":71,"context_line":"The plugin should initiate the removal of allocated dhcp neutron port at the "},{"line_number":72,"context_line":"time of subnet delete. The port removal will be handled as a post-commit"},{"line_number":73,"context_line":"operation and any failure during this process should rollback the subnet delete "},{"line_number":74,"context_line":"operation."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"A subnet update operation configuring the DHCP state as enabled should allocate"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df140735_a2684487","line":73,"updated":"2017-06-06 18:22:21.000000000","message":"the same concern as in Line 67 applies here based on the design approach.","commit_id":"802e597ed3b1a6193b7a8002a220e19b54f285d8"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"044a7fe8d791da74b341349ba84e6a8a79e6aa9e","unresolved":false,"context_lines":[{"line_number":80,"context_line":""},{"line_number":81,"context_line":"The Neutron data model sync with ODL controller should happen as per existing"},{"line_number":82,"context_line":"mechanisms."},{"line_number":83,"context_line":""},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"Dependencies"},{"line_number":86,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df140735_c200d8ae","line":83,"updated":"2017-06-06 18:22:21.000000000","message":"we have to add the corner cases here that will be addressed as part of the implementation..","commit_id":"802e597ed3b1a6193b7a8002a220e19b54f285d8"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"044a7fe8d791da74b341349ba84e6a8a79e6aa9e","unresolved":false,"context_lines":[{"line_number":84,"context_line":""},{"line_number":85,"context_line":"Dependencies"},{"line_number":86,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":87,"context_line":"None"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"Impact"},{"line_number":90,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df140735_e21cfc14","line":87,"updated":"2017-06-06 18:22:21.000000000","message":"do we not depend on the equivalent ODL review..If this feature is enabled without equivalen changes in ODL ,will that cause a problem to ODL ?","commit_id":"802e597ed3b1a6193b7a8002a220e19b54f285d8"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"8b1251f601ffff1401e609b5334a00ea9f8d1230","unresolved":false,"context_lines":[{"line_number":84,"context_line":""},{"line_number":85,"context_line":"Dependencies"},{"line_number":86,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":87,"context_line":"None"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"Impact"},{"line_number":90,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df140735_6d8434b2","line":87,"in_reply_to":"df140735_e21cfc14","updated":"2017-06-07 17:46:20.000000000","message":"There is no dependency on ODL. ODL servicing these DHCP ports will be based on the controller_dhcp flag.","commit_id":"802e597ed3b1a6193b7a8002a220e19b54f285d8"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"044a7fe8d791da74b341349ba84e6a8a79e6aa9e","unresolved":false,"context_lines":[{"line_number":99,"context_line":"References"},{"line_number":100,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"[1] https://git.opendaylight.org/gerrit/#/c/52298/"},{"line_number":103,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"df140735_c2c33838","line":102,"updated":"2017-06-06 18:22:21.000000000","message":"is [1] referred somewhere above?","commit_id":"802e597ed3b1a6193b7a8002a220e19b54f285d8"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"6a5588cdccc02530bb8904bafda545fd2fa42170","unresolved":false,"context_lines":[{"line_number":99,"context_line":"References"},{"line_number":100,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"[1] https://git.opendaylight.org/gerrit/#/c/52298/"},{"line_number":103,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"df140735_ad3eccd7","line":102,"in_reply_to":"df140735_c2c33838","updated":"2017-06-07 17:48:50.000000000","message":"No this is just an external reference to ODL spec. Can remove [1] I guess.","commit_id":"802e597ed3b1a6193b7a8002a220e19b54f285d8"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":2,"context_line":"Neutron Port Allocation per Subnet for ODL DHCP Proxy Service"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"This spec describes the  proposal to allocate a Neutron DHCP Port just for use"}],"source_content_type":"text/x-rst","patch_set":5,"id":"bf091321_0d281032","line":2,"updated":"2017-06-09 07:25:35.000000000","message":"Neutron DHCP Port Allocation per Subnet by ODL DHCP Proxy Service","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"acd4cf41822d0ec5b7bb6eb32239c5edc5a2e739","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":2,"context_line":"Neutron Port Allocation per Subnet for ODL DHCP Proxy Service"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"This spec describes the  proposal to allocate a Neutron DHCP Port just for use"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_109283f7","line":2,"in_reply_to":"bf091321_0d281032","updated":"2017-06-12 06:22:15.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":5,"context_line":"This spec describes the  proposal to allocate a Neutron DHCP Port just for use"},{"line_number":6,"context_line":"by ODL Controller on Subnets that are created with enable-dhcp to True . Also"},{"line_number":7,"context_line":"the spec proposes to allocate a Neutron DHCP Port just for use by ODL Controller"},{"line_number":8,"context_line":"for Subnets that are updated to have enable-dhcp to True."},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"When in ODL controller, the \"controller-dhcp-enabled\" configuration flag is set"},{"line_number":11,"context_line":"to True, these Neutron DHCP Ports will be used by the ODL Controller to provide"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9f0e0f27_3708f826","line":8,"updated":"2017-06-09 07:25:35.000000000","message":"for existing subnets.  Everywhere use OpenDaylight keyword, donot use ODL.","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"adb2eb87990b7f58ed535b943b26e8c3495328a9","unresolved":false,"context_lines":[{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"This spec describes the  proposal to allocate a Neutron DHCP Port just for use"},{"line_number":6,"context_line":"by ODL Controller on Subnets that are created with enable-dhcp to True . Also"},{"line_number":7,"context_line":"the spec proposes to allocate a Neutron DHCP Port just for use by ODL Controller"},{"line_number":8,"context_line":"for Subnets that are updated to have enable-dhcp to True."},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"When in ODL controller, the \"controller-dhcp-enabled\" configuration flag is set"},{"line_number":11,"context_line":"to True, these Neutron DHCP Ports will be used by the ODL Controller to provide"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_8aef9b86","line":8,"range":{"start_line":6,"start_character":72,"end_line":8,"end_character":57},"updated":"2017-06-09 18:50:58.000000000","message":"instead of repeating all this again, just add to line 6 Subnets with enable-dhcp set to true.","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"25cc077cd5d82121566c8a5efbd8273881c606f6","unresolved":false,"context_lines":[{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"This spec describes the  proposal to allocate a Neutron DHCP Port just for use"},{"line_number":6,"context_line":"by ODL Controller on Subnets that are created with enable-dhcp to True . Also"},{"line_number":7,"context_line":"the spec proposes to allocate a Neutron DHCP Port just for use by ODL Controller"},{"line_number":8,"context_line":"for Subnets that are updated to have enable-dhcp to True."},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"When in ODL controller, the \"controller-dhcp-enabled\" configuration flag is set"},{"line_number":11,"context_line":"to True, these Neutron DHCP Ports will be used by the ODL Controller to provide"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_5a80198c","line":8,"range":{"start_line":6,"start_character":72,"end_line":8,"end_character":57},"in_reply_to":"7f231b9d_8aef9b86","updated":"2017-06-12 07:09:48.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":9,"context_line":""},{"line_number":10,"context_line":"When in ODL controller, the \"controller-dhcp-enabled\" configuration flag is set"},{"line_number":11,"context_line":"to True, these Neutron DHCP Ports will be used by the ODL Controller to provide"},{"line_number":12,"context_line":"DHCP Service instead of using the subnet-gateway-ip as the DHCP Server IP."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Problem Statement"},{"line_number":15,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9f0e0f27_170df436","line":12,"updated":"2017-06-09 07:25:35.000000000","message":"DHCP Server IP as it stands today.","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"25cc077cd5d82121566c8a5efbd8273881c606f6","unresolved":false,"context_lines":[{"line_number":9,"context_line":""},{"line_number":10,"context_line":"When in ODL controller, the \"controller-dhcp-enabled\" configuration flag is set"},{"line_number":11,"context_line":"to True, these Neutron DHCP Ports will be used by the ODL Controller to provide"},{"line_number":12,"context_line":"DHCP Service instead of using the subnet-gateway-ip as the DHCP Server IP."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Problem Statement"},{"line_number":15,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_1a31810c","line":12,"in_reply_to":"9f0e0f27_170df436","updated":"2017-06-12 07:09:48.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":15,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"The DHCP service within ODL currently assumes availability of the subnet gateway"},{"line_number":18,"context_line":"IP address and its mac address for its DHCP proxy service, which may or may not be"},{"line_number":19,"context_line":"available to the controller. This can lead to service unavailability."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Problem - 1: L2 Deployment with 3PP gateway"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9f0e0f27_f73f20b3","line":18,"updated":"2017-06-09 07:25:35.000000000","message":"subnet gateway ip address. after that remove \"and its mac address\".  The subnet gateway ip is not a mandatory parameter for an openstack subnet , and so it might not be available from openstack orchestration.  This renders the dhcp proxy server in OpenDaylight to not be able to server dhcp offers to virtual endpoints requesting for IP addresses, thereby resulting in service unavailability.\n\nEven if subnet-gateway-ip is available in the subnet, it is not a good design in OpenDaylight to hijack that ip address and use that as the DHCP Server IP Address.","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"87969119896a786387e1ce053fc5abf19ce9e0f7","unresolved":false,"context_lines":[{"line_number":15,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"The DHCP service within ODL currently assumes availability of the subnet gateway"},{"line_number":18,"context_line":"IP address and its mac address for its DHCP proxy service, which may or may not be"},{"line_number":19,"context_line":"available to the controller. This can lead to service unavailability."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Problem - 1: L2 Deployment with 3PP gateway"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_fd323fa7","line":18,"in_reply_to":"9f0e0f27_f73f20b3","updated":"2017-06-12 10:18:54.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":27,"context_line":"configured with a default gateway IP. It means all inter-subnet traffic is terminated"},{"line_number":28,"context_line":"on this VM which takes the responsibility of forwarding the traffic."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"But the current DHCP proxy service in controller hijacks gateway IP address for"},{"line_number":31,"context_line":"serving DHCP discover/request messages. If the LB is up, this can continue to work,"},{"line_number":32,"context_line":"DHCP broadcasts will get hijacked by the ODL, and responses"},{"line_number":33,"context_line":"sent as PKT_OUTs with SIP \u003d GW IP."}],"source_content_type":"text/x-rst","patch_set":5,"id":"9f0e0f27_f7f720d4","line":30,"updated":"2017-06-09 07:25:35.000000000","message":"DHCP service in the ODL Controller","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"87969119896a786387e1ce053fc5abf19ce9e0f7","unresolved":false,"context_lines":[{"line_number":27,"context_line":"configured with a default gateway IP. It means all inter-subnet traffic is terminated"},{"line_number":28,"context_line":"on this VM which takes the responsibility of forwarding the traffic."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"But the current DHCP proxy service in controller hijacks gateway IP address for"},{"line_number":31,"context_line":"serving DHCP discover/request messages. If the LB is up, this can continue to work,"},{"line_number":32,"context_line":"DHCP broadcasts will get hijacked by the ODL, and responses"},{"line_number":33,"context_line":"sent as PKT_OUTs with SIP \u003d GW IP."}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_dd278364","line":30,"in_reply_to":"9f0e0f27_f7f720d4","updated":"2017-06-12 10:18:54.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"adb2eb87990b7f58ed535b943b26e8c3495328a9","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"In this Deployment scenario, L2 network is created with no distributed Router/VPN"},{"line_number":43,"context_line":"functionality, and HWVTEP for SR-IOV VMs. DHCP flood requests from SR-IOV VMs"},{"line_number":44,"context_line":"(DHCP discover, request during bootup), are flooded by the HWVTEP on the ELAN,"},{"line_number":45,"context_line":"and punted to the controller by designated vswitch. DHCP offers are sent as unicast"},{"line_number":46,"context_line":"responses from Controller, which are forwarded by the HWVTEP to the VM. DHCP renews"},{"line_number":47,"context_line":"can be unicast requests, which the HWVTEP may forward to an external Gateway VM (3PP"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_2a71a7e1","line":44,"range":{"start_line":44,"start_character":73,"end_line":44,"end_character":77},"updated":"2017-06-09 18:50:58.000000000","message":"ELAN ?","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Proposed Change"},{"line_number":52,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":53,"context_line":"This spec proposes to introduce a dhcp-proxy-service within the networking-odl driver and"},{"line_number":54,"context_line":"this service will be responsible for managing the create/update/delete lifecycle for a new"},{"line_number":55,"context_line":"set of Neutron DHCP Ports which will be provisioned specifically for use by the ODL Controller\u0027s"},{"line_number":56,"context_line":"existing DHCP Service Module."}],"source_content_type":"text/x-rst","patch_set":5,"id":"9f0e0f27_97fea4ac","line":53,"updated":"2017-06-09 07:25:35.000000000","message":"Not specific to this line:\n\nIn general use the term dhcp-proxy-service for the openstack ODL side referrall and use the term dhcp-service to refer the dhcp module in OpenDaylight controller.","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"87969119896a786387e1ce053fc5abf19ce9e0f7","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Proposed Change"},{"line_number":52,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":53,"context_line":"This spec proposes to introduce a dhcp-proxy-service within the networking-odl driver and"},{"line_number":54,"context_line":"this service will be responsible for managing the create/update/delete lifecycle for a new"},{"line_number":55,"context_line":"set of Neutron DHCP Ports which will be provisioned specifically for use by the ODL Controller\u0027s"},{"line_number":56,"context_line":"existing DHCP Service Module."}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_0ed7ff4d","line":53,"in_reply_to":"9f0e0f27_97fea4ac","updated":"2017-06-12 10:18:54.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Detailed Design"},{"line_number":59,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":60,"context_line":"Introduce a driver config parameter (enable_dhcp_proxy) to determine if ODL"},{"line_number":61,"context_line":"based DHCP service is being used. Default setting for the parameter is false."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"The plugin should initiate a neutron port creation on the post-commit of a"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9f0e0f27_97ec64f4","line":60,"updated":"2017-06-09 07:25:35.000000000","message":"In general as part of implementation of this spec, we are introducing a new configuration parameter \u0027enable_dhcp_proxy\u0027 whose truth value determines whether the dhcp-proxy-service within the openstack-odl framework need to be made functional.","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"87969119896a786387e1ce053fc5abf19ce9e0f7","unresolved":false,"context_lines":[{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Detailed Design"},{"line_number":59,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":60,"context_line":"Introduce a driver config parameter (enable_dhcp_proxy) to determine if ODL"},{"line_number":61,"context_line":"based DHCP service is being used. Default setting for the parameter is false."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"The plugin should initiate a neutron port creation on the post-commit of a"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_6ebf93fb","line":60,"in_reply_to":"9f0e0f27_97ec64f4","updated":"2017-06-12 10:18:54.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":60,"context_line":"Introduce a driver config parameter (enable_dhcp_proxy) to determine if ODL"},{"line_number":61,"context_line":"based DHCP service is being used. Default setting for the parameter is false."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"The plugin should initiate a neutron port creation on the post-commit of a"},{"line_number":64,"context_line":"subnet create/update with DHCP enabled option. The port will be used to"},{"line_number":65,"context_line":"service DHCP requests for virtual end points belonging to that subnet."},{"line_number":66,"context_line":"The parameters used to distinguishsuch ports would be"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9f0e0f27_979a246c","line":63,"updated":"2017-06-09 07:25:35.000000000","message":"When \u0027enable-dhcp-proxy\u0027 is set to True, it triggers the networking-odl ml2 driver to hooko to openstack subnet resource lifecycle and use that manage a special DHCP Port\n per subnet for OpenDaylight Controller use.\n\nThese special DHCP ports will be shipped to OpenDaylight controller, so that DHCP Service within the OpenDaylight controller can make use of these as DHCP Server ports themselves.\n\n\"Please donot mention about post-commit stuff here..\"","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"87969119896a786387e1ce053fc5abf19ce9e0f7","unresolved":false,"context_lines":[{"line_number":60,"context_line":"Introduce a driver config parameter (enable_dhcp_proxy) to determine if ODL"},{"line_number":61,"context_line":"based DHCP service is being used. Default setting for the parameter is false."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"The plugin should initiate a neutron port creation on the post-commit of a"},{"line_number":64,"context_line":"subnet create/update with DHCP enabled option. The port will be used to"},{"line_number":65,"context_line":"service DHCP requests for virtual end points belonging to that subnet."},{"line_number":66,"context_line":"The parameters used to distinguishsuch ports would be"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_aea24b99","line":63,"in_reply_to":"9f0e0f27_979a246c","updated":"2017-06-12 10:18:54.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":63,"context_line":"The plugin should initiate a neutron port creation on the post-commit of a"},{"line_number":64,"context_line":"subnet create/update with DHCP enabled option. The port will be used to"},{"line_number":65,"context_line":"service DHCP requests for virtual end points belonging to that subnet."},{"line_number":66,"context_line":"The parameters used to distinguishsuch ports would be"},{"line_number":67,"context_line":"* device-owner(network:dhcp)"},{"line_number":68,"context_line":"* device-id(\"odl\" + ODL-Controller-hostname)"},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"9f0e0f27_578ecc2e","line":66,"updated":"2017-06-09 07:25:35.000000000","message":"Since these are special DHCP Ports (one per subnet), they will carry unique device-id and device-owner values.\n\n* device owner will carry\n* device_id will carry\n\nBTW, what is the device_id value for stock Neutron DHCP Ports today?","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"87969119896a786387e1ce053fc5abf19ce9e0f7","unresolved":false,"context_lines":[{"line_number":63,"context_line":"The plugin should initiate a neutron port creation on the post-commit of a"},{"line_number":64,"context_line":"subnet create/update with DHCP enabled option. The port will be used to"},{"line_number":65,"context_line":"service DHCP requests for virtual end points belonging to that subnet."},{"line_number":66,"context_line":"The parameters used to distinguishsuch ports would be"},{"line_number":67,"context_line":"* device-owner(network:dhcp)"},{"line_number":68,"context_line":"* device-id(\"odl\" + ODL-Controller-hostname)"},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_ee98436b","line":66,"in_reply_to":"9f0e0f27_578ecc2e","updated":"2017-06-12 10:18:54.000000000","message":"The Neutron dhcp ports have dhcp + network id + host id  name combination.","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"adb2eb87990b7f58ed535b943b26e8c3495328a9","unresolved":false,"context_lines":[{"line_number":67,"context_line":"* device-owner(network:dhcp)"},{"line_number":68,"context_line":"* device-id(\"odl\" + ODL-Controller-hostname)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"Alternative 1"},{"line_number":71,"context_line":"--------------"},{"line_number":72,"context_line":"The Neutron DHCP port creation is invoked as a synchronous operation during ODL"},{"line_number":73,"context_line":"driver post commit execution."}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_05401c35","line":70,"range":{"start_line":70,"start_character":0,"end_line":70,"end_character":13},"updated":"2017-06-09 18:50:58.000000000","message":"this looks good, but what i found missing is the info about case where delete-subnet should not happen because either ip from it is used by active vm etc.","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"87969119896a786387e1ce053fc5abf19ce9e0f7","unresolved":false,"context_lines":[{"line_number":67,"context_line":"* device-owner(network:dhcp)"},{"line_number":68,"context_line":"* device-id(\"odl\" + ODL-Controller-hostname)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"Alternative 1"},{"line_number":71,"context_line":"--------------"},{"line_number":72,"context_line":"The Neutron DHCP port creation is invoked as a synchronous operation during ODL"},{"line_number":73,"context_line":"driver post commit execution."}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_0f1ff96c","line":70,"range":{"start_line":70,"start_character":0,"end_line":70,"end_character":13},"in_reply_to":"7f231b9d_05401c35","updated":"2017-06-12 10:18:54.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":69,"context_line":""},{"line_number":70,"context_line":"Alternative 1"},{"line_number":71,"context_line":"--------------"},{"line_number":72,"context_line":"The Neutron DHCP port creation is invoked as a synchronous operation during ODL"},{"line_number":73,"context_line":"driver post commit execution."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"Any failures during the neutron port creation or allocation for the subnet should"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9f0e0f27_37ffd868","line":72,"updated":"2017-06-09 07:25:35.000000000","message":"The creation of Neutron Opendaylight DHCP port will be invoked within the ODL Driver subnet-postcommit execution.","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"87969119896a786387e1ce053fc5abf19ce9e0f7","unresolved":false,"context_lines":[{"line_number":69,"context_line":""},{"line_number":70,"context_line":"Alternative 1"},{"line_number":71,"context_line":"--------------"},{"line_number":72,"context_line":"The Neutron DHCP port creation is invoked as a synchronous operation during ODL"},{"line_number":73,"context_line":"driver post commit execution."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"Any failures during the neutron port creation or allocation for the subnet should"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_7421a4fb","line":72,"in_reply_to":"9f0e0f27_37ffd868","updated":"2017-06-12 10:18:54.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":"Any failures during the neutron port creation or allocation for the subnet should"},{"line_number":76,"context_line":"trigger failure of the subnet create operation with an appropriate failure message"},{"line_number":77,"context_line":"in logs. On success the subnet and port information needs to be persisted to db,"},{"line_number":78,"context_line":"subsequently communicated to  ODL and synced with the controller."},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"The plugin should initiate the removal of allocated dhcp neutron port at the"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9f0e0f27_97efc4af","line":77,"updated":"2017-06-09 07:25:35.000000000","message":"will be persisted into Journal DB","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"87969119896a786387e1ce053fc5abf19ce9e0f7","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":"Any failures during the neutron port creation or allocation for the subnet should"},{"line_number":76,"context_line":"trigger failure of the subnet create operation with an appropriate failure message"},{"line_number":77,"context_line":"in logs. On success the subnet and port information needs to be persisted to db,"},{"line_number":78,"context_line":"subsequently communicated to  ODL and synced with the controller."},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"The plugin should initiate the removal of allocated dhcp neutron port at the"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_8f3d49bd","line":77,"in_reply_to":"7f231b9d_053b7cd1","updated":"2017-06-12 10:18:54.000000000","message":"This is an existing table, only a new port is being allocated.","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"adb2eb87990b7f58ed535b943b26e8c3495328a9","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":"Any failures during the neutron port creation or allocation for the subnet should"},{"line_number":76,"context_line":"trigger failure of the subnet create operation with an appropriate failure message"},{"line_number":77,"context_line":"in logs. On success the subnet and port information needs to be persisted to db,"},{"line_number":78,"context_line":"subsequently communicated to  ODL and synced with the controller."},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"The plugin should initiate the removal of allocated dhcp neutron port at the"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_053b7cd1","line":77,"in_reply_to":"9f0e0f27_97efc4af","updated":"2017-06-09 18:50:58.000000000","message":"I am ok with db, if you\u0027re adding details also would be worth mentioning the table name that will store this info.","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":75,"context_line":"Any failures during the neutron port creation or allocation for the subnet should"},{"line_number":76,"context_line":"trigger failure of the subnet create operation with an appropriate failure message"},{"line_number":77,"context_line":"in logs. On success the subnet and port information needs to be persisted to db,"},{"line_number":78,"context_line":"subsequently communicated to  ODL and synced with the controller."},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"The plugin should initiate the removal of allocated dhcp neutron port at the"},{"line_number":81,"context_line":"time of subnet delete. The port removal will be handled as a post-commit"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9f0e0f27_572fecf5","line":78,"updated":"2017-06-09 07:25:35.000000000","message":"and will be subsequently synced to OpenDaylight controller.","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"87969119896a786387e1ce053fc5abf19ce9e0f7","unresolved":false,"context_lines":[{"line_number":75,"context_line":"Any failures during the neutron port creation or allocation for the subnet should"},{"line_number":76,"context_line":"trigger failure of the subnet create operation with an appropriate failure message"},{"line_number":77,"context_line":"in logs. On success the subnet and port information needs to be persisted to db,"},{"line_number":78,"context_line":"subsequently communicated to  ODL and synced with the controller."},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"The plugin should initiate the removal of allocated dhcp neutron port at the"},{"line_number":81,"context_line":"time of subnet delete. The port removal will be handled as a post-commit"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_f4b7f485","line":78,"in_reply_to":"9f0e0f27_572fecf5","updated":"2017-06-12 10:18:54.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":78,"context_line":"subsequently communicated to  ODL and synced with the controller."},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"The plugin should initiate the removal of allocated dhcp neutron port at the"},{"line_number":81,"context_line":"time of subnet delete. The port removal will be handled as a post-commit"},{"line_number":82,"context_line":"operation and any failure during this process should rollback the subnet delete"},{"line_number":83,"context_line":"operation."},{"line_number":84,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"9f0e0f27_3734784a","line":81,"updated":"2017-06-09 07:25:35.000000000","message":"in subnet-delete-postcommit execution.","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"87969119896a786387e1ce053fc5abf19ce9e0f7","unresolved":false,"context_lines":[{"line_number":78,"context_line":"subsequently communicated to  ODL and synced with the controller."},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"The plugin should initiate the removal of allocated dhcp neutron port at the"},{"line_number":81,"context_line":"time of subnet delete. The port removal will be handled as a post-commit"},{"line_number":82,"context_line":"operation and any failure during this process should rollback the subnet delete"},{"line_number":83,"context_line":"operation."},{"line_number":84,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_3431ec0c","line":81,"in_reply_to":"9f0e0f27_3734784a","updated":"2017-06-12 10:18:54.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":83,"context_line":"operation."},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"A subnet update operation configuring the DHCP state as enabled should allocate"},{"line_number":86,"context_line":"such a port if not previously allocated for the subnet. Similarly an update"},{"line_number":87,"context_line":"operation configuring DHCP atate to disabled should remove any previously"},{"line_number":88,"context_line":"allocated neutron ports."},{"line_number":89,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"9f0e0f27_f73de02c","line":86,"updated":"2017-06-09 07:25:35.000000000","message":"similarly a subnet update","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"87969119896a786387e1ce053fc5abf19ce9e0f7","unresolved":false,"context_lines":[{"line_number":83,"context_line":"operation."},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"A subnet update operation configuring the DHCP state as enabled should allocate"},{"line_number":86,"context_line":"such a port if not previously allocated for the subnet. Similarly an update"},{"line_number":87,"context_line":"operation configuring DHCP atate to disabled should remove any previously"},{"line_number":88,"context_line":"allocated neutron ports."},{"line_number":89,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_344d6c72","line":86,"in_reply_to":"9f0e0f27_f73de02c","updated":"2017-06-12 10:18:54.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"adb2eb87990b7f58ed535b943b26e8c3495328a9","unresolved":false,"context_lines":[{"line_number":84,"context_line":""},{"line_number":85,"context_line":"A subnet update operation configuring the DHCP state as enabled should allocate"},{"line_number":86,"context_line":"such a port if not previously allocated for the subnet. Similarly an update"},{"line_number":87,"context_line":"operation configuring DHCP atate to disabled should remove any previously"},{"line_number":88,"context_line":"allocated neutron ports."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"Alternative 2"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_e53c00c1","line":87,"range":{"start_line":87,"start_character":27,"end_line":87,"end_character":32},"updated":"2017-06-09 18:50:58.000000000","message":"state","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"87969119896a786387e1ce053fc5abf19ce9e0f7","unresolved":false,"context_lines":[{"line_number":84,"context_line":""},{"line_number":85,"context_line":"A subnet update operation configuring the DHCP state as enabled should allocate"},{"line_number":86,"context_line":"such a port if not previously allocated for the subnet. Similarly an update"},{"line_number":87,"context_line":"operation configuring DHCP atate to disabled should remove any previously"},{"line_number":88,"context_line":"allocated neutron ports."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"Alternative 2"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_743524da","line":87,"range":{"start_line":87,"start_character":27,"end_line":87,"end_character":32},"in_reply_to":"7f231b9d_e53c00c1","updated":"2017-06-12 10:18:54.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":85,"context_line":"A subnet update operation configuring the DHCP state as enabled should allocate"},{"line_number":86,"context_line":"such a port if not previously allocated for the subnet. Similarly an update"},{"line_number":87,"context_line":"operation configuring DHCP atate to disabled should remove any previously"},{"line_number":88,"context_line":"allocated neutron ports."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"Alternative 2"},{"line_number":91,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9f0e0f27_d73adc32","line":88,"updated":"2017-06-09 07:25:35.000000000","message":"allocated neutron opendaylight dhcp ports","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"87969119896a786387e1ce053fc5abf19ce9e0f7","unresolved":false,"context_lines":[{"line_number":85,"context_line":"A subnet update operation configuring the DHCP state as enabled should allocate"},{"line_number":86,"context_line":"such a port if not previously allocated for the subnet. Similarly an update"},{"line_number":87,"context_line":"operation configuring DHCP atate to disabled should remove any previously"},{"line_number":88,"context_line":"allocated neutron ports."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"Alternative 2"},{"line_number":91,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_14527014","line":88,"in_reply_to":"9f0e0f27_d73adc32","updated":"2017-06-12 10:18:54.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":94,"context_line":"A generic journal callback mechanism to be implemented. Initial consumer of this callback"},{"line_number":95,"context_line":"would be the ODL DHCP proxy service but this could be used by other services in future."},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"The journal entry state is marked as COMPLETE only on successful ODL DHCP port creation."},{"line_number":98,"context_line":"The entry will be marked as FAILED if there were any unexpected failures during DHCP port"},{"line_number":99,"context_line":"creation."},{"line_number":100,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"9f0e0f27_17605432","line":97,"updated":"2017-06-09 07:25:35.000000000","message":"Incorrect.. The Neutron DHCP Port (for OpenDaylight use) creation is triggered when the subnet-journal entry is moved from PENDING to PROCESSING.\n\nOn a failure of port-creation, the journal will be retained in PENDING state and the subnet itself won\u0027t be synced to the OpenDaylight controller.","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"5d5e09d665772e1a7fcfbfebf71986194ae54e62","unresolved":false,"context_lines":[{"line_number":94,"context_line":"A generic journal callback mechanism to be implemented. Initial consumer of this callback"},{"line_number":95,"context_line":"would be the ODL DHCP proxy service but this could be used by other services in future."},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"The journal entry state is marked as COMPLETE only on successful ODL DHCP port creation."},{"line_number":98,"context_line":"The entry will be marked as FAILED if there were any unexpected failures during DHCP port"},{"line_number":99,"context_line":"creation."},{"line_number":100,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_a145b919","line":97,"in_reply_to":"9f0e0f27_17605432","updated":"2017-06-12 10:40:43.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":98,"context_line":"The entry will be marked as FAILED if there were any unexpected failures during DHCP port"},{"line_number":99,"context_line":"creation."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"Corner cases to be addressed by the design"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"* Neutron server crash between a Subnet pre commit and post commit event. The design"},{"line_number":104,"context_line":"should handle the DHCP port creation/deletion during such failures."}],"source_content_type":"text/x-rst","patch_set":5,"id":"9f0e0f27_57cb6c1d","line":101,"updated":"2017-06-09 07:25:35.000000000","message":"All of the following cases will need to be address by the design.\n1.\n2.\n3.\n\nAfter analyzing alternative 1 and 2, it looks alternative 2 is better suited in that it is able to address all the above corner cases.","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"87969119896a786387e1ce053fc5abf19ce9e0f7","unresolved":false,"context_lines":[{"line_number":98,"context_line":"The entry will be marked as FAILED if there were any unexpected failures during DHCP port"},{"line_number":99,"context_line":"creation."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"Corner cases to be addressed by the design"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"* Neutron server crash between a Subnet pre commit and post commit event. The design"},{"line_number":104,"context_line":"should handle the DHCP port creation/deletion during such failures."}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_af3b65cf","line":101,"in_reply_to":"9f0e0f27_57cb6c1d","updated":"2017-06-12 10:18:54.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":101,"context_line":"Corner cases to be addressed by the design"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"* Neutron server crash between a Subnet pre commit and post commit event. The design"},{"line_number":104,"context_line":"should handle the DHCP port creation/deletion during such failures."},{"line_number":105,"context_line":"* In a HA neutron server environment back to back subnet update operation that enable"},{"line_number":106,"context_line":"or disable DHCP should handle the port creation/deletion accordingly."},{"line_number":107,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"9f0e0f27_d7ff7c32","line":104,"updated":"2017-06-09 07:25:35.000000000","message":"Neutron server can crash after submitting subnet information to DB, but before invoking postcommit.  During such a situation, the dhcp-proxy-service must be triggered for neutron dhcp port creation.\n\nNeutron server can crash after submitting a subnet delete operation to the DB, but before invoking postcommit.  During such a situation, the dhcp-proxy-service must be triggered for neutron dhcp port deletion.","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"5d5e09d665772e1a7fcfbfebf71986194ae54e62","unresolved":false,"context_lines":[{"line_number":101,"context_line":"Corner cases to be addressed by the design"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"* Neutron server crash between a Subnet pre commit and post commit event. The design"},{"line_number":104,"context_line":"should handle the DHCP port creation/deletion during such failures."},{"line_number":105,"context_line":"* In a HA neutron server environment back to back subnet update operation that enable"},{"line_number":106,"context_line":"or disable DHCP should handle the port creation/deletion accordingly."},{"line_number":107,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_018a2d1a","line":104,"in_reply_to":"7f231b9d_c590e498","updated":"2017-06-12 10:40:43.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"adb2eb87990b7f58ed535b943b26e8c3495328a9","unresolved":false,"context_lines":[{"line_number":101,"context_line":"Corner cases to be addressed by the design"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"* Neutron server crash between a Subnet pre commit and post commit event. The design"},{"line_number":104,"context_line":"should handle the DHCP port creation/deletion during such failures."},{"line_number":105,"context_line":"* In a HA neutron server environment back to back subnet update operation that enable"},{"line_number":106,"context_line":"or disable DHCP should handle the port creation/deletion accordingly."},{"line_number":107,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_c590e498","line":104,"in_reply_to":"9f0e0f27_d7ff7c32","updated":"2017-06-09 18:50:58.000000000","message":"can it be simplified by just referring to poscommit of subnet, be it create/update/delete ? (of course with dhcp-proxy-service enabled)","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":103,"context_line":"* Neutron server crash between a Subnet pre commit and post commit event. The design"},{"line_number":104,"context_line":"should handle the DHCP port creation/deletion during such failures."},{"line_number":105,"context_line":"* In a HA neutron server environment back to back subnet update operation that enable"},{"line_number":106,"context_line":"or disable DHCP should handle the port creation/deletion accordingly."},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"Design as per Alternative 2 meets these corner case requirements better and is the"},{"line_number":109,"context_line":"recommended approach."}],"source_content_type":"text/x-rst","patch_set":5,"id":"9f0e0f27_978ea4ce","line":106,"updated":"2017-06-09 07:25:35.000000000","message":"A subnet update operation to disable-dhcp can be immediately followed by a subnet update operation to enable-dhcp, and such a situation should end up in creating the neutron-dhcp-port for consumption by OpenDaylight.\n\nA subnet update operation to enable-dhcp can be immediately followed by a subnet update operation to disable-dhcp, and such a situation should end up in deleting the neutron-dhcp-port that was created for use by OpenDaylight.\n\nA subnet update operation to enable-dhcp can be immediately followed by a subnet delete operation, and such a situation should end up deleting the neutron-dhcp-port that was about to be provided for use by OpenDaylight.\n\nA subnet create operation (with dhcp enabled) can be immediately followed by a subnet update operation to disable-dhcp, and such a situation should end up in deleting the neutron-dhcp-port that was created for use by OpenDaylight.","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"87969119896a786387e1ce053fc5abf19ce9e0f7","unresolved":false,"context_lines":[{"line_number":103,"context_line":"* Neutron server crash between a Subnet pre commit and post commit event. The design"},{"line_number":104,"context_line":"should handle the DHCP port creation/deletion during such failures."},{"line_number":105,"context_line":"* In a HA neutron server environment back to back subnet update operation that enable"},{"line_number":106,"context_line":"or disable DHCP should handle the port creation/deletion accordingly."},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"Design as per Alternative 2 meets these corner case requirements better and is the"},{"line_number":109,"context_line":"recommended approach."}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_0f2db994","line":106,"in_reply_to":"9f0e0f27_978ea4ce","updated":"2017-06-12 10:18:54.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":106,"context_line":"or disable DHCP should handle the port creation/deletion accordingly."},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"Design as per Alternative 2 meets these corner case requirements better and is the"},{"line_number":109,"context_line":"recommended approach."},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"Dependencies"},{"line_number":112,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9f0e0f27_b71ac814","line":109,"updated":"2017-06-09 07:25:35.000000000","message":"is what we propose to take as the approach that we will implement.","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"87969119896a786387e1ce053fc5abf19ce9e0f7","unresolved":false,"context_lines":[{"line_number":106,"context_line":"or disable DHCP should handle the port creation/deletion accordingly."},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"Design as per Alternative 2 meets these corner case requirements better and is the"},{"line_number":109,"context_line":"recommended approach."},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"Dependencies"},{"line_number":112,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_4f197177","line":109,"in_reply_to":"9f0e0f27_b71ac814","updated":"2017-06-12 10:18:54.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"Dependencies"},{"line_number":112,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":113,"context_line":"None"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"Impact"},{"line_number":116,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9f0e0f27_f7260017","line":113,"updated":"2017-06-09 07:25:35.000000000","message":"Feature is dependent on enhancement in OpenDaylight DHCP Service as per the OpenDaylight Spec in [1]","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"87969119896a786387e1ce053fc5abf19ce9e0f7","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"Dependencies"},{"line_number":112,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":113,"context_line":"None"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"Impact"},{"line_number":116,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_8f0f892d","line":113,"in_reply_to":"9f0e0f27_f7260017","updated":"2017-06-12 10:18:54.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"01852e343d83d0f01b8bec6c0f20c2e33b447812","unresolved":false,"context_lines":[{"line_number":125,"context_line":"References"},{"line_number":126,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"* ODL spec - https://git.opendaylight.org/gerrit/#/c/52298/"},{"line_number":129,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"9f0e0f27_971d84bf","line":128,"updated":"2017-06-09 07:25:35.000000000","message":"[1] OpenDaylight Spec to cover this feature:","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"87969119896a786387e1ce053fc5abf19ce9e0f7","unresolved":false,"context_lines":[{"line_number":125,"context_line":"References"},{"line_number":126,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"* ODL spec - https://git.opendaylight.org/gerrit/#/c/52298/"},{"line_number":129,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f231b9d_6f1c2d6a","line":128,"in_reply_to":"9f0e0f27_971d84bf","updated":"2017-06-12 10:18:54.000000000","message":"Done","commit_id":"6d0e9c2e3594dc6ccce0f42e1ba0ab7ecbacaae9"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"bf04b11408092e39d5da7840b8a7fbb9f117e326","unresolved":false,"context_lines":[{"line_number":17,"context_line":"The DHCP service within OpenDaylight currently assumes availability of the subnet"},{"line_number":18,"context_line":"gateway IP address. The subnet gateway ip is not a mandatory parameter for an OpenStack"},{"line_number":19,"context_line":"subnet , and so it might not be available from OpenStack orchestration.  This renders"},{"line_number":20,"context_line":"the DHCP proxy server in OpenDaylight to not be able to server DHCP offers to virtual "},{"line_number":21,"context_line":"endpoints requesting for IP addresses, thereby resulting in service unavailability."},{"line_number":22,"context_line":"Even if subnet-gateway-ip is available in the subnet, it is not a good design in"},{"line_number":23,"context_line":"OpenDaylight to hijack that ip address and use that as the DHCP Server IP Address."}],"source_content_type":"text/x-rst","patch_set":6,"id":"7f231b9d_c40e83e4","line":20,"updated":"2017-06-12 11:12:14.000000000","message":"to serve DHCP offers","commit_id":"08afd19b8e56f23e6093a1816816f9ad75ae83ae"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"bf04b11408092e39d5da7840b8a7fbb9f117e326","unresolved":false,"context_lines":[{"line_number":45,"context_line":""},{"line_number":46,"context_line":"In this Deployment scenario, L2 network is created with no distributed Router/VPN"},{"line_number":47,"context_line":"functionality, and HWVTEP for SR-IOV VMs. DHCP flood requests from SR-IOV VMs"},{"line_number":48,"context_line":"(DHCP discover, request during bootup), are flooded by the HWVTEP on the Emulated"},{"line_number":49,"context_line":"LAN, and punted to the controller by designated vswitch. DHCP offers are sent as"},{"line_number":50,"context_line":"unicast responses from Controller, which are forwarded by the HWVTEP to the VM. DHCP"},{"line_number":51,"context_line":"renews can be unicast requests, which the HWVTEP may forward to an external Gateway"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7f231b9d_8421ab50","line":48,"updated":"2017-06-12 11:12:14.000000000","message":"the \"L2 broadcast domain\" will be a better term than ELAN..","commit_id":"08afd19b8e56f23e6093a1816816f9ad75ae83ae"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"bf04b11408092e39d5da7840b8a7fbb9f117e326","unresolved":false,"context_lines":[{"line_number":84,"context_line":"Any failures during the neutron port creation or allocation for the subnet should"},{"line_number":85,"context_line":"trigger failure of the subnet create operation with an appropriate failure message"},{"line_number":86,"context_line":"in logs. On success the subnet and port information will be persisted to Journal DB,"},{"line_number":87,"context_line":"subsequently will \tbe subsequently synced with OpenDaylight controller."},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"The plugin should initiate the removal of allocated dhcp neutron port at the"},{"line_number":90,"context_line":"time of subnet delete. The port removal will be handled in a subnet-delete-post-commit"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7f231b9d_04bc7bda","line":87,"updated":"2017-06-12 11:12:14.000000000","message":"some whitespace issue here..","commit_id":"08afd19b8e56f23e6093a1816816f9ad75ae83ae"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"bf04b11408092e39d5da7840b8a7fbb9f117e326","unresolved":false,"context_lines":[{"line_number":105,"context_line":"would be the OpenDaylight DHCP proxy service but this could be used by other services in future."},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"The Neutron DHCP Port (for OpenDaylight use) creation is triggered when the subnet-journal"},{"line_number":108,"context_line":"entry is moved from PENDING to PROCESSING.On a failure of port-creation, the journal will"},{"line_number":109,"context_line":"be retained in PENDING state and the subnet itself won\u0027t be synced to the OpenDaylight"},{"line_number":110,"context_line":"controller. he journal entry state is marked as COMPLETE only on successful port creation."},{"line_number":111,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7f231b9d_e4a5ffb6","line":108,"updated":"2017-06-12 11:12:14.000000000","message":"the journal-entry","commit_id":"08afd19b8e56f23e6093a1816816f9ad75ae83ae"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"bf04b11408092e39d5da7840b8a7fbb9f117e326","unresolved":false,"context_lines":[{"line_number":107,"context_line":"The Neutron DHCP Port (for OpenDaylight use) creation is triggered when the subnet-journal"},{"line_number":108,"context_line":"entry is moved from PENDING to PROCESSING.On a failure of port-creation, the journal will"},{"line_number":109,"context_line":"be retained in PENDING state and the subnet itself won\u0027t be synced to the OpenDaylight"},{"line_number":110,"context_line":"controller. he journal entry state is marked as COMPLETE only on successful port creation."},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"All of the following cases will need to be addressed by the design."},{"line_number":113,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7f231b9d_24c65769","line":110,"updated":"2017-06-12 11:12:14.000000000","message":"The journal-entry state","commit_id":"08afd19b8e56f23e6093a1816816f9ad75ae83ae"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"bf04b11408092e39d5da7840b8a7fbb9f117e326","unresolved":false,"context_lines":[{"line_number":109,"context_line":"be retained in PENDING state and the subnet itself won\u0027t be synced to the OpenDaylight"},{"line_number":110,"context_line":"controller. he journal entry state is marked as COMPLETE only on successful port creation."},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"All of the following cases will need to be addressed by the design."},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"* Neutron server can crash after  submitting information to DB and before invoking post-commit"},{"line_number":115,"context_line":"during a subnet create/update/delete operation. The dhcp-proxy-service should handle the DHCP"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7f231b9d_847d2b1e","line":112,"updated":"2017-06-12 11:12:14.000000000","message":"You can put a heading here \u0027Recommended Alternative\u0027","commit_id":"08afd19b8e56f23e6093a1816816f9ad75ae83ae"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"bf04b11408092e39d5da7840b8a7fbb9f117e326","unresolved":false,"context_lines":[{"line_number":130,"context_line":"that was created for use by OpenDaylight."},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"Design as per Alternative 2 meets these corner case requirements better and is what we"},{"line_number":133,"context_line":"propose to take as the approach that we will implement."},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"Dependencies"},{"line_number":136,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7f231b9d_84a2cb99","line":133,"updated":"2017-06-12 11:12:14.000000000","message":"that we will pursue for this spec.","commit_id":"08afd19b8e56f23e6093a1816816f9ad75ae83ae"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"efb259f6451a7645c20be700e2876f19271e5dac","unresolved":false,"context_lines":[{"line_number":2,"context_line":"Neutron Port Allocation per Subnet for OpenDaylight DHCP Proxy Service"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"This spec describes the  proposal to allocate a Neutron DHCP Port just for"},{"line_number":6,"context_line":"use by OpenDaylight Controller on Subnets that are created or updated with"},{"line_number":7,"context_line":"enable-dhcp to True."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When in OpenDaylight controller, the \"controller-dhcp-enabled\" configuration"},{"line_number":10,"context_line":"flag is set to true, these Neutron DHCP Ports will be used by the OpenDaylight"},{"line_number":11,"context_line":"Controller to provide DHCP Service instead of using the subnet-gateway-ip as"},{"line_number":12,"context_line":"the DHCP Server IP as it stands today."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Problem Statement"},{"line_number":15,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f231b9d_84d192d0","line":12,"range":{"start_line":5,"start_character":0,"end_line":12,"end_character":38},"updated":"2017-06-12 23:20:28.000000000","message":"i\u0027ll also suggest explaining how the sync b/w ODL and networking-odl will happen, I mean how will n-odl knows the controller-dhcp-enabled is set or not by ODL, what will happen if someone sets the enable-dhcp-ports in networking-odl when controller-dhcp-enabled is not set in ODL.","commit_id":"8022db37033eecee3dda5e9da84b7a23a2418467"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"e7b088f362aa7e5338e23d40ca947317535c0424","unresolved":false,"context_lines":[{"line_number":2,"context_line":"Neutron Port Allocation per Subnet for OpenDaylight DHCP Proxy Service"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"This spec describes the  proposal to allocate a Neutron DHCP Port just for"},{"line_number":6,"context_line":"use by OpenDaylight Controller on Subnets that are created or updated with"},{"line_number":7,"context_line":"enable-dhcp to True."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When in OpenDaylight controller, the \"controller-dhcp-enabled\" configuration"},{"line_number":10,"context_line":"flag is set to true, these Neutron DHCP Ports will be used by the OpenDaylight"},{"line_number":11,"context_line":"Controller to provide DHCP Service instead of using the subnet-gateway-ip as"},{"line_number":12,"context_line":"the DHCP Server IP as it stands today."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Problem Statement"},{"line_number":15,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f231b9d_f3f80a4a","line":12,"range":{"start_line":5,"start_character":0,"end_line":12,"end_character":38},"in_reply_to":"7f231b9d_84d192d0","updated":"2017-06-13 04:04:34.000000000","message":"n-odl does not know if controller-dhcp-enabled or not in ODL.   when someone sets up enable-dhcp-proxy in networking-odl but fails to turn on controller-dhcp-enabled in ODL Controller, the ports will simply get created and destroyed without causing harm to ODL Controller nor causing harm to networking-odl.","commit_id":"8022db37033eecee3dda5e9da84b7a23a2418467"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"b491cddf61296748058465bcd2d7c73ca1ab1770","unresolved":false,"context_lines":[{"line_number":2,"context_line":"Neutron Port Allocation per Subnet for OpenDaylight DHCP Proxy Service"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"This spec describes the  proposal to allocate a Neutron DHCP Port just for"},{"line_number":6,"context_line":"use by OpenDaylight Controller on Subnets that are created or updated with"},{"line_number":7,"context_line":"enable-dhcp to True."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When in OpenDaylight controller, the \"controller-dhcp-enabled\" configuration"},{"line_number":10,"context_line":"flag is set to true, these Neutron DHCP Ports will be used by the OpenDaylight"},{"line_number":11,"context_line":"Controller to provide DHCP Service instead of using the subnet-gateway-ip as"},{"line_number":12,"context_line":"the DHCP Server IP as it stands today."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Problem Statement"},{"line_number":15,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f231b9d_18e70c15","line":12,"range":{"start_line":5,"start_character":0,"end_line":12,"end_character":38},"in_reply_to":"7f231b9d_f3f80a4a","updated":"2017-06-13 16:16:43.000000000","message":"would it be worth adding details in the spec ?","commit_id":"8022db37033eecee3dda5e9da84b7a23a2418467"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"114d95c7c8bb9c006ba5a5e6cdaefc4eae840e1b","unresolved":false,"context_lines":[{"line_number":36,"context_line":"But the current DHCP service in OpenDaylight controller hijacks gateway IP"},{"line_number":37,"context_line":"address for serving DHCP discover/request messages. If the LB is up, this can"},{"line_number":38,"context_line":"continue to work, DHCP broadcasts will get hijacked by the OpenDaylight, and"},{"line_number":39,"context_line":"responsessent as PKT_OUTs with SIP \u003d GW IP."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"However, if the LB is down, and the VM ARPs for the same IP as part of a DHCP"},{"line_number":42,"context_line":"renew workflow, the ARP resolution can fail, due to which renew request will"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f231b9d_14513737","line":39,"range":{"start_line":39,"start_character":0,"end_line":39,"end_character":14},"updated":"2017-06-12 21:42:00.000000000","message":"responses sent","commit_id":"8022db37033eecee3dda5e9da84b7a23a2418467"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"44678832ce04370abe701b08069f8f3b71d49358","unresolved":false,"context_lines":[{"line_number":36,"context_line":"But the current DHCP service in OpenDaylight controller hijacks gateway IP"},{"line_number":37,"context_line":"address for serving DHCP discover/request messages. If the LB is up, this can"},{"line_number":38,"context_line":"continue to work, DHCP broadcasts will get hijacked by the OpenDaylight, and"},{"line_number":39,"context_line":"responsessent as PKT_OUTs with SIP \u003d GW IP."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"However, if the LB is down, and the VM ARPs for the same IP as part of a DHCP"},{"line_number":42,"context_line":"renew workflow, the ARP resolution can fail, due to which renew request will"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f231b9d_fb546023","line":39,"range":{"start_line":39,"start_character":0,"end_line":39,"end_character":14},"in_reply_to":"7f231b9d_14513737","updated":"2017-06-13 06:48:53.000000000","message":"Done","commit_id":"8022db37033eecee3dda5e9da84b7a23a2418467"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"114d95c7c8bb9c006ba5a5e6cdaefc4eae840e1b","unresolved":false,"context_lines":[{"line_number":90,"context_line":"The creation of Neutron Opendaylight DHCP port will be invoked within the"},{"line_number":91,"context_line":"OpenDaylight Driver subnet-postcommit execution."},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"Any failures during the neutron port creation or allocation for the subnet"},{"line_number":94,"context_line":"should trigger failure of the subnet create operation with an appropriate"},{"line_number":95,"context_line":"failure message in logs. On success the subnet and port information will be"},{"line_number":96,"context_line":"persisted to Journal DB and will subsequently synced with the OpenDaylight"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f231b9d_7e7e096c","line":93,"range":{"start_line":93,"start_character":24,"end_line":93,"end_character":36},"updated":"2017-06-12 21:42:00.000000000","message":"neutron dhcp port","commit_id":"8022db37033eecee3dda5e9da84b7a23a2418467"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"114d95c7c8bb9c006ba5a5e6cdaefc4eae840e1b","unresolved":false,"context_lines":[{"line_number":90,"context_line":"The creation of Neutron Opendaylight DHCP port will be invoked within the"},{"line_number":91,"context_line":"OpenDaylight Driver subnet-postcommit execution."},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"Any failures during the neutron port creation or allocation for the subnet"},{"line_number":94,"context_line":"should trigger failure of the subnet create operation with an appropriate"},{"line_number":95,"context_line":"failure message in logs. On success the subnet and port information will be"},{"line_number":96,"context_line":"persisted to Journal DB and will subsequently synced with the OpenDaylight"},{"line_number":97,"context_line":"controller."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"The plugin should initiate the removal of allocated dhcp neutron port at the"},{"line_number":100,"context_line":"time of subnet delete. The port removal will be handled in a subnet-delete-"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f231b9d_bed2615b","line":97,"range":{"start_line":93,"start_character":0,"end_line":97,"end_character":10},"updated":"2017-06-12 21:42:00.000000000","message":"neutron db also logs the data, on failure will the transactions in neutron db (for dhcp port creation) will be\nrolled back ?","commit_id":"8022db37033eecee3dda5e9da84b7a23a2418467"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"e7b088f362aa7e5338e23d40ca947317535c0424","unresolved":false,"context_lines":[{"line_number":90,"context_line":"The creation of Neutron Opendaylight DHCP port will be invoked within the"},{"line_number":91,"context_line":"OpenDaylight Driver subnet-postcommit execution."},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"Any failures during the neutron port creation or allocation for the subnet"},{"line_number":94,"context_line":"should trigger failure of the subnet create operation with an appropriate"},{"line_number":95,"context_line":"failure message in logs. On success the subnet and port information will be"},{"line_number":96,"context_line":"persisted to Journal DB and will subsequently synced with the OpenDaylight"},{"line_number":97,"context_line":"controller."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"The plugin should initiate the removal of allocated dhcp neutron port at the"},{"line_number":100,"context_line":"time of subnet delete. The port removal will be handled in a subnet-delete-"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f231b9d_f34a4aaa","line":97,"range":{"start_line":93,"start_character":0,"end_line":97,"end_character":10},"in_reply_to":"7f231b9d_bed2615b","updated":"2017-06-13 04:04:34.000000000","message":"With Alternative 1, since the invocation of create-port will be synchronous within subnet_postcommit, a failure to create-port will result in an exception being thrown which makes the ML2 Plugin to delete the subnet from the Openstack DB.\n\nHowever, with Alternative 2, since the invocation of create-port will be within the journal callback and so asynchronous to subnet_postcommit, the failure to create_port will result in the created (or updated) subnet to remain in PENDING state.  Next journal sync of this pending subnet will again retry creation of port and this cycle will happen until either create-port succeeds or the subnet is deleted from the orchestrator.   All updates to such a subnet until then will be in queue in the journal.\n\nAchuth, please add this information to Alternative 1 and Alternative 2 respectively.","commit_id":"8022db37033eecee3dda5e9da84b7a23a2418467"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"44678832ce04370abe701b08069f8f3b71d49358","unresolved":false,"context_lines":[{"line_number":90,"context_line":"The creation of Neutron Opendaylight DHCP port will be invoked within the"},{"line_number":91,"context_line":"OpenDaylight Driver subnet-postcommit execution."},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"Any failures during the neutron port creation or allocation for the subnet"},{"line_number":94,"context_line":"should trigger failure of the subnet create operation with an appropriate"},{"line_number":95,"context_line":"failure message in logs. On success the subnet and port information will be"},{"line_number":96,"context_line":"persisted to Journal DB and will subsequently synced with the OpenDaylight"},{"line_number":97,"context_line":"controller."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"The plugin should initiate the removal of allocated dhcp neutron port at the"},{"line_number":100,"context_line":"time of subnet delete. The port removal will be handled in a subnet-delete-"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f231b9d_1b5a7c4e","line":97,"range":{"start_line":93,"start_character":0,"end_line":97,"end_character":10},"in_reply_to":"7f231b9d_f34a4aaa","updated":"2017-06-13 06:48:53.000000000","message":"Done. Considered both the add/delete dhcp port cases.","commit_id":"8022db37033eecee3dda5e9da84b7a23a2418467"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"114d95c7c8bb9c006ba5a5e6cdaefc4eae840e1b","unresolved":false,"context_lines":[{"line_number":103,"context_line":"all other VMs launched on this subnet are already removed as per existing"},{"line_number":104,"context_line":"Neutron behavior."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"A subnet update operation configuring the DHCP state as enabled should allocate"},{"line_number":107,"context_line":"such a port if not previously allocated for the subnet. Similarly a subnet"},{"line_number":108,"context_line":"update operation configuring DHCP state to disabled should remove any"},{"line_number":109,"context_line":"previously allocated OpenDaylight DHCP neutron ports."},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"Alternative 2"},{"line_number":112,"context_line":"-------------"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f231b9d_5e2b4d2f","line":109,"range":{"start_line":106,"start_character":0,"end_line":109,"end_character":53},"updated":"2017-06-12 21:42:00.000000000","message":"I see a case is missing in this scenario, suppose someone disable this on subnet-update what will happen if it already have vms or devices got service via that ODL dhcp port, will there be a requirement to delete them first or it will just delete the port and those devices will continue working as long as they don\u0027t need renewal ?","commit_id":"8022db37033eecee3dda5e9da84b7a23a2418467"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"e7b088f362aa7e5338e23d40ca947317535c0424","unresolved":false,"context_lines":[{"line_number":103,"context_line":"all other VMs launched on this subnet are already removed as per existing"},{"line_number":104,"context_line":"Neutron behavior."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"A subnet update operation configuring the DHCP state as enabled should allocate"},{"line_number":107,"context_line":"such a port if not previously allocated for the subnet. Similarly a subnet"},{"line_number":108,"context_line":"update operation configuring DHCP state to disabled should remove any"},{"line_number":109,"context_line":"previously allocated OpenDaylight DHCP neutron ports."},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"Alternative 2"},{"line_number":112,"context_line":"-------------"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f231b9d_53db3eec","line":109,"range":{"start_line":106,"start_character":0,"end_line":109,"end_character":53},"in_reply_to":"7f231b9d_5e2b4d2f","updated":"2017-06-13 04:04:34.000000000","message":"The devices will continue working until their next least renewal.. The dhcp port will be deleted when the subnet-update disable-dhcp journal entry is moved to PROCESSING from PENDING.","commit_id":"8022db37033eecee3dda5e9da84b7a23a2418467"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"114d95c7c8bb9c006ba5a5e6cdaefc4eae840e1b","unresolved":false,"context_lines":[{"line_number":138,"context_line":" * In a HA neutron server environment back to back subnet update operation"},{"line_number":139,"context_line":"   that enable or disable DHCP should handle the port creation/deletion"},{"line_number":140,"context_line":"   accordingly."},{"line_number":141,"context_line":" * A subnet update operation to disable-dhcp can be immediately followed by"},{"line_number":142,"context_line":"   a subnet update operation to enable-dhcp, and such a situation should end up"},{"line_number":143,"context_line":"   in creating the neutron-dhcp-port for consumption by OpenDaylight."},{"line_number":144,"context_line":" * A subnet update operation to enable-dhcp can be immediately followed by a"},{"line_number":145,"context_line":"   subnet update operation to disable-dhcp, and such a situation should end up"},{"line_number":146,"context_line":"   in deleting the neutron-dhcp-port that was created for use by OpenDaylight."},{"line_number":147,"context_line":" * A subnet update operation to enable-dhcp can be immediately followed by a"},{"line_number":148,"context_line":"   subnet delete operation,and such a situation should end up deleting the"},{"line_number":149,"context_line":"   neutron-dhcp-port that was about to be provided for use by OpenDaylight."}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f231b9d_9ee0c5ce","line":146,"range":{"start_line":141,"start_character":2,"end_line":146,"end_character":78},"updated":"2017-06-12 21:42:00.000000000","message":"I don\u0027t think these should be mentioned that\u0027s the expected behavior, doesn\u0027t look like a corner case.","commit_id":"8022db37033eecee3dda5e9da84b7a23a2418467"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"e7b088f362aa7e5338e23d40ca947317535c0424","unresolved":false,"context_lines":[{"line_number":138,"context_line":" * In a HA neutron server environment back to back subnet update operation"},{"line_number":139,"context_line":"   that enable or disable DHCP should handle the port creation/deletion"},{"line_number":140,"context_line":"   accordingly."},{"line_number":141,"context_line":" * A subnet update operation to disable-dhcp can be immediately followed by"},{"line_number":142,"context_line":"   a subnet update operation to enable-dhcp, and such a situation should end up"},{"line_number":143,"context_line":"   in creating the neutron-dhcp-port for consumption by OpenDaylight."},{"line_number":144,"context_line":" * A subnet update operation to enable-dhcp can be immediately followed by a"},{"line_number":145,"context_line":"   subnet update operation to disable-dhcp, and such a situation should end up"},{"line_number":146,"context_line":"   in deleting the neutron-dhcp-port that was created for use by OpenDaylight."},{"line_number":147,"context_line":" * A subnet update operation to enable-dhcp can be immediately followed by a"},{"line_number":148,"context_line":"   subnet delete operation,and such a situation should end up deleting the"},{"line_number":149,"context_line":"   neutron-dhcp-port that was about to be provided for use by OpenDaylight."}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f231b9d_f3dfead3","line":146,"range":{"start_line":141,"start_character":2,"end_line":146,"end_character":78},"in_reply_to":"7f231b9d_9ee0c5ce","updated":"2017-06-13 04:04:34.000000000","message":"It is better to capture everything int he spec, and we never quoted this as corner case.","commit_id":"8022db37033eecee3dda5e9da84b7a23a2418467"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"b491cddf61296748058465bcd2d7c73ca1ab1770","unresolved":false,"context_lines":[{"line_number":138,"context_line":" * In a HA neutron server environment back to back subnet update operation"},{"line_number":139,"context_line":"   that enable or disable DHCP should handle the port creation/deletion"},{"line_number":140,"context_line":"   accordingly."},{"line_number":141,"context_line":" * A subnet update operation to disable-dhcp can be immediately followed by"},{"line_number":142,"context_line":"   a subnet update operation to enable-dhcp, and such a situation should end up"},{"line_number":143,"context_line":"   in creating the neutron-dhcp-port for consumption by OpenDaylight."},{"line_number":144,"context_line":" * A subnet update operation to enable-dhcp can be immediately followed by a"},{"line_number":145,"context_line":"   subnet update operation to disable-dhcp, and such a situation should end up"},{"line_number":146,"context_line":"   in deleting the neutron-dhcp-port that was created for use by OpenDaylight."},{"line_number":147,"context_line":" * A subnet update operation to enable-dhcp can be immediately followed by a"},{"line_number":148,"context_line":"   subnet delete operation,and such a situation should end up deleting the"},{"line_number":149,"context_line":"   neutron-dhcp-port that was about to be provided for use by OpenDaylight."}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f231b9d_788de02f","line":146,"range":{"start_line":141,"start_character":2,"end_line":146,"end_character":78},"in_reply_to":"7f231b9d_f3dfead3","updated":"2017-06-13 16:16:43.000000000","message":"I mean\u0027t its not a special case anyway. I won\u0027t mind keeping it but the first 2 cases addresses some failure or ha scenario, where as other cases just looks like a expected behavior according to spec.","commit_id":"8022db37033eecee3dda5e9da84b7a23a2418467"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"114d95c7c8bb9c006ba5a5e6cdaefc4eae840e1b","unresolved":false,"context_lines":[{"line_number":144,"context_line":" * A subnet update operation to enable-dhcp can be immediately followed by a"},{"line_number":145,"context_line":"   subnet update operation to disable-dhcp, and such a situation should end up"},{"line_number":146,"context_line":"   in deleting the neutron-dhcp-port that was created for use by OpenDaylight."},{"line_number":147,"context_line":" * A subnet update operation to enable-dhcp can be immediately followed by a"},{"line_number":148,"context_line":"   subnet delete operation,and such a situation should end up deleting the"},{"line_number":149,"context_line":"   neutron-dhcp-port that was about to be provided for use by OpenDaylight."},{"line_number":150,"context_line":" * A subnet create operation (with dhcp enabled) can be immediately followed"},{"line_number":151,"context_line":"   by a subnet update operation to disable-dhcp, and such a situation should"},{"line_number":152,"context_line":"   end up in deleting the neutron-dhcp-port that was created for use by"},{"line_number":153,"context_line":"   OpenDaylight."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"Design as per Alternative 2 meets these corner case requirements better and is"},{"line_number":156,"context_line":"what we propose to take as the approach that we will pursue for this spec."}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f231b9d_fef3399d","line":153,"range":{"start_line":147,"start_character":3,"end_line":153,"end_character":16},"updated":"2017-06-12 21:42:00.000000000","message":"these as well !! But I\u0027ll wait for reviews for others.","commit_id":"8022db37033eecee3dda5e9da84b7a23a2418467"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"e7b088f362aa7e5338e23d40ca947317535c0424","unresolved":false,"context_lines":[{"line_number":144,"context_line":" * A subnet update operation to enable-dhcp can be immediately followed by a"},{"line_number":145,"context_line":"   subnet update operation to disable-dhcp, and such a situation should end up"},{"line_number":146,"context_line":"   in deleting the neutron-dhcp-port that was created for use by OpenDaylight."},{"line_number":147,"context_line":" * A subnet update operation to enable-dhcp can be immediately followed by a"},{"line_number":148,"context_line":"   subnet delete operation,and such a situation should end up deleting the"},{"line_number":149,"context_line":"   neutron-dhcp-port that was about to be provided for use by OpenDaylight."},{"line_number":150,"context_line":" * A subnet create operation (with dhcp enabled) can be immediately followed"},{"line_number":151,"context_line":"   by a subnet update operation to disable-dhcp, and such a situation should"},{"line_number":152,"context_line":"   end up in deleting the neutron-dhcp-port that was created for use by"},{"line_number":153,"context_line":"   OpenDaylight."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"Design as per Alternative 2 meets these corner case requirements better and is"},{"line_number":156,"context_line":"what we propose to take as the approach that we will pursue for this spec."}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f231b9d_d3f06e6a","line":153,"range":{"start_line":147,"start_character":3,"end_line":153,"end_character":16},"in_reply_to":"7f231b9d_fef3399d","updated":"2017-06-13 04:04:34.000000000","message":"Let them be there!","commit_id":"8022db37033eecee3dda5e9da84b7a23a2418467"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"cc30db48724dfc8c93bc0ea4fe679347528afe67","unresolved":false,"context_lines":[{"line_number":136,"context_line":"will result in the created (or updated) subnet to remain in PENDING state. Next"},{"line_number":137,"context_line":"journal sync of this pending subnet will again retry creation/deletion of port"},{"line_number":138,"context_line":"and this cycle will happen until either create/delete port succeeds or the"},{"line_number":139,"context_line":"subnet operation is deleted from the orchestrator. All updates to such a subnet"},{"line_number":140,"context_line":"until then will be in queue in the journal."},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"Recommended Alternative"}],"source_content_type":"text/x-rst","patch_set":13,"id":"7f231b9d_aa144c4f","line":139,"updated":"2017-06-13 09:19:26.000000000","message":"subnet is deleted","commit_id":"c2a5f5bcb3d45c3576101b556fa63483b5d5f904"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"cc30db48724dfc8c93bc0ea4fe679347528afe67","unresolved":false,"context_lines":[{"line_number":137,"context_line":"journal sync of this pending subnet will again retry creation/deletion of port"},{"line_number":138,"context_line":"and this cycle will happen until either create/delete port succeeds or the"},{"line_number":139,"context_line":"subnet operation is deleted from the orchestrator. All updates to such a subnet"},{"line_number":140,"context_line":"until then will be in queue in the journal."},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"Recommended Alternative"},{"line_number":143,"context_line":"-----------------------"}],"source_content_type":"text/x-rst","patch_set":13,"id":"7f231b9d_8a175052","line":140,"updated":"2017-06-13 09:19:26.000000000","message":"will be in PENDING state in the journal queue.","commit_id":"c2a5f5bcb3d45c3576101b556fa63483b5d5f904"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"149aceb57c9d99594206c398544e38a3ac1c05cd","unresolved":false,"context_lines":[{"line_number":137,"context_line":"journal sync of this pending subnet will again retry creation/deletion of port"},{"line_number":138,"context_line":"and this cycle will happen until either create/delete port succeeds or the"},{"line_number":139,"context_line":"subnet operation is deleted from the orchestrator. All updates to such a subnet"},{"line_number":140,"context_line":"until then will be in queue in the journal."},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"Recommended Alternative"},{"line_number":143,"context_line":"-----------------------"}],"source_content_type":"text/x-rst","patch_set":13,"id":"7f231b9d_0a034011","line":140,"in_reply_to":"7f231b9d_8a175052","updated":"2017-06-13 09:20:24.000000000","message":"Also since the subnet is never sync\u0027ed to ODL controller, the DHCP offers/renews will not be honored by the dhcp service within the ODL controller, for that subnet.","commit_id":"c2a5f5bcb3d45c3576101b556fa63483b5d5f904"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"2900d0e51100e1d52823a21c77967380f76802a4","unresolved":false,"context_lines":[{"line_number":17,"context_line":"The DHCP service within OpenDaylight currently assumes availability of the"},{"line_number":18,"context_line":"subnet gateway IP address. The subnet gateway ip is not a mandatory parameter"},{"line_number":19,"context_line":"for an OpenStack subnet , and so it might not be available from OpenStack"},{"line_number":20,"context_line":"orchestration.  This renders the DHCP proxy server in OpenDaylight to not be"},{"line_number":21,"context_line":"able to serve DHCP offers to virtual endpoints requesting for IP addresses,"},{"line_number":22,"context_line":"thereby resulting in service unavailability.Even if subnet-gateway-ip is"},{"line_number":23,"context_line":"available in the subnet, it is not a good design in OpenDaylight to hijack"}],"source_content_type":"text/x-rst","patch_set":14,"id":"7f231b9d_279867be","line":20,"updated":"2017-06-13 16:44:54.000000000","message":"renders the DHCP service in OpenDaylight","commit_id":"9ce5dc98bccc5e57aeef3640b669c566f213b1e4"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"2900d0e51100e1d52823a21c77967380f76802a4","unresolved":false,"context_lines":[{"line_number":125,"context_line":"subnet journal-entry is moved from PENDING to PROCESSING. On a failure of"},{"line_number":126,"context_line":"port-creation, the journal will be retained in PENDING state and the subnet"},{"line_number":127,"context_line":"itself won\u0027t be synced to the OpenDaylight controller.The journal-entry state"},{"line_number":128,"context_line":"is marked as COMPLETE only on successful port creation."},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"The subnet create/update operation that allocates an OpenDaylight DHCP port"},{"line_number":131,"context_line":"to always check if a port exists and allocate new port only if none exists"}],"source_content_type":"text/x-rst","patch_set":14,"id":"7f231b9d_6c14064f","line":128,"updated":"2017-06-13 16:44:54.000000000","message":"marked as COMPLETED only on successful port creation + successful synchronization of that subnet resource to ODL controller.\n\nthe same behaviour applies for subnet delete and subnet update operations too.","commit_id":"9ce5dc98bccc5e57aeef3640b669c566f213b1e4"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"2900d0e51100e1d52823a21c77967380f76802a4","unresolved":false,"context_lines":[{"line_number":136,"context_line":"will result in the created (or updated) subnet to remain in PENDING state. Next"},{"line_number":137,"context_line":"journal sync of this pending subnet will again retry creation/deletion of port"},{"line_number":138,"context_line":"and this cycle will happen until either create/delete port succeeds or the"},{"line_number":139,"context_line":"subnet is deleted from the orchestrator. All updates to such a subnet"},{"line_number":140,"context_line":"until then will be in PENDING state in the journal queue. As the subnet is"},{"line_number":141,"context_line":"never sync\u0027ed to ODL controller, the DHCP offers/renews will not be honored by"},{"line_number":142,"context_line":"the dhcp service within the OpenDaylight controller, for that subnet."}],"source_content_type":"text/x-rst","patch_set":14,"id":"7f231b9d_0737abe5","line":139,"updated":"2017-06-13 16:44:54.000000000","message":"subnet itself is deleted by the orchestrating tenant.","commit_id":"9ce5dc98bccc5e57aeef3640b669c566f213b1e4"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"2900d0e51100e1d52823a21c77967380f76802a4","unresolved":false,"context_lines":[{"line_number":146,"context_line":""},{"line_number":147,"context_line":"All of the following cases will need to be addressed by the design."},{"line_number":148,"context_line":""},{"line_number":149,"context_line":" * Neutron server can crash after  submitting information to DB and before"},{"line_number":150,"context_line":"   invoking post-commit during a subnet create/update/delete operation. The"},{"line_number":151,"context_line":"   dhcp-proxy-service should handle the DHCP port creation/deletion during"},{"line_number":152,"context_line":"   such failures when the service is enabled."}],"source_content_type":"text/x-rst","patch_set":14,"id":"7f231b9d_e74a6f53","line":149,"updated":"2017-06-13 16:44:54.000000000","message":"but before","commit_id":"9ce5dc98bccc5e57aeef3640b669c566f213b1e4"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"2900d0e51100e1d52823a21c77967380f76802a4","unresolved":false,"context_lines":[{"line_number":155,"context_line":"   accordingly."},{"line_number":156,"context_line":" * A subnet update operation to disable-dhcp can be immediately followed by"},{"line_number":157,"context_line":"   a subnet update operation to enable-dhcp, and such a situation should end up"},{"line_number":158,"context_line":"   in creating the neutron-dhcp-port for consumption by OpenDaylight."},{"line_number":159,"context_line":" * A subnet update operation to enable-dhcp can be immediately followed by a"},{"line_number":160,"context_line":"   subnet update operation to disable-dhcp, and such a situation should end up"},{"line_number":161,"context_line":"   in deleting the neutron-dhcp-port that was created for use by OpenDaylight."}],"source_content_type":"text/x-rst","patch_set":14,"id":"7f231b9d_c75e5311","line":158,"updated":"2017-06-13 16:44:54.000000000","message":"this point and previous point look the same, remove the second bullet \"In a HA neutron...\"","commit_id":"9ce5dc98bccc5e57aeef3640b669c566f213b1e4"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"2900d0e51100e1d52823a21c77967380f76802a4","unresolved":false,"context_lines":[{"line_number":167,"context_line":"   end up in deleting the neutron-dhcp-port that was created for use by"},{"line_number":168,"context_line":"   OpenDaylight."},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"Design as per Alternative 2 meets these corner case requirements better and is"},{"line_number":171,"context_line":"what we propose to take as the approach that we will pursue for this spec."},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":14,"id":"7f231b9d_475a432a","line":170,"updated":"2017-06-13 16:44:54.000000000","message":"meets the above cases","commit_id":"9ce5dc98bccc5e57aeef3640b669c566f213b1e4"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"24f7767d145ac7623833984655b90bdd77dff632","unresolved":false,"context_lines":[{"line_number":88,"context_line":"device-owner values."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":" * device-owner(network:dhcp)"},{"line_number":91,"context_line":" * device-id(OpenDaylight)"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"Alternative 1"},{"line_number":94,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"7f231b9d_860b9a22","line":91,"updated":"2017-06-14 13:24:55.000000000","message":"device-id will be OpenDaylight-\u003csubnet-id\u003e","commit_id":"cec80dfa0a68e282bf406dd9b837c263b153dd88"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"82700a819ed19ea67b98e228bbd209129553f2d4","unresolved":false,"context_lines":[{"line_number":88,"context_line":"device-owner values."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":" * device-owner(network:dhcp)"},{"line_number":91,"context_line":" * device-id(OpenDaylight)"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"Alternative 1"},{"line_number":94,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"7f231b9d_e605a312","line":91,"in_reply_to":"7f231b9d_860b9a22","updated":"2017-06-14 18:36:06.000000000","message":"Done","commit_id":"cec80dfa0a68e282bf406dd9b837c263b153dd88"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"24f7767d145ac7623833984655b90bdd77dff632","unresolved":false,"context_lines":[{"line_number":132,"context_line":"itself won\u0027t be synced to the OpenDaylight controller. The journal-entry state"},{"line_number":133,"context_line":"is marked as COMPLETED only on successful port creation and successful"},{"line_number":134,"context_line":"synchronization of that subnet resource to OpenDaylight controller. The same"},{"line_number":135,"context_line":"behavior is applicable for subnet update and delete operations too."},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"The subnet create/update operation that allocates an OpenDaylight DHCP port"},{"line_number":138,"context_line":"to always check if a port exists and allocate new port only if none exists"}],"source_content_type":"text/x-rst","patch_set":15,"id":"7f231b9d_a606961b","line":135,"updated":"2017-06-14 13:24:55.000000000","message":"as per what we discussed today we will not pile up journal entries, since we are using a new flag in ODL to indicate the mode of DHCP service operation.\n\nSo please update this spec to quote the same.","commit_id":"cec80dfa0a68e282bf406dd9b837c263b153dd88"},{"author":{"_account_id":25550,"name":"Achuth","email":"achuth.maniyedath@gmail.com","username":"achuthm"},"change_message_id":"82700a819ed19ea67b98e228bbd209129553f2d4","unresolved":false,"context_lines":[{"line_number":132,"context_line":"itself won\u0027t be synced to the OpenDaylight controller. The journal-entry state"},{"line_number":133,"context_line":"is marked as COMPLETED only on successful port creation and successful"},{"line_number":134,"context_line":"synchronization of that subnet resource to OpenDaylight controller. The same"},{"line_number":135,"context_line":"behavior is applicable for subnet update and delete operations too."},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"The subnet create/update operation that allocates an OpenDaylight DHCP port"},{"line_number":138,"context_line":"to always check if a port exists and allocate new port only if none exists"}],"source_content_type":"text/x-rst","patch_set":15,"id":"7f231b9d_c311795f","line":135,"in_reply_to":"7f231b9d_a606961b","updated":"2017-06-14 18:36:06.000000000","message":"The flag will help indicate failures for ODL when a dhcp port is not available . How can we avoid the piling up of journal entries we could discuss.","commit_id":"cec80dfa0a68e282bf406dd9b837c263b153dd88"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"371f392fe358e87f47fbaa2a6bb4bbf6e5b4b812","unresolved":false,"context_lines":[{"line_number":12,"context_line":"the DHCP Server IP as it stands today."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"The networking-odl driver is not aware about the above OpenDaylight controller"},{"line_number":15,"context_line":"parameter configuration. When controller-dhcp-enabled configuration flag is set"},{"line_number":16,"context_line":"false the DHCP port will be created and destroyed without causing any harm to"},{"line_number":17,"context_line":"either OpenDaylight controller or networking-odl driver."},{"line_number":18,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"7f231b9d_5c48aa5a","line":15,"range":{"start_line":15,"start_character":75,"end_line":15,"end_character":79},"updated":"2017-06-14 20:38:00.000000000","message":"`set to`","commit_id":"55fa2448c7790783ce293406ebb75877f9612183"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"371f392fe358e87f47fbaa2a6bb4bbf6e5b4b812","unresolved":false,"context_lines":[{"line_number":24,"context_line":"for an OpenStack subnet , and so it might not be available from OpenStack"},{"line_number":25,"context_line":"orchestration.  This renders the DHCP service in OpenDaylight to not be"},{"line_number":26,"context_line":"able to serve DHCP offers to virtual endpoints requesting for IP addresses,"},{"line_number":27,"context_line":"thereby resulting in service unavailability.Even if subnet-gateway-ip is"},{"line_number":28,"context_line":"available in the subnet, it is not a good design in OpenDaylight to hijack"},{"line_number":29,"context_line":"that ip address and use that as the DHCP Server IP Address."},{"line_number":30,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"7f231b9d_9cc76297","line":27,"range":{"start_line":27,"start_character":43,"end_line":27,"end_character":45},"updated":"2017-06-14 20:38:00.000000000","message":"space after period.","commit_id":"55fa2448c7790783ce293406ebb75877f9612183"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"371f392fe358e87f47fbaa2a6bb4bbf6e5b4b812","unresolved":false,"context_lines":[{"line_number":65,"context_line":"In general as part of implementation of this spec, we are introducing a new"},{"line_number":66,"context_line":"configuration parameter \u0027enable_dhcp_proxy\u0027 whose truth value determines"},{"line_number":67,"context_line":"whether the dhcp-proxy-service within the openstack-odl framework need to be"},{"line_number":68,"context_line":"made functional.This service will be responsible for managing the create/"},{"line_number":69,"context_line":"update/delete lifecycle for a new set of Neutron DHCP Ports which will be"},{"line_number":70,"context_line":"provisioned specifically for use by the OpenDaylight Controller\u0027s existing"},{"line_number":71,"context_line":"DHCP Service Module."}],"source_content_type":"text/x-rst","patch_set":16,"id":"7f231b9d_1c30f29e","line":68,"range":{"start_line":68,"start_character":15,"end_line":68,"end_character":18},"updated":"2017-06-14 20:38:00.000000000","message":"space after period","commit_id":"55fa2448c7790783ce293406ebb75877f9612183"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"371f392fe358e87f47fbaa2a6bb4bbf6e5b4b812","unresolved":false,"context_lines":[{"line_number":93,"context_line":"Alternative 1"},{"line_number":94,"context_line":"--------------"},{"line_number":95,"context_line":"The creation of Neutron Opendaylight DHCP port will be invoked within the"},{"line_number":96,"context_line":"OpenDaylight Driver subnet-postcommit execution."},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"Any failures during the neutron dhcp port creation or allocation for the subnet"},{"line_number":99,"context_line":"should trigger failure of the subnet create operation with an appropriate"}],"source_content_type":"text/x-rst","patch_set":16,"id":"7f231b9d_773fffb3","line":96,"range":{"start_line":96,"start_character":0,"end_line":96,"end_character":12},"updated":"2017-06-14 20:38:00.000000000","message":"`OpenDaylight mechanism`","commit_id":"55fa2448c7790783ce293406ebb75877f9612183"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"371f392fe358e87f47fbaa2a6bb4bbf6e5b4b812","unresolved":false,"context_lines":[{"line_number":139,"context_line":"for the subnet."},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"Since the invocation of create/delete port will be within the journal callback"},{"line_number":142,"context_line":"and so asynchronous to subnet-postcommit, the failure to create/delete port"},{"line_number":143,"context_line":"will result in the created (or updated) subnet to remain in PENDING state. Next"},{"line_number":144,"context_line":"journal sync of this pending subnet will again retry creation/deletion of port"},{"line_number":145,"context_line":"and this cycle will happen until either create/delete port succeeds or the"}],"source_content_type":"text/x-rst","patch_set":16,"id":"7f231b9d_97b05b45","line":142,"range":{"start_line":142,"start_character":4,"end_line":142,"end_character":19},"updated":"2017-06-14 20:38:00.000000000","message":"just `asynchronous` is enough to explain.","commit_id":"55fa2448c7790783ce293406ebb75877f9612183"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"0ce63c8bb4158893ed35b5f3887435cd2ed0f9e2","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":2,"context_line":"Neutron Port Allocation per Subnet for OpenDaylight DHCP Proxy Service"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"7f231b9d_43c3db57","line":1,"updated":"2017-06-17 00:04:23.000000000","message":"Please add lisence. Please see at the existing spec.","commit_id":"002fed478ba98084b2974d5b16fbee936ed09a78"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"0ce63c8bb4158893ed35b5f3887435cd2ed0f9e2","unresolved":false,"context_lines":[{"line_number":2,"context_line":"Neutron Port Allocation per Subnet for OpenDaylight DHCP Proxy Service"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"This spec describes the  proposal to allocate a Neutron DHCP Port just for"},{"line_number":6,"context_line":"use by OpenDaylight Controller on Subnets that are created or updated with"},{"line_number":7,"context_line":"enable-dhcp to True."},{"line_number":8,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"7f231b9d_23a45fb9","line":5,"range":{"start_line":5,"start_character":23,"end_line":5,"end_character":25},"updated":"2017-06-17 00:04:23.000000000","message":"double space.","commit_id":"002fed478ba98084b2974d5b16fbee936ed09a78"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"0ce63c8bb4158893ed35b5f3887435cd2ed0f9e2","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"The DHCP service within OpenDaylight currently assumes availability of the"},{"line_number":23,"context_line":"subnet gateway IP address. The subnet gateway ip is not a mandatory parameter"},{"line_number":24,"context_line":"for an OpenStack subnet , and so it might not be available from OpenStack"},{"line_number":25,"context_line":"orchestration.  This renders the DHCP service in OpenDaylight to not be"},{"line_number":26,"context_line":"able to serve DHCP offers to virtual endpoints requesting for IP addresses,"},{"line_number":27,"context_line":"thereby resulting in service unavailability. Even if subnet-gateway-ip is"}],"source_content_type":"text/x-rst","patch_set":17,"id":"7f231b9d_a3974f48","line":24,"range":{"start_line":24,"start_character":23,"end_line":24,"end_character":24},"updated":"2017-06-17 00:04:23.000000000","message":"unncessary white space.","commit_id":"002fed478ba98084b2974d5b16fbee936ed09a78"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"0ce63c8bb4158893ed35b5f3887435cd2ed0f9e2","unresolved":false,"context_lines":[{"line_number":72,"context_line":""},{"line_number":73,"context_line":"Detailed Design"},{"line_number":74,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":75,"context_line":"Introduce a driver config parameter (enable_dhcp_proxy) to determine if"},{"line_number":76,"context_line":"OpenDaylight based DHCP service is being used. Default setting for the"},{"line_number":77,"context_line":"parameter is false."},{"line_number":78,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"7f231b9d_03904349","line":75,"range":{"start_line":75,"start_character":44,"end_line":75,"end_character":54},"updated":"2017-06-17 00:04:23.000000000","message":"This would cause misunderstanding. (this doesn\u0027t enable dhcp proxy or relay, right?)\nCan you please invent better parameter name.","commit_id":"002fed478ba98084b2974d5b16fbee936ed09a78"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"0f585a11f0aa98b0b17c0f6baa7181d95de47f57","unresolved":false,"context_lines":[{"line_number":72,"context_line":""},{"line_number":73,"context_line":"Detailed Design"},{"line_number":74,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":75,"context_line":"Introduce a driver config parameter (enable_dhcp_proxy) to determine if"},{"line_number":76,"context_line":"OpenDaylight based DHCP service is being used. Default setting for the"},{"line_number":77,"context_line":"parameter is false."},{"line_number":78,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"7f231b9d_fcd84853","line":75,"range":{"start_line":75,"start_character":44,"end_line":75,"end_character":54},"in_reply_to":"7f231b9d_03904349","updated":"2017-06-19 06:15:19.000000000","message":"\"create_dhcp_port_for_opendaylight\" would be more closer?","commit_id":"002fed478ba98084b2974d5b16fbee936ed09a78"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"0ce63c8bb4158893ed35b5f3887435cd2ed0f9e2","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":" * device-owner(network:dhcp)"},{"line_number":91,"context_line":" * device-id(OpenDaylight-\u003csubnet-id\u003e)"},{"line_number":92,"context_line":" "},{"line_number":93,"context_line":"OpenDaylight DHCP service will also introduce a new config parameter controller"},{"line_number":94,"context_line":"-dhcp-mode to indicate if the above DHCP port should be used for servicing DHCP"},{"line_number":95,"context_line":"requests."}],"source_content_type":"text/x-rst","patch_set":17,"id":"7f231b9d_e382e7ff","line":92,"range":{"start_line":92,"start_character":0,"end_line":92,"end_character":1},"updated":"2017-06-17 00:04:23.000000000","message":"trailing white space.","commit_id":"002fed478ba98084b2974d5b16fbee936ed09a78"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"53ac04b1bca29ce183daf16af6596f145223f8e5","unresolved":false,"context_lines":[{"line_number":92,"context_line":" "},{"line_number":93,"context_line":"OpenDaylight DHCP service will also introduce a new config parameter controller"},{"line_number":94,"context_line":"-dhcp-mode to indicate if the above DHCP port should be used for servicing DHCP"},{"line_number":95,"context_line":"requests."},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"Alternative 1"},{"line_number":98,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":17,"id":"7f231b9d_6959348c","line":95,"updated":"2017-06-16 06:10:18.000000000","message":"We should add here that enable_dhcp_proxy here is recommended to be used along when ODL controller dhcp_mode set to netron-port-dhcp","commit_id":"002fed478ba98084b2974d5b16fbee936ed09a78"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"53ac04b1bca29ce183daf16af6596f145223f8e5","unresolved":false,"context_lines":[{"line_number":145,"context_line":"Since the invocation of create/delete port will be within the journal callback"},{"line_number":146,"context_line":"and asynchronous to subnet-postcommit, the failure to create/delete port"},{"line_number":147,"context_line":"will result in the created (or updated) subnet to remain in PENDING state. Next"},{"line_number":148,"context_line":"journal sync of this pending subnet will again retry creation/deletion of port"},{"line_number":149,"context_line":"and this cycle will happen until either create/delete port succeeds or the"},{"line_number":150,"context_line":"subnet is itself deleted by the orchestrating tenant. All updates to such a"},{"line_number":151,"context_line":"subnet until then will be in PENDING state in the journal queue. As the subnet"}],"source_content_type":"text/x-rst","patch_set":17,"id":"7f231b9d_e9730415","line":148,"updated":"2017-06-16 06:10:18.000000000","message":"this para need to be corrected.\n\nWe need to restate this as since per our discussion we should not be retrying the create_port.  We will avoid journal stale entries getting built up.","commit_id":"002fed478ba98084b2974d5b16fbee936ed09a78"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"0ce63c8bb4158893ed35b5f3887435cd2ed0f9e2","unresolved":false,"context_lines":[{"line_number":157,"context_line":""},{"line_number":158,"context_line":"All of the following cases will need to be addressed by the design."},{"line_number":159,"context_line":""},{"line_number":160,"context_line":" * Neutron server can crash after  submitting information to DB but before"},{"line_number":161,"context_line":"   invoking post-commit during a subnet create/update/delete operation. The"},{"line_number":162,"context_line":"   dhcp-proxy-service should handle the DHCP port creation/deletion during"},{"line_number":163,"context_line":"   such failures when the service is enabled."}],"source_content_type":"text/x-rst","patch_set":17,"id":"7f231b9d_e3e547dd","line":160,"range":{"start_line":160,"start_character":33,"end_line":160,"end_character":35},"updated":"2017-06-17 00:04:23.000000000","message":"double white space.","commit_id":"002fed478ba98084b2974d5b16fbee936ed09a78"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"a39145afafa38aece28bab1da8e3b74955a21fe5","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"The DHCP service within OpenDaylight currently assumes availability of the"},{"line_number":29,"context_line":"subnet gateway IP address. The subnet gateway ip is not a mandatory parameter"},{"line_number":30,"context_line":"for an OpenStack subnet, and so it might not be available from OpenStack"},{"line_number":31,"context_line":"orchestration.  This renders the DHCP service in OpenDaylight to not be"},{"line_number":32,"context_line":"able to serve DHCP offers to virtual endpoints requesting for IP addresses,"},{"line_number":33,"context_line":"thereby resulting in service unavailability. Even if subnet-gateway-ip is"},{"line_number":34,"context_line":"available in the subnet, it is not a good design in OpenDaylight to hijack"}],"source_content_type":"text/x-rst","patch_set":19,"id":"7f231b9d_3dbb3073","line":31,"range":{"start_line":30,"start_character":29,"end_line":31,"end_character":13},"updated":"2017-06-19 23:04:23.000000000","message":"this its not clear to me ? it is optional but it also gives the default ip, normally first available ip from cidr? it is available just need to fetch it ? for design sake it may make sense.","commit_id":"efa02e57d09613f867916a98fd672691ed0cbcc4"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"ce23fcb56d53d4adb81334d24360a1bcda16ff62","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"The DHCP service within OpenDaylight currently assumes availability of the"},{"line_number":29,"context_line":"subnet gateway IP address. The subnet gateway ip is not a mandatory parameter"},{"line_number":30,"context_line":"for an OpenStack subnet, and so it might not be available from OpenStack"},{"line_number":31,"context_line":"orchestration.  This renders the DHCP service in OpenDaylight to not be"},{"line_number":32,"context_line":"able to serve DHCP offers to virtual endpoints requesting for IP addresses,"},{"line_number":33,"context_line":"thereby resulting in service unavailability. Even if subnet-gateway-ip is"},{"line_number":34,"context_line":"available in the subnet, it is not a good design in OpenDaylight to hijack"}],"source_content_type":"text/x-rst","patch_set":19,"id":"5f201791_fbb0278e","line":31,"range":{"start_line":30,"start_character":29,"end_line":31,"end_character":13},"in_reply_to":"7f231b9d_3dbb3073","updated":"2017-06-20 14:20:51.000000000","message":"you can set the subnet-gateway-ip as None via Nuetron, and during that cirucumstance you will lose the IP itself.\n\nFurther even if subnet-gateway-ip is available, that doesn\u0027t mandate a neutron-router to be available to provide a router-interface that owns the subnet-gateway-ip.  And so a mac-address for subnet-gateway-ip won\u0027t be available.","commit_id":"efa02e57d09613f867916a98fd672691ed0cbcc4"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"a39145afafa38aece28bab1da8e3b74955a21fe5","unresolved":false,"context_lines":[{"line_number":69,"context_line":"Proposed Change"},{"line_number":70,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":71,"context_line":"In general as part of implementation of this spec, we are introducing a new"},{"line_number":72,"context_line":"configuration parameter \u0027create_opendaylight_dhcp_port\u0027 whose truth value"},{"line_number":73,"context_line":"determines whether the dhcp-proxy-service within the openstack-odl framework"},{"line_number":74,"context_line":"need to be made functional. This service will be responsible for managing the"},{"line_number":75,"context_line":"create/update/delete lifecycle for a new set of Neutron DHCP Ports which will"}],"source_content_type":"text/x-rst","patch_set":19,"id":"7f231b9d_dd579c26","line":72,"range":{"start_line":72,"start_character":32,"end_line":72,"end_character":54},"updated":"2017-06-19 23:04:23.000000000","message":"no action required, But I\u0027d suggest using just `opendaylight_dhcp_port` or `enable_dhcp_proxy`","commit_id":"efa02e57d09613f867916a98fd672691ed0cbcc4"}]}
