)]}'
{"api-ref/source/v2/networks.inc":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"19d1413c5944afc0c7fe71baa5779fbbbb82033b","unresolved":false,"context_lines":[{"line_number":69,"context_line":"of its ports will be published in an external DNS service when Neutron is"},{"line_number":70,"context_line":"configured to integrate with such a service."},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"Port security"},{"line_number":73,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"The ``port-security`` extension adds the ``port_security_enabled`` boolean"},{"line_number":76,"context_line":"attribute to networks. At the network level, ``port_security_enabled``"},{"line_number":77,"context_line":"defines the default value for new ports attached to the network; they will"},{"line_number":78,"context_line":"inherit the value of their network\u0027s ``port_security_enabled`` unless"},{"line_number":79,"context_line":"explicitly set on the port itself. While the default value for"},{"line_number":80,"context_line":"``port_security_enabled`` is ``true``, this can be changed by updating the"},{"line_number":81,"context_line":"respective network. Note that changing a value of ``port_security_enabled``"},{"line_number":82,"context_line":"on a network, does not cascade the value to ports attached to the network."},{"line_number":83,"context_line":""},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"Show network details"}],"source_content_type":"text/x-c++src","patch_set":1,"id":"3f4b6375_d6b81e77","line":82,"range":{"start_line":72,"start_character":0,"end_line":82,"end_character":74},"updated":"2017-10-23 12:35:57.000000000","message":"Here\u0027s an example of an extension description.","commit_id":"8485c3fef2a2d4179dee7f0f7f3e20ebac12197d"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"19d1413c5944afc0c7fe71baa5779fbbbb82033b","unresolved":false,"context_lines":[{"line_number":119,"context_line":"   - created_at: created_at_resource"},{"line_number":120,"context_line":"   - dns_domain: dns_domain"},{"line_number":121,"context_line":"   - id: network-id"},{"line_number":122,"context_line":"   - is_default: network-is-default"},{"line_number":123,"context_line":"   - mtu: mtu"},{"line_number":124,"context_line":"   - name: network-name"},{"line_number":125,"context_line":"   - port_security_enabled: network-port_security_enabled"}],"source_content_type":"text/x-c++src","patch_set":1,"id":"3f4b6375_b6eda28c","line":122,"updated":"2017-10-23 12:35:57.000000000","message":"IIUC, this is being introduced as part of an extension. With that in mind we should describe the extension atop the networks.inc indicating what it adds to network resources (is_default). See my comment above.","commit_id":"8485c3fef2a2d4179dee7f0f7f3e20ebac12197d"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"ebb5d34ec95967d3b487740a6f5e4778582f6a96","unresolved":false,"context_lines":[{"line_number":119,"context_line":"   - created_at: created_at_resource"},{"line_number":120,"context_line":"   - dns_domain: dns_domain"},{"line_number":121,"context_line":"   - id: network-id"},{"line_number":122,"context_line":"   - is_default: network-is-default"},{"line_number":123,"context_line":"   - mtu: mtu"},{"line_number":124,"context_line":"   - name: network-name"},{"line_number":125,"context_line":"   - port_security_enabled: network-port_security_enabled"}],"source_content_type":"text/x-c++src","patch_set":1,"id":"3f4b6375_613e188c","line":122,"in_reply_to":"3f4b6375_b6eda28c","updated":"2017-10-24 19:23:17.000000000","message":"The proposal is to introduce the attribute \u0027is_default\u0027 to neutron server, which doesn\u0027t seem to be an extension: https://review.openstack.org/#/c/511983/ . However, please point it out if I was wrong.","commit_id":"8485c3fef2a2d4179dee7f0f7f3e20ebac12197d"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"aae167b87f4dade140dd1f83a9afb489fbfe88f6","unresolved":false,"context_lines":[{"line_number":92,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"The ``default-networks`` extension adds the ``is_default`` attribute to"},{"line_number":95,"context_line":"networks. This boolean attribute indicates the network is a default network."},{"line_number":96,"context_line":""},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"Show network details"}],"source_content_type":"text/x-c++src","patch_set":6,"id":"9f91af0f_e838193e","line":95,"updated":"2018-01-05 14:16:08.000000000","message":"A few questions on this that may or may not warrant expanding this description:\n\n- Can only 1 network per tenant/project be default?\n- The default network is used when booting a server with nova and not specifying a network?","commit_id":"9eb4442f51e3be01c51259b4709bbf76106717a1"},{"author":{"_account_id":27654,"name":"Hongbin Lu","email":"kira034@163.com","username":"hongbin.lu"},"change_message_id":"386f35d1f5a628bc7fe01df07a2a65450644406d","unresolved":false,"context_lines":[{"line_number":92,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"The ``default-networks`` extension adds the ``is_default`` attribute to"},{"line_number":95,"context_line":"networks. This boolean attribute indicates the network is a default network."},{"line_number":96,"context_line":""},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"Show network details"}],"source_content_type":"text/x-c++src","patch_set":6,"id":"7f96bb07_b6e087fc","line":95,"in_reply_to":"9f91af0f_e838193e","updated":"2018-01-20 00:17:31.000000000","message":"The first point was clarified. The second point is the goal of the proposal, and I will document it in nova side.","commit_id":"9eb4442f51e3be01c51259b4709bbf76106717a1"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"aae167b87f4dade140dd1f83a9afb489fbfe88f6","unresolved":false,"context_lines":[{"line_number":155,"context_line":"Response Example"},{"line_number":156,"context_line":"----------------"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":".. literalinclude:: samples/networks/network-show-response.json"},{"line_number":159,"context_line":"   :language: javascript"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"Response Example (admin user; single segment mapping)"}],"source_content_type":"text/x-c++src","patch_set":6,"id":"9f91af0f_886dcd33","line":158,"updated":"2018-01-05 14:16:08.000000000","message":"We also need to update the sample response json to include is_default.\n\n\nThis comment applies to all applicable network request/responses herein.","commit_id":"9eb4442f51e3be01c51259b4709bbf76106717a1"},{"author":{"_account_id":27654,"name":"Hongbin Lu","email":"kira034@163.com","username":"hongbin.lu"},"change_message_id":"386f35d1f5a628bc7fe01df07a2a65450644406d","unresolved":false,"context_lines":[{"line_number":155,"context_line":"Response Example"},{"line_number":156,"context_line":"----------------"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":".. literalinclude:: samples/networks/network-show-response.json"},{"line_number":159,"context_line":"   :language: javascript"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"Response Example (admin user; single segment mapping)"}],"source_content_type":"text/x-c++src","patch_set":6,"id":"7f96bb07_56e58309","line":158,"in_reply_to":"9f91af0f_886dcd33","updated":"2018-01-20 00:17:31.000000000","message":"Done","commit_id":"9eb4442f51e3be01c51259b4709bbf76106717a1"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"140f4234eab4a48f90ef4f711fa14e7df4655026","unresolved":false,"context_lines":[{"line_number":103,"context_line":"any provider related attributes. Check your plug-in whether it supports"},{"line_number":104,"context_line":"updating."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"Default network"},{"line_number":107,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"The ``default-networks`` extension adds the ``is_project_default`` attribute to"}],"source_content_type":"text/x-c++src","patch_set":8,"id":"bf659307_bd0fb5df","line":106,"updated":"2018-03-28 12:38:13.000000000","message":"I think we are putting the extensions in alphabetical order now so this should go up above \u0027DNS Integration\u0027","commit_id":"a60438e7b899302fce72c6122973ba21db11c2a2"},{"author":{"_account_id":27654,"name":"Hongbin Lu","email":"kira034@163.com","username":"hongbin.lu"},"change_message_id":"8c2dac52a43cad00ad4168f14d69f5e3cec4af20","unresolved":false,"context_lines":[{"line_number":103,"context_line":"any provider related attributes. Check your plug-in whether it supports"},{"line_number":104,"context_line":"updating."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"Default network"},{"line_number":107,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"The ``default-networks`` extension adds the ``is_project_default`` attribute to"}],"source_content_type":"text/x-c++src","patch_set":8,"id":"bf659307_d28d24d4","line":106,"in_reply_to":"bf659307_bd0fb5df","updated":"2018-04-04 19:43:41.000000000","message":"Done","commit_id":"a60438e7b899302fce72c6122973ba21db11c2a2"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"832d4292cd6756b4fee7fd6dbcf4ea98bb52b1d4","unresolved":false,"context_lines":[{"line_number":203,"context_line":"   - updated_at: updated_at_resource"},{"line_number":204,"context_line":"   - vlan_transparent: vlan_transparent"},{"line_number":205,"context_line":"   - description: description"},{"line_number":206,"context_line":"   - is_default: network_is_default"},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"Response Example"},{"line_number":209,"context_line":"----------------"}],"source_content_type":"text/x-c++src","patch_set":10,"id":"5f7c97a3_d60ae788","line":206,"range":{"start_line":206,"start_character":5,"end_line":206,"end_character":15},"updated":"2018-05-04 12:06:46.000000000","message":"Admittedly I find the difference between is_project_default is is_default confusing... What\u0027s the difference? is_default is for the default subnet pool?","commit_id":"793232eba10d323642b05238b72af0686257f7d8"},{"author":{"_account_id":27654,"name":"Hongbin Lu","email":"kira034@163.com","username":"hongbin.lu"},"change_message_id":"19648a898377bf1b6e2a4930a1ba62bd51dfa8bb","unresolved":false,"context_lines":[{"line_number":203,"context_line":"   - updated_at: updated_at_resource"},{"line_number":204,"context_line":"   - vlan_transparent: vlan_transparent"},{"line_number":205,"context_line":"   - description: description"},{"line_number":206,"context_line":"   - is_default: network_is_default"},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"Response Example"},{"line_number":209,"context_line":"----------------"}],"source_content_type":"text/x-c++src","patch_set":10,"id":"5f7c97a3_713b73d0","line":206,"range":{"start_line":206,"start_character":5,"end_line":206,"end_character":15},"in_reply_to":"5f7c97a3_34db777c","updated":"2018-06-08 22:03:09.000000000","message":"I gave it more thoughts and think this idea has the the following disadvantages:\n\n* It has a limitation that the project default network can only applied for internal network. It couldn\u0027t satisfy the scenarios where users want to pick an external network as project default.\n* The API behavior between internal and external network become inconsistent. In particular, the \"is_default\" attribute is interpreted differently for different network types. It incurs some complexity for end-users to understand such heterogeneity.\n\nTherefore, IMHO, we\u0027d better to use two attributes for \"auto allocated topology\" and \"project default network\". However, I don\u0027t have strong opinion on this. I would let others to weight in and decide what is the best direction to proceed.","commit_id":"793232eba10d323642b05238b72af0686257f7d8"},{"author":{"_account_id":27654,"name":"Hongbin Lu","email":"kira034@163.com","username":"hongbin.lu"},"change_message_id":"2b6111e61a2e66be9aa075a035d61f4109fdaff3","unresolved":false,"context_lines":[{"line_number":203,"context_line":"   - updated_at: updated_at_resource"},{"line_number":204,"context_line":"   - vlan_transparent: vlan_transparent"},{"line_number":205,"context_line":"   - description: description"},{"line_number":206,"context_line":"   - is_default: network_is_default"},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"Response Example"},{"line_number":209,"context_line":"----------------"}],"source_content_type":"text/x-c++src","patch_set":10,"id":"5f7c97a3_2080ff45","line":206,"range":{"start_line":206,"start_character":5,"end_line":206,"end_character":15},"in_reply_to":"5f7c97a3_34db777c","updated":"2018-05-14 21:08:44.000000000","message":"Interesting suggestion. I will investigate how to implement it in neutron server, then get back to this patch.","commit_id":"793232eba10d323642b05238b72af0686257f7d8"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"c518fa4cfcc6b7052527898479cf34fc9f67cb99","unresolved":false,"context_lines":[{"line_number":203,"context_line":"   - updated_at: updated_at_resource"},{"line_number":204,"context_line":"   - vlan_transparent: vlan_transparent"},{"line_number":205,"context_line":"   - description: description"},{"line_number":206,"context_line":"   - is_default: network_is_default"},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"Response Example"},{"line_number":209,"context_line":"----------------"}],"source_content_type":"text/x-c++src","patch_set":10,"id":"5f7c97a3_59fe316a","line":206,"range":{"start_line":206,"start_character":5,"end_line":206,"end_character":15},"in_reply_to":"5f7c97a3_713b73d0","updated":"2018-06-27 07:49:32.000000000","message":"I think that You convinced me with argument about different API behavior for different network types. I\u0027m for using 2 separate attributes :)","commit_id":"793232eba10d323642b05238b72af0686257f7d8"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"3a921dccace8a3b2151a191e08a99b3ddc16f865","unresolved":false,"context_lines":[{"line_number":203,"context_line":"   - updated_at: updated_at_resource"},{"line_number":204,"context_line":"   - vlan_transparent: vlan_transparent"},{"line_number":205,"context_line":"   - description: description"},{"line_number":206,"context_line":"   - is_default: network_is_default"},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"Response Example"},{"line_number":209,"context_line":"----------------"}],"source_content_type":"text/x-c++src","patch_set":10,"id":"5f7c97a3_34db777c","line":206,"range":{"start_line":206,"start_character":5,"end_line":206,"end_character":15},"in_reply_to":"5f7c97a3_9ac9bb79","updated":"2018-05-14 08:42:15.000000000","message":"can\u0027t we maybe use one attribute \"is_default\" together with \"router:external\"? So for example:\n\n    if router:external \u003d\u003d True and is_default \u003d\u003d True:\n        network used by auto-allocated-topology like it was before\n    if router:external \u003d\u003d False and is_default \u003d\u003d True:\n        network is project\u0027s default network (new behavior)","commit_id":"793232eba10d323642b05238b72af0686257f7d8"},{"author":{"_account_id":27654,"name":"Hongbin Lu","email":"kira034@163.com","username":"hongbin.lu"},"change_message_id":"55844169a87c45153bc05a94edc7a5ae36225ceb","unresolved":false,"context_lines":[{"line_number":203,"context_line":"   - updated_at: updated_at_resource"},{"line_number":204,"context_line":"   - vlan_transparent: vlan_transparent"},{"line_number":205,"context_line":"   - description: description"},{"line_number":206,"context_line":"   - is_default: network_is_default"},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"Response Example"},{"line_number":209,"context_line":"----------------"}],"source_content_type":"text/x-c++src","patch_set":10,"id":"5f7c97a3_9ac9bb79","line":206,"range":{"start_line":206,"start_character":5,"end_line":206,"end_character":15},"in_reply_to":"5f7c97a3_d60ae788","updated":"2018-05-08 15:00:09.000000000","message":"Yes, I know it is confusing. My understanding is:\n\n* \u0027is_default\u0027 is for external network. It is used by auto-allocated-topology to pick an external network to automate the network provisioning.\n* \u0027is_project_default\u0027 is for internal network. It is for nova to pick a tenant network if no network is selected by users.\n\nWelcome any suggestion if it can help to make such difference clear. Any thoughts?","commit_id":"793232eba10d323642b05238b72af0686257f7d8"}],"api-ref/source/v2/parameters.yaml":[{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"df1f27d1c21685dddeec4dd4bdea1b60d8e2c6dc","unresolved":false,"context_lines":[{"line_number":3994,"context_line":"network-is-default:"},{"line_number":3995,"context_line":"  description: |"},{"line_number":3996,"context_line":"    Indicates whether this network is a default network. By default,"},{"line_number":3997,"context_line":"    only administrative users can change this value."},{"line_number":3998,"context_line":"  in: body"},{"line_number":3999,"context_line":"  required: true"},{"line_number":4000,"context_line":"  type: boolean"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"7f96bb07_4786f615","line":3997,"range":{"start_line":3997,"start_character":9,"end_line":3997,"end_character":29},"updated":"2018-01-23 04:59:16.000000000","message":"This depends on implementation. For example, ml2 plugin may need admin but other core plugin may allow all users to do. It\u0027s better to not refer it in document.","commit_id":"0e0bc5e9cb02dd1be7972e574ca5a2c962a7de75"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"df1f27d1c21685dddeec4dd4bdea1b60d8e2c6dc","unresolved":false,"context_lines":[{"line_number":4001,"context_line":"network-is-default-request:"},{"line_number":4002,"context_line":"  description: |"},{"line_number":4003,"context_line":"    Indicates whether this network is a default network. By default,"},{"line_number":4004,"context_line":"    only administrative users can change this value."},{"line_number":4005,"context_line":"  in: body"},{"line_number":4006,"context_line":"  required: false"},{"line_number":4007,"context_line":"  type: boolean"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"7f96bb07_a776da3d","line":4004,"range":{"start_line":4004,"start_character":9,"end_line":4004,"end_character":29},"updated":"2018-01-23 04:59:16.000000000","message":"ditto","commit_id":"0e0bc5e9cb02dd1be7972e574ca5a2c962a7de75"}],"neutron_lib/api/definitions/default_networks.py":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"4de8dcc4133354b11a3a54abed567563bbc0ef76","unresolved":false,"context_lines":[{"line_number":45,"context_line":"COLLECTION_NAME \u003d network.COLLECTION_NAME"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"# The specific resources and/or attributes for the extension (optional)."},{"line_number":48,"context_line":"IS_DEFAULT \u003d \u0027is_default\u0027"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"# The resource attribute map for the extension."},{"line_number":51,"context_line":"RESOURCE_ATTRIBUTE_MAP \u003d {"}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_bf5c0019","line":48,"range":{"start_line":48,"start_character":0,"end_line":48,"end_character":10},"updated":"2017-12-12 14:41:13.000000000","message":"This is already defined in neutron_lib.api.definitions.constants, seems we should use it from there.","commit_id":"eb0b62c57793ab1d4dc617ad92b9dfec70874d5b"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"562eb70a2902b2c360d017c3545664ee8c2c5cde","unresolved":false,"context_lines":[{"line_number":45,"context_line":"COLLECTION_NAME \u003d network.COLLECTION_NAME"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"# The specific resources and/or attributes for the extension (optional)."},{"line_number":48,"context_line":"IS_DEFAULT \u003d \u0027is_default\u0027"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"# The resource attribute map for the extension."},{"line_number":51,"context_line":"RESOURCE_ATTRIBUTE_MAP \u003d {"}],"source_content_type":"text/x-python","patch_set":5,"id":"9f91af0f_ab1d4274","line":48,"range":{"start_line":48,"start_character":0,"end_line":48,"end_character":10},"in_reply_to":"df87a7cf_bf5c0019","updated":"2018-01-04 16:38:48.000000000","message":"Done","commit_id":"eb0b62c57793ab1d4dc617ad92b9dfec70874d5b"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"4de8dcc4133354b11a3a54abed567563bbc0ef76","unresolved":false,"context_lines":[{"line_number":50,"context_line":"# The resource attribute map for the extension."},{"line_number":51,"context_line":"RESOURCE_ATTRIBUTE_MAP \u003d {"},{"line_number":52,"context_line":"    COLLECTION_NAME: {"},{"line_number":53,"context_line":"        IS_DEFAULT: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":54,"context_line":"                     \u0027default\u0027: False,"},{"line_number":55,"context_line":"                     \u0027convert_to\u0027: converters.convert_to_boolean,"},{"line_number":56,"context_line":"                     \u0027is_visible\u0027: True}"}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_bf8ac060","line":53,"range":{"start_line":53,"start_character":8,"end_line":53,"end_character":18},"updated":"2017-12-12 14:41:13.000000000","message":"I mentioned this on the corresponding neutron patch, but auto allocated topology already adds is_default to networks [1]. That said it\u0027s not clear to me how we ensure ordering of these 2 extensions so that this one always loads last and hence it\u0027s attrs are used for is_default on networks. Perhaps just making this one depend on the auto topo would work, since auto topo would then load first?\n\n\n\n[1] https://github.com/openstack/neutron-lib/blob/master/neutron_lib/api/definitions/auto_allocated_topology.py","commit_id":"eb0b62c57793ab1d4dc617ad92b9dfec70874d5b"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"562eb70a2902b2c360d017c3545664ee8c2c5cde","unresolved":false,"context_lines":[{"line_number":50,"context_line":"# The resource attribute map for the extension."},{"line_number":51,"context_line":"RESOURCE_ATTRIBUTE_MAP \u003d {"},{"line_number":52,"context_line":"    COLLECTION_NAME: {"},{"line_number":53,"context_line":"        IS_DEFAULT: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":54,"context_line":"                     \u0027default\u0027: False,"},{"line_number":55,"context_line":"                     \u0027convert_to\u0027: converters.convert_to_boolean,"},{"line_number":56,"context_line":"                     \u0027is_visible\u0027: True}"}],"source_content_type":"text/x-python","patch_set":5,"id":"9f91af0f_4b14b64e","line":53,"range":{"start_line":53,"start_character":8,"end_line":53,"end_character":18},"in_reply_to":"df87a7cf_bf8ac060","updated":"2018-01-04 16:38:48.000000000","message":"Done","commit_id":"eb0b62c57793ab1d4dc617ad92b9dfec70874d5b"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"aae167b87f4dade140dd1f83a9afb489fbfe88f6","unresolved":false,"context_lines":[{"line_number":38,"context_line":"DESCRIPTION \u003d \"Support specifying networks as default networks\""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"# A timestamp of when the extension was introduced."},{"line_number":41,"context_line":"UPDATED_TIMESTAMP \u003d \"2017-11-14T10:00:00-00:00\""},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"# The name of the resource introduced or being extended."},{"line_number":44,"context_line":"RESOURCE_NAME \u003d network.RESOURCE_NAME"}],"source_content_type":"text/x-python","patch_set":6,"id":"9f91af0f_c85c3580","line":41,"range":{"start_line":41,"start_character":21,"end_line":41,"end_character":46},"updated":"2018-01-05 14:16:08.000000000","message":"Nit: Not sure when it\u0027s appropriate to update this timestamp, but it\u0027s already almost 2 months old.","commit_id":"9eb4442f51e3be01c51259b4709bbf76106717a1"},{"author":{"_account_id":27654,"name":"Hongbin Lu","email":"kira034@163.com","username":"hongbin.lu"},"change_message_id":"386f35d1f5a628bc7fe01df07a2a65450644406d","unresolved":false,"context_lines":[{"line_number":38,"context_line":"DESCRIPTION \u003d \"Support specifying networks as default networks\""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"# A timestamp of when the extension was introduced."},{"line_number":41,"context_line":"UPDATED_TIMESTAMP \u003d \"2017-11-14T10:00:00-00:00\""},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"# The name of the resource introduced or being extended."},{"line_number":44,"context_line":"RESOURCE_NAME \u003d network.RESOURCE_NAME"}],"source_content_type":"text/x-python","patch_set":6,"id":"7f96bb07_d69f5363","line":41,"range":{"start_line":41,"start_character":21,"end_line":41,"end_character":46},"in_reply_to":"9f91af0f_c85c3580","updated":"2018-01-20 00:17:31.000000000","message":"Done","commit_id":"9eb4442f51e3be01c51259b4709bbf76106717a1"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"c518fa4cfcc6b7052527898479cf34fc9f67cb99","unresolved":false,"context_lines":[{"line_number":14,"context_line":"from neutron_lib.api.definitions import network"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"IS_PROJECT_DEFAULT \u003d \u0027is_project_default\u0027"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"# The alias of the extension."},{"line_number":20,"context_line":"ALIAS \u003d \u0027default-networks\u0027"}],"source_content_type":"text/x-python","patch_set":10,"id":"5f7c97a3_1939993d","line":17,"updated":"2018-06-27 07:49:32.000000000","message":"maybe better would be \"project_default\", without \"is_\" at the beginning","commit_id":"793232eba10d323642b05238b72af0686257f7d8"},{"author":{"_account_id":27654,"name":"Hongbin Lu","email":"kira034@163.com","username":"hongbin.lu"},"change_message_id":"82707ea2403d747cae229d1b607016e35a9bade6","unresolved":false,"context_lines":[{"line_number":14,"context_line":"from neutron_lib.api.definitions import network"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"IS_PROJECT_DEFAULT \u003d \u0027is_project_default\u0027"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"# The alias of the extension."},{"line_number":20,"context_line":"ALIAS \u003d \u0027default-networks\u0027"}],"source_content_type":"text/x-python","patch_set":10,"id":"5f7c97a3_91d0d4ca","line":17,"in_reply_to":"5f7c97a3_1939993d","updated":"2018-06-29 19:56:16.000000000","message":"Done","commit_id":"793232eba10d323642b05238b72af0686257f7d8"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"c518fa4cfcc6b7052527898479cf34fc9f67cb99","unresolved":false,"context_lines":[{"line_number":17,"context_line":"IS_PROJECT_DEFAULT \u003d \u0027is_project_default\u0027"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"# The alias of the extension."},{"line_number":20,"context_line":"ALIAS \u003d \u0027default-networks\u0027"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"# Whether or not this extension is simply signaling behavior to the user"},{"line_number":23,"context_line":"# or it actively modifies the attribute map."}],"source_content_type":"text/x-python","patch_set":10,"id":"5f7c97a3_7913edb8","line":20,"updated":"2018-06-27 07:49:32.000000000","message":"maybe project-default-networks then?","commit_id":"793232eba10d323642b05238b72af0686257f7d8"},{"author":{"_account_id":27654,"name":"Hongbin Lu","email":"kira034@163.com","username":"hongbin.lu"},"change_message_id":"82707ea2403d747cae229d1b607016e35a9bade6","unresolved":false,"context_lines":[{"line_number":17,"context_line":"IS_PROJECT_DEFAULT \u003d \u0027is_project_default\u0027"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"# The alias of the extension."},{"line_number":20,"context_line":"ALIAS \u003d \u0027default-networks\u0027"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"# Whether or not this extension is simply signaling behavior to the user"},{"line_number":23,"context_line":"# or it actively modifies the attribute map."}],"source_content_type":"text/x-python","patch_set":10,"id":"5f7c97a3_51d23cd1","line":20,"in_reply_to":"5f7c97a3_7913edb8","updated":"2018-06-29 19:56:16.000000000","message":"Done","commit_id":"793232eba10d323642b05238b72af0686257f7d8"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"c518fa4cfcc6b7052527898479cf34fc9f67cb99","unresolved":false,"context_lines":[{"line_number":32,"context_line":"IS_STANDARD_ATTR_EXTENSION \u003d False"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"# The name of the extension."},{"line_number":35,"context_line":"NAME \u003d \u0027Default project networks\u0027"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"# The description of the extension."},{"line_number":38,"context_line":"DESCRIPTION \u003d \"Support specifying networks as default networks for projects\""}],"source_content_type":"text/x-python","patch_set":10,"id":"5f7c97a3_991609a7","line":35,"updated":"2018-06-27 07:49:32.000000000","message":"\"Default network for project\"?","commit_id":"793232eba10d323642b05238b72af0686257f7d8"},{"author":{"_account_id":27654,"name":"Hongbin Lu","email":"kira034@163.com","username":"hongbin.lu"},"change_message_id":"82707ea2403d747cae229d1b607016e35a9bade6","unresolved":false,"context_lines":[{"line_number":32,"context_line":"IS_STANDARD_ATTR_EXTENSION \u003d False"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"# The name of the extension."},{"line_number":35,"context_line":"NAME \u003d \u0027Default project networks\u0027"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"# The description of the extension."},{"line_number":38,"context_line":"DESCRIPTION \u003d \"Support specifying networks as default networks for projects\""}],"source_content_type":"text/x-python","patch_set":10,"id":"5f7c97a3_b1ecf092","line":35,"in_reply_to":"5f7c97a3_991609a7","updated":"2018-06-29 19:56:16.000000000","message":"Done","commit_id":"793232eba10d323642b05238b72af0686257f7d8"}],"neutron_lib/api/definitions/network.py":[{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"3e3ead509b04b96172548406aeaeb60d8a57f2d5","unresolved":false,"context_lines":[{"line_number":54,"context_line":"                          \u0027type:string\u0027: db_const.PROJECT_ID_FIELD_SIZE},"},{"line_number":55,"context_line":"                      \u0027required_by_policy\u0027: True,"},{"line_number":56,"context_line":"                      \u0027is_visible\u0027: True},"},{"line_number":57,"context_line":"        \u0027is_default\u0027: {\u0027allow_post\u0027: True,"},{"line_number":58,"context_line":"                       \u0027allow_put\u0027: True,"},{"line_number":59,"context_line":"                       \u0027default\u0027: False,"},{"line_number":60,"context_line":"                       \u0027convert_to\u0027: converters.convert_to_boolean,"},{"line_number":61,"context_line":"                       \u0027is_visible\u0027: True,"},{"line_number":62,"context_line":"                       \u0027required_by_policy\u0027: True,"},{"line_number":63,"context_line":"                       \u0027enforce_policy\u0027: True},"},{"line_number":64,"context_line":"        \u0027shared\u0027: {\u0027allow_post\u0027: True,"},{"line_number":65,"context_line":"                   \u0027allow_put\u0027: True,"},{"line_number":66,"context_line":"                   \u0027default\u0027: False,"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f4b6375_520bc1d4","line":63,"range":{"start_line":57,"start_character":0,"end_line":63,"end_character":47},"updated":"2017-10-26 01:31:38.000000000","message":"We shouldn\u0027t change default model directly as I commented in neutron\u0027s patch.","commit_id":"2b510a59b64455db21a3f49c961e36fe47c2c002"}],"neutron_lib/api/definitions/project_default_networks.py":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"19da4b6b85b3a1b83c882361c7faf6e8eda6eb86","unresolved":false,"context_lines":[{"line_number":38,"context_line":"DESCRIPTION \u003d \"Support specifying networks as default networks for projects\""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"# A timestamp of when the extension was introduced."},{"line_number":41,"context_line":"UPDATED_TIMESTAMP \u003d \"2018-01-19T10:00:00-00:00\""},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"# The name of the resource introduced or being extended."},{"line_number":44,"context_line":"RESOURCE_NAME \u003d network.RESOURCE_NAME"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_28a6180f","line":41,"range":{"start_line":41,"start_character":26,"end_line":41,"end_character":31},"updated":"2018-07-02 13:19:50.000000000","message":"Isn\u0027t this a new extension?","commit_id":"76bd4fffe743f2109a881375f210f310103566dc"},{"author":{"_account_id":27654,"name":"Hongbin Lu","email":"kira034@163.com","username":"hongbin.lu"},"change_message_id":"0891447eb54245532a08bad9e785c28064b774dd","unresolved":false,"context_lines":[{"line_number":38,"context_line":"DESCRIPTION \u003d \"Support specifying networks as default networks for projects\""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"# A timestamp of when the extension was introduced."},{"line_number":41,"context_line":"UPDATED_TIMESTAMP \u003d \"2018-01-19T10:00:00-00:00\""},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"# The name of the resource introduced or being extended."},{"line_number":44,"context_line":"RESOURCE_NAME \u003d network.RESOURCE_NAME"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_67cc1f8a","line":41,"range":{"start_line":41,"start_character":26,"end_line":41,"end_character":31},"in_reply_to":"5f7c97a3_28a6180f","updated":"2018-07-03 17:42:55.000000000","message":"Done","commit_id":"76bd4fffe743f2109a881375f210f310103566dc"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"19da4b6b85b3a1b83c882361c7faf6e8eda6eb86","unresolved":false,"context_lines":[{"line_number":55,"context_line":"            \u0027convert_to\u0027: converters.convert_to_boolean,"},{"line_number":56,"context_line":"            \u0027is_visible\u0027: True"},{"line_number":57,"context_line":"        }"},{"line_number":58,"context_line":"    },"},{"line_number":59,"context_line":"}"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"# The subresource attribute map for the extension."}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_0866bcef","line":58,"range":{"start_line":58,"start_character":5,"end_line":58,"end_character":6},"updated":"2018-07-02 13:19:50.000000000","message":"nit: unneeded","commit_id":"76bd4fffe743f2109a881375f210f310103566dc"},{"author":{"_account_id":27654,"name":"Hongbin Lu","email":"kira034@163.com","username":"hongbin.lu"},"change_message_id":"0891447eb54245532a08bad9e785c28064b774dd","unresolved":false,"context_lines":[{"line_number":55,"context_line":"            \u0027convert_to\u0027: converters.convert_to_boolean,"},{"line_number":56,"context_line":"            \u0027is_visible\u0027: True"},{"line_number":57,"context_line":"        }"},{"line_number":58,"context_line":"    },"},{"line_number":59,"context_line":"}"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"# The subresource attribute map for the extension."}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_87c7fb65","line":58,"range":{"start_line":58,"start_character":5,"end_line":58,"end_character":6},"in_reply_to":"5f7c97a3_0866bcef","updated":"2018-07-03 17:42:55.000000000","message":"Done","commit_id":"76bd4fffe743f2109a881375f210f310103566dc"}],"neutron_lib/tests/unit/api/definitions/test_default_networks.py":[{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"df1f27d1c21685dddeec4dd4bdea1b60d8e2c6dc","unresolved":false,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":"class DefaultNetworksDefinitionTestCase(base.DefinitionBaseTestCase):"},{"line_number":21,"context_line":"    extension_module \u003d dn"},{"line_number":22,"context_line":"    extension_resources \u003d (dn.COLLECTION_NAME,)"},{"line_number":23,"context_line":"    extension_attributes \u003d (constants.IS_DEFAULT,)"}],"source_content_type":"text/x-python","patch_set":7,"id":"7f96bb07_a7bedafc","line":22,"range":{"start_line":22,"start_character":4,"end_line":22,"end_character":47},"updated":"2018-01-23 04:59:16.000000000","message":"This is unnecessary because it\u0027s a resource in KNOWN_RESOURCES[1].\n\n[1]: https://github.com/openstack/neutron-lib/blob/master/neutron_lib/api/definitions/base.py#L52","commit_id":"0e0bc5e9cb02dd1be7972e574ca5a2c962a7de75"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"df1f27d1c21685dddeec4dd4bdea1b60d8e2c6dc","unresolved":false,"context_lines":[{"line_number":20,"context_line":"class DefaultNetworksDefinitionTestCase(base.DefinitionBaseTestCase):"},{"line_number":21,"context_line":"    extension_module \u003d dn"},{"line_number":22,"context_line":"    extension_resources \u003d (dn.COLLECTION_NAME,)"},{"line_number":23,"context_line":"    extension_attributes \u003d (constants.IS_DEFAULT,)"}],"source_content_type":"text/x-python","patch_set":7,"id":"7f96bb07_675f72e5","line":23,"range":{"start_line":23,"start_character":4,"end_line":23,"end_character":50},"updated":"2018-01-23 04:59:16.000000000","message":"This is unnecessary because it\u0027s a attribute in KNOWN_ATTRIBUTES[1].\n\n[2]: https://github.com/openstack/neutron-lib/blob/master/neutron_lib/api/definitions/base.py#L34","commit_id":"0e0bc5e9cb02dd1be7972e574ca5a2c962a7de75"}],"neutron_lib/tests/unit/api/definitions/test_project_default_networks.py":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"19da4b6b85b3a1b83c882361c7faf6e8eda6eb86","unresolved":false,"context_lines":[{"line_number":12,"context_line":"#    License for the specific language governing permissions and limitations"},{"line_number":13,"context_line":"#    under the License."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"from neutron_lib.api.definitions import default_networks as dn"},{"line_number":16,"context_line":"from neutron_lib.tests.unit.api.definitions import base"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_a8754899","line":15,"range":{"start_line":15,"start_character":40,"end_line":15,"end_character":56},"updated":"2018-07-02 13:19:50.000000000","message":"project_default_networks ?","commit_id":"76bd4fffe743f2109a881375f210f310103566dc"},{"author":{"_account_id":27654,"name":"Hongbin Lu","email":"kira034@163.com","username":"hongbin.lu"},"change_message_id":"0891447eb54245532a08bad9e785c28064b774dd","unresolved":false,"context_lines":[{"line_number":12,"context_line":"#    License for the specific language governing permissions and limitations"},{"line_number":13,"context_line":"#    under the License."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"from neutron_lib.api.definitions import default_networks as dn"},{"line_number":16,"context_line":"from neutron_lib.tests.unit.api.definitions import base"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"5f7c97a3_27c6276a","line":15,"range":{"start_line":15,"start_character":40,"end_line":15,"end_character":56},"in_reply_to":"5f7c97a3_a8754899","updated":"2018-07-03 17:42:55.000000000","message":"Done","commit_id":"76bd4fffe743f2109a881375f210f310103566dc"}],"releasenotes/notes/add-is-default-to-network-d16a2e6bcfae943a.yaml":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"c6b594f8f2d63901f8e13b6a9293addbbb9fe7f4","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Add a new attribute ``is_default`` into ``network`` resource."},{"line_number":5,"context_line":"    This attribute will be used to indicate if a network is a default"},{"line_number":6,"context_line":"    network."}],"source_content_type":"text/x-yaml","patch_set":4,"id":"df87a7cf_2c6fbafc","line":4,"updated":"2017-12-08 11:42:23.000000000","message":"IMHO it might be clearer to mention this is added by the default-networks extension... e.g.::\n\n   The ``default-networks`` extension is now available and adds a new attribute...","commit_id":"f22ff1981e9bb01c9ffedc5b9fd614c83ea87b37"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"40b1516d750d93ba24ae6e7e042f5f842cf3d987","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Add a new attribute ``is_default`` into ``network`` resource."},{"line_number":5,"context_line":"    This attribute will be used to indicate if a network is a default"},{"line_number":6,"context_line":"    network."}],"source_content_type":"text/x-yaml","patch_set":4,"id":"df87a7cf_74fc7b6f","line":4,"in_reply_to":"df87a7cf_2c6fbafc","updated":"2017-12-11 16:22:42.000000000","message":"Done","commit_id":"f22ff1981e9bb01c9ffedc5b9fd614c83ea87b37"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"aae167b87f4dade140dd1f83a9afb489fbfe88f6","unresolved":false,"context_lines":[{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    The ``default-networks`` extension is now available and adds a new"},{"line_number":5,"context_line":"    attribute ``is_default`` into ``network`` resource."},{"line_number":6,"context_line":"    This attribute will be used to indicate if a network is a default"},{"line_number":7,"context_line":"    network."}],"source_content_type":"text/x-yaml","patch_set":6,"id":"9f91af0f_88562d5c","line":5,"range":{"start_line":5,"start_character":29,"end_line":5,"end_character":33},"updated":"2018-01-05 14:16:08.000000000","message":"Nit: \"into the ...\"","commit_id":"9eb4442f51e3be01c51259b4709bbf76106717a1"},{"author":{"_account_id":27654,"name":"Hongbin Lu","email":"kira034@163.com","username":"hongbin.lu"},"change_message_id":"386f35d1f5a628bc7fe01df07a2a65450644406d","unresolved":false,"context_lines":[{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    The ``default-networks`` extension is now available and adds a new"},{"line_number":5,"context_line":"    attribute ``is_default`` into ``network`` resource."},{"line_number":6,"context_line":"    This attribute will be used to indicate if a network is a default"},{"line_number":7,"context_line":"    network."}],"source_content_type":"text/x-yaml","patch_set":6,"id":"7f96bb07_96a9cb91","line":5,"range":{"start_line":5,"start_character":29,"end_line":5,"end_character":33},"in_reply_to":"9f91af0f_88562d5c","updated":"2018-01-20 00:17:31.000000000","message":"Done","commit_id":"9eb4442f51e3be01c51259b4709bbf76106717a1"}]}
