)]}'
{"specs/juno/l3-agent-consolidation.rst":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"adba7b75c8ed373fb7f499e6773aff322e771801","unresolved":false,"context_lines":[{"line_number":36,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The l3-agent will have a set of hook points and driver loading"},{"line_number":39,"context_line":"mechanism for advanced services."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"The agent codes for FWaaS and VPNaaS will be rewritten as advanced"},{"line_number":42,"context_line":"service drivers."}],"source_content_type":"text/x-rst","patch_set":1,"id":"9ad9bd40_d6e1869b","line":39,"updated":"2014-05-04 01:48:54.000000000","message":"Can you elaborate a bit more concretely?\nwhich layer do you  have in mind?\n\nIt would be discussed at the summit, though.","commit_id":"cfc07c7129723e2d80b5cc9be9f94672f361fb6e"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"e95e0ef1b8a6e53af121419b1372f5b0a2e625a2","unresolved":false,"context_lines":[{"line_number":36,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The l3-agent will have a set of hook points and driver loading"},{"line_number":39,"context_line":"mechanism for advanced services."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"The agent codes for FWaaS and VPNaaS will be rewritten as advanced"},{"line_number":42,"context_line":"service drivers."}],"source_content_type":"text/x-rst","patch_set":1,"id":"9ad9bd40_2c4771bd","line":39,"in_reply_to":"9ad9bd40_d6e1869b","updated":"2014-05-07 08:02:41.000000000","message":"added some items for them.  maybe more would be necessary.\ndoes this make sense to you?","commit_id":"cfc07c7129723e2d80b5cc9be9f94672f361fb6e"},{"author":{"_account_id":7021,"name":"Hareesh Puthalath","email":"hareesh.puthalath@gmail.com","username":"hareesh"},"change_message_id":"f3712b07025008392eacaca894799452d158883d","unresolved":false,"context_lines":[{"line_number":27,"context_line":"  run more than one of such agents.  Also, it isn\u0027t possible to"},{"line_number":28,"context_line":"  arbitrarily select and enable some of such advanced services, as"},{"line_number":29,"context_line":"  they are hard-coded."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"* It is not possible to implement vendor-specific l3-agent extensions"},{"line_number":32,"context_line":"  without changing the l3-agent code."},{"line_number":33,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9ad9bd40_9732465d","line":30,"updated":"2014-05-07 09:14:33.000000000","message":"Also, now might be a good time to also separate the configuration functions (like _create_router_namespace, internal_network_added) from the service workflow functions (like process_router, process_router_floating_ip_addresses). \n\nIn addition to more cleaner code and adding flexibility, it would enable moving configuration operations into some kind of a driver. \n\nI see two benefits:\na. An alternative to hookpoints on create/update/delete\nb. Enable drivers which can use the  l3 agent, but configure routing on something other than namespace (like hardware devices or VMs)","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":2031,"name":"Nachi Ueno","email":"nati.ueno@gmail.com","username":"nati-ueno"},"change_message_id":"bffb125a833a0fef593d8d5a284b91289ea258ee","unresolved":false,"context_lines":[{"line_number":27,"context_line":"  run more than one of such agents.  Also, it isn\u0027t possible to"},{"line_number":28,"context_line":"  arbitrarily select and enable some of such advanced services, as"},{"line_number":29,"context_line":"  they are hard-coded."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"* It is not possible to implement vendor-specific l3-agent extensions"},{"line_number":32,"context_line":"  without changing the l3-agent code."},{"line_number":33,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_74780590","line":30,"in_reply_to":"7adec928_3aa0fc42","updated":"2014-05-20 23:28:27.000000000","message":"+1","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"03b6204402cc2bd642e48e756eab3b4a771a47bc","unresolved":false,"context_lines":[{"line_number":27,"context_line":"  run more than one of such agents.  Also, it isn\u0027t possible to"},{"line_number":28,"context_line":"  arbitrarily select and enable some of such advanced services, as"},{"line_number":29,"context_line":"  they are hard-coded."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"* It is not possible to implement vendor-specific l3-agent extensions"},{"line_number":32,"context_line":"  without changing the l3-agent code."},{"line_number":33,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_155a5850","line":30,"in_reply_to":"7adec928_74780590","updated":"2014-05-21 07:37:45.000000000","message":"I\u0027ve mentioned this driver-based approach in the alternatives section.","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":7021,"name":"Hareesh Puthalath","email":"hareesh.puthalath@gmail.com","username":"hareesh"},"change_message_id":"70a22a5e344f718324fbf93a84d08e6f7933fd13","unresolved":false,"context_lines":[{"line_number":27,"context_line":"  run more than one of such agents.  Also, it isn\u0027t possible to"},{"line_number":28,"context_line":"  arbitrarily select and enable some of such advanced services, as"},{"line_number":29,"context_line":"  they are hard-coded."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"* It is not possible to implement vendor-specific l3-agent extensions"},{"line_number":32,"context_line":"  without changing the l3-agent code."},{"line_number":33,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_3aa0fc42","line":30,"in_reply_to":"7adec928_d6ad3a8a","updated":"2014-05-09 10:47:59.000000000","message":"Good. We need to discuss how to proceed this.\nI have been looking into this for configuring advanced services in VMs(https://review.openstack.org/#/c/90729/)","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"916d510145d0a29221f75de0e7d9af0a6c5d8f2f","unresolved":false,"context_lines":[{"line_number":27,"context_line":"  run more than one of such agents.  Also, it isn\u0027t possible to"},{"line_number":28,"context_line":"  arbitrarily select and enable some of such advanced services, as"},{"line_number":29,"context_line":"  they are hard-coded."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"* It is not possible to implement vendor-specific l3-agent extensions"},{"line_number":32,"context_line":"  without changing the l3-agent code."},{"line_number":33,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_8c090598","line":30,"in_reply_to":"9ad9bd40_9732465d","updated":"2014-05-07 22:10:39.000000000","message":"+1","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"015fe1c86365a706165987f4f2ef467ecbcf4e11","unresolved":false,"context_lines":[{"line_number":27,"context_line":"  run more than one of such agents.  Also, it isn\u0027t possible to"},{"line_number":28,"context_line":"  arbitrarily select and enable some of such advanced services, as"},{"line_number":29,"context_line":"  they are hard-coded."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"* It is not possible to implement vendor-specific l3-agent extensions"},{"line_number":32,"context_line":"  without changing the l3-agent code."},{"line_number":33,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_d6ad3a8a","line":30,"in_reply_to":"9ad9bd40_9732465d","updated":"2014-05-09 01:35:05.000000000","message":"I think it\u0027s the way to go.\nBut we need to consider how to do with advanced services code with hardware/VM routing drivers, as the current fwaas and vpnaas codes are somewhat coupled to the namespace l3 code.","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"110eae3a2ac0669d99417a1a3daaa50dba13b0c3","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Hook points:"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"* router creation, update and deletion"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"* router interface change"},{"line_number":46,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_949e9505","line":43,"updated":"2014-05-20 08:12:24.000000000","message":"is it router creation/deletion or router deploy/undeploy ?","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"03b6204402cc2bd642e48e756eab3b4a771a47bc","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Hook points:"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"* router creation, update and deletion"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"* router interface change"},{"line_number":46,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_7203b276","line":43,"in_reply_to":"7adec928_949e9505","updated":"2014-05-21 07:37:45.000000000","message":"I called them in terms of API.\nHaving pre-create, post-create hooks, etc. satisfy your needs?","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"110eae3a2ac0669d99417a1a3daaa50dba13b0c3","unresolved":false,"context_lines":[{"line_number":41,"context_line":"Hook points:"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"* router creation, update and deletion"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"* router interface change"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Router API used by advanced service drivers:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_4750dd0a","line":44,"updated":"2014-05-20 08:12:24.000000000","message":"we might refine hooks by defining their signatures.\nPerhaps something like:\n def router_pre_deploy(self, router_info)\n def router_post_deploy(self, router_info)\n ...\nwhere router_info is an instance of RouterInfo","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"03b6204402cc2bd642e48e756eab3b4a771a47bc","unresolved":false,"context_lines":[{"line_number":41,"context_line":"Hook points:"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"* router creation, update and deletion"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"* router interface change"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Router API used by advanced service drivers:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_32484acc","line":44,"in_reply_to":"7adec928_4750dd0a","updated":"2014-05-21 07:37:45.000000000","message":"That\u0027s sound reasonable but I\u0027d like to define them in next turn.","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"110eae3a2ac0669d99417a1a3daaa50dba13b0c3","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"* router creation, update and deletion"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"* router interface change"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Router API used by advanced service drivers:"},{"line_number":48,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_e7f649d6","line":45,"updated":"2014-05-20 08:12:24.000000000","message":"we should provide only hooks on router interface update or on router interface deploy/update/undeploy ? do we differentiate internal interface and gateway interface ?","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"03b6204402cc2bd642e48e756eab3b4a771a47bc","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"* router creation, update and deletion"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"* router interface change"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Router API used by advanced service drivers:"},{"line_number":48,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_92167ea6","line":45,"in_reply_to":"7adec928_e7f649d6","updated":"2014-05-21 07:37:45.000000000","message":"Clarified in the next version.\ninternal/external interface differentiation will be determined when hook APIs are defined.","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":2031,"name":"Nachi Ueno","email":"nati.ueno@gmail.com","username":"nati-ueno"},"change_message_id":"bffb125a833a0fef593d8d5a284b91289ea258ee","unresolved":false,"context_lines":[{"line_number":45,"context_line":"* router interface change"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Router API used by advanced service drivers:"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"* retrieve a router_info from router_id"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"* retrieve a list of router_ids hosted by the l3-agent"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_549a29c6","line":48,"updated":"2014-05-20 23:28:27.000000000","message":"How about floating ips?","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"03b6204402cc2bd642e48e756eab3b4a771a47bc","unresolved":false,"context_lines":[{"line_number":45,"context_line":"* router interface change"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Router API used by advanced service drivers:"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"* retrieve a router_info from router_id"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"* retrieve a list of router_ids hosted by the l3-agent"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_321f6ab9","line":48,"in_reply_to":"7adec928_549a29c6","updated":"2014-05-21 07:37:45.000000000","message":"Isn\u0027t it included in the router_info?\nBTW, I\u0027ve added hook points for them.","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"110eae3a2ac0669d99417a1a3daaa50dba13b0c3","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"* retrieve a list of router_ids hosted by the l3-agent"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"The agent codes for FWaaS and VPNaaS will be rewritten as advanced"},{"line_number":54,"context_line":"service drivers."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_47929d4c","line":53,"updated":"2014-05-20 08:12:24.000000000","message":"FWaaS and VPNaaS need to receive/send RPC messages ?","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":2031,"name":"Nachi Ueno","email":"nati.ueno@gmail.com","username":"nati-ueno"},"change_message_id":"bffb125a833a0fef593d8d5a284b91289ea258ee","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"* retrieve a list of router_ids hosted by the l3-agent"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"The agent codes for FWaaS and VPNaaS will be rewritten as advanced"},{"line_number":54,"context_line":"service drivers."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_345e7d13","line":53,"in_reply_to":"7adec928_47929d4c","updated":"2014-05-20 23:28:27.000000000","message":"Yes, each driver should be capable to manage RPC messages","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"110eae3a2ac0669d99417a1a3daaa50dba13b0c3","unresolved":false,"context_lines":[{"line_number":56,"context_line":"Alternatives"},{"line_number":57,"context_line":"------------"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"None."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"Data model impact"},{"line_number":62,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_878105fd","line":59,"updated":"2014-05-20 08:12:24.000000000","message":"An alternative would to add hooking (empty by default) methods in L3 manager and allow to extend L3 manager and allow to set L3 manager through configuration.\n\nPROS: easier to implement\nCONS: harder to maintain ?","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"03b6204402cc2bd642e48e756eab3b4a771a47bc","unresolved":false,"context_lines":[{"line_number":56,"context_line":"Alternatives"},{"line_number":57,"context_line":"------------"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"None."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"Data model impact"},{"line_number":62,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_95c028e2","line":59,"in_reply_to":"7adec928_878105fd","updated":"2014-05-21 07:37:45.000000000","message":"Using hooks is described above and it\u0027s currently a main course.\n\nThe alternative would be \"use replaceable driver calls instead of hooking\". Right?","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"110eae3a2ac0669d99417a1a3daaa50dba13b0c3","unresolved":false,"context_lines":[{"line_number":116,"context_line":"primary author and contact."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"Primary assignee:"},{"line_number":119,"context_line":"  \u003claunchpad-id or None\u003e"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"Other contributors:"},{"line_number":122,"context_line":"  \u003claunchpad-id or None\u003e"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_8a82ecc5","line":119,"updated":"2014-05-20 08:12:24.000000000","message":"Do you want to support it ?","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"03b6204402cc2bd642e48e756eab3b4a771a47bc","unresolved":false,"context_lines":[{"line_number":116,"context_line":"primary author and contact."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"Primary assignee:"},{"line_number":119,"context_line":"  \u003claunchpad-id or None\u003e"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"Other contributors:"},{"line_number":122,"context_line":"  \u003claunchpad-id or None\u003e"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_607838f9","line":119,"in_reply_to":"7adec928_8a82ecc5","updated":"2014-05-21 07:37:45.000000000","message":"Done","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":7021,"name":"Hareesh Puthalath","email":"hareesh.puthalath@gmail.com","username":"hareesh"},"change_message_id":"f6d30d2117b6d44285f9ca65bee1d7846163f86e","unresolved":false,"context_lines":[{"line_number":119,"context_line":"  \u003claunchpad-id or None\u003e"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"Other contributors:"},{"line_number":122,"context_line":"  \u003claunchpad-id or None\u003e"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"Work Items"},{"line_number":125,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_2b1285b1","line":122,"updated":"2014-05-08 14:24:14.000000000","message":"I am interested in helping out with this.","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"110eae3a2ac0669d99417a1a3daaa50dba13b0c3","unresolved":false,"context_lines":[{"line_number":119,"context_line":"  \u003claunchpad-id or None\u003e"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"Other contributors:"},{"line_number":122,"context_line":"  \u003claunchpad-id or None\u003e"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"Work Items"},{"line_number":125,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_ffb17747","line":122,"in_reply_to":"7adec928_2b1285b1","updated":"2014-05-20 08:12:24.000000000","message":"I am also interested","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"03b6204402cc2bd642e48e756eab3b4a771a47bc","unresolved":false,"context_lines":[{"line_number":119,"context_line":"  \u003claunchpad-id or None\u003e"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"Other contributors:"},{"line_number":122,"context_line":"  \u003claunchpad-id or None\u003e"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"Work Items"},{"line_number":125,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_a08240c6","line":122,"in_reply_to":"7adec928_ffb17747","updated":"2014-05-21 07:37:45.000000000","message":"Done","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"110eae3a2ac0669d99417a1a3daaa50dba13b0c3","unresolved":false,"context_lines":[{"line_number":124,"context_line":"Work Items"},{"line_number":125,"context_line":"----------"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"TBD."},{"line_number":128,"context_line":""},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_6ad68050","line":127,"updated":"2014-05-20 08:12:24.000000000","message":"Work items proposal:\n 1) Base \n  Define a L3ServiceManager base (inspired by MechanismManager) \n  Integrate it with L3Manager (only loading it)\n 2) Router hooks\n 2.1) Define a L3ServiceAbstractDriver with router hooks\n 2.2) Define a L3ServiceLogDriver for testing with associated hooks,\n 2.3) Add router hooks to L3ServiceManager + update L3 Manager\n 3) Router interface hooks\n 3.1) Add router interface hooks to L3ServiceAbstractDriver\n 3.2) Add router interface hooks to L3ServiceLogDriver\n 3.3) Add router interface hooks to L3ServiceManager and update L3 Manager\n 4) RPC ?\n 4.1) Add rpc to L3ServiceAbstractDriver\n 4.2) Add rpc to L3ServiceLogDriver\n 4.3) Add rpc to L3ServiceManager and update L3 Manager\n\n 1) and 2.3) could be merged\n 2.1), 3.1) and 4.1) can be merged in order to allow FWaaS/VPNaaS starting\n advanced service driver development\n an item on L3Manager refactor (as proposed by Hareesh) could/should be done ( before 3) ?)","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"03b6204402cc2bd642e48e756eab3b4a771a47bc","unresolved":false,"context_lines":[{"line_number":124,"context_line":"Work Items"},{"line_number":125,"context_line":"----------"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"TBD."},{"line_number":128,"context_line":""},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7adec928_5b9a51c6","line":127,"in_reply_to":"7adec928_6ad68050","updated":"2014-05-21 07:37:45.000000000","message":"I\u0027ve written my idea in the next version. Let\u0027s continue the discussion there.","commit_id":"5e3e5a4d2a02f3365c3518fe31bb722a9472f3eb"},{"author":{"_account_id":11682,"name":"Ryan Moats","email":"rmoats@us.ibm.com","username":"regXboi"},"change_message_id":"bb3d6fb44fac22b1fb934316feaef2657a73f762","unresolved":false,"context_lines":[{"line_number":42,"context_line":"deletion of the following resources:"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"* router"},{"line_number":45,"context_line":"* router interface"},{"line_number":46,"context_line":"* floating ip"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"TBD: hook APIs and methods to register hooks"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_edced182","line":45,"updated":"2014-06-01 18:57:56.000000000","message":"this might be the wrong place to ask this, but It is unclear to me what the semantics would be for the l3-agent loading mechanism for the third and subsequent interfaces to a particular router.\n\nWhat comes to mind is that if I want the l3-agent to load a particular set of advanced services for communication between two router interfaces, then that\u0027s easy if there are only two interfaces connected to the router.\n\nWhen I go to the third and subsequent interface, this appears to imply that the same advanced services will be used for all communication between any of the interfaces.  If that\u0027s the case, let\u0027s call it out somewhere....","commit_id":"d9dddfd22795fcab35c52d91b19efcada15a9aff"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"fb9015d2766149a1d2ac1a26d6fb05d43ae13b44","unresolved":false,"context_lines":[{"line_number":42,"context_line":"deletion of the following resources:"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"* router"},{"line_number":45,"context_line":"* router interface"},{"line_number":46,"context_line":"* floating ip"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"TBD: hook APIs and methods to register hooks"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_f8273f62","line":45,"in_reply_to":"1ae5cdf2_edced182","updated":"2014-06-03 07:39:19.000000000","message":"This issue sounds like problem of an advanced service, not l3-agent.\nYour advanced service seems to need some additional information for distinguishing router interfaces.","commit_id":"d9dddfd22795fcab35c52d91b19efcada15a9aff"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"bc2b89248a566266d406db30fbc647e513cccfa1","unresolved":false,"context_lines":[{"line_number":103,"context_line":""},{"line_number":104,"context_line":"* neutron-vpn-agent will be deprecated."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"* How to handle vendor specific hooks needs to be worked out."},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"Developer impact"},{"line_number":109,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7adec928_b644201c","line":106,"updated":"2014-05-22 12:31:24.000000000","message":"this doesn\u0027t seem like a deployer topic.","commit_id":"d9dddfd22795fcab35c52d91b19efcada15a9aff"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"fb9015d2766149a1d2ac1a26d6fb05d43ae13b44","unresolved":false,"context_lines":[{"line_number":103,"context_line":""},{"line_number":104,"context_line":"* neutron-vpn-agent will be deprecated."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"* How to handle vendor specific hooks needs to be worked out."},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"Developer impact"},{"line_number":109,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_182b0b31","line":106,"in_reply_to":"7adec928_b644201c","updated":"2014-06-03 07:39:19.000000000","message":"Done","commit_id":"d9dddfd22795fcab35c52d91b19efcada15a9aff"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"eca2428590ffb406658d09dbe0cf2773d502cb40","unresolved":false,"context_lines":[{"line_number":116,"context_line":"Assignee(s)"},{"line_number":117,"context_line":"-----------"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"Who is leading the writing of the code? Or is this a blueprint where you\u0027re"},{"line_number":120,"context_line":"throwing it out there to see who picks it up?"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"If more than one person is working on the implementation, please designate the"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3ae8d1ca_31c56f3c","line":119,"updated":"2014-05-28 18:27:51.000000000","message":"Get rid of this boilerplate text. L119-124","commit_id":"d9dddfd22795fcab35c52d91b19efcada15a9aff"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"fb9015d2766149a1d2ac1a26d6fb05d43ae13b44","unresolved":false,"context_lines":[{"line_number":116,"context_line":"Assignee(s)"},{"line_number":117,"context_line":"-----------"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"Who is leading the writing of the code? Or is this a blueprint where you\u0027re"},{"line_number":120,"context_line":"throwing it out there to see who picks it up?"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"If more than one person is working on the implementation, please designate the"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_3821a74d","line":119,"in_reply_to":"3ae8d1ca_31c56f3c","updated":"2014-06-03 07:39:19.000000000","message":"Done","commit_id":"d9dddfd22795fcab35c52d91b19efcada15a9aff"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"1554731687968aaffa03849493588e05c7b8379c","unresolved":false,"context_lines":[{"line_number":134,"context_line":"----------"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"In no particular order:"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"* Define and implement hooks"},{"line_number":139,"context_line":"* Define advanced services driver API"},{"line_number":140,"context_line":"* Implement advanced services driver loading mechanism"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3ae8d1ca_b08cf280","line":137,"updated":"2014-05-29 17:32:26.000000000","message":"This review is a specification and it is not a proposal of some work/team. Thus \"Define XXXX\" sounds a bit odd to me. \"XXXX\" expects to be documented in BP review.","commit_id":"d9dddfd22795fcab35c52d91b19efcada15a9aff"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"fb9015d2766149a1d2ac1a26d6fb05d43ae13b44","unresolved":false,"context_lines":[{"line_number":134,"context_line":"----------"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"In no particular order:"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"* Define and implement hooks"},{"line_number":139,"context_line":"* Define advanced services driver API"},{"line_number":140,"context_line":"* Implement advanced services driver loading mechanism"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_98ed5bf2","line":137,"in_reply_to":"3ae8d1ca_b08cf280","updated":"2014-06-03 07:39:19.000000000","message":"I came to think defining such specs make much sense.","commit_id":"d9dddfd22795fcab35c52d91b19efcada15a9aff"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"51cd6b2c1e5bc2b3454375c40f22000c02e062ab","unresolved":false,"context_lines":[{"line_number":136,"context_line":"In no particular order:"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"* Define and implement hooks"},{"line_number":139,"context_line":"* Define advanced services driver API"},{"line_number":140,"context_line":"* Implement advanced services driver loading mechanism"},{"line_number":141,"context_line":"* Define driver API for l3 operations"},{"line_number":142,"context_line":"* Move the current namespace-based l3 code into a driver and change"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3ae8d1ca_3f735cb2","line":139,"updated":"2014-05-29 13:17:08.000000000","message":"I think this (and perhaps hooks too) can be described a little more eg in the proposed change section above.","commit_id":"d9dddfd22795fcab35c52d91b19efcada15a9aff"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"fb9015d2766149a1d2ac1a26d6fb05d43ae13b44","unresolved":false,"context_lines":[{"line_number":136,"context_line":"In no particular order:"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"* Define and implement hooks"},{"line_number":139,"context_line":"* Define advanced services driver API"},{"line_number":140,"context_line":"* Implement advanced services driver loading mechanism"},{"line_number":141,"context_line":"* Define driver API for l3 operations"},{"line_number":142,"context_line":"* Move the current namespace-based l3 code into a driver and change"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_b8bbf7e3","line":139,"in_reply_to":"3ae8d1ca_3f735cb2","updated":"2014-06-03 07:39:19.000000000","message":"advanced service agent drivers can use existing l3-agent functions for this purpose.","commit_id":"d9dddfd22795fcab35c52d91b19efcada15a9aff"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"51cd6b2c1e5bc2b3454375c40f22000c02e062ab","unresolved":false,"context_lines":[{"line_number":138,"context_line":"* Define and implement hooks"},{"line_number":139,"context_line":"* Define advanced services driver API"},{"line_number":140,"context_line":"* Implement advanced services driver loading mechanism"},{"line_number":141,"context_line":"* Define driver API for l3 operations"},{"line_number":142,"context_line":"* Move the current namespace-based l3 code into a driver and change"},{"line_number":143,"context_line":"  L3NATAgent to issue driver calls instead"},{"line_number":144,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3ae8d1ca_7f6404e5","line":141,"updated":"2014-05-29 13:17:08.000000000","message":"same","commit_id":"d9dddfd22795fcab35c52d91b19efcada15a9aff"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"fb9015d2766149a1d2ac1a26d6fb05d43ae13b44","unresolved":false,"context_lines":[{"line_number":138,"context_line":"* Define and implement hooks"},{"line_number":139,"context_line":"* Define advanced services driver API"},{"line_number":140,"context_line":"* Implement advanced services driver loading mechanism"},{"line_number":141,"context_line":"* Define driver API for l3 operations"},{"line_number":142,"context_line":"* Move the current namespace-based l3 code into a driver and change"},{"line_number":143,"context_line":"  L3NATAgent to issue driver calls instead"},{"line_number":144,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_18b94be9","line":141,"in_reply_to":"3ae8d1ca_7f6404e5","updated":"2014-06-03 07:39:19.000000000","message":"ditto.","commit_id":"d9dddfd22795fcab35c52d91b19efcada15a9aff"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"eca2428590ffb406658d09dbe0cf2773d502cb40","unresolved":false,"context_lines":[{"line_number":140,"context_line":"* Implement advanced services driver loading mechanism"},{"line_number":141,"context_line":"* Define driver API for l3 operations"},{"line_number":142,"context_line":"* Move the current namespace-based l3 code into a driver and change"},{"line_number":143,"context_line":"  L3NATAgent to issue driver calls instead"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3ae8d1ca_31dc8f12","line":143,"updated":"2014-05-28 18:27:51.000000000","message":"MIgrate VPN and FW agents to adv services agents?","commit_id":"d9dddfd22795fcab35c52d91b19efcada15a9aff"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"554dbc261ac0572b838dadcbd5a92563e7d93236","unresolved":false,"context_lines":[{"line_number":140,"context_line":"* Implement advanced services driver loading mechanism"},{"line_number":141,"context_line":"* Define driver API for l3 operations"},{"line_number":142,"context_line":"* Move the current namespace-based l3 code into a driver and change"},{"line_number":143,"context_line":"  L3NATAgent to issue driver calls instead"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3ae8d1ca_b8078d1b","line":143,"in_reply_to":"3ae8d1ca_31dc8f12","updated":"2014-05-29 09:16:04.000000000","message":"It might be better if that could be done in separate steps.\nAnyway I\u0027m experimenting migrating the firewall in my PoC code.","commit_id":"d9dddfd22795fcab35c52d91b19efcada15a9aff"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"eca2428590ffb406658d09dbe0cf2773d502cb40","unresolved":false,"context_lines":[{"line_number":152,"context_line":"Testing"},{"line_number":153,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"Tests will be covered by unit tests."},{"line_number":156,"context_line":""},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"Documentation Impact"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3ae8d1ca_51ee7bb5","line":155,"updated":"2014-05-28 18:27:51.000000000","message":"Tempest test modifications for VPN/FW to use new agent schemes?","commit_id":"d9dddfd22795fcab35c52d91b19efcada15a9aff"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"1554731687968aaffa03849493588e05c7b8379c","unresolved":false,"context_lines":[{"line_number":152,"context_line":"Testing"},{"line_number":153,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"Tests will be covered by unit tests."},{"line_number":156,"context_line":""},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"Documentation Impact"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3ae8d1ca_70ab4ad6","line":155,"in_reply_to":"3ae8d1ca_3b2297a4","updated":"2014-05-29 17:32:26.000000000","message":"This blueprint should not change the existing behavior, so tempest scenario tests are expected to work without any modification. I think it is worth documented here.","commit_id":"d9dddfd22795fcab35c52d91b19efcada15a9aff"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"554dbc261ac0572b838dadcbd5a92563e7d93236","unresolved":false,"context_lines":[{"line_number":152,"context_line":"Testing"},{"line_number":153,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"Tests will be covered by unit tests."},{"line_number":156,"context_line":""},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"Documentation Impact"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3ae8d1ca_3b2297a4","line":155,"in_reply_to":"3ae8d1ca_51ee7bb5","updated":"2014-05-29 09:16:04.000000000","message":"I don\u0027t think tempest changes are needed as this BP does not affect the REST API.","commit_id":"d9dddfd22795fcab35c52d91b19efcada15a9aff"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"153b49caf181f9f0d78abc8b9108f7f9bad36b4e","unresolved":false,"context_lines":[{"line_number":36,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The l3-agent will have a driver loading mechanism for advanced"},{"line_number":39,"context_line":"services."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Hook function can be configured by wrapping existing l3-agent"},{"line_number":42,"context_line":"functions."}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_541f0d08","line":39,"updated":"2014-06-03 15:37:45.000000000","message":"When is the driver loaded?\nagent start up? router creation?","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":105,"name":"Kyle Mestery","email":"mestery@mestery.com","username":"mestery"},"change_message_id":"a90891fea475eed3d118ad610e63a0d9069a3c69","unresolved":false,"context_lines":[{"line_number":36,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The l3-agent will have a driver loading mechanism for advanced"},{"line_number":39,"context_line":"services."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Hook function can be configured by wrapping existing l3-agent"},{"line_number":42,"context_line":"functions."}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_ade536dd","line":39,"in_reply_to":"1ae5cdf2_541f0d08","updated":"2014-06-04 18:15:57.000000000","message":"I\u0027d like to know this as well. And is it one driver per agent, or something like ML2 where multiple drivers can be loaded per agent?","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"7c255d6c9bb4e2d99efafc21bd023c0560ea2caa","unresolved":false,"context_lines":[{"line_number":36,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The l3-agent will have a driver loading mechanism for advanced"},{"line_number":39,"context_line":"services."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Hook function can be configured by wrapping existing l3-agent"},{"line_number":42,"context_line":"functions."}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_c00c093e","line":39,"in_reply_to":"1ae5cdf2_ade536dd","updated":"2014-06-04 19:06:45.000000000","message":"My understanding is that LB/VPN/FWaaS become drivers so supporting multiple drivers seems mandatory.\n\nBut does driver order matters ?","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"d94ffe889ea4b49549bab963ccdf85c587822c12","unresolved":false,"context_lines":[{"line_number":36,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The l3-agent will have a driver loading mechanism for advanced"},{"line_number":39,"context_line":"services."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Hook function can be configured by wrapping existing l3-agent"},{"line_number":42,"context_line":"functions."}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_ef50040d","line":39,"in_reply_to":"1ae5cdf2_c00c093e","updated":"2014-06-05 07:58:41.000000000","message":"drivers are loaded at startup time.\nmultiple drivers supported.\nClarified the spec text.\n\nHooks should be written so that driver loading order doesn\u0027t matter.","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"8627ac8b92c47da7caa374cd7921d1d820282d85","unresolved":false,"context_lines":[{"line_number":39,"context_line":"services."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Hook function can be configured by wrapping existing l3-agent"},{"line_number":42,"context_line":"functions."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"Typical locations for such hooks are creation, update, and deletion of"},{"line_number":45,"context_line":"the following resources:"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_38b1a78f","line":42,"updated":"2014-06-03 07:58:20.000000000","message":"wrapping arbitrary methods sounds like a slippery slope.","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":11682,"name":"Ryan Moats","email":"rmoats@us.ibm.com","username":"regXboi"},"change_message_id":"163481d279d7ca121716443993ed117939824702","unresolved":false,"context_lines":[{"line_number":39,"context_line":"services."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Hook function can be configured by wrapping existing l3-agent"},{"line_number":42,"context_line":"functions."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"Typical locations for such hooks are creation, update, and deletion of"},{"line_number":45,"context_line":"the following resources:"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_94143aa1","line":42,"in_reply_to":"1ae5cdf2_38b1a78f","updated":"2014-06-03 13:33:37.000000000","message":"I concur - this looks rather worrisome","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"33c869388e51c592ecc4bbfc7dfdef2ef2661a1b","unresolved":false,"context_lines":[{"line_number":39,"context_line":"services."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Hook function can be configured by wrapping existing l3-agent"},{"line_number":42,"context_line":"functions."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"Typical locations for such hooks are creation, update, and deletion of"},{"line_number":45,"context_line":"the following resources:"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_d6ebddd9","line":42,"in_reply_to":"1ae5cdf2_3b9f8a04","updated":"2014-06-05 09:04:24.000000000","message":"IMO defining a set of hooks you will actually use in the foreseeable future is good enough.","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c887fd9a8d1eef3c9fcc091e17e95ed1874a9d9e","unresolved":false,"context_lines":[{"line_number":39,"context_line":"services."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Hook function can be configured by wrapping existing l3-agent"},{"line_number":42,"context_line":"functions."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"Typical locations for such hooks are creation, update, and deletion of"},{"line_number":45,"context_line":"the following resources:"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_c02eb7a4","line":42,"in_reply_to":"1ae5cdf2_6f231456","updated":"2014-06-05 08:23:48.000000000","message":"what\u0027s wrong with improving the situation? :-)","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":105,"name":"Kyle Mestery","email":"mestery@mestery.com","username":"mestery"},"change_message_id":"a90891fea475eed3d118ad610e63a0d9069a3c69","unresolved":false,"context_lines":[{"line_number":39,"context_line":"services."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Hook function can be configured by wrapping existing l3-agent"},{"line_number":42,"context_line":"functions."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"Typical locations for such hooks are creation, update, and deletion of"},{"line_number":45,"context_line":"the following resources:"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_edd2defe","line":42,"in_reply_to":"1ae5cdf2_94143aa1","updated":"2014-06-04 18:15:57.000000000","message":"+2, this sounds concerning.","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"80c2cae0e003ab98e9f90b468056a2e86c588c87","unresolved":false,"context_lines":[{"line_number":39,"context_line":"services."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Hook function can be configured by wrapping existing l3-agent"},{"line_number":42,"context_line":"functions."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"Typical locations for such hooks are creation, update, and deletion of"},{"line_number":45,"context_line":"the following resources:"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_3b9f8a04","line":42,"in_reply_to":"1ae5cdf2_c02eb7a4","updated":"2014-06-05 08:47:02.000000000","message":"As l3-agent and hook users (advanced service agent drivers, some unknown vendor extensions, etc.) are both moving targets, I\u0027m not quite confident in defining a good set of hook points.\n\nOr, we might want to sprinkle some hook points over l3-agent and see how things will develop. :)","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"d94ffe889ea4b49549bab963ccdf85c587822c12","unresolved":false,"context_lines":[{"line_number":39,"context_line":"services."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Hook function can be configured by wrapping existing l3-agent"},{"line_number":42,"context_line":"functions."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"Typical locations for such hooks are creation, update, and deletion of"},{"line_number":45,"context_line":"the following resources:"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_6f231456","line":42,"in_reply_to":"1ae5cdf2_c044091d","updated":"2014-06-05 07:58:41.000000000","message":"I don\u0027t think this make situation worse. Currently, FW and VPN agents are written using class inheritance.  Class inheritance and function wrapping both allow changing arbitrary functions.\n\nGood catch for RPC. I\u0027d like to add a function to register RPC methods.","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"e063e4ca918f4276af9546ffb5ffa701fe1c08f5","unresolved":false,"context_lines":[{"line_number":39,"context_line":"services."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Hook function can be configured by wrapping existing l3-agent"},{"line_number":42,"context_line":"functions."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"Typical locations for such hooks are creation, update, and deletion of"},{"line_number":45,"context_line":"the following resources:"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_030c173a","line":42,"in_reply_to":"1ae5cdf2_d6ebddd9","updated":"2014-06-05 16:58:53.000000000","message":"+1, the set of hook points can evolved based on driver needs but we should explicit them otherwise i don\u0027t see a real improvement","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"7c255d6c9bb4e2d99efafc21bd023c0560ea2caa","unresolved":false,"context_lines":[{"line_number":39,"context_line":"services."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Hook function can be configured by wrapping existing l3-agent"},{"line_number":42,"context_line":"functions."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"Typical locations for such hooks are creation, update, and deletion of"},{"line_number":45,"context_line":"the following resources:"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_c044091d","line":42,"in_reply_to":"1ae5cdf2_edd2defe","updated":"2014-06-04 19:06:45.000000000","message":"Defined hook points seems better : it allows to decorrelate development L3-agent-manager from service drivers.\n\nWhat about RPC ?","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":105,"name":"Kyle Mestery","email":"mestery@mestery.com","username":"mestery"},"change_message_id":"a90891fea475eed3d118ad610e63a0d9069a3c69","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"* retrieve a list of router_ids hosted by the l3-agent"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"The agent codes for FWaaS and VPNaaS will be rewritten as advanced"},{"line_number":58,"context_line":"service drivers."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_0dd0eaf4","line":57,"updated":"2014-06-04 18:15:57.000000000","message":"What about LBaaS?","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"d94ffe889ea4b49549bab963ccdf85c587822c12","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"* retrieve a list of router_ids hosted by the l3-agent"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"The agent codes for FWaaS and VPNaaS will be rewritten as advanced"},{"line_number":58,"context_line":"service drivers."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_6fea34dc","line":57,"in_reply_to":"1ae5cdf2_0dd0eaf4","updated":"2014-06-05 07:58:41.000000000","message":"LBaaS too if lbaas-lvs-driver gets merged sooner.\nDo I need to mention this?","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"7c255d6c9bb4e2d99efafc21bd023c0560ea2caa","unresolved":false,"context_lines":[{"line_number":57,"context_line":"The agent codes for FWaaS and VPNaaS will be rewritten as advanced"},{"line_number":58,"context_line":"service drivers."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Alternatives"},{"line_number":61,"context_line":"------------"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Move the current namespace-based implementation into a driver and"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_00e6f114","line":60,"updated":"2014-06-04 19:06:45.000000000","message":"Proposed change and alternative need clarification, a dummy example/diagram would help us understanding.\nsee below","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"7c255d6c9bb4e2d99efafc21bd023c0560ea2caa","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Alternatives"},{"line_number":61,"context_line":"------------"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Move the current namespace-based implementation into a driver and"},{"line_number":64,"context_line":"add a new driver instead of using hooks.  But hooks are still needed"},{"line_number":65,"context_line":"to implement FWaaS, VPNaaS etc."}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_a00d3dea","line":62,"updated":"2014-06-04 19:06:45.000000000","message":"What about reusing ML2 mechanism manager/driver principle ?\n\n  # partial example\n\n  class L3ServiceDriverAPI(object):\n    def create_router_postcommit(self, ...):\n      pass\n\n  class LogL3ServiceDriver(L3ServiceDriverAPI):\n    def create_router_postcommit(self, ...):\n      LOG.debug(\"blah\", ...)\n\n  class L3ServiceManager(L3ServiceDriverAPI):\n    def __init__(self, drivers):\n      self.drivers \u003d drivers\n\n    def _call_for_drivers(self, method_name, *args, *kwargs):\n      for driver in self.drivers:\n          getattr(driver, method_name)(*args, **kwargs)\n\n    def create_router_postcommit(self, ...):\n      self._call_for_drivers(\u0027create_router_postcommit\u0027, ...)\n\n  class L3Manager(object):\n    def __init__(self, driver):\n      self.driver \u003d driver\n\n    def create_router_postcommit(self, ...):\n      self.driver.create_router_postcommit(...)\n\n    ....\n\n  # Just to explain how previous classes are linked\n  l3_service_manager \u003d L3ServiceManager(load_l3_service_drivers)\n  l3_manager \u003d L3Manager(l3_service_manager)","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"d94ffe889ea4b49549bab963ccdf85c587822c12","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Alternatives"},{"line_number":61,"context_line":"------------"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Move the current namespace-based implementation into a driver and"},{"line_number":64,"context_line":"add a new driver instead of using hooks.  But hooks are still needed"},{"line_number":65,"context_line":"to implement FWaaS, VPNaaS etc."}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_607163a7","line":62,"in_reply_to":"1ae5cdf2_a00d3dea","updated":"2014-06-05 07:58:41.000000000","message":"This looks like calling \"hooks\" we discussed above as driver methods.  I was thinking a bit different.","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"153b49caf181f9f0d78abc8b9108f7f9bad36b4e","unresolved":false,"context_lines":[{"line_number":68,"context_line":"hooks and explicitly call them.  That makes sense if Neutron can"},{"line_number":69,"context_line":"provide hook API compatibility in future."},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"It might make sense to list \"suggested hook points\"."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"Data model impact"},{"line_number":74,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_14af4595","line":71,"updated":"2014-06-03 15:37:45.000000000","message":"It would make sense to include asses result of the current implmentation.","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"d94ffe889ea4b49549bab963ccdf85c587822c12","unresolved":false,"context_lines":[{"line_number":68,"context_line":"hooks and explicitly call them.  That makes sense if Neutron can"},{"line_number":69,"context_line":"provide hook API compatibility in future."},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"It might make sense to list \"suggested hook points\"."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"Data model impact"},{"line_number":74,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_a548ddcc","line":71,"in_reply_to":"1ae5cdf2_14af4595","updated":"2014-06-05 07:58:41.000000000","message":"I think it\u0027s already there in the \"problem description\" section.","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":105,"name":"Kyle Mestery","email":"mestery@mestery.com","username":"mestery"},"change_message_id":"a90891fea475eed3d118ad610e63a0d9069a3c69","unresolved":false,"context_lines":[{"line_number":106,"context_line":""},{"line_number":107,"context_line":"* l3_agent.ini will have a new advanced_service_drivers option."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"* neutron-vpn-agent will be deprecated."},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"Developer impact"},{"line_number":112,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_adfc5673","line":109,"updated":"2014-06-04 18:15:57.000000000","message":"What about the fwaas agent?","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"d94ffe889ea4b49549bab963ccdf85c587822c12","unresolved":false,"context_lines":[{"line_number":106,"context_line":""},{"line_number":107,"context_line":"* l3_agent.ini will have a new advanced_service_drivers option."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"* neutron-vpn-agent will be deprecated."},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"Developer impact"},{"line_number":112,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_423e2fdb","line":109,"in_reply_to":"1ae5cdf2_adfc5673","updated":"2014-06-05 07:58:41.000000000","message":"There\u0027s no fwaas agent.  It\u0027s included in the l3-agent.","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"7c255d6c9bb4e2d99efafc21bd023c0560ea2caa","unresolved":false,"context_lines":[{"line_number":134,"context_line":""},{"line_number":135,"context_line":"* Implement advanced services agent driver loading mechanism"},{"line_number":136,"context_line":"* Move the current namespace-based l3 code into a driver and change"},{"line_number":137,"context_line":"  L3NATAgent to issue driver calls instead"},{"line_number":138,"context_line":"* Convert current FWaaS and VPNaaS codes to service agent drivers."},{"line_number":139,"context_line":""},{"line_number":140,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_00a27198","line":137,"updated":"2014-06-04 19:06:45.000000000","message":"Why the current namespace-based l3 code becomes a driver ?","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"d94ffe889ea4b49549bab963ccdf85c587822c12","unresolved":false,"context_lines":[{"line_number":134,"context_line":""},{"line_number":135,"context_line":"* Implement advanced services agent driver loading mechanism"},{"line_number":136,"context_line":"* Move the current namespace-based l3 code into a driver and change"},{"line_number":137,"context_line":"  L3NATAgent to issue driver calls instead"},{"line_number":138,"context_line":"* Convert current FWaaS and VPNaaS codes to service agent drivers."},{"line_number":139,"context_line":""},{"line_number":140,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_25412d0b","line":137,"in_reply_to":"1ae5cdf2_00a27198","updated":"2014-06-05 07:58:41.000000000","message":"Hareesh wants this in order to support a vendor router reusing current l3-agent code.","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"e063e4ca918f4276af9546ffb5ffa701fe1c08f5","unresolved":false,"context_lines":[{"line_number":134,"context_line":""},{"line_number":135,"context_line":"* Implement advanced services agent driver loading mechanism"},{"line_number":136,"context_line":"* Move the current namespace-based l3 code into a driver and change"},{"line_number":137,"context_line":"  L3NATAgent to issue driver calls instead"},{"line_number":138,"context_line":"* Convert current FWaaS and VPNaaS codes to service agent drivers."},{"line_number":139,"context_line":""},{"line_number":140,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_88df64d5","line":137,"in_reply_to":"1ae5cdf2_25412d0b","updated":"2014-06-05 16:58:53.000000000","message":"OK","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":105,"name":"Kyle Mestery","email":"mestery@mestery.com","username":"mestery"},"change_message_id":"a90891fea475eed3d118ad610e63a0d9069a3c69","unresolved":false,"context_lines":[{"line_number":148,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Tests will be covered by unit tests."},{"line_number":151,"context_line":"Tempest tests should need no modification."},{"line_number":152,"context_line":""},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Documentation Impact"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_6d2deefd","line":151,"updated":"2014-06-04 18:15:57.000000000","message":"I think not only tempest but also grenade tests will need changes since we\u0027re deprecating agents here. The testing part of this is actually likely larger than the coding.","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"d94ffe889ea4b49549bab963ccdf85c587822c12","unresolved":false,"context_lines":[{"line_number":148,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Tests will be covered by unit tests."},{"line_number":151,"context_line":"Tempest tests should need no modification."},{"line_number":152,"context_line":""},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Documentation Impact"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_0506f11c","line":151,"in_reply_to":"1ae5cdf2_6d2deefd","updated":"2014-06-05 07:58:41.000000000","message":"Done","commit_id":"eed460a3420b985eea53d358abddbdf15d909cda"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"39f6b4952d246b638b99462e97a848c25d43bf5c","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"l3-agent will have a new function to register RPC method under"},{"line_number":53,"context_line":"the l3-agent topic name, which is used by agent drivers to make their"},{"line_number":54,"context_line":"functions to be called on RPC calls."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Advanced service drivers can call l3-agent functions to retrieve"},{"line_number":57,"context_line":"following information:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1ae5cdf2_f88c1ad9","line":54,"updated":"2014-06-06 11:17:33.000000000","message":"What about plugin in server side?\nProbably such things can be delayed until actual requirement rises.","commit_id":"ac63b487d260150451ac983c62d641a59fb5bb2c"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"6ac8aa10b3ad3984c9d86eaebff87cef08d76157","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"l3-agent will have a new function to register RPC method under"},{"line_number":53,"context_line":"the l3-agent topic name, which is used by agent drivers to make their"},{"line_number":54,"context_line":"functions to be called on RPC calls."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Advanced service drivers can call l3-agent functions to retrieve"},{"line_number":57,"context_line":"following information:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1ae5cdf2_85235ca6","line":54,"in_reply_to":"1ae5cdf2_f88c1ad9","updated":"2014-06-10 04:13:27.000000000","message":"This is necessary for converting the fwaas code.\nWe can avoid this by converting fwaas server side to use fwaas RPC topic, but I don\u0027t want to do that for now.","commit_id":"ac63b487d260150451ac983c62d641a59fb5bb2c"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"cecd6f60e662f8172aa603bb155c8b96c2dd75a9","unresolved":false,"context_lines":[{"line_number":140,"context_line":""},{"line_number":141,"context_line":"* Implement advanced services agent driver loading mechanism"},{"line_number":142,"context_line":"* Move the current namespace-based l3 code into a driver and change"},{"line_number":143,"context_line":"  L3NATAgent to issue driver calls instead"},{"line_number":144,"context_line":"* Convert current FWaaS and VPNaaS codes to service agent drivers."},{"line_number":145,"context_line":""},{"line_number":146,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1ae5cdf2_888da4d5","line":143,"updated":"2014-06-05 16:59:12.000000000","message":"namespace-based L3 driver should behave differently than others drivers ?\n\nnamespace-based l3 driver will create/update/delete router ...\nothers drivers will perform pre/post-create/update/delete router ... am i wrong ?","commit_id":"ac63b487d260150451ac983c62d641a59fb5bb2c"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"6ac8aa10b3ad3984c9d86eaebff87cef08d76157","unresolved":false,"context_lines":[{"line_number":140,"context_line":""},{"line_number":141,"context_line":"* Implement advanced services agent driver loading mechanism"},{"line_number":142,"context_line":"* Move the current namespace-based l3 code into a driver and change"},{"line_number":143,"context_line":"  L3NATAgent to issue driver calls instead"},{"line_number":144,"context_line":"* Convert current FWaaS and VPNaaS codes to service agent drivers."},{"line_number":145,"context_line":""},{"line_number":146,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1ae5cdf2_855a7c28","line":143,"in_reply_to":"1ae5cdf2_888da4d5","updated":"2014-06-10 04:13:27.000000000","message":"I\u0027ve mentioned how to driver-ify the namespace code in the new patchset. I\u0027m going to postpone this anyway as there seems no urgent need.","commit_id":"ac63b487d260150451ac983c62d641a59fb5bb2c"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"d00adfcc2e9f3e7f34354f90a48a7084ac8b3e73","unresolved":false,"context_lines":[{"line_number":40,"context_line":"l3-agent startup time."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Hook function can be configured by wrapping existing l3-agent"},{"line_number":43,"context_line":"functions."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Typical locations for such hooks are creation, update, and deletion of"},{"line_number":46,"context_line":"the following resources:"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1ae5cdf2_c18399ca","line":43,"updated":"2014-06-10 03:58:29.000000000","message":"i\u0027m still against function wrapping","commit_id":"89f0dc36b001748d993acc8696618663a5a2aeea"},{"author":{"_account_id":11682,"name":"Ryan Moats","email":"rmoats@us.ibm.com","username":"regXboi"},"change_message_id":"8602e6aca19e68ae1d9fb96285a4227378c7ead0","unresolved":false,"context_lines":[{"line_number":40,"context_line":"l3-agent startup time."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Hook function can be configured by wrapping existing l3-agent"},{"line_number":43,"context_line":"functions."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Typical locations for such hooks are creation, update, and deletion of"},{"line_number":46,"context_line":"the following resources:"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1ae5cdf2_0509eddc","line":43,"in_reply_to":"1ae5cdf2_2120bdaf","updated":"2014-06-10 18:07:14.000000000","message":"I\u0027m leaning towards hooks over wrapping, but I can be convinced otherwise... therefore, I\u0027m leaving the rating as 0","commit_id":"89f0dc36b001748d993acc8696618663a5a2aeea"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"9ac8ed06e1c245a1157b68cfb9326b1c472d7ca3","unresolved":false,"context_lines":[{"line_number":40,"context_line":"l3-agent startup time."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Hook function can be configured by wrapping existing l3-agent"},{"line_number":43,"context_line":"functions."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Typical locations for such hooks are creation, update, and deletion of"},{"line_number":46,"context_line":"the following resources:"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1ae5cdf2_08ecc1f2","line":43,"in_reply_to":"1ae5cdf2_2120bdaf","updated":"2014-06-10 05:26:24.000000000","message":"It seems hook is major opinion than wrapper. Is it better to reverse them ?\nAnyway I want to hear the opinion of cores.","commit_id":"89f0dc36b001748d993acc8696618663a5a2aeea"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"04732d1561d23d62b08f51296e03a25779b10710","unresolved":false,"context_lines":[{"line_number":40,"context_line":"l3-agent startup time."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Hook function can be configured by wrapping existing l3-agent"},{"line_number":43,"context_line":"functions."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Typical locations for such hooks are creation, update, and deletion of"},{"line_number":46,"context_line":"the following resources:"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1ae5cdf2_2120bdaf","line":43,"in_reply_to":"1ae5cdf2_c18399ca","updated":"2014-06-10 04:07:44.000000000","message":"I\u0027ve written an idea of hook points in the alternatives section.\nIf everyone is fine with the idea, I\u0027ll switch to use hooks instead.","commit_id":"89f0dc36b001748d993acc8696618663a5a2aeea"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"7ce9dcb6260c231788cd0df7716b1dcc81fbee43","unresolved":false,"context_lines":[{"line_number":177,"context_line":"Tests will be covered by unit tests."},{"line_number":178,"context_line":"Tempest tests should need no modification."},{"line_number":179,"context_line":"Devstack needs to follow agents changes."},{"line_number":180,"context_line":"Grenade tests will also be provided."},{"line_number":181,"context_line":""},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"Documentation Impact"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1ae5cdf2_0ed4e045","line":180,"updated":"2014-06-17 07:15:56.000000000","message":"Devstack will update l3-agent.conf, so it doesn\u0027t seem Grenade need to be updated.","commit_id":"1845d5da35566481e4e27636a7511e782a7a9d05"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"1f1623c747fc444365e0e465ee63008942805b58","unresolved":false,"context_lines":[{"line_number":56,"context_line":"drivers:"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"* register_rpc_handler"},{"line_number":59,"context_line":"* register_sync_task"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"register_rpc_handler is used to register RPC method under"},{"line_number":62,"context_line":"the l3-agent topic name.  _sync_routers_task will call functions"}],"source_content_type":"text/x-rst","patch_set":8,"id":"1ae5cdf2_490d0237","line":59,"updated":"2014-06-17 07:48:27.000000000","message":"are these needed to be different from the above mentioned hooks?\nat least the following discussion about decorators and wrapping seems outdated.","commit_id":"9fab1120cdc2f1539b54ff77637d395c3ca9c60f"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"c6d6de765596dda6fcc47cb86f200c646763e693","unresolved":false,"context_lines":[{"line_number":56,"context_line":"drivers:"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"* register_rpc_handler"},{"line_number":59,"context_line":"* register_sync_task"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"register_rpc_handler is used to register RPC method under"},{"line_number":62,"context_line":"the l3-agent topic name.  _sync_routers_task will call functions"}],"source_content_type":"text/x-rst","patch_set":8,"id":"1ae5cdf2_c446594f","line":59,"in_reply_to":"1ae5cdf2_490d0237","updated":"2014-06-17 08:24:38.000000000","message":"RPC handlers are different.\nDone with register_sync_task.","commit_id":"9fab1120cdc2f1539b54ff77637d395c3ca9c60f"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"4db26ab456fbafdba26a978124f4429753035dae","unresolved":false,"context_lines":[{"line_number":36,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The l3-agent will have a driver loading mechanism for advanced"},{"line_number":39,"context_line":"services.  An l3-agent can load multiple drivers.  They are loaded at"},{"line_number":40,"context_line":"l3-agent startup time."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"l3-agent will have a hook calling mechanism and hooks can be"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_80a681bf","line":39,"updated":"2014-06-19 15:32:43.000000000","message":"Perhaps i miss it but you should explicit new associated option ?\nI would be nice also to use stevedore to load drivers.","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"959b585f02698a57d895f95289e9eae8c392e73d","unresolved":false,"context_lines":[{"line_number":36,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The l3-agent will have a driver loading mechanism for advanced"},{"line_number":39,"context_line":"services.  An l3-agent can load multiple drivers.  They are loaded at"},{"line_number":40,"context_line":"l3-agent startup time."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"l3-agent will have a hook calling mechanism and hooks can be"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_8cdd9872","line":39,"in_reply_to":"1ae5cdf2_217d936d","updated":"2014-06-23 04:17:37.000000000","message":"I think the purpose of spec reviews is to assess the impact of a new BP. The issues raised here can be helpful if mentioned, but it\u0027s not required for the purpose.","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"48f37718b0f212db433306b14c8de5ea3491d2ea","unresolved":false,"context_lines":[{"line_number":36,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The l3-agent will have a driver loading mechanism for advanced"},{"line_number":39,"context_line":"services.  An l3-agent can load multiple drivers.  They are loaded at"},{"line_number":40,"context_line":"l3-agent startup time."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"l3-agent will have a hook calling mechanism and hooks can be"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_217d936d","line":39,"in_reply_to":"1ae5cdf2_2ae3ad05","updated":"2014-06-20 21:43:31.000000000","message":"IMO, the spec should be a good base for documentation so expliciting the option seems better.","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"338b056a3fd034271ac4c7a4e44e9205f12190a3","unresolved":false,"context_lines":[{"line_number":36,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The l3-agent will have a driver loading mechanism for advanced"},{"line_number":39,"context_line":"services.  An l3-agent can load multiple drivers.  They are loaded at"},{"line_number":40,"context_line":"l3-agent startup time."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"l3-agent will have a hook calling mechanism and hooks can be"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_2ae3ad05","line":39,"in_reply_to":"1ae5cdf2_4042a768","updated":"2014-06-20 10:39:14.000000000","message":"\"look at code\" sounds like the opposite to the purpose of having specs.","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"2c4fda2bd47583ed82da0251015e4d58d6aefddc","unresolved":false,"context_lines":[{"line_number":36,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The l3-agent will have a driver loading mechanism for advanced"},{"line_number":39,"context_line":"services.  An l3-agent can load multiple drivers.  They are loaded at"},{"line_number":40,"context_line":"l3-agent startup time."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"l3-agent will have a hook calling mechanism and hooks can be"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_4042a768","line":39,"in_reply_to":"1ae5cdf2_80a681bf","updated":"2014-06-20 02:15:06.000000000","message":"Please check the PoC code for the option name.\nAlso, the method of loading drivers is implementation detail, and it\u0027s better dealt in actual code review, not here.","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"7c5e5e348af500ec451329172b9476dd64d3f17f","unresolved":false,"context_lines":[{"line_number":54,"context_line":"changes, which should satisfy most third party hook needs."},{"line_number":55,"context_line":"To preserve the current behavior, hooks for _sync_routers_task is"},{"line_number":56,"context_line":"called at the beginning of the function.  Hooks for the other"},{"line_number":57,"context_line":"functions are called at the ends of the functions."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"It will also have a new function named register_rpc_handler,"},{"line_number":60,"context_line":"which is used to register RPC method under the l3-agent topic name and"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_6c541ec6","line":57,"updated":"2014-06-19 08:49:09.000000000","message":"It would a good time to rename hooked methods and give them clearer name:\n\n* _router_added \u003d\u003d\u003e add_router\n* _router_removed \u003d\u003d\u003e remove_router\n* _process_routers \u003d\u003d\u003e update_routers ?\n* process_router \u003d\u003d\u003e update_router ?\n* _sync_routers_task \u003d\u003d\u003e sync_routers ?\n\nIt would be better to name hooks according to when they are called:\n\n* post_add_router\n* post_remove_router\n* pre_sync_routers\n* ...\n\nIt seems incorrect to call _router_removed hook after router removed\n\n\nIMO, hook choices is too focused on FWaaS and VPN, we could have a more general overview and add pre/post hooks for all hookable methods.","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"48f37718b0f212db433306b14c8de5ea3491d2ea","unresolved":false,"context_lines":[{"line_number":54,"context_line":"changes, which should satisfy most third party hook needs."},{"line_number":55,"context_line":"To preserve the current behavior, hooks for _sync_routers_task is"},{"line_number":56,"context_line":"called at the beginning of the function.  Hooks for the other"},{"line_number":57,"context_line":"functions are called at the ends of the functions."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"It will also have a new function named register_rpc_handler,"},{"line_number":60,"context_line":"which is used to register RPC method under the l3-agent topic name and"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_e1300ba0","line":57,"in_reply_to":"1ae5cdf2_1b52ce12","updated":"2014-06-20 21:43:31.000000000","message":"This spec introduces a new (dhcp driver) interface ... it seems to me important to define clean and understandable interface through meaningful and consistent method names.\n\nThe VPNaaS seems to be a valid example: vpn server is configured/started after router deployment, it should be stopped (am i wrong ?) before router undeployment. I have the same need for the management of an ulogd service.","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"762528ff9ab358749b1ff6605f494f01b66b7b23","unresolved":false,"context_lines":[{"line_number":54,"context_line":"changes, which should satisfy most third party hook needs."},{"line_number":55,"context_line":"To preserve the current behavior, hooks for _sync_routers_task is"},{"line_number":56,"context_line":"called at the beginning of the function.  Hooks for the other"},{"line_number":57,"context_line":"functions are called at the ends of the functions."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"It will also have a new function named register_rpc_handler,"},{"line_number":60,"context_line":"which is used to register RPC method under the l3-agent topic name and"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_0d5b14f7","line":57,"in_reply_to":"1ae5cdf2_444fe46a","updated":"2014-06-24 06:47:23.000000000","message":"My idea is that hooks can be written so that precise calling order does not matter.  A router doesn\u0027t have a connected VM to be able to be deleted thus there should be no traffic to care anyway.","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"67d7194d1cd567b8830509bde6c123eb62c3379f","unresolved":false,"context_lines":[{"line_number":54,"context_line":"changes, which should satisfy most third party hook needs."},{"line_number":55,"context_line":"To preserve the current behavior, hooks for _sync_routers_task is"},{"line_number":56,"context_line":"called at the beginning of the function.  Hooks for the other"},{"line_number":57,"context_line":"functions are called at the ends of the functions."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"It will also have a new function named register_rpc_handler,"},{"line_number":60,"context_line":"which is used to register RPC method under the l3-agent topic name and"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_444fe46a","line":57,"in_reply_to":"1ae5cdf2_5b06e31d","updated":"2014-06-23 06:52:41.000000000","message":"iirc, namespaces are not destroyed during _router_removed so for ulogd case you could destroy it after unplugging interfaces but it makes more sense to do it before ... because the creation has been done after.","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"2c4fda2bd47583ed82da0251015e4d58d6aefddc","unresolved":false,"context_lines":[{"line_number":54,"context_line":"changes, which should satisfy most third party hook needs."},{"line_number":55,"context_line":"To preserve the current behavior, hooks for _sync_routers_task is"},{"line_number":56,"context_line":"called at the beginning of the function.  Hooks for the other"},{"line_number":57,"context_line":"functions are called at the ends of the functions."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"It will also have a new function named register_rpc_handler,"},{"line_number":60,"context_line":"which is used to register RPC method under the l3-agent topic name and"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_1b52ce12","line":57,"in_reply_to":"1ae5cdf2_67b27997","updated":"2014-06-20 02:15:06.000000000","message":"I think changing L3NATAgent function names costs too much for little benefit.\n\nI judged pre-hooks aren\u0027t needed based on FWaaS and VPNaaS usage.  If you think pre-hooks are really necessary, can you give an example?","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"c88ef6e9f27317a852cffe31adbc2e6e839a43e9","unresolved":false,"context_lines":[{"line_number":54,"context_line":"changes, which should satisfy most third party hook needs."},{"line_number":55,"context_line":"To preserve the current behavior, hooks for _sync_routers_task is"},{"line_number":56,"context_line":"called at the beginning of the function.  Hooks for the other"},{"line_number":57,"context_line":"functions are called at the ends of the functions."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"It will also have a new function named register_rpc_handler,"},{"line_number":60,"context_line":"which is used to register RPC method under the l3-agent topic name and"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_c7f50dcc","line":57,"in_reply_to":"1ae5cdf2_6c541ec6","updated":"2014-06-19 09:14:54.000000000","message":"Hooks are defined against l3_agent function names.  Using different names for hooks can be confusing.\nMy idea was no pre-hooks were necessary, but pre-hook for _router_removed can be an exception if it\u0027s really necessary.\n\nThis inflexibility is a drawback of hooks over function wrapping.  And 3rd party developers can use function wrapping in his code when there\u0027s no work around.","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"e08b6c534a374ffd098f2a9c77e80fdc2d4984b7","unresolved":false,"context_lines":[{"line_number":54,"context_line":"changes, which should satisfy most third party hook needs."},{"line_number":55,"context_line":"To preserve the current behavior, hooks for _sync_routers_task is"},{"line_number":56,"context_line":"called at the beginning of the function.  Hooks for the other"},{"line_number":57,"context_line":"functions are called at the ends of the functions."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"It will also have a new function named register_rpc_handler,"},{"line_number":60,"context_line":"which is used to register RPC method under the l3-agent topic name and"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_67b27997","line":57,"in_reply_to":"1ae5cdf2_c7f50dcc","updated":"2014-06-19 09:33:26.000000000","message":"The rename proposal was for \"hookable\" methods and associated hooks in order to propose a clear agent driver api:\n\n* _router_added would be renamed to something like add_router in agent manager and associated driver hook names would be something like pre/post_add_router.\n* ...\n\nIf you start an application after router add, you should normally stop it before router delete (one of my usecases). \n\nDefining pre/post hooks for all previous methods will allow a larger scope than just FWaaS/VPNaaS.","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"959b585f02698a57d895f95289e9eae8c392e73d","unresolved":false,"context_lines":[{"line_number":54,"context_line":"changes, which should satisfy most third party hook needs."},{"line_number":55,"context_line":"To preserve the current behavior, hooks for _sync_routers_task is"},{"line_number":56,"context_line":"called at the beginning of the function.  Hooks for the other"},{"line_number":57,"context_line":"functions are called at the ends of the functions."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"It will also have a new function named register_rpc_handler,"},{"line_number":60,"context_line":"which is used to register RPC method under the l3-agent topic name and"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_5b06e31d","line":57,"in_reply_to":"1ae5cdf2_e1300ba0","updated":"2014-06-23 04:17:37.000000000","message":"Rereading VPN code, I think VPN\u0027s destroy_router should be done before _destroy_router_namespace, but it usually does not matter as VPNs must be deleted first anyway.\n\nFor your ulogd case, does it need to be stopped before unplugging router interfaces?  Does precise order make difference?","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"7c5e5e348af500ec451329172b9476dd64d3f17f","unresolved":false,"context_lines":[{"line_number":56,"context_line":"called at the beginning of the function.  Hooks for the other"},{"line_number":57,"context_line":"functions are called at the ends of the functions."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"It will also have a new function named register_rpc_handler,"},{"line_number":60,"context_line":"which is used to register RPC method under the l3-agent topic name and"},{"line_number":61,"context_line":"is required to convert the FWaaS code into an agent driver."},{"line_number":62,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_b1911f54","line":59,"updated":"2014-06-19 08:49:09.000000000","message":"Agent drivers call agent manager register_rpc_handler to register them ? It implies agent drivers must be able to call agent manager methods and agent manager must have a defined interface. \n\nIMO, It\u0027s cleaner to do the opposite: agent drivers implement get_rpc_handlers and agent manager or agent mechanism manager call get_rpc_handlers and register them. It reduces coupling between driver and managers","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"e08b6c534a374ffd098f2a9c77e80fdc2d4984b7","unresolved":false,"context_lines":[{"line_number":56,"context_line":"called at the beginning of the function.  Hooks for the other"},{"line_number":57,"context_line":"functions are called at the ends of the functions."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"It will also have a new function named register_rpc_handler,"},{"line_number":60,"context_line":"which is used to register RPC method under the l3-agent topic name and"},{"line_number":61,"context_line":"is required to convert the FWaaS code into an agent driver."},{"line_number":62,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_c7226d00","line":59,"in_reply_to":"1ae5cdf2_8cb7aa84","updated":"2014-06-19 09:33:26.000000000","message":"It seems i was unclear.\n\nIt seems clearer that the manager ask drivers what they want to listen on instead of having drivers registering to the manager what they want.\n\nMore generally, when possible, preferring manager to driver interactions over driver to manager interactions reduce coupling","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"c88ef6e9f27317a852cffe31adbc2e6e839a43e9","unresolved":false,"context_lines":[{"line_number":56,"context_line":"called at the beginning of the function.  Hooks for the other"},{"line_number":57,"context_line":"functions are called at the ends of the functions."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"It will also have a new function named register_rpc_handler,"},{"line_number":60,"context_line":"which is used to register RPC method under the l3-agent topic name and"},{"line_number":61,"context_line":"is required to convert the FWaaS code into an agent driver."},{"line_number":62,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_8cb7aa84","line":59,"in_reply_to":"1ae5cdf2_b1911f54","updated":"2014-06-19 09:14:54.000000000","message":"This is a special case for FWaaS and not intended for general use.  You can call rpc.create_connection in your agent driver and subscribe to any RPC topic you want.\n\nChanging FWaaS to use its own topic name and removing this cruft might be better, but that changes RPC and I don\u0027t think it\u0027s appropriate to do that right now.","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"2c4fda2bd47583ed82da0251015e4d58d6aefddc","unresolved":false,"context_lines":[{"line_number":56,"context_line":"called at the beginning of the function.  Hooks for the other"},{"line_number":57,"context_line":"functions are called at the ends of the functions."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"It will also have a new function named register_rpc_handler,"},{"line_number":60,"context_line":"which is used to register RPC method under the l3-agent topic name and"},{"line_number":61,"context_line":"is required to convert the FWaaS code into an agent driver."},{"line_number":62,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_fbea820d","line":59,"in_reply_to":"1ae5cdf2_c7226d00","updated":"2014-06-20 02:15:06.000000000","message":"It\u0027s special for FWaaS and I don\u0027t want another agent driver to have get_rpc_handlers.","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"9b6e202507cdfa5dfc0d3032ad927c26c9810595","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":"It will also have a new function named register_rpc_handler,"},{"line_number":60,"context_line":"which is used to register RPC method under the l3-agent topic name and"},{"line_number":61,"context_line":"is required to convert the FWaaS code into an agent driver."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Advanced service drivers can call l3-agent functions to retrieve"},{"line_number":64,"context_line":"following information:"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_dcad449d","line":61,"updated":"2014-06-17 13:05:32.000000000","message":"is it about having another endpoint? (in the sense of oslo.messaging)","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"1c861cca144d684326edb170090803f19e8c907d","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":"It will also have a new function named register_rpc_handler,"},{"line_number":60,"context_line":"which is used to register RPC method under the l3-agent topic name and"},{"line_number":61,"context_line":"is required to convert the FWaaS code into an agent driver."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Advanced service drivers can call l3-agent functions to retrieve"},{"line_number":64,"context_line":"following information:"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_ee4d863c","line":61,"in_reply_to":"1ae5cdf2_189598e3","updated":"2014-06-19 07:40:47.000000000","message":"That may be possible by tweaking neutron.openstack.common.rpc.service.Service to initialize RpcDispatcher with agent driver objects as extra callbacks, but it would be a lot of work for little benefit.","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"2b646e34742bc42be0c19f511b7e364b19db5b56","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":"It will also have a new function named register_rpc_handler,"},{"line_number":60,"context_line":"which is used to register RPC method under the l3-agent topic name and"},{"line_number":61,"context_line":"is required to convert the FWaaS code into an agent driver."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Advanced service drivers can call l3-agent functions to retrieve"},{"line_number":64,"context_line":"following information:"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_e4220c00","line":61,"in_reply_to":"1ae5cdf2_dcad449d","updated":"2014-06-19 06:15:05.000000000","message":"No.  This function is needed because FWaaS uses the l3-agent topic and needs to share an RPC endpoint.","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"b630922b0102eaf6817a8552425b178b3893d75e","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":"It will also have a new function named register_rpc_handler,"},{"line_number":60,"context_line":"which is used to register RPC method under the l3-agent topic name and"},{"line_number":61,"context_line":"is required to convert the FWaaS code into an agent driver."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Advanced service drivers can call l3-agent functions to retrieve"},{"line_number":64,"context_line":"following information:"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_189598e3","line":61,"in_reply_to":"1ae5cdf2_e4220c00","updated":"2014-06-19 06:52:05.000000000","message":"can you explain \"share\"?\nan rpc server can have multiple endpoints.\ndoesn\u0027t it fit your requirement?\nhttp://docs.openstack.org/developer/oslo.messaging/server.html","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"48f37718b0f212db433306b14c8de5ea3491d2ea","unresolved":false,"context_lines":[{"line_number":159,"context_line":""},{"line_number":160,"context_line":"* Implement advanced services agent driver loading mechanism"},{"line_number":161,"context_line":"* Convert current FWaaS and VPNaaS codes to service agent drivers."},{"line_number":162,"context_line":""},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"Dependencies"},{"line_number":165,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_01a33700","line":162,"updated":"2014-06-20 21:43:31.000000000","message":"metadata proxy could be converted in a service agent ?","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"959b585f02698a57d895f95289e9eae8c392e73d","unresolved":false,"context_lines":[{"line_number":159,"context_line":""},{"line_number":160,"context_line":"* Implement advanced services agent driver loading mechanism"},{"line_number":161,"context_line":"* Convert current FWaaS and VPNaaS codes to service agent drivers."},{"line_number":162,"context_line":""},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"Dependencies"},{"line_number":165,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_91b0518c","line":162,"in_reply_to":"1ae5cdf2_01a33700","updated":"2014-06-23 04:17:37.000000000","message":"A metadata proxy is a separate process, so it can\u0027t.\nThe operation of spawning a metadata proxy can be a service agent though, but is there any merit in doing this?","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"762528ff9ab358749b1ff6605f494f01b66b7b23","unresolved":false,"context_lines":[{"line_number":159,"context_line":""},{"line_number":160,"context_line":"* Implement advanced services agent driver loading mechanism"},{"line_number":161,"context_line":"* Convert current FWaaS and VPNaaS codes to service agent drivers."},{"line_number":162,"context_line":""},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"Dependencies"},{"line_number":165,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_6d0018ac","line":162,"in_reply_to":"1ae5cdf2_84a72c0b","updated":"2014-06-24 06:47:23.000000000","message":"It can be done later.","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"67d7194d1cd567b8830509bde6c123eb62c3379f","unresolved":false,"context_lines":[{"line_number":159,"context_line":""},{"line_number":160,"context_line":"* Implement advanced services agent driver loading mechanism"},{"line_number":161,"context_line":"* Convert current FWaaS and VPNaaS codes to service agent drivers."},{"line_number":162,"context_line":""},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"Dependencies"},{"line_number":165,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1ae5cdf2_84a72c0b","line":162,"in_reply_to":"1ae5cdf2_91b0518c","updated":"2014-06-23 06:52:41.000000000","message":"The idea is to remove the create/delete of the metadata proxy from the L3 agent and increases readibility and allow to share dhcp/l3 code","commit_id":"d485b1846185de5c3e22389f0d8cfa23548ea26d"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"51869382f14effe8424c3b5090a460ec05dfb89a","unresolved":false,"context_lines":[{"line_number":36,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The l3-agent will have a driver loading mechanism for advanced"},{"line_number":39,"context_line":"services.  It loads agent service drivers specified in its"},{"line_number":40,"context_line":"config file at startup time.  Each advanced service (FWaaS, VPNaaS,"},{"line_number":41,"context_line":"...) will define an agent service driver.  Also, vendor-specific"},{"line_number":42,"context_line":"extensions are written as an agent service driver."}],"source_content_type":"text/x-rst","patch_set":10,"id":"1ae5cdf2_fd7f6c67","line":39,"updated":"2014-06-24 11:23:55.000000000","message":"My only concern here is with naming of the driver. In VPN there is a convention of a \"service driver\" which is associated with the PLUGIN, and \"device driver\" which is associated with the AGENT.\n\nTo me, calling the driver a \"service driver\" in the context of the L3 agent is confusing.","commit_id":"cb98c3781f542d8e93f814961f196cc14e7a84d0"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"fa0d7f9677187bd37409cb5005e65747335343df","unresolved":false,"context_lines":[{"line_number":36,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The l3-agent will have a driver loading mechanism for advanced"},{"line_number":39,"context_line":"services.  It loads agent service drivers specified in its"},{"line_number":40,"context_line":"config file at startup time.  Each advanced service (FWaaS, VPNaaS,"},{"line_number":41,"context_line":"...) will define an agent service driver.  Also, vendor-specific"},{"line_number":42,"context_line":"extensions are written as an agent service driver."}],"source_content_type":"text/x-rst","patch_set":10,"id":"1ae5cdf2_a0d8dd52","line":39,"in_reply_to":"1ae5cdf2_064d4d72","updated":"2014-06-27 08:28:51.000000000","message":"Done","commit_id":"cb98c3781f542d8e93f814961f196cc14e7a84d0"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"3dfb8632e6a67ac356d46b703347effa22801294","unresolved":false,"context_lines":[{"line_number":36,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The l3-agent will have a driver loading mechanism for advanced"},{"line_number":39,"context_line":"services.  It loads agent service drivers specified in its"},{"line_number":40,"context_line":"config file at startup time.  Each advanced service (FWaaS, VPNaaS,"},{"line_number":41,"context_line":"...) will define an agent service driver.  Also, vendor-specific"},{"line_number":42,"context_line":"extensions are written as an agent service driver."}],"source_content_type":"text/x-rst","patch_set":10,"id":"1ae5cdf2_064d4d72","line":39,"in_reply_to":"1ae5cdf2_0a10fefe","updated":"2014-06-26 12:27:19.000000000","message":"Let me try to restate why I think service_driver is a confusing term, and why I feel that the VPNAgent should not be labeled a service_driver.\n\nIn the current VPN implementation there are the following components (from the top down):\n\n* VPN extension, which invokes the VPN plugin\n* VPN Plugin, which loads a single service driver (on the plugin side)\n* Per provider service drivers (e.g. IPsecVPNDriver) that communicate w/ a corresponding device driver (on the agent side)\n* VPN Agent, which loads multiple device drivers\n* Per provider device driver (e.g. OpenSwanDriver)\n\nIf we call the VPN agent a service driver, we\u0027ll be confusing that with the service drivers that are loaded by the plugin.\n\nFrom an older arch diagram: https://docs.google.com/presentation/d/1uoYMl2fAEHTpogAe27xtGpPcbhm7Y3tlHIw_G1Dy5aQ/edit#slide\u003did.gd3a78cf4_112","commit_id":"cb98c3781f542d8e93f814961f196cc14e7a84d0"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"50c23fbcfe6af2857fdfdaa5ee77903455d4bb75","unresolved":false,"context_lines":[{"line_number":36,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The l3-agent will have a driver loading mechanism for advanced"},{"line_number":39,"context_line":"services.  It loads agent service drivers specified in its"},{"line_number":40,"context_line":"config file at startup time.  Each advanced service (FWaaS, VPNaaS,"},{"line_number":41,"context_line":"...) will define an agent service driver.  Also, vendor-specific"},{"line_number":42,"context_line":"extensions are written as an agent service driver."}],"source_content_type":"text/x-rst","patch_set":10,"id":"1ae5cdf2_ebff7d00","line":39,"in_reply_to":"1ae5cdf2_ba4cebca","updated":"2014-06-25 10:28:20.000000000","message":"If I understand the proposal, we\u0027re saying that the l3-agent can load additional functionality for a specific service(s). I\u0027m also assuming that we\u0027re saying that this is different from the device driver(s) that a specific service will load for an implementation. For example,today the VPN agent, loads a OpenSwan device driver, and can load a Cisco device driver (someone is working on an StrongSwan device driver, too).\n\nSo \"agent extension\" would be good, if that is the context we are using.\n\nWhat I\u0027m concerned about is confusion with the \"service drivers\" that the plugin loads, and the \"device drivers\" that a L3 service\u0027s agent loads. Avoiding those terms, and maybe even driver in general, may make things clearer.","commit_id":"cb98c3781f542d8e93f814961f196cc14e7a84d0"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"13046115e5df5ff48352366d98cc1e2eebb38f4d","unresolved":false,"context_lines":[{"line_number":36,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The l3-agent will have a driver loading mechanism for advanced"},{"line_number":39,"context_line":"services.  It loads agent service drivers specified in its"},{"line_number":40,"context_line":"config file at startup time.  Each advanced service (FWaaS, VPNaaS,"},{"line_number":41,"context_line":"...) will define an agent service driver.  Also, vendor-specific"},{"line_number":42,"context_line":"extensions are written as an agent service driver."}],"source_content_type":"text/x-rst","patch_set":10,"id":"1ae5cdf2_0a10fefe","line":39,"in_reply_to":"1ae5cdf2_ebff7d00","updated":"2014-06-26 04:14:08.000000000","message":"In case of VPN, VPNAgent will be the service_driver (or whatever we rename).  It then loads device_drivers for VPN implementations.\n\nSome more thought on naming:\n\n* \"extension\" already has another meaning in Neutron.\n* AFAIK, \"agent module\" has no overlapping use of terms, which should avoid confusion.  This is currently my choice.\n* On the other hand, Neutron uses \"driver\" to mean something loadable, so calling this a \"driver\" is more consistent in this sense.","commit_id":"cb98c3781f542d8e93f814961f196cc14e7a84d0"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"c6d3236f0d05eee2b29a4ab767a188e55e6706fe","unresolved":false,"context_lines":[{"line_number":36,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The l3-agent will have a driver loading mechanism for advanced"},{"line_number":39,"context_line":"services.  It loads agent service drivers specified in its"},{"line_number":40,"context_line":"config file at startup time.  Each advanced service (FWaaS, VPNaaS,"},{"line_number":41,"context_line":"...) will define an agent service driver.  Also, vendor-specific"},{"line_number":42,"context_line":"extensions are written as an agent service driver."}],"source_content_type":"text/x-rst","patch_set":10,"id":"1ae5cdf2_ba4cebca","line":39,"in_reply_to":"1ae5cdf2_fd7f6c67","updated":"2014-06-25 01:50:13.000000000","message":"Its long name will be \"agent driver for advanced services or hooks\".  It can be \"agent driver\" or just \"driver\" as there\u0027s no other drivers for l3-agent now, but we might add \"agent device driver\" later (see line 83).\n\nHow about \"agent extension driver\"? Or, could you suggest another name?","commit_id":"cb98c3781f542d8e93f814961f196cc14e7a84d0"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"1d3c28021b83977483a22da2c6cd48abc7f17b32","unresolved":false,"context_lines":[{"line_number":157,"context_line":""},{"line_number":158,"context_line":"Other contributors:"},{"line_number":159,"context_line":"  Hareesh Puthalath"},{"line_number":160,"context_line":"  Cedric Brandily"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"Work Items"}],"source_content_type":"text/x-rst","patch_set":10,"id":"1ae5cdf2_cd076cc8","line":160,"updated":"2014-06-24 06:48:40.000000000","message":"itemize to make html rendering prettier","commit_id":"cb98c3781f542d8e93f814961f196cc14e7a84d0"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"7a5ccb753a8470d1c46065a82abb6031bf055bfb","unresolved":false,"context_lines":[{"line_number":165,"context_line":""},{"line_number":166,"context_line":"In no particular order:"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"* Implement advanced services agent driver loading mechanism"},{"line_number":169,"context_line":"* Convert current FWaaS and VPNaaS codes to service agent drivers."},{"line_number":170,"context_line":""},{"line_number":171,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"1ae5cdf2_6e5a5683","line":168,"updated":"2014-06-26 20:59:41.000000000","message":"Before implementation, an interface should be defined for advanced drivers like the ones defined for ML2 [1].\n\n[1] http://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/driver_api.py","commit_id":"cb98c3781f542d8e93f814961f196cc14e7a84d0"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"fa0d7f9677187bd37409cb5005e65747335343df","unresolved":false,"context_lines":[{"line_number":165,"context_line":""},{"line_number":166,"context_line":"In no particular order:"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"* Implement advanced services agent driver loading mechanism"},{"line_number":169,"context_line":"* Convert current FWaaS and VPNaaS codes to service agent drivers."},{"line_number":170,"context_line":""},{"line_number":171,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"1ae5cdf2_c0dde942","line":168,"in_reply_to":"1ae5cdf2_6e5a5683","updated":"2014-06-27 08:28:51.000000000","message":"Done","commit_id":"cb98c3781f542d8e93f814961f196cc14e7a84d0"},{"author":{"_account_id":11208,"name":"Baohua Yang","email":"baohua@linux.vnet.ibm.com","username":"yangbaohua"},"change_message_id":"d7f15289f75cdd35314b5764434a13d40eba63ad","unresolved":false,"context_lines":[{"line_number":38,"context_line":"The l3-agent will have a driver loading mechanism for advanced"},{"line_number":39,"context_line":"services and hooks.  It loads agent extension drivers specified in its"},{"line_number":40,"context_line":"config file at startup time.  Each advanced service (FWaaS, VPNaaS,"},{"line_number":41,"context_line":"...) will define an agent extension driver.  Also, vendor-specific"},{"line_number":42,"context_line":"extensions can be written as agent extension drivers."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"The l3-agent will have a hook calling mechanism and hooks can be"}],"source_content_type":"text/x-rst","patch_set":11,"id":"baada198_343e742a","line":41,"updated":"2014-07-09 03:34:21.000000000","message":"Nice!\nHow to classify the extensions? We might need to make several categories, like general service extensions and customized extensions. Also, if multiple extensions can be enabled, we should consider the priority when there\u0027re some conflicts.","commit_id":"ca2e67943bbe8a193971b134f6f682cc164e25f8"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"e89806e098906cc2aedddff65279437dededa7af","unresolved":false,"context_lines":[{"line_number":38,"context_line":"The l3-agent will have a driver loading mechanism for advanced"},{"line_number":39,"context_line":"services and hooks.  It loads agent extension drivers specified in its"},{"line_number":40,"context_line":"config file at startup time.  Each advanced service (FWaaS, VPNaaS,"},{"line_number":41,"context_line":"...) will define an agent extension driver.  Also, vendor-specific"},{"line_number":42,"context_line":"extensions can be written as agent extension drivers."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"The l3-agent will have a hook calling mechanism and hooks can be"}],"source_content_type":"text/x-rst","patch_set":11,"id":"baada198_fb2a242b","line":41,"in_reply_to":"baada198_343e742a","updated":"2014-07-09 09:14:49.000000000","message":"Well, implicit assumption is that extensions are small and can be written so that extensions don\u0027t interfere each other.\nFor advanced services, it\u0027s not difficult as most work is done within their own RPC topics.  Customization was Cedric\u0027s request.  Something about his customization ideas were in the review comments, IIRC.  What do you plan to do?","commit_id":"ca2e67943bbe8a193971b134f6f682cc164e25f8"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"f2245fab7253ebf1f9bb9c82c06674c3c65a6d60","unresolved":false,"context_lines":[{"line_number":38,"context_line":"The l3-agent will have a driver loading mechanism for advanced"},{"line_number":39,"context_line":"services and hooks.  It loads agent extension drivers specified in its"},{"line_number":40,"context_line":"config file at startup time.  Each advanced service (FWaaS, VPNaaS,"},{"line_number":41,"context_line":"...) will define an agent extension driver.  Also, vendor-specific"},{"line_number":42,"context_line":"extensions can be written as agent extension drivers."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"The l3-agent will have a hook calling mechanism and hooks can be"}],"source_content_type":"text/x-rst","patch_set":11,"id":"baada198_069af46d","line":41,"in_reply_to":"baada198_4f36eae8","updated":"2014-07-10 08:53:27.000000000","message":"This BP is about improving the l3-agent code; I think your problem isn\u0027t limited to agent-side implementation and should be handled at a higher level.","commit_id":"ca2e67943bbe8a193971b134f6f682cc164e25f8"},{"author":{"_account_id":11208,"name":"Baohua Yang","email":"baohua@linux.vnet.ibm.com","username":"yangbaohua"},"change_message_id":"ff9352e2176230a718d6245be519333d57c0d3ea","unresolved":false,"context_lines":[{"line_number":38,"context_line":"The l3-agent will have a driver loading mechanism for advanced"},{"line_number":39,"context_line":"services and hooks.  It loads agent extension drivers specified in its"},{"line_number":40,"context_line":"config file at startup time.  Each advanced service (FWaaS, VPNaaS,"},{"line_number":41,"context_line":"...) will define an agent extension driver.  Also, vendor-specific"},{"line_number":42,"context_line":"extensions can be written as agent extension drivers."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"The l3-agent will have a hook calling mechanism and hooks can be"}],"source_content_type":"text/x-rst","patch_set":11,"id":"baada198_4f36eae8","line":41,"in_reply_to":"baada198_fb2a242b","updated":"2014-07-09 11:36:30.000000000","message":"When actually using multiple extensions at the same time, the rules might get conflicted. e.g., one agent allows direct NATed forwarding, another service agent requires a redirecting before routing. We should consider this scenario.","commit_id":"ca2e67943bbe8a193971b134f6f682cc164e25f8"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"ce989fcd5188d59933ccbb7eff142c924bc71be2","unresolved":false,"context_lines":[{"line_number":167,"context_line":"----------"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"* Implement agent extension driver loading mechanism"},{"line_number":170,"context_line":"  (includes creating an abstract class for drivers)"},{"line_number":171,"context_line":"* Convert current FWaaS and VPNaaS codes to agent extension drivers."},{"line_number":172,"context_line":""},{"line_number":173,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"baada198_c913c10b","line":170,"updated":"2014-07-02 01:15:24.000000000","message":"i thought your argument was that the number of hooks actually used is far smaller than possible hook points.  if it is that case, having an abstract class is not a great idea because it will involve a lot of no-op methods just to override abs methods.","commit_id":"ca2e67943bbe8a193971b134f6f682cc164e25f8"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"82d0a3f5140cdf4c34d9393d95924e4e0adab4dd","unresolved":false,"context_lines":[{"line_number":167,"context_line":"----------"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"* Implement agent extension driver loading mechanism"},{"line_number":170,"context_line":"  (includes creating an abstract class for drivers)"},{"line_number":171,"context_line":"* Convert current FWaaS and VPNaaS codes to agent extension drivers."},{"line_number":172,"context_line":""},{"line_number":173,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"baada198_a93ccde3","line":170,"in_reply_to":"baada198_09693925","updated":"2014-07-02 01:58:57.000000000","message":"it\u0027s fine for me if you put @absmethod to a subset of methods which are mandatory  and provide reasonable default impls for the rest.  (cf. ML2 MechanismDriver)\nbut your POC seems to put @absmethod to every methods.  it concerned me.","commit_id":"ca2e67943bbe8a193971b134f6f682cc164e25f8"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"a5b1f8d2c65dbdd15e1816a552cbf5ea81bb08ad","unresolved":false,"context_lines":[{"line_number":167,"context_line":"----------"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"* Implement agent extension driver loading mechanism"},{"line_number":170,"context_line":"  (includes creating an abstract class for drivers)"},{"line_number":171,"context_line":"* Convert current FWaaS and VPNaaS codes to agent extension drivers."},{"line_number":172,"context_line":""},{"line_number":173,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"baada198_744b6887","line":170,"in_reply_to":"baada198_9408fc92","updated":"2014-07-02 02:44:23.000000000","message":"well, what POC does is what you meant by this spec, isn\u0027t it?","commit_id":"ca2e67943bbe8a193971b134f6f682cc164e25f8"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"bbfabf86d07291f68a91b5c22ea58ec981a81909","unresolved":false,"context_lines":[{"line_number":167,"context_line":"----------"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"* Implement agent extension driver loading mechanism"},{"line_number":170,"context_line":"  (includes creating an abstract class for drivers)"},{"line_number":171,"context_line":"* Convert current FWaaS and VPNaaS codes to agent extension drivers."},{"line_number":172,"context_line":""},{"line_number":173,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"baada198_9408fc92","line":170,"in_reply_to":"baada198_a93ccde3","updated":"2014-07-02 02:20:24.000000000","message":"I see. Removing all @abstractmethod seems to be the way to go.\nBut, shouldn\u0027t -1 be put on the code rather than this spec?","commit_id":"ca2e67943bbe8a193971b134f6f682cc164e25f8"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"0de916588e4677ed2fe851181e5393f70c2f72d3","unresolved":false,"context_lines":[{"line_number":167,"context_line":"----------"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"* Implement agent extension driver loading mechanism"},{"line_number":170,"context_line":"  (includes creating an abstract class for drivers)"},{"line_number":171,"context_line":"* Convert current FWaaS and VPNaaS codes to agent extension drivers."},{"line_number":172,"context_line":""},{"line_number":173,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"baada198_09693925","line":170,"in_reply_to":"baada198_c913c10b","updated":"2014-07-02 01:29:10.000000000","message":"If you have followed the discussion more carefully, you should have noticed that the number turned out to be rather small.  This abstract class is technically not necessary and I\u0027m fine without it, but it seems that providing an abstract class is an OpenStack standard in such a case.","commit_id":"ca2e67943bbe8a193971b134f6f682cc164e25f8"}]}
