)]}'
{"specs/juno/l3-svcs-vendor-validation.rst":[{"author":{"_account_id":1689,"name":"Robert Kukura","email":"rk@theep.net","username":"rkukura"},"change_message_id":"725119ae497e4f8d46cbc04c0d97bccfa84ad4f1","unresolved":false,"context_lines":[{"line_number":51,"context_line":"and apply steps. The provider\u0027s service driver would have the"},{"line_number":52,"context_line":"option to take action during the validate and persist steps,"},{"line_number":53,"context_line":"ideally in any order desired (e.g. validate before or after"},{"line_number":54,"context_line":"the service plugin performs validation)."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Goal is to roll out the same proposal for all L3 service plugins."},{"line_number":57,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAXH%2F%2FvLk%3D","line":54,"updated":"2014-04-17 20:04:02.000000000","message":"Just some thoughts to consider, not necessarily anything that has to be changed in this BP:\n\nThese phases seem to me to be somewhat similar to the ML2 core plugin\u0027s pattern of invoking precommit() and postcommit() operations on the mechanism drivers for each create, update, and delete operation. But ML2 uses only two phases. It\u0027s precommit() is called within the DB transaction, and encompasses both the validate and persist steps being proposed here. Exceptions thrown from precommit() methods by drivers result in the entire transaction being rolled back and an exception returned to the client. ML2\u0027s postcommit() happens after the transaction has been committed, and seems to correspond to your apply phase.\n\nYou may want to reconsider whether the validate and persist phases need to be separate methods. One thing that unifying these allows is for \"validation\" to include reserving any needed resources from pools at the DB level.\n\nIf you do decide that two phases at the driver level is sufficent, and the semantics of the driver methods you end up with match those in ML2, I\u0027d recommend trying to keep the method naming and other details consistent with ML2 as well.","commit_id":"81a3267ea6d7dcf41a6eeb7a062592a3735bfb9f"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"ce60b3737bcb2eea4a8715dfe70b4b0920441319","unresolved":false,"context_lines":[{"line_number":51,"context_line":"and apply steps. The provider\u0027s service driver would have the"},{"line_number":52,"context_line":"option to take action during the validate and persist steps,"},{"line_number":53,"context_line":"ideally in any order desired (e.g. validate before or after"},{"line_number":54,"context_line":"the service plugin performs validation)."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Goal is to roll out the same proposal for all L3 service plugins."},{"line_number":57,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAXH%2F%2FdbQ%3D","line":54,"in_reply_to":"AAAAXH%2F%2FvLk%3D","updated":"2014-04-21 15:51:31.000000000","message":"Good points Robert!\n\nThere certainly is some value in reducing the number of methods involved (2 vs 3), and in using a similar naming convention, if two methods are used.\n\nThe primary reason for showing three methods was to make it explicit as to what are the needed steps, and so as not to color anyone\u0027s thinking about how it should be implemented.\n\nI really need to create a prototype, to see how this would flesh out, but my initial thoughts were that we could forward all config requests from the plugin to the service driver, which could override operations as needed and then call back to the plugin for \"baseline\" actions.\n\nWith that in mind, my thoughts are that a provider may very often want to override the validation logic, but I can\u0027t think of a case where they would override the persisting of info - hence the three steps.\n\nIn addition, by having a separate validation step, the provider could override before or after the plugin validation, or replace the baseline validation entirely.\n\nI guess it is a question of whether or not the flexibility is needed.","commit_id":"81a3267ea6d7dcf41a6eeb7a062592a3735bfb9f"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"3cead1559d30cd73a9d54615db2dffde2a9d4c63","unresolved":false,"context_lines":[{"line_number":43,"context_line":"Proposed change"},{"line_number":44,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"The proposal is to create three distinct phases for processing"},{"line_number":47,"context_line":"create and update requests, and allow the selected provider"},{"line_number":48,"context_line":"to participate in each of those phases, as needed."},{"line_number":49,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_958834e9","line":46,"updated":"2014-05-29 23:59:00.000000000","message":"Does this section reflect what you discussed in the meeting this morning?  I think you were going to try a different approach.","commit_id":"730201397af286b082e49990496b24c022c61aa1"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"2d3f978518765a1f7cce57ae09836f2987ec4d3a","unresolved":false,"context_lines":[{"line_number":43,"context_line":"Proposed change"},{"line_number":44,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"The proposal is to create three distinct phases for processing"},{"line_number":47,"context_line":"create and update requests, and allow the selected provider"},{"line_number":48,"context_line":"to participate in each of those phases, as needed."},{"line_number":49,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_8f180e86","line":46,"in_reply_to":"1ae5cdf2_958834e9","updated":"2014-05-30 14:32:20.000000000","message":"Correct. I tried separating it completely, but the issue is that validation must be done under the context of the transaction to persist, to handle cases where multiple clients are modifying the same config.\n\nI\u0027m trying a different approach, namely to add a hook from inside the persistence function to allow validation extension/override.\n\nWill update this BP spec once I\u0027ve had a chance to do a spike to see if this approach will work better.","commit_id":"730201397af286b082e49990496b24c022c61aa1"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"3cead1559d30cd73a9d54615db2dffde2a9d4c63","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"This will be a structural change, and not a behavorial change."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"As part of the Jumo summit there was a discussion of using"},{"line_number":67,"context_line":"the TaskFlow package for managing the processing for validate,"},{"line_number":68,"context_line":"persistence, and apply operations."},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_351200b5","line":66,"updated":"2014-05-29 23:59:00.000000000","message":"*Juno","commit_id":"730201397af286b082e49990496b24c022c61aa1"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"2d3f978518765a1f7cce57ae09836f2987ec4d3a","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"This will be a structural change, and not a behavorial change."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"As part of the Jumo summit there was a discussion of using"},{"line_number":67,"context_line":"the TaskFlow package for managing the processing for validate,"},{"line_number":68,"context_line":"persistence, and apply operations."},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_ea2500ac","line":66,"in_reply_to":"1ae5cdf2_351200b5","updated":"2014-05-30 14:32:20.000000000","message":"No, Jumo. A combination of Juno and Jumbo :) Darn fat fingers...","commit_id":"730201397af286b082e49990496b24c022c61aa1"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"31b19682facce947b43edd6de3e834117e1bc916","unresolved":false,"context_lines":[{"line_number":45,"context_line":""},{"line_number":46,"context_line":"This proposal is to break out the validation into a separate"},{"line_number":47,"context_line":"function, and provide a way for provider service drivers to"},{"line_number":48,"context_line":"extend or orverride the validation logic, if desired."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Research into the current validation shows that it must be"},{"line_number":51,"context_line":"done during the persistence step, to handle the situation"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_2b3193a2","line":48,"updated":"2014-06-09 15:20:39.000000000","message":"nit: *override","commit_id":"db0960ccb783ed8df1af5ee2a16adebb06d724eb"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"daac916694e09bff33a0f2e29203090d891bf063","unresolved":false,"context_lines":[{"line_number":45,"context_line":""},{"line_number":46,"context_line":"This proposal is to break out the validation into a separate"},{"line_number":47,"context_line":"function, and provide a way for provider service drivers to"},{"line_number":48,"context_line":"extend or orverride the validation logic, if desired."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Research into the current validation shows that it must be"},{"line_number":51,"context_line":"done during the persistence step, to handle the situation"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_c680268e","line":48,"in_reply_to":"1ae5cdf2_2b3193a2","updated":"2014-06-09 15:50:29.000000000","message":"Done","commit_id":"db0960ccb783ed8df1af5ee2a16adebb06d724eb"},{"author":{"_account_id":105,"name":"Kyle Mestery","email":"mestery@mestery.com","username":"mestery"},"change_message_id":"79e19fa4f18d6a8e97f12b34c54244ad4e80129e","unresolved":false,"context_lines":[{"line_number":66,"context_line":""},{"line_number":67,"context_line":"This will be a structural change, and not a behavorial change."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"As part of the Jumo summit there was a discussion of using"},{"line_number":70,"context_line":"the TaskFlow package for managing the processing for validate,"},{"line_number":71,"context_line":"persistence, and apply operations."},{"line_number":72,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_a06ea294","line":69,"updated":"2014-06-09 14:52:26.000000000","message":"Nit: s/Jumo/Juno/","commit_id":"db0960ccb783ed8df1af5ee2a16adebb06d724eb"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"daac916694e09bff33a0f2e29203090d891bf063","unresolved":false,"context_lines":[{"line_number":66,"context_line":""},{"line_number":67,"context_line":"This will be a structural change, and not a behavorial change."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"As part of the Jumo summit there was a discussion of using"},{"line_number":70,"context_line":"the TaskFlow package for managing the processing for validate,"},{"line_number":71,"context_line":"persistence, and apply operations."},{"line_number":72,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_064a0e83","line":69,"in_reply_to":"1ae5cdf2_0bd3f738","updated":"2014-06-09 15:50:29.000000000","message":"Done","commit_id":"db0960ccb783ed8df1af5ee2a16adebb06d724eb"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"31b19682facce947b43edd6de3e834117e1bc916","unresolved":false,"context_lines":[{"line_number":66,"context_line":""},{"line_number":67,"context_line":"This will be a structural change, and not a behavorial change."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"As part of the Jumo summit there was a discussion of using"},{"line_number":70,"context_line":"the TaskFlow package for managing the processing for validate,"},{"line_number":71,"context_line":"persistence, and apply operations."},{"line_number":72,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_0bd3f738","line":69,"in_reply_to":"1ae5cdf2_a06ea294","updated":"2014-06-09 15:20:39.000000000","message":":)","commit_id":"db0960ccb783ed8df1af5ee2a16adebb06d724eb"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"31b19682facce947b43edd6de3e834117e1bc916","unresolved":false,"context_lines":[{"line_number":72,"context_line":""},{"line_number":73,"context_line":"More research will be needed on TaskFlow, but regardless, the"},{"line_number":74,"context_line":"validation logic should be separated from the persistence logic"},{"line_number":75,"context_line":"and can be done as preliminary work."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"Alternatives"},{"line_number":78,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_0ba137a9","line":75,"updated":"2014-06-09 15:20:39.000000000","message":"Agreed.  Well stated.","commit_id":"db0960ccb783ed8df1af5ee2a16adebb06d724eb"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"31b19682facce947b43edd6de3e834117e1bc916","unresolved":false,"context_lines":[{"line_number":118,"context_line":"------------------"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"Other that more indirection in calls between the plugin and service"},{"line_number":121,"context_line":"driver (in the same process), there is no other performance impact,"},{"line_number":122,"context_line":"and no significant performance impact expected."},{"line_number":123,"context_line":""},{"line_number":124,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_4b825f01","line":121,"updated":"2014-06-09 15:20:39.000000000","message":"nit:  I wouldn\u0027t consider this a performance impact worth mentioning.","commit_id":"db0960ccb783ed8df1af5ee2a16adebb06d724eb"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"daac916694e09bff33a0f2e29203090d891bf063","unresolved":false,"context_lines":[{"line_number":118,"context_line":"------------------"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"Other that more indirection in calls between the plugin and service"},{"line_number":121,"context_line":"driver (in the same process), there is no other performance impact,"},{"line_number":122,"context_line":"and no significant performance impact expected."},{"line_number":123,"context_line":""},{"line_number":124,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_463b36eb","line":121,"in_reply_to":"1ae5cdf2_4b825f01","updated":"2014-06-09 15:50:29.000000000","message":"Done","commit_id":"db0960ccb783ed8df1af5ee2a16adebb06d724eb"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"31b19682facce947b43edd6de3e834117e1bc916","unresolved":false,"context_lines":[{"line_number":150,"context_line":"  Anyone"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"Given the scope and number of L3 services, additional contributers"},{"line_number":153,"context_line":"would be greatly appreciated!"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"Work Items"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_8bc9c75c","line":153,"updated":"2014-06-09 15:20:39.000000000","message":"Just a question, how many are there?  How shall we coordinate this work?","commit_id":"db0960ccb783ed8df1af5ee2a16adebb06d724eb"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"daac916694e09bff33a0f2e29203090d891bf063","unresolved":false,"context_lines":[{"line_number":150,"context_line":"  Anyone"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"Given the scope and number of L3 services, additional contributers"},{"line_number":153,"context_line":"would be greatly appreciated!"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"Work Items"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_66403257","line":153,"in_reply_to":"1ae5cdf2_86dc5e76","updated":"2014-06-09 15:50:29.000000000","message":"Done","commit_id":"db0960ccb783ed8df1af5ee2a16adebb06d724eb"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"3daf6cbbeb1b0c6e8f211357cf86d0c69117b45f","unresolved":false,"context_lines":[{"line_number":150,"context_line":"  Anyone"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"Given the scope and number of L3 services, additional contributers"},{"line_number":153,"context_line":"would be greatly appreciated!"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"Work Items"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_86dc5e76","line":153,"in_reply_to":"1ae5cdf2_8bc9c75c","updated":"2014-06-09 15:33:10.000000000","message":"Just talked with pcm.  I don\u0027t think that we need to spell out the scope of this work in this blueprint (i.e. what is written here is sufficient).  His work will provide the base mechanism and specific changes for his VPN service.  Other services will not be required to make changes in lock step but will not benefit from the new mechanism automatically.\n\nI will use the ether pad from the summit where a census of L3 services was taken and do some coordination.\n\nhttps://etherpad.openstack.org/p/L3-vendor-plugins","commit_id":"db0960ccb783ed8df1af5ee2a16adebb06d724eb"}]}
