)]}'
{"specs/juno/lbaas-haproxy-cfg-rework.rst":[{"author":{"_account_id":105,"name":"Kyle Mestery","email":"mestery@mestery.com","username":"mestery"},"change_message_id":"d3d57247f20df609a8b9b63263e301e3297bc7c3","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://blueprints.launchpad.net/neutron/+spec/lbaas-haproxy-cfg-rework"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Currently the LBaaS HaProxy config module only writes the config to the local "},{"line_number":14,"context_line":"filesystem of the process.  In order to support other HaProxy drivers that will "},{"line_number":15,"context_line":"have HaProxy instances running on other machines, the config should be turned "},{"line_number":16,"context_line":"into an object and have the ability to return a string representation of that "}],"source_content_type":"text/x-rst","patch_set":1,"id":"7adec928_d44d7d3f","line":13,"updated":"2014-05-19 20:17:19.000000000","message":"Nit: Whitespace cleanup for all places with red at the end of the lines.","commit_id":"22f6ef83dd1eef869ae5229de5454b6d51b12e80"},{"author":{"_account_id":105,"name":"Kyle Mestery","email":"mestery@mestery.com","username":"mestery"},"change_message_id":"d3d57247f20df609a8b9b63263e301e3297bc7c3","unresolved":false,"context_lines":[{"line_number":41,"context_line":"   - methods:"},{"line_number":42,"context_line":"      - create_from_logical_config - build the config class using the same data "},{"line_number":43,"context_line":"                                     structure in current use."},{"line_number":44,"context_line":"      - write_to_local_file_system - write the current config to the local "},{"line_number":45,"context_line":"                                     file system."},{"line_number":46,"context_line":"      - dumps - returns a formatted haproxy config string based on the "},{"line_number":47,"context_line":"                the attributes (defaults, frontend, backend, listen)."}],"source_content_type":"text/x-rst","patch_set":1,"id":"7adec928_54616da7","line":44,"updated":"2014-05-19 20:17:19.000000000","message":"Once this is written to the local filesystem, is there any sort of sync mechanism needed for the on-disk config and the in-memory representation?","commit_id":"22f6ef83dd1eef869ae5229de5454b6d51b12e80"},{"author":{"_account_id":105,"name":"Kyle Mestery","email":"mestery@mestery.com","username":"mestery"},"change_message_id":"c9ea23ba193ed449db3f0c5aa18fdfc2a10363e1","unresolved":false,"context_lines":[{"line_number":41,"context_line":"   - methods:"},{"line_number":42,"context_line":"      - create_from_logical_config - build the config class using the same data "},{"line_number":43,"context_line":"                                     structure in current use."},{"line_number":44,"context_line":"      - write_to_local_file_system - write the current config to the local "},{"line_number":45,"context_line":"                                     file system."},{"line_number":46,"context_line":"      - dumps - returns a formatted haproxy config string based on the "},{"line_number":47,"context_line":"                the attributes (defaults, frontend, backend, listen)."}],"source_content_type":"text/x-rst","patch_set":1,"id":"7adec928_948135fd","line":44,"in_reply_to":"7adec928_14c7e564","updated":"2014-05-19 20:36:40.000000000","message":"OK, got it, and this makes sense. I think keeping this method here is fine since we\u0027re delegating this to the driver backend.","commit_id":"22f6ef83dd1eef869ae5229de5454b6d51b12e80"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"65add0c1f1684d60574b8cf96d2c5abf1a25ec8b","unresolved":false,"context_lines":[{"line_number":41,"context_line":"   - methods:"},{"line_number":42,"context_line":"      - create_from_logical_config - build the config class using the same data "},{"line_number":43,"context_line":"                                     structure in current use."},{"line_number":44,"context_line":"      - write_to_local_file_system - write the current config to the local "},{"line_number":45,"context_line":"                                     file system."},{"line_number":46,"context_line":"      - dumps - returns a formatted haproxy config string based on the "},{"line_number":47,"context_line":"                the attributes (defaults, frontend, backend, listen)."}],"source_content_type":"text/x-rst","patch_set":1,"id":"7adec928_14c7e564","line":44,"in_reply_to":"7adec928_54616da7","updated":"2014-05-19 20:23:14.000000000","message":"I think that will be left up to the driver/backend that uses this.  My first thought was this class would just implement the dumps method and the driver/backend would decide the logic on how to use it what to do after it uses it.  However, the current implementation writes it to the local filesystem as well so I thought it might be better to keep that.  I\u0027m fine with keeping it in this class or not.","commit_id":"22f6ef83dd1eef869ae5229de5454b6d51b12e80"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"b4dbcd8076855657777ef8982ab9bde9169becac","unresolved":false,"context_lines":[{"line_number":33,"context_line":"   description: The root class for all HaProxy config section classes."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"   attributes:"},{"line_number":36,"context_line":"   - defaults - an instance of a HaProxyDefaults class"},{"line_number":37,"context_line":"   - frontend - an instance of a HaProxyFrontend class"},{"line_number":38,"context_line":"   - backend - an instance of a HaProxyBackend class"},{"line_number":39,"context_line":"   - listen - an instance of a HaProxyListen class (I question whether we"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3ae8d1ca_ad06941e","line":36,"updated":"2014-05-28 12:41:35.000000000","message":"what about \u0027\u0027global\u0027 section, isn\u0027t it needed?","commit_id":"cb8d5f25bcecd6d1a738a6eba49c2801b492e70d"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"e03a137b98692e4ee28c892a3e33a5c808bfd857","unresolved":false,"context_lines":[{"line_number":33,"context_line":"   description: The root class for all HaProxy config section classes."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"   attributes:"},{"line_number":36,"context_line":"   - defaults - an instance of a HaProxyDefaults class"},{"line_number":37,"context_line":"   - frontend - an instance of a HaProxyFrontend class"},{"line_number":38,"context_line":"   - backend - an instance of a HaProxyBackend class"},{"line_number":39,"context_line":"   - listen - an instance of a HaProxyListen class (I question whether we"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3ae8d1ca_ee132b5a","line":36,"in_reply_to":"3ae8d1ca_ad06941e","updated":"2014-05-28 16:34:19.000000000","message":"Good call, I\u0027ve actually started implementing this and added it to the class but forgot to update it here.","commit_id":"cb8d5f25bcecd6d1a738a6eba49c2801b492e70d"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"b4dbcd8076855657777ef8982ab9bde9169becac","unresolved":false,"context_lines":[{"line_number":55,"context_line":"   - the common config options shared across HaProxyDefaults,"},{"line_number":56,"context_line":"   HaProxyFrontend, HaProxyBackend, and HaProxyListen."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"   methods:"},{"line_number":59,"context_line":"   - the methods each class should have (HaProxyDefaults, HaProxyFrontend,"},{"line_number":60,"context_line":"   HaProxyBackend, and HaProxyListen)"},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3ae8d1ca_a8904296","line":58,"updated":"2014-05-28 12:41:35.000000000","message":"classes below don\u0027t have this attribute, can you please clarify why is it needed?","commit_id":"cb8d5f25bcecd6d1a738a6eba49c2801b492e70d"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"e03a137b98692e4ee28c892a3e33a5c808bfd857","unresolved":false,"context_lines":[{"line_number":55,"context_line":"   - the common config options shared across HaProxyDefaults,"},{"line_number":56,"context_line":"   HaProxyFrontend, HaProxyBackend, and HaProxyListen."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"   methods:"},{"line_number":59,"context_line":"   - the methods each class should have (HaProxyDefaults, HaProxyFrontend,"},{"line_number":60,"context_line":"   HaProxyBackend, and HaProxyListen)"},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3ae8d1ca_ee024b3d","line":58,"in_reply_to":"3ae8d1ca_a8904296","updated":"2014-05-28 16:34:19.000000000","message":"Right now its just a placeholder for future methods that will be here.  Right now I can\u0027t think of any public methods this will have but there will be private methods.  EIther way, each section will inherit from this class so they will all get these methods.","commit_id":"cb8d5f25bcecd6d1a738a6eba49c2801b492e70d"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"b4dbcd8076855657777ef8982ab9bde9169becac","unresolved":false,"context_lines":[{"line_number":127,"context_line":"Performance Impact"},{"line_number":128,"context_line":"------------------"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"Adding the create_from_database method will cause a trivial increase in the"},{"line_number":131,"context_line":"number of retrievals from the database."},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"Other deployer impact"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3ae8d1ca_e8740a9e","line":130,"updated":"2014-05-28 12:41:35.000000000","message":"create_from_database method wasn\u0027t listed in HaproxyConfig class methods, am I missing smth?","commit_id":"cb8d5f25bcecd6d1a738a6eba49c2801b492e70d"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"e03a137b98692e4ee28c892a3e33a5c808bfd857","unresolved":false,"context_lines":[{"line_number":127,"context_line":"Performance Impact"},{"line_number":128,"context_line":"------------------"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"Adding the create_from_database method will cause a trivial increase in the"},{"line_number":131,"context_line":"number of retrievals from the database."},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"Other deployer impact"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3ae8d1ca_8e51c710","line":130,"in_reply_to":"3ae8d1ca_e8740a9e","updated":"2014-05-28 16:34:19.000000000","message":"Nope you are not missing something.  I missed it. Thanks!  I will push up a revision soon.","commit_id":"cb8d5f25bcecd6d1a738a6eba49c2801b492e70d"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"506166b11a4adbf968f5e63b75b7e1bf287d2ed2","unresolved":false,"context_lines":[{"line_number":20,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"The current haproxy config module is made up of only methods to write the"},{"line_number":23,"context_line":"stringified config to the local filesystem of whatever process is calling it."},{"line_number":24,"context_line":"Turning the collection of methods into a class will allow for greater"},{"line_number":25,"context_line":"flexibility in managing and location of where to write an haproxy config."},{"line_number":26,"context_line":"Also, it will allow for easier future updates."}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_54b4a0f1","line":23,"updated":"2014-06-10 07:56:49.000000000","message":"what about adding get_str_config() to the current cfg module (just  a small refactor of save_config())?","commit_id":"3c8319e7a93c52991587838ae98a07eb800318db"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"7753cbb6ce2697f1485a3dd58ae758d7445a3188","unresolved":false,"context_lines":[{"line_number":20,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"The current haproxy config module is made up of only methods to write the"},{"line_number":23,"context_line":"stringified config to the local filesystem of whatever process is calling it."},{"line_number":24,"context_line":"Turning the collection of methods into a class will allow for greater"},{"line_number":25,"context_line":"flexibility in managing and location of where to write an haproxy config."},{"line_number":26,"context_line":"Also, it will allow for easier future updates."}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_57ad4fe8","line":23,"in_reply_to":"1ae5cdf2_325c68ed","updated":"2014-06-11 09:51:55.000000000","message":"My only counterpoint here is YAGNI principle :)","commit_id":"3c8319e7a93c52991587838ae98a07eb800318db"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"d44dc6e9227e056cb616f503c57d74fa600f2321","unresolved":false,"context_lines":[{"line_number":20,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"The current haproxy config module is made up of only methods to write the"},{"line_number":23,"context_line":"stringified config to the local filesystem of whatever process is calling it."},{"line_number":24,"context_line":"Turning the collection of methods into a class will allow for greater"},{"line_number":25,"context_line":"flexibility in managing and location of where to write an haproxy config."},{"line_number":26,"context_line":"Also, it will allow for easier future updates."}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_325c68ed","line":23,"in_reply_to":"1ae5cdf2_54b4a0f1","updated":"2014-06-10 19:49:00.000000000","message":"I agree that would be a small refactor and easier but I think turning it into a class right  now will make future revisions more manageable and easier to read.  I\u0027d like to hear your counterpoints to that though.","commit_id":"3c8319e7a93c52991587838ae98a07eb800318db"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"e48602e09a90f834788d9c5088a2c76550f568a4","unresolved":false,"context_lines":[{"line_number":20,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"The current haproxy config module is made up of only methods to write the"},{"line_number":23,"context_line":"stringified config to the local filesystem of whatever process is calling it."},{"line_number":24,"context_line":"Turning the collection of methods into a class will allow for greater"},{"line_number":25,"context_line":"flexibility in managing and location of where to write an haproxy config."},{"line_number":26,"context_line":"Also, it will allow for easier future updates."}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_37d436bc","line":23,"in_reply_to":"1ae5cdf2_57ad4fe8","updated":"2014-06-11 15:20:16.000000000","message":"I can definitely see where we are going to need it, though.  Especially when the haproxy configs add more features.  The ability to add methods to the class for search in, replace in, and add in pieces to each section would be better handled by class method structure than module functions.","commit_id":"3c8319e7a93c52991587838ae98a07eb800318db"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"506166b11a4adbf968f5e63b75b7e1bf287d2ed2","unresolved":false,"context_lines":[{"line_number":22,"context_line":"The current haproxy config module is made up of only methods to write the"},{"line_number":23,"context_line":"stringified config to the local filesystem of whatever process is calling it."},{"line_number":24,"context_line":"Turning the collection of methods into a class will allow for greater"},{"line_number":25,"context_line":"flexibility in managing and location of where to write an haproxy config."},{"line_number":26,"context_line":"Also, it will allow for easier future updates."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_b49de459","line":25,"updated":"2014-06-10 07:56:49.000000000","message":"The main purpose of the current cfg module is to get string representation of logical config and write it to a file. I think logical_config dict is flexible enough and given that get_str_config() can be simply added to the module why do we need all the class hierarchy described below?","commit_id":"3c8319e7a93c52991587838ae98a07eb800318db"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"c7824db8f299e0257f34651ffac38d8766c3dacf","unresolved":false,"context_lines":[{"line_number":22,"context_line":"The current haproxy config module is made up of only methods to write the"},{"line_number":23,"context_line":"stringified config to the local filesystem of whatever process is calling it."},{"line_number":24,"context_line":"Turning the collection of methods into a class will allow for greater"},{"line_number":25,"context_line":"flexibility in managing and location of where to write an haproxy config."},{"line_number":26,"context_line":"Also, it will allow for easier future updates."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_e92e728b","line":25,"in_reply_to":"1ae5cdf2_57b1c28d","updated":"2014-06-11 16:18:33.000000000","message":"I wouldn\u0027t say I have strong objections with the proposal even in current state. I just wanted to see the benefits of it. Waiting for the updated spec..","commit_id":"3c8319e7a93c52991587838ae98a07eb800318db"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"7753cbb6ce2697f1485a3dd58ae758d7445a3188","unresolved":false,"context_lines":[{"line_number":22,"context_line":"The current haproxy config module is made up of only methods to write the"},{"line_number":23,"context_line":"stringified config to the local filesystem of whatever process is calling it."},{"line_number":24,"context_line":"Turning the collection of methods into a class will allow for greater"},{"line_number":25,"context_line":"flexibility in managing and location of where to write an haproxy config."},{"line_number":26,"context_line":"Also, it will allow for easier future updates."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_b7bdb36a","line":25,"in_reply_to":"1ae5cdf2_b2b95817","updated":"2014-06-11 09:51:55.000000000","message":"Agree. But this bp does not completely replaces dict with classes and outside of the cfg module (which only purpoise is to get str config) we are still dealing with config dict. So what is the benefit in translating logical config dict to class objects if then we just use these classes to get/dump str config?","commit_id":"3c8319e7a93c52991587838ae98a07eb800318db"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"d44dc6e9227e056cb616f503c57d74fa600f2321","unresolved":false,"context_lines":[{"line_number":22,"context_line":"The current haproxy config module is made up of only methods to write the"},{"line_number":23,"context_line":"stringified config to the local filesystem of whatever process is calling it."},{"line_number":24,"context_line":"Turning the collection of methods into a class will allow for greater"},{"line_number":25,"context_line":"flexibility in managing and location of where to write an haproxy config."},{"line_number":26,"context_line":"Also, it will allow for easier future updates."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_b2b95817","line":25,"in_reply_to":"1ae5cdf2_b49de459","updated":"2014-06-10 19:49:00.000000000","message":"One of the weaknesses of using dictionaries as data structures is that it is not easy to discover what the keys are, whereas a class can be quite explicit as to what its attributes are.  I believe the readability makes it worth it.","commit_id":"3c8319e7a93c52991587838ae98a07eb800318db"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"e48602e09a90f834788d9c5088a2c76550f568a4","unresolved":false,"context_lines":[{"line_number":22,"context_line":"The current haproxy config module is made up of only methods to write the"},{"line_number":23,"context_line":"stringified config to the local filesystem of whatever process is calling it."},{"line_number":24,"context_line":"Turning the collection of methods into a class will allow for greater"},{"line_number":25,"context_line":"flexibility in managing and location of where to write an haproxy config."},{"line_number":26,"context_line":"Also, it will allow for easier future updates."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_57b1c28d","line":25,"in_reply_to":"1ae5cdf2_b7bdb36a","updated":"2014-06-11 15:20:16.000000000","message":"Very good point. The intention was to replace to current use of the module config with this, but I mistakenly left that important piece out of this spec.  When that is added in would you still have strong objections against?","commit_id":"3c8319e7a93c52991587838ae98a07eb800318db"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"506166b11a4adbf968f5e63b75b7e1bf287d2ed2","unresolved":false,"context_lines":[{"line_number":92,"context_line":"Alternatives"},{"line_number":93,"context_line":"------------"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"None"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"Data model impact"},{"line_number":98,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_74b35ce9","line":95,"updated":"2014-06-10 07:56:49.000000000","message":"please see my above comments for an alternative","commit_id":"3c8319e7a93c52991587838ae98a07eb800318db"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"d44dc6e9227e056cb616f503c57d74fa600f2321","unresolved":false,"context_lines":[{"line_number":92,"context_line":"Alternatives"},{"line_number":93,"context_line":"------------"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"None"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"Data model impact"},{"line_number":98,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1ae5cdf2_b2feb8ac","line":95,"in_reply_to":"1ae5cdf2_74b35ce9","updated":"2014-06-10 19:49:00.000000000","message":"I will add in a future patch. Thanks for the feedback!","commit_id":"3c8319e7a93c52991587838ae98a07eb800318db"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"30ab0f6a737f995d84613f1464c07c5db4866ccd","unresolved":false,"context_lines":[{"line_number":41,"context_line":"   methods:"},{"line_number":42,"context_line":"   - create_from_logical_config - build the config class using the same data"},{"line_number":43,"context_line":"   structure in current use."},{"line_number":44,"context_line":"   - create_from_database - build the config class by connecting to the database"},{"line_number":45,"context_line":"   - write_to_local_file_system - write the current config to the local"},{"line_number":46,"context_line":"   file system."},{"line_number":47,"context_line":"   - dumps - returns a formatted haproxy config string based on the"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1ae5cdf2_100c9bec","line":44,"updated":"2014-06-11 19:18:16.000000000","message":"Actually, the device driver doesn\u0027t have access to a DB since it\u0027s being run under the agent, which only receives config via rpc.","commit_id":"6a25c7447e5dc11f03b049241620393ec5f07526"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"b10bfa0cb68fdf9c80f4d62e69b4c63d3b821bcc","unresolved":false,"context_lines":[{"line_number":41,"context_line":"   methods:"},{"line_number":42,"context_line":"   - create_from_logical_config - build the config class using the same data"},{"line_number":43,"context_line":"   structure in current use."},{"line_number":44,"context_line":"   - create_from_database - build the config class by connecting to the database"},{"line_number":45,"context_line":"   - write_to_local_file_system - write the current config to the local"},{"line_number":46,"context_line":"   file system."},{"line_number":47,"context_line":"   - dumps - returns a formatted haproxy config string based on the"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1ae5cdf2_0b32ae5e","line":44,"in_reply_to":"1ae5cdf2_100c9bec","updated":"2014-06-11 19:57:26.000000000","message":"Yeah you\u0027re right.  It should just build it from the \"logical_config\" only.","commit_id":"6a25c7447e5dc11f03b049241620393ec5f07526"}]}
