)]}'
{"specs/liberty/versioned-objects.rst":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"6782cd6f4314a8dba27512ac3e852e1c503e16cb","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Looking forward as we pass more and more data over RPC we can make use of"},{"line_number":32,"context_line":"versionedobjects to ensure upgrades happen without spreading the version"},{"line_number":33,"context_line":"dependant code across the code base."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Proposed Change"}],"source_content_type":"text/x-rst","patch_set":5,"id":"dac4157f_da78cff4","line":33,"updated":"2015-04-22 09:10:16.000000000","message":"it would make sense for heat as it has engine and api separated.\n\ndoes neutron pass many schema version dependent thing over rpc currently?  can you provide an example?","commit_id":"7adae877a292cb8fc1dc1a957822c5ffa078e344"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"8f0b0f851eb244f807dbafb50989dd3a213a6174","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Looking forward as we pass more and more data over RPC we can make use of"},{"line_number":32,"context_line":"versionedobjects to ensure upgrades happen without spreading the version"},{"line_number":33,"context_line":"dependant code across the code base."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Proposed Change"}],"source_content_type":"text/x-rst","patch_set":5,"id":"dac4157f_ece993e7","line":33,"in_reply_to":"dac4157f_da78cff4","updated":"2015-04-23 10:41:02.000000000","message":"There is the communication between neutron and extensions/plugins\nex. http://www.slideshare.net/gongys2004/inside-neutron-2/26\n\nversionedobjects would enable neutron to run services with different versions at the same time, f.ex. when doing a rolling upgrade.\n\nOn the other hand, if you think this is already covered in Neutron, then versionedobjects could be a way to automatize the process. Implementing oslo.versionedobjects may not be a good idea, if the current mechanism is well defined and already used between different neutron sub-projects. But from previous discussion I gathered that it isn\u0027t so.\n\nI quickly browsed the code for examples and I think the dhcp_port is a good one. port_dict is created in neutron/api/rpc/handlers/dhcp_rpc.py and it should be versioned. What it means is, that it is then never sent to instances which don\u0027t support that version, or the object is backported to a version which can be supported by both parties. Implementing it as an object also makes the code more object oriented and all information about versioning is gathered in one place.","commit_id":"7adae877a292cb8fc1dc1a957822c5ffa078e344"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"8237622640a2e693fe02c18bfd3ae0c2dc790d67","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"Once the objects are in place the rest of the code will be changed to use"},{"line_number":44,"context_line":"versionedobjects instead of the db_api directly. This can be done"},{"line_number":45,"context_line":"object-by-object to avoid overly large changes."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"Data Model Impact"}],"source_content_type":"text/x-rst","patch_set":5,"id":"dac4157f_3a923458","line":45,"updated":"2015-04-22 02:53:20.000000000","message":"is there any example of this that you can point to?  I\u0027m trying to understand it and actual code examples would go a long way to doing that.","commit_id":"7adae877a292cb8fc1dc1a957822c5ffa078e344"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"cf36a37d7183984125c57d14a275c212cf3211ad","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"Once the objects are in place the rest of the code will be changed to use"},{"line_number":44,"context_line":"versionedobjects instead of the db_api directly. This can be done"},{"line_number":45,"context_line":"object-by-object to avoid overly large changes."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"Data Model Impact"}],"source_content_type":"text/x-rst","patch_set":5,"id":"dac4157f_747d5c6d","line":45,"in_reply_to":"dac4157f_3a923458","updated":"2015-04-22 08:12:59.000000000","message":"here is an example:\nhttps://review.openstack.org/#/q/topic:bp/versioned-objects+status:merged+project:openstack/heat,n,z","commit_id":"7adae877a292cb8fc1dc1a957822c5ffa078e344"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"6782cd6f4314a8dba27512ac3e852e1c503e16cb","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"None. The objects being introduced are not stored in the database. Instead,"},{"line_number":52,"context_line":"these objects are a replacement for sqlalchemy objects that is being used to"},{"line_number":53,"context_line":"represent stack, resource, etc throughout Neutron internals."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"REST API Impact"},{"line_number":56,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"dac4157f_3a9d8b59","line":53,"range":{"start_line":53,"start_character":10,"end_line":53,"end_character":15},"updated":"2015-04-22 09:10:16.000000000","message":"isn\u0027t \"stack\" a heat thing not relevant to neutron internal?","commit_id":"7adae877a292cb8fc1dc1a957822c5ffa078e344"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"8f0b0f851eb244f807dbafb50989dd3a213a6174","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"None. The objects being introduced are not stored in the database. Instead,"},{"line_number":52,"context_line":"these objects are a replacement for sqlalchemy objects that is being used to"},{"line_number":53,"context_line":"represent stack, resource, etc throughout Neutron internals."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"REST API Impact"},{"line_number":56,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"dac4157f_0c5de778","line":53,"in_reply_to":"dac4157f_3a9d8b59","updated":"2015-04-23 10:41:02.000000000","message":"you\u0027re right, good examples would be the network, subnet, securitygroup, etc","commit_id":"7adae877a292cb8fc1dc1a957822c5ffa078e344"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"00735f10cd87744891381ecada5f57ff8380bc05","unresolved":false,"context_lines":[{"line_number":138,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"Testing of upgrades can be done with grenade, but this is out of scope of this"},{"line_number":141,"context_line":"specification."},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"Tempest Tests"},{"line_number":144,"context_line":"-------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"dac4157f_ce014c6c","line":141,"updated":"2015-04-21 17:11:41.000000000","message":"Does it mean you don\u0027t plan to test it at all?","commit_id":"7adae877a292cb8fc1dc1a957822c5ffa078e344"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"cf36a37d7183984125c57d14a275c212cf3211ad","unresolved":false,"context_lines":[{"line_number":138,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"Testing of upgrades can be done with grenade, but this is out of scope of this"},{"line_number":141,"context_line":"specification."},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"Tempest Tests"},{"line_number":144,"context_line":"-------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"dac4157f_54aff893","line":141,"in_reply_to":"dac4157f_ce014c6c","updated":"2015-04-22 08:12:59.000000000","message":"Unit tests will be written of course. Current unit tests will also have a good coverage of the new code, since all calls to DB will go through it.","commit_id":"7adae877a292cb8fc1dc1a957822c5ffa078e344"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"00735f10cd87744891381ecada5f57ff8380bc05","unresolved":false,"context_lines":[{"line_number":140,"context_line":"Testing of upgrades can be done with grenade, but this is out of scope of this"},{"line_number":141,"context_line":"specification."},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"Tempest Tests"},{"line_number":144,"context_line":"-------------"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"Functional Tests"}],"source_content_type":"text/x-rst","patch_set":5,"id":"dac4157f_6ef3609f","line":143,"updated":"2015-04-21 17:11:41.000000000","message":"Kill those sections below if they are not needed.","commit_id":"7adae877a292cb8fc1dc1a957822c5ffa078e344"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"00735f10cd87744891381ecada5f57ff8380bc05","unresolved":false,"context_lines":[{"line_number":157,"context_line":"------------------"},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"Developer Documentation"},{"line_number":160,"context_line":"-----------------------"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"References"}],"source_content_type":"text/x-rst","patch_set":5,"id":"dac4157f_2e1328ba","line":160,"updated":"2015-04-21 17:11:41.000000000","message":"I\u0027m pretty sure developer documentation should be updated to reflect the change in paradigm. You even have corresponding entry in Work Items.","commit_id":"7adae877a292cb8fc1dc1a957822c5ffa078e344"},{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"5ddcddf5b222bf51a1ab970923f50812e2d18dc1","unresolved":false,"context_lines":[{"line_number":29,"context_line":"Using versionedobjects ensures upgrades happen without spreading the version"},{"line_number":30,"context_line":"dependent code across the code base. Furthermore, it simplifies code"},{"line_number":31,"context_line":"development, by making the calls identical on server and client sides"},{"line_number":32,"context_line":"(f.ex. the calls can be routed to a local DB or to a remote one via RPC)."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"Proposed Change"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_0c44de18","line":32,"updated":"2015-05-28 15:38:18.000000000","message":"If we can address the impact on the model here, that would be helpful.  Don\u0027t we need to modify the model so that it can communicate with two logical versions of the schema at the same time, *and* deal with moving data between these two versions?   It\u0027s true that this keeps this detail localized.  But it is still an impact on development and for more elaborate schema changes, it means the DB access layer has to spend more effort and complexity on synchronizing between two different schemas within runtime.   \n\nI\u0027m not saying this is avoidable but this impact should be discussed.","commit_id":"5188db096408077e8674d731ce7db5d354aab78a"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e2e53007ee6ff6649f41717f00eef602e51f4c08","unresolved":false,"context_lines":[{"line_number":35,"context_line":"Proposed Change"},{"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":"Create a directory neutron/objects/ that will contain wrapper objects that"},{"line_number":39,"context_line":"are a layer above the db objects. This allows the remainder of Neutron to"},{"line_number":40,"context_line":"not have to worry about dealing with older DB objects."},{"line_number":41,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_91584d58","line":38,"updated":"2015-05-14 15:09:13.000000000","message":"Are those bits intended for any public consumption by e.g. advanced services? Should we consider their \"functional\" API to be public?","commit_id":"5188db096408077e8674d731ce7db5d354aab78a"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"417a836a8f9abc03844e3f54ca030c388db40cda","unresolved":false,"context_lines":[{"line_number":35,"context_line":"Proposed Change"},{"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":"Create a directory neutron/objects/ that will contain wrapper objects that"},{"line_number":39,"context_line":"are a layer above the db objects. This allows the remainder of Neutron to"},{"line_number":40,"context_line":"not have to worry about dealing with older DB objects."},{"line_number":41,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_2d483cb2","line":38,"in_reply_to":"7a016987_91584d58","updated":"2015-05-25 11:21:13.000000000","message":"I\u0027m not sure if using the indirection API of versionedobjects would be a good fit for a public API. I think calling a public API should be more explicit.\n\nOn the other hand, objects can be easily serialized to any form, before sending them on the wire. F.ex. we can convert an object to a version supported by the public API and then serialize it to a dict.","commit_id":"5188db096408077e8674d731ce7db5d354aab78a"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e2e53007ee6ff6649f41717f00eef602e51f4c08","unresolved":false,"context_lines":[{"line_number":43,"context_line":"versionedobjects instead of the db_api directly. This can be done"},{"line_number":44,"context_line":"object-by-object to avoid overly large changes (ex. [5] )."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"Interaction with other resources can also be abstracted into objects"},{"line_number":47,"context_line":"Ex. dhcp_port should be an object (right now port_dict is created in"},{"line_number":48,"context_line":"neutron/api/rpc/handlers/dhcp_rpc.py - it should be versioned)."},{"line_number":49,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_51189584","line":46,"updated":"2015-05-14 15:09:13.000000000","message":"Is it the plan for this spec, or just an idea for the future?","commit_id":"5188db096408077e8674d731ce7db5d354aab78a"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"417a836a8f9abc03844e3f54ca030c388db40cda","unresolved":false,"context_lines":[{"line_number":43,"context_line":"versionedobjects instead of the db_api directly. This can be done"},{"line_number":44,"context_line":"object-by-object to avoid overly large changes (ex. [5] )."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"Interaction with other resources can also be abstracted into objects"},{"line_number":47,"context_line":"Ex. dhcp_port should be an object (right now port_dict is created in"},{"line_number":48,"context_line":"neutron/api/rpc/handlers/dhcp_rpc.py - it should be versioned)."},{"line_number":49,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_575429c8","line":46,"in_reply_to":"7a016987_51189584","updated":"2015-05-25 11:21:13.000000000","message":"Right now it\u0027s an idea, It will be somewhat more complicated, since the RPC calls for each object will have to go to different places (services), depending on the configuration.\n\nSaving objects in the DB requires only one place (with a DB connection).","commit_id":"5188db096408077e8674d731ce7db5d354aab78a"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e2e53007ee6ff6649f41717f00eef602e51f4c08","unresolved":false,"context_lines":[{"line_number":46,"context_line":"Interaction with other resources can also be abstracted into objects"},{"line_number":47,"context_line":"Ex. dhcp_port should be an object (right now port_dict is created in"},{"line_number":48,"context_line":"neutron/api/rpc/handlers/dhcp_rpc.py - it should be versioned)."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Data Model Impact"},{"line_number":51,"context_line":"-----------------"},{"line_number":52,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_74481f5c","line":49,"updated":"2015-05-14 15:09:13.000000000","message":"What about (large part of validation) code in neutron/api/v2/attributes.py ? IIUC oslo.versionedobjects should help us with validation of attributes. If that\u0027s indeed the case, we could get rid of some validations there (?).","commit_id":"5188db096408077e8674d731ce7db5d354aab78a"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"417a836a8f9abc03844e3f54ca030c388db40cda","unresolved":false,"context_lines":[{"line_number":46,"context_line":"Interaction with other resources can also be abstracted into objects"},{"line_number":47,"context_line":"Ex. dhcp_port should be an object (right now port_dict is created in"},{"line_number":48,"context_line":"neutron/api/rpc/handlers/dhcp_rpc.py - it should be versioned)."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Data Model Impact"},{"line_number":51,"context_line":"-----------------"},{"line_number":52,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_375c0d18","line":49,"in_reply_to":"7a016987_74481f5c","updated":"2015-05-25 11:21:13.000000000","message":"It\u0027s a good idea, oslo.versionedobjects have field types and there was some work on making the exceptions developer friendly. I see they mostly throw value errors. We can also define additional fields to implement all the validation that\u0027s specific to Neutron.","commit_id":"5188db096408077e8674d731ce7db5d354aab78a"},{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"5ddcddf5b222bf51a1ab970923f50812e2d18dc1","unresolved":false,"context_lines":[{"line_number":52,"context_line":""},{"line_number":53,"context_line":"None. The objects being introduced are not stored in the database. Instead,"},{"line_number":54,"context_line":"these objects are a replacement for sqlalchemy objects that are being used to"},{"line_number":55,"context_line":"represent network, subnet, securitygroup, etc throughout Neutron internals."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"REST API Impact"},{"line_number":58,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_4c2f763e","line":55,"updated":"2015-05-28 15:38:18.000000000","message":"does the application still talk to a relational database?   If so, then you still have SQLAlchemy objects and they are impacted - heavily.","commit_id":"5188db096408077e8674d731ce7db5d354aab78a"},{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"5ddcddf5b222bf51a1ab970923f50812e2d18dc1","unresolved":false,"context_lines":[{"line_number":75,"context_line":"None."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"Performance Impact"},{"line_number":78,"context_line":"------------------"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"Minimal."},{"line_number":81,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_cc6da69a","line":78,"updated":"2015-05-28 15:38:18.000000000","message":"database access code now needs to refer to *two* versions of a logical schema and perform data migrations in real time, no?  that affects performance.","commit_id":"5188db096408077e8674d731ce7db5d354aab78a"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e2e53007ee6ff6649f41717f00eef602e51f4c08","unresolved":false,"context_lines":[{"line_number":87,"context_line":"Other Deployer Impact"},{"line_number":88,"context_line":"---------------------"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"This enables the possibility of rolling upgrades."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"Developer Impact"},{"line_number":93,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_d4afd3e1","line":90,"updated":"2015-05-14 15:09:13.000000000","message":"Can you elaborate which upgrade scenario you mean by rolling?","commit_id":"5188db096408077e8674d731ce7db5d354aab78a"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"417a836a8f9abc03844e3f54ca030c388db40cda","unresolved":false,"context_lines":[{"line_number":87,"context_line":"Other Deployer Impact"},{"line_number":88,"context_line":"---------------------"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"This enables the possibility of rolling upgrades."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"Developer Impact"},{"line_number":93,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_e59d9e0a","line":90,"in_reply_to":"7a016987_d4afd3e1","updated":"2015-05-25 11:21:13.000000000","message":"It should be possible to upgrade between neighboring revisions without stopping the whole system, as well as upgrading between releases. There will probably still be a requirement to restart services in a particular sequence. The upgrades between revisions will be possible, because each object is separately versioned, and changing an object should be followed by making a change in the obj_make_compatible method.\n\nTesting the upgrade capability will just be a matter of comparing objects versions and making sure the differences can be compensated by backporting.","commit_id":"5188db096408077e8674d731ce7db5d354aab78a"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e2e53007ee6ff6649f41717f00eef602e51f4c08","unresolved":false,"context_lines":[{"line_number":94,"context_line":""},{"line_number":95,"context_line":"It will take some time to convert neutron internals over to the object"},{"line_number":96,"context_line":"model, so the existing convention of direct database calls should be"},{"line_number":97,"context_line":"accepted until all object models are in place."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"Community Impact"},{"line_number":100,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_94addb8a","line":97,"updated":"2015-05-14 15:09:13.000000000","message":"Crazy idea: is there a way to forbid direct db calls somehow? Like... hacking check? :)","commit_id":"5188db096408077e8674d731ce7db5d354aab78a"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"417a836a8f9abc03844e3f54ca030c388db40cda","unresolved":false,"context_lines":[{"line_number":94,"context_line":""},{"line_number":95,"context_line":"It will take some time to convert neutron internals over to the object"},{"line_number":96,"context_line":"model, so the existing convention of direct database calls should be"},{"line_number":97,"context_line":"accepted until all object models are in place."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"Community Impact"},{"line_number":100,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_659e4e64","line":97,"in_reply_to":"7a016987_94addb8a","updated":"2015-05-25 11:21:13.000000000","message":"I think you could limit the direct db calls to the neutron/objects subdirectory.","commit_id":"5188db096408077e8674d731ce7db5d354aab78a"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e2e53007ee6ff6649f41717f00eef602e51f4c08","unresolved":false,"context_lines":[{"line_number":99,"context_line":"Community Impact"},{"line_number":100,"context_line":"----------------"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"Versionedobjects were first discussed on 2015-01-13:"},{"line_number":103,"context_line":"http://eavesdrop.openstack.org/meetings/networking/2015/networking.2015-01-13-14.02.html"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_34098796","line":102,"updated":"2015-05-14 15:09:13.000000000","message":"Are there any special concerns we should handle in regards to advanced services (official and not so much) and plugins?","commit_id":"5188db096408077e8674d731ce7db5d354aab78a"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e2e53007ee6ff6649f41717f00eef602e51f4c08","unresolved":false,"context_lines":[{"line_number":125,"context_line":"Work Items"},{"line_number":126,"context_line":"----------"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"* Include ovoo as a dependency"},{"line_number":129,"context_line":"* Implement the objects for DB object type we have, create additional objects"},{"line_number":130,"context_line":"* Update code that uses the DB to use versioned-objects instead"},{"line_number":131,"context_line":"* Make sure all objects are registered in o objects registry"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_94f27b99","line":128,"updated":"2015-05-14 15:09:13.000000000","message":"ovoo?","commit_id":"5188db096408077e8674d731ce7db5d354aab78a"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"417a836a8f9abc03844e3f54ca030c388db40cda","unresolved":false,"context_lines":[{"line_number":125,"context_line":"Work Items"},{"line_number":126,"context_line":"----------"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"* Include ovoo as a dependency"},{"line_number":129,"context_line":"* Implement the objects for DB object type we have, create additional objects"},{"line_number":130,"context_line":"* Update code that uses the DB to use versioned-objects instead"},{"line_number":131,"context_line":"* Make sure all objects are registered in o objects registry"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_e556becc","line":128,"in_reply_to":"7a016987_94f27b99","updated":"2015-05-25 11:21:13.000000000","message":"sorry, I meant oslo.versionedobjects","commit_id":"5188db096408077e8674d731ce7db5d354aab78a"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e2e53007ee6ff6649f41717f00eef602e51f4c08","unresolved":false,"context_lines":[{"line_number":128,"context_line":"* Include ovoo as a dependency"},{"line_number":129,"context_line":"* Implement the objects for DB object type we have, create additional objects"},{"line_number":130,"context_line":"* Update code that uses the DB to use versioned-objects instead"},{"line_number":131,"context_line":"* Make sure all objects are registered in o objects registry"},{"line_number":132,"context_line":"* Connect versionedobjects serializer to RPC (enables passing objects via RPC)"},{"line_number":133,"context_line":"* Connect indirection_api (remote object calls and version backports)"},{"line_number":134,"context_line":"* Write some developer docs on how to deal with older schema"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_34306756","line":131,"updated":"2015-05-14 15:09:13.000000000","message":"o objects?","commit_id":"5188db096408077e8674d731ce7db5d354aab78a"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e2e53007ee6ff6649f41717f00eef602e51f4c08","unresolved":false,"context_lines":[{"line_number":138,"context_line":"Dependencies"},{"line_number":139,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"* oslo.versionedobjects"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"Testing"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_7446dfc0","line":141,"updated":"2015-05-14 15:09:13.000000000","message":"That section usually contains dependencies on external specs or features, not libraries. I think it should say \u0027None\u0027, meaning there is no external work that would block progress on the spec.","commit_id":"5188db096408077e8674d731ce7db5d354aab78a"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e2e53007ee6ff6649f41717f00eef602e51f4c08","unresolved":false,"context_lines":[{"line_number":170,"context_line":"Developer Documentation"},{"line_number":171,"context_line":"-----------------------"},{"line_number":172,"context_line":"Developer documentation should be updated to reflect the change in how"},{"line_number":173,"context_line":"interacting with data objects via RPC has changed."},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"References"},{"line_number":176,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_34cce734","line":173,"updated":"2015-05-14 15:09:13.000000000","message":"A great deal of promoting the new way is expected. AFAIK the library documentation is miserable at best, so you may need to work with oslo team to get its actual usage documentation written. For now, I see only low level API docs for some classes, not all of them, and no clear manual on what it\u0027s for and how to consume it correctly. It may be a significant obstacle for community to accept the change now.","commit_id":"5188db096408077e8674d731ce7db5d354aab78a"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"417a836a8f9abc03844e3f54ca030c388db40cda","unresolved":false,"context_lines":[{"line_number":170,"context_line":"Developer Documentation"},{"line_number":171,"context_line":"-----------------------"},{"line_number":172,"context_line":"Developer documentation should be updated to reflect the change in how"},{"line_number":173,"context_line":"interacting with data objects via RPC has changed."},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"References"},{"line_number":176,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_c5ace2a0","line":173,"in_reply_to":"7a016987_34cce734","updated":"2015-05-25 11:21:13.000000000","message":"I\u0027m actually planning to start writing the high level documentation for versionedobjects this week. I participated in the separation of versionedobjects from Nova into Oslo. I\u0027m also helping with Heat and Magnum implementations, so Neutron will surely gain from this experience :)","commit_id":"5188db096408077e8674d731ce7db5d354aab78a"}]}
