)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"0b5a80f638dcda0b19734cef28f060042cfd1f5d","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Allow setting {provisioning,cleaning}_network in node driver_info"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Now user can add the provisioning and cleaning networks in driver_info"},{"line_number":10,"context_line":"of the node. The can update the network information using"},{"line_number":11,"context_line":"\" ironic node-update \u003cnode-uuid\u003e add"},{"line_number":12,"context_line":"driver_info/provisioning_network\u003d3aea0de6-4b92-44da-9aa0-52d134c83f9c"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"5ff73747_8a6678ba","line":9,"range":{"start_line":9,"start_character":0,"end_line":9,"end_character":3},"updated":"2017-05-02 09:55:50.000000000","message":"Better to avoid relative word.\ns/ \u0027Now\u0027 / \u0027\u0027 /","commit_id":"e96bd9d1f2f6d8c46ff05ba73c9d81dc30f31a25"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"0b5a80f638dcda0b19734cef28f060042cfd1f5d","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Allow setting {provisioning,cleaning}_network in node driver_info"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Now user can add the provisioning and cleaning networks in driver_info"},{"line_number":10,"context_line":"of the node. The can update the network information using"},{"line_number":11,"context_line":"\" ironic node-update \u003cnode-uuid\u003e add"},{"line_number":12,"context_line":"driver_info/provisioning_network\u003d3aea0de6-4b92-44da-9aa0-52d134c83f9c"},{"line_number":13,"context_line":"driver_info/cleaning_network\u003d3aea0de6-4b92-44da-9aa0-52d134c83fdf \"."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"5ff73747_eafa9cba","line":10,"range":{"start_line":10,"start_character":13,"end_line":10,"end_character":16},"updated":"2017-05-02 09:55:50.000000000","message":"s/ \u0027The\u0027 / \u0027User\u0027/","commit_id":"e96bd9d1f2f6d8c46ff05ba73c9d81dc30f31a25"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"0b5a80f638dcda0b19734cef28f060042cfd1f5d","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Now user can add the provisioning and cleaning networks in driver_info"},{"line_number":10,"context_line":"of the node. The can update the network information using"},{"line_number":11,"context_line":"\" ironic node-update \u003cnode-uuid\u003e add"},{"line_number":12,"context_line":"driver_info/provisioning_network\u003d3aea0de6-4b92-44da-9aa0-52d134c83f9c"},{"line_number":13,"context_line":"driver_info/cleaning_network\u003d3aea0de6-4b92-44da-9aa0-52d134c83fdf \"."},{"line_number":14,"context_line":"If these network information is updated in the node, at the time of"},{"line_number":15,"context_line":"provisioning the baremetal these network details are used, if these"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"5ff73747_6abe8cd5","line":12,"range":{"start_line":12,"start_character":33,"end_line":12,"end_character":69},"updated":"2017-05-02 09:55:50.000000000","message":"Instead of using the actual UUIDs, maye be you can say:\n\ns/ \u00273aea0de6-4b92-44da-9aa0-52d134c83f9c\u0027 /\u003cprovisioning_network_uuid\u003e\u0027 /\n\ns/ \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf \u0027 / \u0027\u003ccleaning_network_uuid\u003e\u0027","commit_id":"e96bd9d1f2f6d8c46ff05ba73c9d81dc30f31a25"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"0b5a80f638dcda0b19734cef28f060042cfd1f5d","unresolved":false,"context_lines":[{"line_number":12,"context_line":"driver_info/provisioning_network\u003d3aea0de6-4b92-44da-9aa0-52d134c83f9c"},{"line_number":13,"context_line":"driver_info/cleaning_network\u003d3aea0de6-4b92-44da-9aa0-52d134c83fdf \"."},{"line_number":14,"context_line":"If these network information is updated in the node, at the time of"},{"line_number":15,"context_line":"provisioning the baremetal these network details are used, if these"},{"line_number":16,"context_line":"network details are not updated in node, then ironic uses the default"},{"line_number":17,"context_line":"network configuration details which are present in ironic.conf"},{"line_number":18,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"5ff73747_4a8f5029","line":15,"range":{"start_line":15,"start_character":0,"end_line":15,"end_character":16},"updated":"2017-05-02 09:55:50.000000000","message":"s/ \u0027provisioning the\u0027 /\u0027provisioning/cleaning of the\u0027","commit_id":"e96bd9d1f2f6d8c46ff05ba73c9d81dc30f31a25"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"0b5a80f638dcda0b19734cef28f060042cfd1f5d","unresolved":false,"context_lines":[{"line_number":14,"context_line":"If these network information is updated in the node, at the time of"},{"line_number":15,"context_line":"provisioning the baremetal these network details are used, if these"},{"line_number":16,"context_line":"network details are not updated in node, then ironic uses the default"},{"line_number":17,"context_line":"network configuration details which are present in ironic.conf"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Closes Bug: #1614876"},{"line_number":20,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"5ff73747_4a94f036","line":17,"range":{"start_line":17,"start_character":30,"end_line":17,"end_character":50},"updated":"2017-05-02 09:55:50.000000000","message":"s/ \u0027which are present in\u0027 / \u0027available in the\u0027 /","commit_id":"e96bd9d1f2f6d8c46ff05ba73c9d81dc30f31a25"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"517f411ec388d15df381bd3bb4356866992215c6","unresolved":false,"context_lines":[{"line_number":16,"context_line":"if these network details are not updated in node, then ironic uses"},{"line_number":17,"context_line":"the default network configuration details available in the ironic.conf"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Closes Bug: #1614876"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Change-Id: I4caec34d85304fe887bcc28b7528cceceb3acfe8"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"ff0f0b1f_7e44f01b","line":19,"range":{"start_line":19,"start_character":0,"end_line":19,"end_character":10},"updated":"2017-05-26 10:23:58.000000000","message":"s/Closes Bug/Closes-Bug/","commit_id":"5f8f1547e33e43532dbb33676a34cc4c0fabc936"}],"doc/source/install/configure-tenant-networks.rst":[{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"309e76b135fd7531e924cb1652b80fbd66974511","unresolved":false,"context_lines":[{"line_number":55,"context_line":"      cleaning_network \u003d $CLEAN_UUID_OR_NAME"},{"line_number":56,"context_line":"      provisioning_network \u003d $PROVISION_UUID_OR_NAME"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"   - Can update these ``provisioning_network`` and ``cleaning_network`` details"},{"line_number":59,"context_line":"     in the node. They can be updated by adding ``provisioning_network`` and"},{"line_number":60,"context_line":"     ``cleaning_network`` details as ``driver_info[\u0027provisioning_network\u0027]``"},{"line_number":61,"context_line":"     and ``driver_info[\u0027cleaning_network\u0027]`` respectively in the"},{"line_number":62,"context_line":"     ``driver_info`` of the node."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"   .. note::"},{"line_number":65,"context_line":"      If these ``provisioning_network`` and ``cleaning_network`` information is"}],"source_content_type":"text/x-rst","patch_set":22,"id":"1f1a1f67_dd14c850","line":62,"range":{"start_line":58,"start_character":3,"end_line":62,"end_character":33},"updated":"2017-07-15 14:04:43.000000000","message":"- Can update ``provisioning_network`` and ``cleaning_network`` details in the node\u0027s driver_info as `driver_info[\u0027provisioning_network\u0027]`` and ``driver_info[\u0027cleaning_network\u0027]`` respectively .","commit_id":"a7c7a2b4d579b4f38eabc46b8f26cd9aab9540e1"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e7b669ff804604cf90ca87744b30964423b92099","unresolved":false,"context_lines":[{"line_number":55,"context_line":"      cleaning_network \u003d $CLEAN_UUID_OR_NAME"},{"line_number":56,"context_line":"      provisioning_network \u003d $PROVISION_UUID_OR_NAME"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"   - Can update ``provisioning_network`` and ``cleaning_network`` details in"},{"line_number":59,"context_line":"     the node\u0027s driver_info as ``driver_info[\u0027provisioning_network\u0027]`` and"},{"line_number":60,"context_line":"     ``driver_info[\u0027cleaning_network\u0027]`` respectively."},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"1f1a1f67_9f596d8f","line":58,"updated":"2017-07-18 08:22:09.000000000","message":"this reads as \"They are can update\", I think you need to start this sentence with \"Under\" as well. Like \"Under ``..`` and ``..`` keys of the node\u0027s ``driver_info`` field\".","commit_id":"186912a69e24e863e9853ef88a2665ba810812e2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e7b669ff804604cf90ca87744b30964423b92099","unresolved":false,"context_lines":[{"line_number":60,"context_line":"     ``driver_info[\u0027cleaning_network\u0027]`` respectively."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"   .. note::"},{"line_number":63,"context_line":"      If these ``provisioning_network`` and ``cleaning_network`` information is"},{"line_number":64,"context_line":"      not specified in node\u0027s `driver_info` then ironic uses the default network"},{"line_number":65,"context_line":"      configuration which are mentioned in ``neutron`` section of the"},{"line_number":66,"context_line":"      ironic configuration file"}],"source_content_type":"text/x-rst","patch_set":24,"id":"1f1a1f67_7f5e9176","line":63,"updated":"2017-07-18 08:22:09.000000000","message":"s/information/values/ s/is/are/","commit_id":"186912a69e24e863e9853ef88a2665ba810812e2"}],"doc/source/install/enrollment.rst":[{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"309e76b135fd7531e924cb1652b80fbd66974511","unresolved":false,"context_lines":[{"line_number":248,"context_line":"   See :doc:`configure-glance-images` for details."},{"line_number":249,"context_line":""},{"line_number":250,"context_line":"#. Specify the ``provisioning network`` and ``cleanning network`` details"},{"line_number":251,"context_line":"   in the ``driver_info``. The ``neutron`` network interface requires that"},{"line_number":252,"context_line":"   ``provisioning_network`` and ``cleaning_network`` configuration options"},{"line_number":253,"context_line":"   are set to valid identifiers (UUID or name) of networks in the"},{"line_number":254,"context_line":"   Networking service. If these options are not set correctly, cleaning or"}],"source_content_type":"text/x-rst","patch_set":22,"id":"1f1a1f67_3d03bc11","line":251,"range":{"start_line":251,"start_character":9,"end_line":251,"end_character":25},"updated":"2017-07-15 14:04:43.000000000","message":"s/  ``driver_info`` / \u0027node\u0027s  ``driver_info``\u0027","commit_id":"a7c7a2b4d579b4f38eabc46b8f26cd9aab9540e1"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e7b669ff804604cf90ca87744b30964423b92099","unresolved":false,"context_lines":[{"line_number":247,"context_line":""},{"line_number":248,"context_line":"   See :doc:`configure-glance-images` for details."},{"line_number":249,"context_line":""},{"line_number":250,"context_line":"#. Specify the ``provisioning network`` and ``cleanning network`` details"},{"line_number":251,"context_line":"   in the node\u0027s  ``driver_info``. The ``neutron`` network interface requires"},{"line_number":252,"context_line":"   that ``provisioning_network`` and ``cleaning_network`` configuration"},{"line_number":253,"context_line":"   options are set to valid identifiers (UUID or name) of networks in the"}],"source_content_type":"text/x-rst","patch_set":24,"id":"1f1a1f67_1f743dfd","line":250,"updated":"2017-07-18 08:22:09.000000000","message":"Please start with \"Optionally\", as these are not required","commit_id":"186912a69e24e863e9853ef88a2665ba810812e2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e7b669ff804604cf90ca87744b30964423b92099","unresolved":false,"context_lines":[{"line_number":248,"context_line":"   See :doc:`configure-glance-images` for details."},{"line_number":249,"context_line":""},{"line_number":250,"context_line":"#. Specify the ``provisioning network`` and ``cleanning network`` details"},{"line_number":251,"context_line":"   in the node\u0027s  ``driver_info``. The ``neutron`` network interface requires"},{"line_number":252,"context_line":"   that ``provisioning_network`` and ``cleaning_network`` configuration"},{"line_number":253,"context_line":"   options are set to valid identifiers (UUID or name) of networks in the"},{"line_number":254,"context_line":"   Networking service. If these options are not set correctly, cleaning or"}],"source_content_type":"text/x-rst","patch_set":24,"id":"1f1a1f67_ff70610a","line":251,"updated":"2017-07-18 08:22:09.000000000","message":"also the ``flat`` network interface requires the ``cleaning_network``","commit_id":"186912a69e24e863e9853ef88a2665ba810812e2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"4bc2d39ba66c99c7d566ca0d825e1f797ad63d61","unresolved":false,"context_lines":[{"line_number":250,"context_line":"#. Optionally you can specify the ``provisioning network`` and"},{"line_number":251,"context_line":"   ``cleanning network`` details in the node\u0027s  ``driver_info``."},{"line_number":252,"context_line":"   The ``neutron`` network interface requires both ``provisioning_network``"},{"line_number":253,"context_line":"   and ``cleaning_network``,where as the ``flat`` network interface requires"},{"line_number":254,"context_line":"   the ``cleaning_network`` configuration options are set to valid identifiers"},{"line_number":255,"context_line":"   (UUID or name) of networks in the Networking service. If these options are"},{"line_number":256,"context_line":"   not set correctly, cleaning or provisioning will fail to start. In case of"}],"source_content_type":"text/x-rst","patch_set":25,"id":"1f1a1f67_0f824f50","line":253,"updated":"2017-07-21 07:54:23.000000000","message":"missing space before ,\n\ns/where as/while/","commit_id":"2fb4fb23b800e5a03cf9a97cdfaf6a779bf08641"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"4bc2d39ba66c99c7d566ca0d825e1f797ad63d61","unresolved":false,"context_lines":[{"line_number":251,"context_line":"   ``cleanning network`` details in the node\u0027s  ``driver_info``."},{"line_number":252,"context_line":"   The ``neutron`` network interface requires both ``provisioning_network``"},{"line_number":253,"context_line":"   and ``cleaning_network``,where as the ``flat`` network interface requires"},{"line_number":254,"context_line":"   the ``cleaning_network`` configuration options are set to valid identifiers"},{"line_number":255,"context_line":"   (UUID or name) of networks in the Networking service. If these options are"},{"line_number":256,"context_line":"   not set correctly, cleaning or provisioning will fail to start. In case of"},{"line_number":257,"context_line":"   ``flat`` network interface requires the ``cleaning_network``"}],"source_content_type":"text/x-rst","patch_set":25,"id":"1f1a1f67_ef96f394","line":254,"updated":"2017-07-21 07:54:23.000000000","message":"s/are/to be/","commit_id":"2fb4fb23b800e5a03cf9a97cdfaf6a779bf08641"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"4bc2d39ba66c99c7d566ca0d825e1f797ad63d61","unresolved":false,"context_lines":[{"line_number":254,"context_line":"   the ``cleaning_network`` configuration options are set to valid identifiers"},{"line_number":255,"context_line":"   (UUID or name) of networks in the Networking service. If these options are"},{"line_number":256,"context_line":"   not set correctly, cleaning or provisioning will fail to start. In case of"},{"line_number":257,"context_line":"   ``flat`` network interface requires the ``cleaning_network``"},{"line_number":258,"context_line":""},{"line_number":259,"context_line":"   .. code-block:: console"},{"line_number":260,"context_line":""}],"source_content_type":"text/x-rst","patch_set":25,"id":"1f1a1f67_cf9337a3","line":257,"updated":"2017-07-21 07:54:23.000000000","message":"the last sentence is a duplication\n\n+ if we say all this, we need to emphasize that the networks can also be set in a configuration file","commit_id":"2fb4fb23b800e5a03cf9a97cdfaf6a779bf08641"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"ef7aeec4f47b5bd796ccc0d9e682ca68bd4511a7","unresolved":false,"context_lines":[{"line_number":257,"context_line":""},{"line_number":258,"context_line":"   .. code-block:: console"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"    $ ironic node-update $NODE_UUID add \\"},{"line_number":261,"context_line":"        driver_info/cleaning_network\u003d$CLEAN_UUID_OR_NAME \\"},{"line_number":262,"context_line":"        driver_info/provisioning_network\u003d$PROVISION_UUID_OR_NAME"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"   See :doc:`configure-tenant-networks` for details."},{"line_number":265,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_08b909e8","line":262,"range":{"start_line":260,"start_character":4,"end_line":262,"end_character":64},"updated":"2017-08-10 14:03:03.000000000","message":"Better to use OSC cli:\nopenstack baremetal node set $NODE_UUID_OR_NAME \\\n  --driver-info cleaning_network\u003d\u003cCLEAN_UUID_OR_NAME\u003e \\\n  --driver-info provisioning_network\u003d\u003cPROVISION_UUID_OR_NAME\u003e","commit_id":"6fac05ca08299882f9d6129f38bf7156fb1526fd"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"55532e746b70e50e3e87b92e4467c4a9e7acdb6a","unresolved":false,"context_lines":[{"line_number":257,"context_line":""},{"line_number":258,"context_line":"   .. code-block:: console"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"    $ ironic node-update $NODE_UUID add \\"},{"line_number":261,"context_line":"        driver_info/cleaning_network\u003d$CLEAN_UUID_OR_NAME \\"},{"line_number":262,"context_line":"        driver_info/provisioning_network\u003d$PROVISION_UUID_OR_NAME"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"   See :doc:`configure-tenant-networks` for details."},{"line_number":265,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"3f4b6375_b1889370","line":262,"range":{"start_line":260,"start_character":4,"end_line":262,"end_character":64},"in_reply_to":"9f436f4f_08b909e8","updated":"2017-11-07 13:05:52.000000000","message":"Actually, we have to use OSC now, the \"ironic\" CLI is deprecated","commit_id":"6fac05ca08299882f9d6129f38bf7156fb1526fd"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"0ba77633a29d4c3546e50f8f4f463790a766445c","unresolved":false,"context_lines":[{"line_number":259,"context_line":""},{"line_number":260,"context_line":"    $ openstack baremetal node set $NODE_UUID \\"},{"line_number":261,"context_line":"        --driver-info cleaning_network\u003d$CLEAN_UUID_OR_NAME \\"},{"line_number":262,"context_line":"        --driver-info provisioning_network\u003d$PROVISION_UUID_OR_NAME"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"   See :doc:`configure-tenant-networks` for details."},{"line_number":265,"context_line":""}],"source_content_type":"text/x-rst","patch_set":31,"id":"7f96bb07_e2dd7e14","line":262,"updated":"2018-01-24 10:56:21.000000000","message":"No, because it\u0027s not a public feature yet, and IIRC does not have documentation","commit_id":"95d7e602e51325725dc0a3ebeb603b14813acccd"},{"author":{"_account_id":14525,"name":"Vasyl Saienko","email":"vsaienko@mirantis.com","username":"vsaienko"},"change_message_id":"0c97eb2f730bd5a48281aaeff27bb93bf47165ec","unresolved":false,"context_lines":[{"line_number":259,"context_line":""},{"line_number":260,"context_line":"    $ openstack baremetal node set $NODE_UUID \\"},{"line_number":261,"context_line":"        --driver-info cleaning_network\u003d$CLEAN_UUID_OR_NAME \\"},{"line_number":262,"context_line":"        --driver-info provisioning_network\u003d$PROVISION_UUID_OR_NAME"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"   See :doc:`configure-tenant-networks` for details."},{"line_number":265,"context_line":""}],"source_content_type":"text/x-rst","patch_set":31,"id":"7f96bb07_74d5b3b6","line":262,"updated":"2018-01-24 09:18:44.000000000","message":"should we add info about rescuing_network?","commit_id":"95d7e602e51325725dc0a3ebeb603b14813acccd"}],"install-guide/source/configure-tenant-networks.rst":[{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"205b1bf07460fe30d41c3788e5471e5455ab3320","unresolved":false,"context_lines":[{"line_number":47,"context_line":"   cleaning or provisioning will fail to start. There are two ways in which we"},{"line_number":48,"context_line":"   can set these ``neutron`` network interface details. They are:"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"   - Under the ``neutron`` section of ironic-conductor configuration file as"},{"line_number":51,"context_line":"   shown below::"},{"line_number":52,"context_line":"   "},{"line_number":53,"context_line":"    [neutron]"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f1d235d_0856a55d","line":50,"range":{"start_line":50,"start_character":38,"end_line":50,"end_character":54},"updated":"2017-07-03 05:40:28.000000000","message":"`ironic` would be enough, since we don\u0027t have an extra configuration file for conductor.","commit_id":"9decdbae12f538717dbebff3f9cb04dca8db7706"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"205b1bf07460fe30d41c3788e5471e5455ab3320","unresolved":false,"context_lines":[{"line_number":55,"context_line":"    cleaning_network\u003d$CLEAN_UUID_OR_NAME"},{"line_number":56,"context_line":"    provisioning_network\u003d$PROVISION_UUID_OR_NAME"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"   - Can update these ``provisioning_network`` and ``cleaning_network`` details"},{"line_number":59,"context_line":"   in the node. They can be updated by adding ``provisioning_network`` and"},{"line_number":60,"context_line":"   ``cleaning_network`` details as ``driver_info[\u0027provisioning_network\u0027]`` and"},{"line_number":61,"context_line":"   ``driver_info[\u0027cleaning_network\u0027]`` respectively in the ``driver_info`` of"},{"line_number":62,"context_line":"   the node."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"   Please refer to :doc:`configure-cleaning` for more information about"},{"line_number":65,"context_line":"   cleaning."}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f1d235d_88f07569","line":62,"range":{"start_line":58,"start_character":0,"end_line":62,"end_character":12},"updated":"2017-07-03 05:40:28.000000000","message":"add a cli example here would be great.","commit_id":"9decdbae12f538717dbebff3f9cb04dca8db7706"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"205b1bf07460fe30d41c3788e5471e5455ab3320","unresolved":false,"context_lines":[{"line_number":72,"context_line":"      networks should be configured as non-shared networks in the ``admin``"},{"line_number":73,"context_line":"      tenant."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"   .. note::"},{"line_number":76,"context_line":"      If these ``provisioning_network`` and ``cleaning_network`` information is"},{"line_number":77,"context_line":"      not specified in node\u0027s `driver_info` then ironic uses the default network"},{"line_number":78,"context_line":"      configuration which are mentioned in ``neutron`` section of the"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f1d235d_684f5992","line":75,"range":{"start_line":75,"start_character":6,"end_line":75,"end_character":12},"updated":"2017-07-03 05:40:28.000000000","message":"Actually, I would prefer moving this note directly below L62","commit_id":"9decdbae12f538717dbebff3f9cb04dca8db7706"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"205b1bf07460fe30d41c3788e5471e5455ab3320","unresolved":false,"context_lines":[{"line_number":76,"context_line":"      If these ``provisioning_network`` and ``cleaning_network`` information is"},{"line_number":77,"context_line":"      not specified in node\u0027s `driver_info` then ironic uses the default network"},{"line_number":78,"context_line":"      configuration which are mentioned in ``neutron`` section of the"},{"line_number":79,"context_line":"      ironic-conductor configuration file"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"   .. note::"},{"line_number":82,"context_line":"      Spawning a bare metal instance onto the provisioning network is"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f1d235d_68f3d974","line":79,"range":{"start_line":79,"start_character":6,"end_line":79,"end_character":22},"updated":"2017-07-03 05:40:28.000000000","message":"ditto","commit_id":"9decdbae12f538717dbebff3f9cb04dca8db7706"}],"install-guide/source/enrollment.rst":[{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"205b1bf07460fe30d41c3788e5471e5455ab3320","unresolved":false,"context_lines":[{"line_number":259,"context_line":"    $ ironic node-update $NODE_UUID add \\"},{"line_number":260,"context_line":"        driver_info/cleaning_network\u003d$CLEAN_UUID_OR_NAME \\"},{"line_number":261,"context_line":"        driver_info/provisioning_network\u003d$PROVISION_UUID_OR_NAME"},{"line_number":262,"context_line":"   "},{"line_number":263,"context_line":"   See :doc:`configure-tenant-networks.rst` for details."},{"line_number":264,"context_line":""},{"line_number":265,"context_line":"#. You must also inform the Bare Metal service of the network interface cards"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f1d235d_c859cd5a","line":262,"range":{"start_line":262,"start_character":0,"end_line":262,"end_character":3},"updated":"2017-07-03 05:40:28.000000000","message":"cause pep8 error here.","commit_id":"9decdbae12f538717dbebff3f9cb04dca8db7706"}],"ironic/common/neutron.py":[{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"b5ad7e54b0805e4ef75c503270cb6449fa0cc6f5","unresolved":false,"context_lines":[{"line_number":414,"context_line":""},{"line_number":415,"context_line":"class NeutronNetworkInterfaceMixin(object):"},{"line_number":416,"context_line":""},{"line_number":417,"context_line":"    _cleaning_network_uuid \u003d None"},{"line_number":418,"context_line":"    _provisioning_network_uuid \u003d None"},{"line_number":419,"context_line":""},{"line_number":420,"context_line":"    def get_cleaning_network_uuid(self, task):"},{"line_number":421,"context_line":"        cleaning_network_id \u003d task.node.driver_info[\u0027cleaning_network\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"5ff73747_ce0f5435","line":418,"range":{"start_line":417,"start_character":4,"end_line":418,"end_character":37},"updated":"2017-04-27 15:54:18.000000000","message":"As driver_info may change, we have to really read network uuid, these properties can be removed, and the code can be simplified as(e.g.):\n\n    return task.node.driver_info[\u0027cleaning_network\u0027] or CONF.neutron.cleaning_network","commit_id":"8e200ea0ae1413fa5bb1fa14f1885fe5fcb154b8"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"0b5a80f638dcda0b19734cef28f060042cfd1f5d","unresolved":false,"context_lines":[{"line_number":425,"context_line":"        return self._cleaning_network_uuid"},{"line_number":426,"context_line":""},{"line_number":427,"context_line":"    def get_provisioning_network_uuid(self, task):"},{"line_number":428,"context_line":"        provisioning_network_id \u003d (task.node."},{"line_number":429,"context_line":"                                   driver_info[\u0027provisioning_network\u0027] or"},{"line_number":430,"context_line":"                                   CONF.neutron.provisioning_network)"},{"line_number":431,"context_line":"        if self._provisioning_network_uuid is None:"},{"line_number":432,"context_line":"            self._provisioning_network_uuid \u003d validate_network("}],"source_content_type":"text/x-python","patch_set":2,"id":"5ff73747_0a0a681e","line":429,"range":{"start_line":428,"start_character":35,"end_line":429,"end_character":70},"updated":"2017-05-02 09:55:50.000000000","message":"This is incorrect.\nYou can have it as\nprovisioning_network_id \u003d (\n    task.node.driver_info[\u0027provisioning_network\u0027] or CONF.neutron.provisioning_network)","commit_id":"e96bd9d1f2f6d8c46ff05ba73c9d81dc30f31a25"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"da070166c832891f9ecfdc0f37a81bb2c055de63","unresolved":false,"context_lines":[{"line_number":428,"context_line":"        provisioning_network_id \u003d ("},{"line_number":429,"context_line":"            task.node.driver_info[\u0027provisioning_network\u0027] or"},{"line_number":430,"context_line":"            CONF.neutron.provisioning_network)"},{"line_number":431,"context_line":"        if self._provisioning_network_uuid is None:"},{"line_number":432,"context_line":"            self._provisioning_network_uuid \u003d validate_network("},{"line_number":433,"context_line":"                provisioning_network_id, _(\u0027provisioning network\u0027))"},{"line_number":434,"context_line":"        return self._provisioning_network_uuid"}],"source_content_type":"text/x-python","patch_set":7,"id":"ff0f0b1f_6615f79b","line":431,"range":{"start_line":431,"start_character":7,"end_line":431,"end_character":51},"updated":"2017-05-23 12:27:41.000000000","message":"This logic here will cause problems between deploys as it won\u0027t reload the provisioning network UUID","commit_id":"53f50e37de0802400dde74c6c43b01c0316d91d0"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"453efa06899e832e482736832ed238474e43794d","unresolved":false,"context_lines":[{"line_number":428,"context_line":"        provisioning_network_id \u003d ("},{"line_number":429,"context_line":"            task.node.driver_info[\u0027provisioning_network\u0027] or"},{"line_number":430,"context_line":"            CONF.neutron.provisioning_network)"},{"line_number":431,"context_line":"        if self._provisioning_network_uuid is None:"},{"line_number":432,"context_line":"            self._provisioning_network_uuid \u003d validate_network("},{"line_number":433,"context_line":"                provisioning_network_id, _(\u0027provisioning network\u0027))"},{"line_number":434,"context_line":"        return self._provisioning_network_uuid"}],"source_content_type":"text/x-python","patch_set":7,"id":"ff0f0b1f_7619ded4","line":431,"range":{"start_line":431,"start_character":7,"end_line":431,"end_character":51},"in_reply_to":"ff0f0b1f_36dec63d","updated":"2017-05-25 09:53:50.000000000","message":"please remove lines 417,418 and 431 so that we\u0027re not storing the UUIDs anymore, because otherwise it might result in nodes being booted into the wrong network if the UUID isn\u0027t rechecked.","commit_id":"53f50e37de0802400dde74c6c43b01c0316d91d0"},{"author":{"_account_id":20401,"name":"M V P Nitesh","email":"parimalanitesh@gmail.com","username":"mvpnitesh"},"change_message_id":"be18b19ba9dd0809b993179a3b8781daef6c823d","unresolved":false,"context_lines":[{"line_number":428,"context_line":"        provisioning_network_id \u003d ("},{"line_number":429,"context_line":"            task.node.driver_info[\u0027provisioning_network\u0027] or"},{"line_number":430,"context_line":"            CONF.neutron.provisioning_network)"},{"line_number":431,"context_line":"        if self._provisioning_network_uuid is None:"},{"line_number":432,"context_line":"            self._provisioning_network_uuid \u003d validate_network("},{"line_number":433,"context_line":"                provisioning_network_id, _(\u0027provisioning network\u0027))"},{"line_number":434,"context_line":"        return self._provisioning_network_uuid"}],"source_content_type":"text/x-python","patch_set":7,"id":"ff0f0b1f_36dec63d","line":431,"range":{"start_line":431,"start_character":7,"end_line":431,"end_character":51},"in_reply_to":"ff0f0b1f_6615f79b","updated":"2017-05-25 09:45:41.000000000","message":"Hey Sam, sorry i couldn\u0027t understand your comment. Can you please explain in detail","commit_id":"53f50e37de0802400dde74c6c43b01c0316d91d0"},{"author":{"_account_id":20401,"name":"M V P Nitesh","email":"parimalanitesh@gmail.com","username":"mvpnitesh"},"change_message_id":"26a0d7805698929595c71cc55b1e342db1a7e946","unresolved":false,"context_lines":[{"line_number":428,"context_line":"        provisioning_network_id \u003d ("},{"line_number":429,"context_line":"            task.node.driver_info[\u0027provisioning_network\u0027] or"},{"line_number":430,"context_line":"            CONF.neutron.provisioning_network)"},{"line_number":431,"context_line":"        if self._provisioning_network_uuid is None:"},{"line_number":432,"context_line":"            self._provisioning_network_uuid \u003d validate_network("},{"line_number":433,"context_line":"                provisioning_network_id, _(\u0027provisioning network\u0027))"},{"line_number":434,"context_line":"        return self._provisioning_network_uuid"}],"source_content_type":"text/x-python","patch_set":7,"id":"ff0f0b1f_dc67f6e8","line":431,"range":{"start_line":431,"start_character":7,"end_line":431,"end_character":51},"in_reply_to":"ff0f0b1f_6615f79b","updated":"2017-05-23 12:59:01.000000000","message":"Yes Sam Betts, i\u0027ll takecare of this in the next patch. Tomorrow i give a new patch","commit_id":"53f50e37de0802400dde74c6c43b01c0316d91d0"},{"author":{"_account_id":19593,"name":"Anup Navare","email":"anup.d.navare@intel.com","username":"anup"},"change_message_id":"e185ec81e3880e5129c38f94dd24346fbd01d2c3","unresolved":false,"context_lines":[{"line_number":414,"context_line":"class NeutronNetworkInterfaceMixin(object):"},{"line_number":415,"context_line":""},{"line_number":416,"context_line":"    def get_cleaning_network_uuid(self, task):"},{"line_number":417,"context_line":"        cleaning_network_id \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":418,"context_line":"                               CONF.neutron.cleaning_network)"},{"line_number":419,"context_line":"        self._cleaning_network_uuid \u003d validate_network("},{"line_number":420,"context_line":"            cleaning_network_id, _(\u0027cleaning network\u0027))"}],"source_content_type":"text/x-python","patch_set":8,"id":"ff0f0b1f_51346fde","line":417,"range":{"start_line":417,"start_character":25,"end_line":417,"end_character":27},"updated":"2017-05-26 18:53:26.000000000","message":"we don\u0027t store uuid in CONF or info, this should be name i feel?","commit_id":"5f8f1547e33e43532dbb33676a34cc4c0fabc936"},{"author":{"_account_id":19593,"name":"Anup Navare","email":"anup.d.navare@intel.com","username":"anup"},"change_message_id":"db4d71dd4bb9bd5db099a420216d6f59feb3b209","unresolved":false,"context_lines":[{"line_number":414,"context_line":"class NeutronNetworkInterfaceMixin(object):"},{"line_number":415,"context_line":""},{"line_number":416,"context_line":"    def get_cleaning_network_uuid(self, task):"},{"line_number":417,"context_line":"        cleaning_network_id \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":418,"context_line":"                               CONF.neutron.cleaning_network)"},{"line_number":419,"context_line":"        self._cleaning_network_uuid \u003d validate_network("},{"line_number":420,"context_line":"            cleaning_network_id, _(\u0027cleaning network\u0027))"}],"source_content_type":"text/x-python","patch_set":8,"id":"df140735_e21285b1","line":417,"range":{"start_line":417,"start_character":25,"end_line":417,"end_character":27},"in_reply_to":"df140735_c134314d","updated":"2017-05-30 18:51:07.000000000","message":"Okay sounds good then, thanks.","commit_id":"5f8f1547e33e43532dbb33676a34cc4c0fabc936"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"e1352bbd658b7328d915bc9cb551ecb2ae7b12c4","unresolved":false,"context_lines":[{"line_number":414,"context_line":"class NeutronNetworkInterfaceMixin(object):"},{"line_number":415,"context_line":""},{"line_number":416,"context_line":"    def get_cleaning_network_uuid(self, task):"},{"line_number":417,"context_line":"        cleaning_network_id \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":418,"context_line":"                               CONF.neutron.cleaning_network)"},{"line_number":419,"context_line":"        self._cleaning_network_uuid \u003d validate_network("},{"line_number":420,"context_line":"            cleaning_network_id, _(\u0027cleaning network\u0027))"}],"source_content_type":"text/x-python","patch_set":8,"id":"df140735_c134314d","line":417,"range":{"start_line":417,"start_character":25,"end_line":417,"end_character":27},"in_reply_to":"ff0f0b1f_51346fde","updated":"2017-05-30 09:35:45.000000000","message":"in both CONF and in driver_info we allow for operators to specify either a UUID or a name, so this is OK.","commit_id":"5f8f1547e33e43532dbb33676a34cc4c0fabc936"},{"author":{"_account_id":19593,"name":"Anup Navare","email":"anup.d.navare@intel.com","username":"anup"},"change_message_id":"e185ec81e3880e5129c38f94dd24346fbd01d2c3","unresolved":false,"context_lines":[{"line_number":421,"context_line":"        return self._cleaning_network_uuid"},{"line_number":422,"context_line":""},{"line_number":423,"context_line":"    def get_provisioning_network_uuid(self, task):"},{"line_number":424,"context_line":"        provisioning_network_id \u003d ("},{"line_number":425,"context_line":"            task.node.driver_info[\u0027provisioning_network\u0027] or"},{"line_number":426,"context_line":"            CONF.neutron.provisioning_network)"},{"line_number":427,"context_line":"        self._provisioning_network_uuid \u003d validate_network("}],"source_content_type":"text/x-python","patch_set":8,"id":"ff0f0b1f_9168c7ba","line":424,"range":{"start_line":424,"start_character":29,"end_line":424,"end_character":31},"updated":"2017-05-26 18:53:26.000000000","message":"ditto","commit_id":"5f8f1547e33e43532dbb33676a34cc4c0fabc936"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"0d89c3d45603a5e412f9f9f80619d0c1293f2efe","unresolved":false,"context_lines":[{"line_number":414,"context_line":"class NeutronNetworkInterfaceMixin(object):"},{"line_number":415,"context_line":""},{"line_number":416,"context_line":"    def get_cleaning_network_uuid(self, task):"},{"line_number":417,"context_line":"        cleaning_network_id \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":418,"context_line":"                               CONF.neutron.cleaning_network)"},{"line_number":419,"context_line":"        self._cleaning_network_uuid \u003d validate_network("},{"line_number":420,"context_line":"            cleaning_network_id, _(\u0027cleaning network\u0027))"}],"source_content_type":"text/x-python","patch_set":11,"id":"df140735_edf85f4a","line":417,"range":{"start_line":417,"start_character":31,"end_line":417,"end_character":72},"updated":"2017-06-07 05:45:40.000000000","message":"This will give KeyError if node.driver_info[\u0027cleaning_network\u0027] is not avaialble.\ncleaning_network_id \u003d (task.node.driver_info.get(\u0027cleaning_network\u0027) or CONF.neutron.cleaning_network)\n\nSimilar failure is reported in jenkins as well.\nhttp://logs.openstack.org/64/460564/11/check/gate-tempest-dsvm-ironic-pxe_ipmitool-postgres-ubuntu-xenial-nv/c49ce38/logs/screen-ir-cond.txt.gz#_Jun_06_11_32_18_978574","commit_id":"932a42234ecd4094aa2358469fb1ce84ad8ce9c7"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"0d89c3d45603a5e412f9f9f80619d0c1293f2efe","unresolved":false,"context_lines":[{"line_number":422,"context_line":""},{"line_number":423,"context_line":"    def get_provisioning_network_uuid(self, task):"},{"line_number":424,"context_line":"        provisioning_network_id \u003d ("},{"line_number":425,"context_line":"            task.node.driver_info[\u0027provisioning_network\u0027] or"},{"line_number":426,"context_line":"            CONF.neutron.provisioning_network)"},{"line_number":427,"context_line":"        self._provisioning_network_uuid \u003d validate_network("},{"line_number":428,"context_line":"            provisioning_network_id, _(\u0027provisioning network\u0027))"}],"source_content_type":"text/x-python","patch_set":11,"id":"df140735_4d874bb8","line":425,"range":{"start_line":425,"start_character":12,"end_line":425,"end_character":58},"updated":"2017-06-07 05:45:40.000000000","message":"ditto","commit_id":"932a42234ecd4094aa2358469fb1ce84ad8ce9c7"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"09c9266d87bd02a3f536cf796481b4e4884d55a3","unresolved":false,"context_lines":[{"line_number":417,"context_line":"class NeutronNetworkInterfaceMixin(object):"},{"line_number":418,"context_line":""},{"line_number":419,"context_line":"    def get_cleaning_network_uuid(self, task):"},{"line_number":420,"context_line":"        cleaning_network_id \u003d (task.node.driver_info.get(\u0027cleaning_network\u0027)"},{"line_number":421,"context_line":"                               or CONF.neutron.cleaning_network)"},{"line_number":422,"context_line":"        self._cleaning_network_uuid \u003d validate_network("},{"line_number":423,"context_line":"            cleaning_network_id, _(\u0027cleaning network\u0027))"},{"line_number":424,"context_line":"        return self._cleaning_network_uuid"},{"line_number":425,"context_line":""},{"line_number":426,"context_line":"    def get_provisioning_network_uuid(self, task):"}],"source_content_type":"text/x-python","patch_set":26,"id":"3f4b6375_f8194b79","line":423,"range":{"start_line":420,"start_character":0,"end_line":423,"end_character":55},"updated":"2017-11-07 16:21:28.000000000","message":"a potential optimization: if cleaning_network_id is a UUID, cache the result after validation","commit_id":"6fac05ca08299882f9d6129f38bf7156fb1526fd"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"2f0bc392cee078d671d3b5af5282188add90c6ea","unresolved":false,"context_lines":[{"line_number":575,"context_line":"        # NOTE(dtantsur): if the last used cleaning network UUID is"},{"line_number":576,"context_line":"        # the same as the new one, we can skip validating it."},{"line_number":577,"context_line":"        if (self._cleaning_network_uuid is None or"},{"line_number":578,"context_line":"                self._cleaning_network_uuid !\u003d cleaning_network):"},{"line_number":579,"context_line":"            self._cleaning_network_uuid \u003d validate_network("},{"line_number":580,"context_line":"                cleaning_network, _(\u0027cleaning network\u0027),"},{"line_number":581,"context_line":"                context\u003dtask.context)"}],"source_content_type":"text/x-python","patch_set":30,"id":"7f96bb07_5f59d632","line":578,"updated":"2018-01-23 11:23:19.000000000","message":"This does mean we\u0027ll always re-validate if cleaning_network is a name, which isn\u0027t a bad thing (and actually solves another bug we have if a named neutron network gets deleted and recreated, I\u0027m sure there was a patch for that somewhere). Not issues with doing it this way, just wanted to highlight that side effect of this code.\n\nEdit: I see that issue is mentioned in the fixes section of the release note, +1000","commit_id":"69d7cdebd2d435ca23b7c1288251a57db18a10b1"},{"author":{"_account_id":14525,"name":"Vasyl Saienko","email":"vsaienko@mirantis.com","username":"vsaienko"},"change_message_id":"9819f0b1f86c486a2544f11582494d7c7580e2cf","unresolved":false,"context_lines":[{"line_number":575,"context_line":"        # NOTE(dtantsur): if the last used cleaning network UUID is"},{"line_number":576,"context_line":"        # the same as the new one, we can skip validating it."},{"line_number":577,"context_line":"        if (self._cleaning_network_uuid is None or"},{"line_number":578,"context_line":"                self._cleaning_network_uuid !\u003d cleaning_network):"},{"line_number":579,"context_line":"            self._cleaning_network_uuid \u003d validate_network("},{"line_number":580,"context_line":"                cleaning_network, _(\u0027cleaning network\u0027),"},{"line_number":581,"context_line":"                context\u003dtask.context)"}],"source_content_type":"text/x-python","patch_set":30,"id":"7f96bb07_f0680fbb","line":578,"in_reply_to":"7f96bb07_5f59d632","updated":"2018-01-23 12:55:11.000000000","message":"+1","commit_id":"69d7cdebd2d435ca23b7c1288251a57db18a10b1"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"251696d03bd924217d051ac8aaeeb7cdcfda479a","unresolved":false,"context_lines":[{"line_number":575,"context_line":"        )"},{"line_number":576,"context_line":"        # NOTE(dtantsur): if the last used cleaning network UUID is"},{"line_number":577,"context_line":"        # the same as the new one, we can skip validating it."},{"line_number":578,"context_line":"        if (self._cleaning_network_uuid is None or"},{"line_number":579,"context_line":"                self._cleaning_network_uuid !\u003d cleaning_network):"},{"line_number":580,"context_line":"            self._cleaning_network_uuid \u003d validate_network("},{"line_number":581,"context_line":"                cleaning_network, _(\u0027cleaning network\u0027),"}],"source_content_type":"text/x-python","patch_set":31,"id":"5f93b717_cb01f4b1","line":578,"range":{"start_line":578,"start_character":12,"end_line":578,"end_character":39},"updated":"2018-01-25 00:30:16.000000000","message":"Slightly concerned about the longevity of this or usefulness across tasks. I don\u0027t understand \"why\" it is needed, but also don\u0027t object.","commit_id":"95d7e602e51325725dc0a3ebeb603b14813acccd"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"481ba88e0f39756fad2ecf9d7d0918ee41275cd0","unresolved":false,"context_lines":[{"line_number":575,"context_line":"        )"},{"line_number":576,"context_line":"        # NOTE(dtantsur): if the last used cleaning network UUID is"},{"line_number":577,"context_line":"        # the same as the new one, we can skip validating it."},{"line_number":578,"context_line":"        if (self._cleaning_network_uuid is None or"},{"line_number":579,"context_line":"                self._cleaning_network_uuid !\u003d cleaning_network):"},{"line_number":580,"context_line":"            self._cleaning_network_uuid \u003d validate_network("},{"line_number":581,"context_line":"                cleaning_network, _(\u0027cleaning network\u0027),"}],"source_content_type":"text/x-python","patch_set":31,"id":"5f93b717_c421d4a1","line":578,"range":{"start_line":578,"start_character":12,"end_line":578,"end_character":39},"in_reply_to":"5f93b717_7e6f32c5","updated":"2018-01-25 12:31:48.000000000","message":"Just realised we may have introduced a race here, i.e. if two threads are deploying a node at the same time and they both call get_cleaning_network_uuid at the same time, then they\u0027ll race to set self._cleaning_network_uuid and then whichever wins will be returned for both threads.","commit_id":"95d7e602e51325725dc0a3ebeb603b14813acccd"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"c46f719ced9ed646b9b3cb732828b0612dcf821a","unresolved":false,"context_lines":[{"line_number":575,"context_line":"        )"},{"line_number":576,"context_line":"        # NOTE(dtantsur): if the last used cleaning network UUID is"},{"line_number":577,"context_line":"        # the same as the new one, we can skip validating it."},{"line_number":578,"context_line":"        if (self._cleaning_network_uuid is None or"},{"line_number":579,"context_line":"                self._cleaning_network_uuid !\u003d cleaning_network):"},{"line_number":580,"context_line":"            self._cleaning_network_uuid \u003d validate_network("},{"line_number":581,"context_line":"                cleaning_network, _(\u0027cleaning network\u0027),"}],"source_content_type":"text/x-python","patch_set":31,"id":"5f93b717_0a657eb5","line":578,"range":{"start_line":578,"start_character":12,"end_line":578,"end_character":39},"in_reply_to":"5f93b717_c421d4a1","updated":"2018-01-25 16:33:30.000000000","message":"\u003e if two threads are deploying a node at the same time\n\nYou mean, two threads sharing the same \"task\" object? If it happens, we have bigger problems :)\n\nAnd anyway the threads have to come up with the same value, no?","commit_id":"95d7e602e51325725dc0a3ebeb603b14813acccd"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"11f9017a2b1b527ce63b5e79e00934391247cc55","unresolved":false,"context_lines":[{"line_number":575,"context_line":"        )"},{"line_number":576,"context_line":"        # NOTE(dtantsur): if the last used cleaning network UUID is"},{"line_number":577,"context_line":"        # the same as the new one, we can skip validating it."},{"line_number":578,"context_line":"        if (self._cleaning_network_uuid is None or"},{"line_number":579,"context_line":"                self._cleaning_network_uuid !\u003d cleaning_network):"},{"line_number":580,"context_line":"            self._cleaning_network_uuid \u003d validate_network("},{"line_number":581,"context_line":"                cleaning_network, _(\u0027cleaning network\u0027),"}],"source_content_type":"text/x-python","patch_set":31,"id":"5f93b717_7e6f32c5","line":578,"range":{"start_line":578,"start_character":12,"end_line":578,"end_character":39},"in_reply_to":"5f93b717_cb01f4b1","updated":"2018-01-25 10:45:50.000000000","message":"I believe the original intention of caching the UUID once we\u0027d validate it exists in neutron was to avoid making additional requests to neutron when we didn\u0027t need too.\n\nHowever that idea was kind of shot down by introducing named networks which could be deleted and recreated on neutron\u0027s side at any point changing the UUID, so for named networks we have to make a request every time otherwise it requires a conductor restart to pick up the new network.\n\nSo basically caching the UUID now works if (and only if) an operator sets a specific network UUID in the config file, and we validate that network exists once.\n\nHowever I guess that does mean that if an operator sets a UUID in the config file, and this validation passes the first time, but then someone deletes the network in neutron because we don\u0027t try to revalidate the UUID each time then  the first time we\u0027ll find out the network doesn\u0027t exist is when we try to do something to it, like creating a port, and we\u0027ll get a 404 from neutron we\u0027ll have to handle somewhere else.","commit_id":"95d7e602e51325725dc0a3ebeb603b14813acccd"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"251696d03bd924217d051ac8aaeeb7cdcfda479a","unresolved":false,"context_lines":[{"line_number":589,"context_line":"        )"},{"line_number":590,"context_line":"        # NOTE(dtantsur): if the last used provisioning network UUID is"},{"line_number":591,"context_line":"        # the same as the new one, we can skip validating it."},{"line_number":592,"context_line":"        if (self._provisioning_network_uuid is None or"},{"line_number":593,"context_line":"                self._provisioning_network_uuid !\u003d provisioning_network):"},{"line_number":594,"context_line":"            self._provisioning_network_uuid \u003d validate_network("},{"line_number":595,"context_line":"                provisioning_network, _(\u0027provisioning network\u0027),"}],"source_content_type":"text/x-python","patch_set":31,"id":"5f93b717_ebfe30ad","line":592,"updated":"2018-01-25 00:30:16.000000000","message":"Same as above","commit_id":"95d7e602e51325725dc0a3ebeb603b14813acccd"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"251696d03bd924217d051ac8aaeeb7cdcfda479a","unresolved":false,"context_lines":[{"line_number":605,"context_line":"        )"},{"line_number":606,"context_line":"        # NOTE(dtantsur): if the last used provisioning network UUID is"},{"line_number":607,"context_line":"        # the same as the new one, we can skip validating it."},{"line_number":608,"context_line":"        if (self._rescuing_network_uuid is None or"},{"line_number":609,"context_line":"                self._rescuing_network_uuid !\u003d rescuing_network):"},{"line_number":610,"context_line":"            self._rescuing_network_uuid \u003d validate_network("},{"line_number":611,"context_line":"                rescuing_network, _(\u0027rescuing network\u0027),"}],"source_content_type":"text/x-python","patch_set":31,"id":"5f93b717_ab3268a6","line":608,"updated":"2018-01-25 00:30:16.000000000","message":"same as above.","commit_id":"95d7e602e51325725dc0a3ebeb603b14813acccd"}],"ironic/drivers/modules/network/flat.py":[{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"0b5a80f638dcda0b19734cef28f060042cfd1f5d","unresolved":false,"context_lines":[{"line_number":136,"context_line":"        \"\"\""},{"line_number":137,"context_line":"        LOG.info(_LI(\u0027Removing ports from cleaning network for node %s\u0027),"},{"line_number":138,"context_line":"                 task.node.uuid)"},{"line_number":139,"context_line":"        neutron.remove_ports_from_network(task,"},{"line_number":140,"context_line":"                                          self.get_cleaning_network_uuid("},{"line_number":141,"context_line":"                                              task))"},{"line_number":142,"context_line":"        for port in task.ports:"},{"line_number":143,"context_line":"            if \u0027cleaning_vif_port_id\u0027 in port.internal_info:"},{"line_number":144,"context_line":"                internal_info \u003d port.internal_info"}],"source_content_type":"text/x-python","patch_set":2,"id":"5ff73747_aae4943c","line":141,"range":{"start_line":139,"start_character":8,"end_line":141,"end_character":52},"updated":"2017-05-02 09:55:50.000000000","message":"nit:\nneutron.remove_ports_from_network(task,\n    self.get_cleaning_network_uuid(task))","commit_id":"e96bd9d1f2f6d8c46ff05ba73c9d81dc30f31a25"},{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"f374c8416dee0f9d1df87766ceee62c9cb894411","unresolved":false,"context_lines":[{"line_number":137,"context_line":"        LOG.info(\u0027Removing ports from cleaning network for node %s\u0027,"},{"line_number":138,"context_line":"                 task.node.uuid)"},{"line_number":139,"context_line":"        neutron.remove_ports_from_network(task,"},{"line_number":140,"context_line":"                                          self.get_cleaning_network_uuid("},{"line_number":141,"context_line":"                                              task))"},{"line_number":142,"context_line":"        for port in task.ports:"},{"line_number":143,"context_line":"            if \u0027cleaning_vif_port_id\u0027 in port.internal_info:"},{"line_number":144,"context_line":"                internal_info \u003d port.internal_info"}],"source_content_type":"text/x-python","patch_set":12,"id":"df140735_3bb0d18b","line":141,"range":{"start_line":140,"start_character":73,"end_line":141,"end_character":46},"updated":"2017-06-07 06:45:38.000000000","message":"why we need a new line for this?","commit_id":"70e9a704ffbf89ec7bbfebe5dcaceae878b5218c"},{"author":{"_account_id":20401,"name":"M V P Nitesh","email":"parimalanitesh@gmail.com","username":"mvpnitesh"},"change_message_id":"a7487fc04f305f683de057ccc80c218eb8d89bde","unresolved":false,"context_lines":[{"line_number":137,"context_line":"        LOG.info(\u0027Removing ports from cleaning network for node %s\u0027,"},{"line_number":138,"context_line":"                 task.node.uuid)"},{"line_number":139,"context_line":"        neutron.remove_ports_from_network(task,"},{"line_number":140,"context_line":"                                          self.get_cleaning_network_uuid("},{"line_number":141,"context_line":"                                              task))"},{"line_number":142,"context_line":"        for port in task.ports:"},{"line_number":143,"context_line":"            if \u0027cleaning_vif_port_id\u0027 in port.internal_info:"},{"line_number":144,"context_line":"                internal_info \u003d port.internal_info"}],"source_content_type":"text/x-python","patch_set":12,"id":"df140735_5f3a48cd","line":141,"range":{"start_line":140,"start_character":73,"end_line":141,"end_character":46},"in_reply_to":"df140735_3bb0d18b","updated":"2017-06-07 10:39:40.000000000","message":"Done","commit_id":"70e9a704ffbf89ec7bbfebe5dcaceae878b5218c"}],"ironic/drivers/modules/network/neutron.py":[{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"0b5a80f638dcda0b19734cef28f060042cfd1f5d","unresolved":false,"context_lines":[{"line_number":109,"context_line":"        neutron.rollback_ports(task, self.get_cleaning_network_uuid(task))"},{"line_number":110,"context_line":"        LOG.info(_LI(\u0027Adding cleaning network to node %s\u0027), task.node.uuid)"},{"line_number":111,"context_line":"        security_groups \u003d CONF.neutron.cleaning_network_security_groups"},{"line_number":112,"context_line":"        vifs \u003d neutron.add_ports_to_network(task,"},{"line_number":113,"context_line":"                                            self.get_cleaning_network_uuid("},{"line_number":114,"context_line":"                                                task),"},{"line_number":115,"context_line":"                                            security_groups\u003dsecurity_groups)"},{"line_number":116,"context_line":"        for port in task.ports:"},{"line_number":117,"context_line":"            if port.uuid in vifs:"},{"line_number":118,"context_line":"                internal_info \u003d port.internal_info"}],"source_content_type":"text/x-python","patch_set":2,"id":"5ff73747_cac24085","line":115,"range":{"start_line":112,"start_character":7,"end_line":115,"end_character":76},"updated":"2017-05-02 09:55:50.000000000","message":"nit:\nvifs \u003d neutron.add_ports_to_network(task,\n    self.get_cleaning_network_uuid(task), security_groups\u003dsecurity_groups)","commit_id":"e96bd9d1f2f6d8c46ff05ba73c9d81dc30f31a25"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"0b5a80f638dcda0b19734cef28f060042cfd1f5d","unresolved":false,"context_lines":[{"line_number":129,"context_line":"        \"\"\""},{"line_number":130,"context_line":"        LOG.info(_LI(\u0027Removing cleaning network from node %s\u0027),"},{"line_number":131,"context_line":"                 task.node.uuid)"},{"line_number":132,"context_line":"        neutron.remove_ports_from_network(task,"},{"line_number":133,"context_line":"                                          self.get_cleaning_network_uuid("},{"line_number":134,"context_line":"                                              task))"},{"line_number":135,"context_line":"        for port in task.ports:"},{"line_number":136,"context_line":"            if \u0027cleaning_vif_port_id\u0027 in port.internal_info:"},{"line_number":137,"context_line":"                internal_info \u003d port.internal_info"}],"source_content_type":"text/x-python","patch_set":2,"id":"5ff73747_6a39eca1","line":134,"range":{"start_line":132,"start_character":8,"end_line":134,"end_character":52},"updated":"2017-05-02 09:55:50.000000000","message":"ditto","commit_id":"e96bd9d1f2f6d8c46ff05ba73c9d81dc30f31a25"},{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"f374c8416dee0f9d1df87766ceee62c9cb894411","unresolved":false,"context_lines":[{"line_number":130,"context_line":"        LOG.info(\u0027Removing cleaning network from node %s\u0027,"},{"line_number":131,"context_line":"                 task.node.uuid)"},{"line_number":132,"context_line":"        neutron.remove_ports_from_network(task,"},{"line_number":133,"context_line":"                                          self.get_cleaning_network_uuid("},{"line_number":134,"context_line":"                                              task))"},{"line_number":135,"context_line":"        for port in task.ports:"},{"line_number":136,"context_line":"            if \u0027cleaning_vif_port_id\u0027 in port.internal_info:"},{"line_number":137,"context_line":"                internal_info \u003d port.internal_info"}],"source_content_type":"text/x-python","patch_set":12,"id":"df140735_bb618114","line":134,"range":{"start_line":133,"start_character":73,"end_line":134,"end_character":46},"updated":"2017-06-07 06:45:38.000000000","message":"this too","commit_id":"70e9a704ffbf89ec7bbfebe5dcaceae878b5218c"},{"author":{"_account_id":20401,"name":"M V P Nitesh","email":"parimalanitesh@gmail.com","username":"mvpnitesh"},"change_message_id":"a7487fc04f305f683de057ccc80c218eb8d89bde","unresolved":false,"context_lines":[{"line_number":130,"context_line":"        LOG.info(\u0027Removing cleaning network from node %s\u0027,"},{"line_number":131,"context_line":"                 task.node.uuid)"},{"line_number":132,"context_line":"        neutron.remove_ports_from_network(task,"},{"line_number":133,"context_line":"                                          self.get_cleaning_network_uuid("},{"line_number":134,"context_line":"                                              task))"},{"line_number":135,"context_line":"        for port in task.ports:"},{"line_number":136,"context_line":"            if \u0027cleaning_vif_port_id\u0027 in port.internal_info:"},{"line_number":137,"context_line":"                internal_info \u003d port.internal_info"}],"source_content_type":"text/x-python","patch_set":12,"id":"df140735_df4bf85c","line":134,"range":{"start_line":133,"start_character":73,"end_line":134,"end_character":46},"in_reply_to":"df140735_bb618114","updated":"2017-06-07 10:39:40.000000000","message":"Done","commit_id":"70e9a704ffbf89ec7bbfebe5dcaceae878b5218c"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"ae8fadb78f538d4f90ebe4c836c39a863c2d3181","unresolved":false,"context_lines":[{"line_number":109,"context_line":"        neutron.rollback_ports(task, self.get_cleaning_network_uuid(task))"},{"line_number":110,"context_line":"        LOG.info(\u0027Adding cleaning network to node %s\u0027, task.node.uuid)"},{"line_number":111,"context_line":"        security_groups \u003d CONF.neutron.cleaning_network_security_groups"},{"line_number":112,"context_line":"        vifs \u003d neutron.add_ports_to_network(task,"},{"line_number":113,"context_line":"                                            self.get_cleaning_network_uuid("},{"line_number":114,"context_line":"                                                task),"},{"line_number":115,"context_line":"                                            security_groups\u003dsecurity_groups)"},{"line_number":116,"context_line":"        for port in task.ports:"}],"source_content_type":"text/x-python","patch_set":15,"id":"7f231b9d_dbcee058","line":113,"range":{"start_line":112,"start_character":44,"end_line":113,"end_character":45},"updated":"2017-06-15 18:11:18.000000000","message":"nit: Personally I\u0027d just wrap to the next line especially since your having to wrap again on line 113.","commit_id":"13570b2460e13f49b9131185d1e0e213066f3e27"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e7b669ff804604cf90ca87744b30964423b92099","unresolved":false,"context_lines":[{"line_number":68,"context_line":"        \"\"\""},{"line_number":69,"context_line":"        # If we have left over ports from a previous provision attempt, remove"},{"line_number":70,"context_line":"        # them"},{"line_number":71,"context_line":"        neutron.rollback_ports(task, self.get_provisioning_network_uuid(task))"},{"line_number":72,"context_line":"        LOG.info(\u0027Adding provisioning network to node %s\u0027,"},{"line_number":73,"context_line":"                 task.node.uuid)"},{"line_number":74,"context_line":"        vifs \u003d neutron.add_ports_to_network("}],"source_content_type":"text/x-python","patch_set":24,"id":"1f1a1f67_df636541","line":71,"updated":"2017-07-18 08:22:09.000000000","message":"now that get_provisioning_network_uuid does not cache its value, please make sure to use it once per function (create a variable to hold its value)","commit_id":"186912a69e24e863e9853ef88a2665ba810812e2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e7b669ff804604cf90ca87744b30964423b92099","unresolved":false,"context_lines":[{"line_number":111,"context_line":"        security_groups \u003d CONF.neutron.cleaning_network_security_groups"},{"line_number":112,"context_line":"        vifs \u003d neutron.add_ports_to_network(task,"},{"line_number":113,"context_line":"                                            self.get_cleaning_network_uuid("},{"line_number":114,"context_line":"                                                task),"},{"line_number":115,"context_line":"                                            security_groups\u003dsecurity_groups)"},{"line_number":116,"context_line":"        for port in task.ports:"},{"line_number":117,"context_line":"            if port.uuid in vifs:"}],"source_content_type":"text/x-python","patch_set":24,"id":"1f1a1f67_bf68a91c","line":114,"updated":"2017-07-18 08:22:09.000000000","message":"ditto about not calculating the value twice","commit_id":"186912a69e24e863e9853ef88a2665ba810812e2"}],"ironic/tests/unit/drivers/modules/network/test_flat.py":[{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"44f323d3c31b76c40dcdf1dc904516f1f31ae023","unresolved":false,"context_lines":[{"line_number":78,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":79,"context_line":"            task.node.driver_info["},{"line_number":80,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":81,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":82,"context_line":"                                CONF.neutron.cleaning_network)"},{"line_number":83,"context_line":"            self.interface.validate(task)"},{"line_number":84,"context_line":"        validate_mock.assert_called_once_with(cleaning_network,"},{"line_number":85,"context_line":"                                              \u0027cleaning network\u0027)"}],"source_content_type":"text/x-python","patch_set":10,"id":"df140735_205d6346","line":82,"range":{"start_line":81,"start_character":12,"end_line":82,"end_character":62},"updated":"2017-06-06 09:10:14.000000000","message":"Actually, you can replace this with predefined 3aea0de6-4b92-44da-9aa0-52d134c83fdf, since driver_info take precedence.\nditto for other places in this file and test_neutron.py.","commit_id":"e137d68b633b934d76df8a6e6e17164acf625eb1"},{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"f374c8416dee0f9d1df87766ceee62c9cb894411","unresolved":false,"context_lines":[{"line_number":117,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":118,"context_line":"                                CONF.neutron.cleaning_network)"},{"line_number":119,"context_line":"            self.interface.remove_cleaning_network(task)"},{"line_number":120,"context_line":"            remove_mock.assert_called_once_with("},{"line_number":121,"context_line":"                task, cleaning_network)"},{"line_number":122,"context_line":"            validate_mock.assert_called_once_with("},{"line_number":123,"context_line":"                cleaning_network,"},{"line_number":124,"context_line":"                \u0027cleaning network\u0027)"}],"source_content_type":"text/x-python","patch_set":12,"id":"df140735_5b7025dd","line":121,"range":{"start_line":120,"start_character":48,"end_line":121,"end_character":16},"updated":"2017-06-07 06:45:38.000000000","message":"no need a new line for this","commit_id":"70e9a704ffbf89ec7bbfebe5dcaceae878b5218c"},{"author":{"_account_id":20401,"name":"M V P Nitesh","email":"parimalanitesh@gmail.com","username":"mvpnitesh"},"change_message_id":"b1bc216b29d44a821ee721cde8cd57a1c39ce81c","unresolved":false,"context_lines":[{"line_number":78,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":79,"context_line":"            task.node.driver_info["},{"line_number":80,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":81,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":82,"context_line":"                                CONF.neutron.cleaning_network)"},{"line_number":83,"context_line":"            self.interface.validate(task)"},{"line_number":84,"context_line":"        validate_mock.assert_called_once_with(cleaning_network,"},{"line_number":85,"context_line":"                                              \u0027cleaning network\u0027)"}],"source_content_type":"text/x-python","patch_set":13,"id":"bf091321_44ee0b89","line":82,"range":{"start_line":81,"start_character":11,"end_line":82,"end_character":62},"updated":"2017-06-08 05:49:39.000000000","message":"@Wang KaiFeng: Thanks for the review, that is the reason i kept an \u0027or\u0027 condition , if the details are not present in node then it will pick from conf file","commit_id":"0b5be9362051c2deba02103d1acb1f735f7fdfab"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"292818abdec9b803c71cde71be6854938bdc4962","unresolved":false,"context_lines":[{"line_number":78,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":79,"context_line":"            task.node.driver_info["},{"line_number":80,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":81,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":82,"context_line":"                                CONF.neutron.cleaning_network)"},{"line_number":83,"context_line":"            self.interface.validate(task)"},{"line_number":84,"context_line":"        validate_mock.assert_called_once_with(cleaning_network,"},{"line_number":85,"context_line":"                                              \u0027cleaning network\u0027)"}],"source_content_type":"text/x-python","patch_set":13,"id":"bf091321_faafd391","line":82,"range":{"start_line":81,"start_character":11,"end_line":82,"end_character":62},"in_reply_to":"bf091321_44ee0b89","updated":"2017-06-09 01:31:11.000000000","message":"What I mean is that, you have set cleaning_network in the driver_info, so the self.interface.validate will never read from CONF, network uuid always in the driver_info.\nIf we cover the case when network uuid is absent, the unit test would fail before running tempest, as the patch set 9.\nI don\u0027t know if I make it more clear :)","commit_id":"0b5be9362051c2deba02103d1acb1f735f7fdfab"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"cbd9f864a5d96730aa55ce7e77765f0ca2122166","unresolved":false,"context_lines":[{"line_number":92,"context_line":"                                  validate_mock):"},{"line_number":93,"context_line":"        add_mock.return_value \u003d {self.port.uuid: \u0027vif-port-id\u0027}"},{"line_number":94,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":95,"context_line":"            task.node.driver_info["},{"line_number":96,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":97,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":98,"context_line":"                                CONF.neutron.cleaning_network)"},{"line_number":99,"context_line":"            self.interface.add_cleaning_network(task)"}],"source_content_type":"text/x-python","patch_set":13,"id":"bf091321_3b2d4d95","line":96,"range":{"start_line":95,"start_character":12,"end_line":96,"end_character":76},"updated":"2017-06-09 04:32:08.000000000","message":"Need to add a testcase without setting task.node.driver_info[\n                \u0027cleaning_network\u0027] and using","commit_id":"0b5be9362051c2deba02103d1acb1f735f7fdfab"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f8772e2e07cac4756b578d5d33bee04a37935348","unresolved":false,"context_lines":[{"line_number":92,"context_line":"                                  validate_mock):"},{"line_number":93,"context_line":"        add_mock.return_value \u003d {self.port.uuid: \u0027vif-port-id\u0027}"},{"line_number":94,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":95,"context_line":"            task.node.driver_info["},{"line_number":96,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":97,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":98,"context_line":"                                CONF.neutron.cleaning_network)"},{"line_number":99,"context_line":"            self.interface.add_cleaning_network(task)"}],"source_content_type":"text/x-python","patch_set":13,"id":"7f231b9d_e164d1bb","line":96,"range":{"start_line":95,"start_character":12,"end_line":96,"end_character":76},"in_reply_to":"7f231b9d_faeda525","updated":"2017-06-12 10:35:28.000000000","message":"Adding one testcase should be enough.","commit_id":"0b5be9362051c2deba02103d1acb1f735f7fdfab"},{"author":{"_account_id":20401,"name":"M V P Nitesh","email":"parimalanitesh@gmail.com","username":"mvpnitesh"},"change_message_id":"135d12cca6aaf0126829097ab39ba2f1717e95f2","unresolved":false,"context_lines":[{"line_number":92,"context_line":"                                  validate_mock):"},{"line_number":93,"context_line":"        add_mock.return_value \u003d {self.port.uuid: \u0027vif-port-id\u0027}"},{"line_number":94,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":95,"context_line":"            task.node.driver_info["},{"line_number":96,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":97,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":98,"context_line":"                                CONF.neutron.cleaning_network)"},{"line_number":99,"context_line":"            self.interface.add_cleaning_network(task)"}],"source_content_type":"text/x-python","patch_set":13,"id":"7f231b9d_faeda525","line":96,"range":{"start_line":95,"start_character":12,"end_line":96,"end_character":76},"in_reply_to":"bf091321_3b2d4d95","updated":"2017-06-12 06:41:44.000000000","message":"Sivanand I would like to know should i write for this testcase or for all the testcases that i\u0027ve changed in this test_flat.py file","commit_id":"0b5be9362051c2deba02103d1acb1f735f7fdfab"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"4717959cd22199492e94b8dbfeb8f61aac62be66","unresolved":false,"context_lines":[{"line_number":83,"context_line":"    @mock.patch.object(neutron, \u0027validate_network\u0027, autospec\u003dTrue)"},{"line_number":84,"context_line":"    def test_validate_with_node_details(self, validate_mock):"},{"line_number":85,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":86,"context_line":"            task.node.driver_info["},{"line_number":87,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":88,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":89,"context_line":"                                CONF.neutron.cleaning_network)"},{"line_number":90,"context_line":"            self.interface.validate(task)"},{"line_number":91,"context_line":"        validate_mock.assert_called_once_with(cleaning_network,"},{"line_number":92,"context_line":"                                              \u0027cleaning network\u0027)"}],"source_content_type":"text/x-python","patch_set":14,"id":"7f231b9d_138ebc2d","line":89,"range":{"start_line":86,"start_character":12,"end_line":89,"end_character":62},"updated":"2017-06-14 04:07:19.000000000","message":"This should be:-\ncleaning_network \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027\ndriver_info \u003d task.node.driver_info\ndriver_info[\u0027cleaning_network\u0027] \u003d cleaning_network \ntask.node.driver_info \u003d driver_info \ntask.node.save()","commit_id":"ae38ca0d3a556d074ac2e8908c26b718e7d55ce2"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"4717959cd22199492e94b8dbfeb8f61aac62be66","unresolved":false,"context_lines":[{"line_number":99,"context_line":"                                  validate_mock):"},{"line_number":100,"context_line":"        add_mock.return_value \u003d {self.port.uuid: \u0027vif-port-id\u0027}"},{"line_number":101,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":102,"context_line":"            task.node.driver_info["},{"line_number":103,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":104,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":105,"context_line":"                                CONF.neutron.cleaning_network)"},{"line_number":106,"context_line":"            self.interface.add_cleaning_network(task)"},{"line_number":107,"context_line":"            rollback_mock.assert_called_with("},{"line_number":108,"context_line":"                task, cleaning_network)"}],"source_content_type":"text/x-python","patch_set":14,"id":"7f231b9d_f384600e","line":105,"range":{"start_line":102,"start_character":8,"end_line":105,"end_character":62},"updated":"2017-06-14 04:07:19.000000000","message":"ditto","commit_id":"ae38ca0d3a556d074ac2e8908c26b718e7d55ce2"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"4717959cd22199492e94b8dbfeb8f61aac62be66","unresolved":false,"context_lines":[{"line_number":119,"context_line":"    @mock.patch.object(neutron, \u0027remove_ports_from_network\u0027)"},{"line_number":120,"context_line":"    def test_remove_cleaning_network(self, remove_mock, validate_mock):"},{"line_number":121,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":122,"context_line":"            task.node.driver_info["},{"line_number":123,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":124,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":125,"context_line":"                                CONF.neutron.cleaning_network)"},{"line_number":126,"context_line":"            self.interface.remove_cleaning_network(task)"},{"line_number":127,"context_line":"            remove_mock.assert_called_once_with(task, cleaning_network)"},{"line_number":128,"context_line":"            validate_mock.assert_called_once_with("}],"source_content_type":"text/x-python","patch_set":14,"id":"7f231b9d_73785029","line":125,"range":{"start_line":122,"start_character":12,"end_line":125,"end_character":62},"updated":"2017-06-14 04:07:19.000000000","message":"ditto","commit_id":"ae38ca0d3a556d074ac2e8908c26b718e7d55ce2"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"ae8fadb78f538d4f90ebe4c836c39a863c2d3181","unresolved":false,"context_lines":[{"line_number":83,"context_line":"    @mock.patch.object(neutron, \u0027validate_network\u0027, autospec\u003dTrue)"},{"line_number":84,"context_line":"    def test_validate_with_node_details(self, validate_mock):"},{"line_number":85,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":86,"context_line":"            cleaning_network \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":87,"context_line":"            driver_info \u003d task.node.driver_info"},{"line_number":88,"context_line":"            driver_info[\u0027cleaning_network\u0027] \u003d cleaning_network"},{"line_number":89,"context_line":"            task.node.driver_info \u003d driver_info"},{"line_number":90,"context_line":"            task.node.save()"},{"line_number":91,"context_line":"            self.interface.validate(task)"},{"line_number":92,"context_line":"        validate_mock.assert_called_once_with(cleaning_network,"}],"source_content_type":"text/x-python","patch_set":15,"id":"7f231b9d_7b158c9b","line":89,"range":{"start_line":86,"start_character":0,"end_line":89,"end_character":47},"updated":"2017-06-15 18:11:18.000000000","message":"Ideally this should be before task creation.","commit_id":"13570b2460e13f49b9131185d1e0e213066f3e27"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"5a1b0eca425233fec735f3c103c60f65814216ac","unresolved":false,"context_lines":[{"line_number":83,"context_line":"    @mock.patch.object(neutron, \u0027validate_network\u0027, autospec\u003dTrue)"},{"line_number":84,"context_line":"    def test_validate_with_node_details(self, validate_mock):"},{"line_number":85,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":86,"context_line":"            cleaning_network \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":87,"context_line":"            driver_info \u003d task.node.driver_info"},{"line_number":88,"context_line":"            driver_info[\u0027cleaning_network\u0027] \u003d cleaning_network"},{"line_number":89,"context_line":"            task.node.driver_info \u003d driver_info"},{"line_number":90,"context_line":"            task.node.save()"},{"line_number":91,"context_line":"            self.interface.validate(task)"},{"line_number":92,"context_line":"        validate_mock.assert_called_once_with(cleaning_network,"}],"source_content_type":"text/x-python","patch_set":15,"id":"5f201791_cd5df179","line":89,"range":{"start_line":86,"start_character":0,"end_line":89,"end_character":47},"in_reply_to":"7f231b9d_7b158c9b","updated":"2017-06-27 12:16:27.000000000","message":"+1, you should use self.node outside of the task to inject any custom information into the node before you start testing.","commit_id":"13570b2460e13f49b9131185d1e0e213066f3e27"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"ae8fadb78f538d4f90ebe4c836c39a863c2d3181","unresolved":false,"context_lines":[{"line_number":100,"context_line":"                                  validate_mock):"},{"line_number":101,"context_line":"        add_mock.return_value \u003d {self.port.uuid: \u0027vif-port-id\u0027}"},{"line_number":102,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":103,"context_line":"            cleaning_network \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":104,"context_line":"            driver_info \u003d task.node.driver_info"},{"line_number":105,"context_line":"            driver_info[\u0027cleaning_network\u0027] \u003d cleaning_network"},{"line_number":106,"context_line":"            task.node.driver_info \u003d driver_info"},{"line_number":107,"context_line":"            task.node.save()"},{"line_number":108,"context_line":"            self.interface.add_cleaning_network(task)"},{"line_number":109,"context_line":"            rollback_mock.assert_called_with("},{"line_number":110,"context_line":"                task, cleaning_network)"}],"source_content_type":"text/x-python","patch_set":15,"id":"7f231b9d_9b1bc8c8","line":107,"range":{"start_line":103,"start_character":0,"end_line":107,"end_character":28},"updated":"2017-06-15 18:11:18.000000000","message":"ditto, since you shouldn\u0027t have to save into the existing task as if your changing the value while a task is running.","commit_id":"13570b2460e13f49b9131185d1e0e213066f3e27"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"ae8fadb78f538d4f90ebe4c836c39a863c2d3181","unresolved":false,"context_lines":[{"line_number":121,"context_line":"    @mock.patch.object(neutron, \u0027remove_ports_from_network\u0027)"},{"line_number":122,"context_line":"    def test_remove_cleaning_network(self, remove_mock, validate_mock):"},{"line_number":123,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":124,"context_line":"            cleaning_network \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":125,"context_line":"            driver_info \u003d task.node.driver_info"},{"line_number":126,"context_line":"            driver_info[\u0027cleaning_network\u0027] \u003d cleaning_network"},{"line_number":127,"context_line":"            task.node.driver_info \u003d driver_info"},{"line_number":128,"context_line":"            task.node.save()"},{"line_number":129,"context_line":"            self.interface.remove_cleaning_network(task)"},{"line_number":130,"context_line":"            remove_mock.assert_called_once_with(task, cleaning_network)"},{"line_number":131,"context_line":"            validate_mock.assert_called_once_with("}],"source_content_type":"text/x-python","patch_set":15,"id":"7f231b9d_fb6d1c32","line":128,"range":{"start_line":124,"start_character":12,"end_line":128,"end_character":28},"updated":"2017-06-15 18:11:18.000000000","message":"Same as above.","commit_id":"13570b2460e13f49b9131185d1e0e213066f3e27"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"205b1bf07460fe30d41c3788e5471e5455ab3320","unresolved":false,"context_lines":[{"line_number":83,"context_line":"    @mock.patch.object(neutron, \u0027validate_network\u0027, autospec\u003dTrue)"},{"line_number":84,"context_line":"    def test_validate_with_node_details(self, validate_mock):"},{"line_number":85,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":86,"context_line":"            task.node.driver_info["},{"line_number":87,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":88,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":89,"context_line":"                                CONF.neutron.cleaning_network)"},{"line_number":90,"context_line":"            self.interface.validate(task)"},{"line_number":91,"context_line":"        validate_mock.assert_called_once_with(cleaning_network,"},{"line_number":92,"context_line":"                                              \u0027cleaning network\u0027)"}],"source_content_type":"text/x-python","patch_set":16,"id":"3f1d235d_832e1641","line":89,"range":{"start_line":86,"start_character":12,"end_line":89,"end_character":62},"updated":"2017-07-03 05:40:28.000000000","message":"this change does not address the review comments, you need to assign driver_info before L85.\n\n    self.node.driver_info[cleaning_network] \u003d ...\n    self.node.save()\n\nFor the validation test, you can remove L88, set driver info or self.config when testing with configuration from node info or configuration file, respectively.","commit_id":"9decdbae12f538717dbebff3f9cb04dca8db7706"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"1c20497e23015bf1e8b9feae18992aacc2cdd36f","unresolved":false,"context_lines":[{"line_number":83,"context_line":"    @mock.patch.object(neutron, \u0027validate_network\u0027, autospec\u003dTrue)"},{"line_number":84,"context_line":"    def test_validate_with_node_details(self, validate_mock):"},{"line_number":85,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":86,"context_line":"            task.node.driver_info["},{"line_number":87,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":88,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":89,"context_line":"                                CONF.neutron.cleaning_network)"},{"line_number":90,"context_line":"            self.interface.validate(task)"},{"line_number":91,"context_line":"        validate_mock.assert_called_once_with(cleaning_network,"},{"line_number":92,"context_line":"                                              \u0027cleaning network\u0027)"}],"source_content_type":"text/x-python","patch_set":16,"id":"3f1d235d_eb59205a","line":89,"range":{"start_line":86,"start_character":12,"end_line":89,"end_character":62},"in_reply_to":"3f1d235d_18c71048","updated":"2017-07-03 07:59:24.000000000","message":"How to get network uuid is the logic in code under test, so we shouldn\u0027t implement same logic here. Let\u0027s make an example  for how you test the case of reading from node\u0027s driver_info:\n\n    cleaning_network_uuid \u003d \u0027fake-id\u0027\n    self.node.driver_info[\u0027cleaning_network\u0027] \u003d cleaning_network_uuid\nself.node.save()\n    with task_manager.acquire(self.context, self.node.id) as task:\n        self.interface.validate(task)\n    validate_mock.assert_called_once_with(cleaning_network_uuid, \u0027cleaning network\u0027)\n\nAnd for the case of reading from default configuration file:\n\n    self.config(cleaning_network\u003dcleaning_network_uuid, group\u003d\u0027neutron\u0027)\n    with task_manager.acquire(self.context, self.node.id) as task:\n        self.interface.validate(task)\n    validate_mock.assert_called_once_with(cleaning_network_uuid, \u0027cleaning network\u0027)","commit_id":"9decdbae12f538717dbebff3f9cb04dca8db7706"},{"author":{"_account_id":20401,"name":"M V P Nitesh","email":"parimalanitesh@gmail.com","username":"mvpnitesh"},"change_message_id":"f732ae28df9c1ddfd09cfb06beea088a71f561f4","unresolved":false,"context_lines":[{"line_number":83,"context_line":"    @mock.patch.object(neutron, \u0027validate_network\u0027, autospec\u003dTrue)"},{"line_number":84,"context_line":"    def test_validate_with_node_details(self, validate_mock):"},{"line_number":85,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":86,"context_line":"            task.node.driver_info["},{"line_number":87,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":88,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":89,"context_line":"                                CONF.neutron.cleaning_network)"},{"line_number":90,"context_line":"            self.interface.validate(task)"},{"line_number":91,"context_line":"        validate_mock.assert_called_once_with(cleaning_network,"},{"line_number":92,"context_line":"                                              \u0027cleaning network\u0027)"}],"source_content_type":"text/x-python","patch_set":16,"id":"3f1d235d_18c71048","line":89,"range":{"start_line":86,"start_character":12,"end_line":89,"end_character":62},"in_reply_to":"3f1d235d_832e1641","updated":"2017-07-03 07:15:54.000000000","message":"I understood about \n    self.node.driver_info[cleaning_network] \u003d ...\n    self.node.save()\nCan u tell me clearly about removing L88 thing ?","commit_id":"9decdbae12f538717dbebff3f9cb04dca8db7706"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"205b1bf07460fe30d41c3788e5471e5455ab3320","unresolved":false,"context_lines":[{"line_number":99,"context_line":"                                  validate_mock):"},{"line_number":100,"context_line":"        add_mock.return_value \u003d {self.port.uuid: \u0027vif-port-id\u0027}"},{"line_number":101,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":102,"context_line":"            task.node.driver_info["},{"line_number":103,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":104,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":105,"context_line":"                                CONF.neutron.cleaning_network)"},{"line_number":106,"context_line":"            self.interface.add_cleaning_network(task)"},{"line_number":107,"context_line":"            rollback_mock.assert_called_with("},{"line_number":108,"context_line":"                task, cleaning_network)"}],"source_content_type":"text/x-python","patch_set":16,"id":"3f1d235d_e38f0a2c","line":105,"range":{"start_line":102,"start_character":12,"end_line":105,"end_character":62},"updated":"2017-07-03 05:40:28.000000000","message":"ditto for this and other similar test cases.","commit_id":"9decdbae12f538717dbebff3f9cb04dca8db7706"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"de8c3e4093756fe1a180acdcd63dad0c9245667a","unresolved":false,"context_lines":[{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    @mock.patch.object(neutron, \u0027validate_network\u0027, autospec\u003dTrue)"},{"line_number":84,"context_line":"    def test_validate_with_node_details(self, validate_mock):"},{"line_number":85,"context_line":"        cleaning_network_uuid \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":86,"context_line":"        self.node.driver_info[\u0027cleaning_network\u0027] \u003d cleaning_network_uuid"},{"line_number":87,"context_line":"        self.node.save()"},{"line_number":88,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":89,"context_line":"            self.interface.validate(task)"}],"source_content_type":"text/x-python","patch_set":18,"id":"3f1d235d_da54ba00","line":86,"range":{"start_line":85,"start_character":8,"end_line":86,"end_character":73},"updated":"2017-07-04 16:35:12.000000000","message":"It seems that this setting does not take effect, please try this:\n\ncleaning_network_uuid \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027\ndriver_info \u003d self.node.driver_info\ndriver_info[\u0027cleaning_network\u0027] \u003d cleaning_network_uuid\nself.node.driver_info \u003d driver_info\n\nYou can run tox locally to see if that helps.","commit_id":"a04b418fc7dd967b561985a3ca5d0df848c176b0"}],"ironic/tests/unit/drivers/modules/network/test_neutron.py":[{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"4966de9f20a407caebb7b2a50d2d66ad90c0dcba","unresolved":false,"context_lines":[{"line_number":192,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":193,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":194,"context_line":"                                CONF.neutron.cleaning_network)"},{"line_number":195,"context_line":"            rollback_mock.assert_called_once_with("},{"line_number":196,"context_line":"                task, cleaning_network)"},{"line_number":197,"context_line":"            res \u003d self.interface.add_cleaning_network(task)"},{"line_number":198,"context_line":"            self.assertEqual(res, add_ports_mock.return_value)"},{"line_number":199,"context_line":"            validate_mock.assert_called_once_with("}],"source_content_type":"text/x-python","patch_set":4,"id":"5ff73747_c6dfd3d4","line":196,"range":{"start_line":195,"start_character":12,"end_line":196,"end_character":39},"updated":"2017-05-02 15:05:11.000000000","message":"rollback_mock is removed in this changeset, which is why everything is failing for this change.","commit_id":"0eca895e0c40304f053367de2e2a36d7b26b2782"},{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"f374c8416dee0f9d1df87766ceee62c9cb894411","unresolved":false,"context_lines":[{"line_number":87,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":88,"context_line":"            task.node.driver_info["},{"line_number":89,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":90,"context_line":"            task.node.driver_info[\u0027provisioning_network\u0027"},{"line_number":91,"context_line":"                                  ] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83f9c\u0027"},{"line_number":92,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":93,"context_line":"                                CONF.neutron.cleaning_network)"}],"source_content_type":"text/x-python","patch_set":12,"id":"df140735_db7b15bc","line":90,"range":{"start_line":90,"start_character":34,"end_line":90,"end_character":56},"updated":"2017-06-07 06:45:38.000000000","message":"you may want to move this to newline as line #89","commit_id":"70e9a704ffbf89ec7bbfebe5dcaceae878b5218c"},{"author":{"_account_id":20401,"name":"M V P Nitesh","email":"parimalanitesh@gmail.com","username":"mvpnitesh"},"change_message_id":"a7487fc04f305f683de057ccc80c218eb8d89bde","unresolved":false,"context_lines":[{"line_number":87,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":88,"context_line":"            task.node.driver_info["},{"line_number":89,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":90,"context_line":"            task.node.driver_info[\u0027provisioning_network\u0027"},{"line_number":91,"context_line":"                                  ] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83f9c\u0027"},{"line_number":92,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":93,"context_line":"                                CONF.neutron.cleaning_network)"}],"source_content_type":"text/x-python","patch_set":12,"id":"df140735_a4127961","line":90,"range":{"start_line":90,"start_character":34,"end_line":90,"end_character":56},"in_reply_to":"df140735_db7b15bc","updated":"2017-06-07 10:39:40.000000000","message":"if i do so the length of the line is exceeding 80 and i\u0027l getting pep8 error","commit_id":"70e9a704ffbf89ec7bbfebe5dcaceae878b5218c"},{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"f374c8416dee0f9d1df87766ceee62c9cb894411","unresolved":false,"context_lines":[{"line_number":111,"context_line":"        self.port.save()"},{"line_number":112,"context_line":"        add_ports_mock.return_value \u003d {self.port.uuid: self.neutron_port[\u0027id\u0027]}"},{"line_number":113,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":114,"context_line":"            task.node.driver_info[\u0027provisioning_network\u0027"},{"line_number":115,"context_line":"                                  ] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83f9c\u0027"},{"line_number":116,"context_line":"            provisioning_network \u003d (task.node."},{"line_number":117,"context_line":"                                    driver_info[\u0027provisioning_network\u0027] or"}],"source_content_type":"text/x-python","patch_set":12,"id":"df140735_7b440975","line":114,"range":{"start_line":114,"start_character":34,"end_line":114,"end_character":56},"updated":"2017-06-07 06:45:38.000000000","message":"you may want to move this to newline as line #89","commit_id":"70e9a704ffbf89ec7bbfebe5dcaceae878b5218c"},{"author":{"_account_id":20401,"name":"M V P Nitesh","email":"parimalanitesh@gmail.com","username":"mvpnitesh"},"change_message_id":"a7487fc04f305f683de057ccc80c218eb8d89bde","unresolved":false,"context_lines":[{"line_number":111,"context_line":"        self.port.save()"},{"line_number":112,"context_line":"        add_ports_mock.return_value \u003d {self.port.uuid: self.neutron_port[\u0027id\u0027]}"},{"line_number":113,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":114,"context_line":"            task.node.driver_info[\u0027provisioning_network\u0027"},{"line_number":115,"context_line":"                                  ] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83f9c\u0027"},{"line_number":116,"context_line":"            provisioning_network \u003d (task.node."},{"line_number":117,"context_line":"                                    driver_info[\u0027provisioning_network\u0027] or"}],"source_content_type":"text/x-python","patch_set":12,"id":"df140735_9f07c019","line":114,"range":{"start_line":114,"start_character":34,"end_line":114,"end_character":56},"in_reply_to":"df140735_7b440975","updated":"2017-06-07 10:39:40.000000000","message":"if i do so the length of the line is exceeding 80 and i\u0027l getting pep8 error","commit_id":"70e9a704ffbf89ec7bbfebe5dcaceae878b5218c"},{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"f374c8416dee0f9d1df87766ceee62c9cb894411","unresolved":false,"context_lines":[{"line_number":143,"context_line":"                    group\u003d\u0027neutron\u0027)"},{"line_number":144,"context_line":"        add_ports_mock.return_value \u003d {self.port.uuid: self.neutron_port[\u0027id\u0027]}"},{"line_number":145,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":146,"context_line":"            task.node.driver_info[\u0027provisioning_network\u0027"},{"line_number":147,"context_line":"                                  ] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83f9c\u0027"},{"line_number":148,"context_line":"            provisioning_network \u003d (task.node."},{"line_number":149,"context_line":"                                    driver_info[\u0027provisioning_network\u0027] or"}],"source_content_type":"text/x-python","patch_set":12,"id":"df140735_1b5bcd54","line":146,"range":{"start_line":146,"start_character":34,"end_line":146,"end_character":56},"updated":"2017-06-07 06:45:38.000000000","message":"you may want to move this to newline as line #89","commit_id":"70e9a704ffbf89ec7bbfebe5dcaceae878b5218c"},{"author":{"_account_id":20401,"name":"M V P Nitesh","email":"parimalanitesh@gmail.com","username":"mvpnitesh"},"change_message_id":"a7487fc04f305f683de057ccc80c218eb8d89bde","unresolved":false,"context_lines":[{"line_number":143,"context_line":"                    group\u003d\u0027neutron\u0027)"},{"line_number":144,"context_line":"        add_ports_mock.return_value \u003d {self.port.uuid: self.neutron_port[\u0027id\u0027]}"},{"line_number":145,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":146,"context_line":"            task.node.driver_info[\u0027provisioning_network\u0027"},{"line_number":147,"context_line":"                                  ] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83f9c\u0027"},{"line_number":148,"context_line":"            provisioning_network \u003d (task.node."},{"line_number":149,"context_line":"                                    driver_info[\u0027provisioning_network\u0027] or"}],"source_content_type":"text/x-python","patch_set":12,"id":"df140735_5f112853","line":146,"range":{"start_line":146,"start_character":34,"end_line":146,"end_character":56},"in_reply_to":"df140735_1b5bcd54","updated":"2017-06-07 10:39:40.000000000","message":"if i do so the length of the line is exceeding 80 and i\u0027l getting pep8 error","commit_id":"70e9a704ffbf89ec7bbfebe5dcaceae878b5218c"},{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"f374c8416dee0f9d1df87766ceee62c9cb894411","unresolved":false,"context_lines":[{"line_number":167,"context_line":"        self.port.internal_info \u003d {\u0027provisioning_vif_port_id\u0027: \u0027vif-port-id\u0027}"},{"line_number":168,"context_line":"        self.port.save()"},{"line_number":169,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":170,"context_line":"            task.node.driver_info[\u0027provisioning_network\u0027"},{"line_number":171,"context_line":"                                  ] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83f9c\u0027"},{"line_number":172,"context_line":"            provisioning_network \u003d (task.node."},{"line_number":173,"context_line":"                                    driver_info[\u0027provisioning_network\u0027] or"}],"source_content_type":"text/x-python","patch_set":12,"id":"df140735_fb57f925","line":170,"range":{"start_line":170,"start_character":34,"end_line":170,"end_character":56},"updated":"2017-06-07 06:45:38.000000000","message":"you may want to move this to newline as line #89","commit_id":"70e9a704ffbf89ec7bbfebe5dcaceae878b5218c"},{"author":{"_account_id":20401,"name":"M V P Nitesh","email":"parimalanitesh@gmail.com","username":"mvpnitesh"},"change_message_id":"a7487fc04f305f683de057ccc80c218eb8d89bde","unresolved":false,"context_lines":[{"line_number":167,"context_line":"        self.port.internal_info \u003d {\u0027provisioning_vif_port_id\u0027: \u0027vif-port-id\u0027}"},{"line_number":168,"context_line":"        self.port.save()"},{"line_number":169,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":170,"context_line":"            task.node.driver_info[\u0027provisioning_network\u0027"},{"line_number":171,"context_line":"                                  ] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83f9c\u0027"},{"line_number":172,"context_line":"            provisioning_network \u003d (task.node."},{"line_number":173,"context_line":"                                    driver_info[\u0027provisioning_network\u0027] or"}],"source_content_type":"text/x-python","patch_set":12,"id":"df140735_ff17dc44","line":170,"range":{"start_line":170,"start_character":34,"end_line":170,"end_character":56},"in_reply_to":"df140735_fb57f925","updated":"2017-06-07 10:39:40.000000000","message":"if i do so the length of the line is exceeding 80 and i\u0027l getting pep8 error","commit_id":"70e9a704ffbf89ec7bbfebe5dcaceae878b5218c"},{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"f374c8416dee0f9d1df87766ceee62c9cb894411","unresolved":false,"context_lines":[{"line_number":194,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":195,"context_line":"                                CONF.neutron.cleaning_network)"},{"line_number":196,"context_line":"            res \u003d self.interface.add_cleaning_network(task)"},{"line_number":197,"context_line":"            rollback_mock.assert_called_with("},{"line_number":198,"context_line":"                task, cleaning_network)"},{"line_number":199,"context_line":"            self.assertEqual(res, add_ports_mock.return_value)"},{"line_number":200,"context_line":"            validate_mock.assert_called_with("},{"line_number":201,"context_line":"                cleaning_network,"}],"source_content_type":"text/x-python","patch_set":12,"id":"df140735_5b3ee5da","line":198,"range":{"start_line":197,"start_character":45,"end_line":198,"end_character":16},"updated":"2017-06-07 06:45:38.000000000","message":"don\u0027t need to keep new line at this","commit_id":"70e9a704ffbf89ec7bbfebe5dcaceae878b5218c"},{"author":{"_account_id":20401,"name":"M V P Nitesh","email":"parimalanitesh@gmail.com","username":"mvpnitesh"},"change_message_id":"a7487fc04f305f683de057ccc80c218eb8d89bde","unresolved":false,"context_lines":[{"line_number":194,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":195,"context_line":"                                CONF.neutron.cleaning_network)"},{"line_number":196,"context_line":"            res \u003d self.interface.add_cleaning_network(task)"},{"line_number":197,"context_line":"            rollback_mock.assert_called_with("},{"line_number":198,"context_line":"                task, cleaning_network)"},{"line_number":199,"context_line":"            self.assertEqual(res, add_ports_mock.return_value)"},{"line_number":200,"context_line":"            validate_mock.assert_called_with("},{"line_number":201,"context_line":"                cleaning_network,"}],"source_content_type":"text/x-python","patch_set":12,"id":"df140735_7f250cab","line":198,"range":{"start_line":197,"start_character":45,"end_line":198,"end_character":16},"in_reply_to":"df140735_5b3ee5da","updated":"2017-06-07 10:39:40.000000000","message":"Done","commit_id":"70e9a704ffbf89ec7bbfebe5dcaceae878b5218c"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"cbd9f864a5d96730aa55ce7e77765f0ca2122166","unresolved":false,"context_lines":[{"line_number":83,"context_line":"        self.assertRaises(exception.DriverLoadError, neutron.NeutronNetwork)"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    @mock.patch.object(neutron_common, \u0027validate_network\u0027, autospec\u003dTrue)"},{"line_number":86,"context_line":"    def test_validate(self, validate_mock):"},{"line_number":87,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":88,"context_line":"            task.node.driver_info["},{"line_number":89,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"}],"source_content_type":"text/x-python","patch_set":13,"id":"bf091321_fb459518","line":86,"range":{"start_line":86,"start_character":8,"end_line":86,"end_character":21},"updated":"2017-06-09 04:32:08.000000000","message":"Can you add testcases that uses conf parameters instead of task.node.driver_info","commit_id":"0b5be9362051c2deba02103d1acb1f735f7fdfab"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f8772e2e07cac4756b578d5d33bee04a37935348","unresolved":false,"context_lines":[{"line_number":83,"context_line":"        self.assertRaises(exception.DriverLoadError, neutron.NeutronNetwork)"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    @mock.patch.object(neutron_common, \u0027validate_network\u0027, autospec\u003dTrue)"},{"line_number":86,"context_line":"    def test_validate(self, validate_mock):"},{"line_number":87,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":88,"context_line":"            task.node.driver_info["},{"line_number":89,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"}],"source_content_type":"text/x-python","patch_set":13,"id":"7f231b9d_8173dd80","line":86,"range":{"start_line":86,"start_character":8,"end_line":86,"end_character":21},"in_reply_to":"7f231b9d_da7d496f","updated":"2017-06-12 10:35:28.000000000","message":"Adding a testcase for  \u0027cleaning_network\u0027 and one for \u0027provision_network\u0027 should be enough.","commit_id":"0b5be9362051c2deba02103d1acb1f735f7fdfab"},{"author":{"_account_id":20401,"name":"M V P Nitesh","email":"parimalanitesh@gmail.com","username":"mvpnitesh"},"change_message_id":"135d12cca6aaf0126829097ab39ba2f1717e95f2","unresolved":false,"context_lines":[{"line_number":83,"context_line":"        self.assertRaises(exception.DriverLoadError, neutron.NeutronNetwork)"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    @mock.patch.object(neutron_common, \u0027validate_network\u0027, autospec\u003dTrue)"},{"line_number":86,"context_line":"    def test_validate(self, validate_mock):"},{"line_number":87,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":88,"context_line":"            task.node.driver_info["},{"line_number":89,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"}],"source_content_type":"text/x-python","patch_set":13,"id":"7f231b9d_da7d496f","line":86,"range":{"start_line":86,"start_character":8,"end_line":86,"end_character":21},"in_reply_to":"bf091321_fb459518","updated":"2017-06-12 06:41:44.000000000","message":"Sivanand I would like to know should i write for this testcase or for all the testcases that i\u0027ve changed in this test_neutron.py file","commit_id":"0b5be9362051c2deba02103d1acb1f735f7fdfab"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"4717959cd22199492e94b8dbfeb8f61aac62be66","unresolved":false,"context_lines":[{"line_number":85,"context_line":"    @mock.patch.object(neutron_common, \u0027validate_network\u0027, autospec\u003dTrue)"},{"line_number":86,"context_line":"    def test_validate(self, validate_mock):"},{"line_number":87,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":88,"context_line":"            task.node.driver_info["},{"line_number":89,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":90,"context_line":"            task.node.driver_info[\u0027provisioning_network\u0027"},{"line_number":91,"context_line":"                                  ] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83f9c\u0027"},{"line_number":92,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":93,"context_line":"                                CONF.neutron.cleaning_network)"},{"line_number":94,"context_line":"            provisioning_network \u003d (task.node."},{"line_number":95,"context_line":"                                    driver_info[\u0027provisioning_network\u0027] or"},{"line_number":96,"context_line":"                                    CONF.neutron.provisioning_network)"}],"source_content_type":"text/x-python","patch_set":14,"id":"7f231b9d_d3b5e4ce","line":93,"range":{"start_line":88,"start_character":12,"end_line":93,"end_character":62},"updated":"2017-06-14 04:07:19.000000000","message":"This should be:-\ncleaning_network \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027\nprovisioning_network \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83f9c\u0027\ndriver_info \u003d task.node.driver_info\ndriver_info[\u0027cleaning_network\u0027] \u003d cleaning_network \ndriver_info[\u0027provisioning_network\u0027] \u003d provisioning_network \ntask.node.driver_info \u003d driver_info \ntask.node.save()","commit_id":"ae38ca0d3a556d074ac2e8908c26b718e7d55ce2"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"4717959cd22199492e94b8dbfeb8f61aac62be66","unresolved":false,"context_lines":[{"line_number":135,"context_line":"        self.port.save()"},{"line_number":136,"context_line":"        add_ports_mock.return_value \u003d {self.port.uuid: self.neutron_port[\u0027id\u0027]}"},{"line_number":137,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":138,"context_line":"            task.node.driver_info[\u0027provisioning_network\u0027"},{"line_number":139,"context_line":"                                  ] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83f9c\u0027"},{"line_number":140,"context_line":"            provisioning_network \u003d (task.node."},{"line_number":141,"context_line":"                                    driver_info[\u0027provisioning_network\u0027] or"},{"line_number":142,"context_line":"                                    CONF.neutron.provisioning_network)"},{"line_number":143,"context_line":"            self.interface.add_provisioning_network(task)"},{"line_number":144,"context_line":"            rollback_mock.assert_called_with("},{"line_number":145,"context_line":"                task, provisioning_network)"}],"source_content_type":"text/x-python","patch_set":14,"id":"7f231b9d_73c6104b","line":142,"range":{"start_line":138,"start_character":12,"end_line":142,"end_character":70},"updated":"2017-06-14 04:07:19.000000000","message":"This should be:-\nprovisioning_network \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83f9c\u0027\ndriver_info \u003d task.node.driver_info\ndriver_info[\u0027provisioning_network\u0027] \u003d provisioning_network \ntask.node.driver_info \u003d driver_info \ntask.node.save()","commit_id":"ae38ca0d3a556d074ac2e8908c26b718e7d55ce2"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"4717959cd22199492e94b8dbfeb8f61aac62be66","unresolved":false,"context_lines":[{"line_number":167,"context_line":"                    group\u003d\u0027neutron\u0027)"},{"line_number":168,"context_line":"        add_ports_mock.return_value \u003d {self.port.uuid: self.neutron_port[\u0027id\u0027]}"},{"line_number":169,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":170,"context_line":"            task.node.driver_info[\u0027provisioning_network\u0027"},{"line_number":171,"context_line":"                                  ] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83f9c\u0027"},{"line_number":172,"context_line":"            provisioning_network \u003d (task.node."},{"line_number":173,"context_line":"                                    driver_info[\u0027provisioning_network\u0027] or"},{"line_number":174,"context_line":"                                    CONF.neutron.provisioning_network)"},{"line_number":175,"context_line":"            self.interface.add_provisioning_network(task)"},{"line_number":176,"context_line":"            rollback_mock.assert_called_once_with("},{"line_number":177,"context_line":"                task, provisioning_network)"}],"source_content_type":"text/x-python","patch_set":14,"id":"7f231b9d_33de5811","line":174,"range":{"start_line":170,"start_character":12,"end_line":174,"end_character":69},"updated":"2017-06-14 04:07:19.000000000","message":"ditto","commit_id":"ae38ca0d3a556d074ac2e8908c26b718e7d55ce2"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"4717959cd22199492e94b8dbfeb8f61aac62be66","unresolved":false,"context_lines":[{"line_number":191,"context_line":"        self.port.internal_info \u003d {\u0027provisioning_vif_port_id\u0027: \u0027vif-port-id\u0027}"},{"line_number":192,"context_line":"        self.port.save()"},{"line_number":193,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":194,"context_line":"            task.node.driver_info[\u0027provisioning_network\u0027"},{"line_number":195,"context_line":"                                  ] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83f9c\u0027"},{"line_number":196,"context_line":"            provisioning_network \u003d (task.node."},{"line_number":197,"context_line":"                                    driver_info[\u0027provisioning_network\u0027] or"},{"line_number":198,"context_line":"                                    CONF.neutron.provisioning_network)"},{"line_number":199,"context_line":"            self.interface.remove_provisioning_network(task)"},{"line_number":200,"context_line":"            remove_ports_mock.assert_called_once_with("},{"line_number":201,"context_line":"                task, provisioning_network)"}],"source_content_type":"text/x-python","patch_set":14,"id":"7f231b9d_d3ea84aa","line":198,"range":{"start_line":194,"start_character":12,"end_line":198,"end_character":70},"updated":"2017-06-14 04:07:19.000000000","message":"ditto","commit_id":"ae38ca0d3a556d074ac2e8908c26b718e7d55ce2"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"4717959cd22199492e94b8dbfeb8f61aac62be66","unresolved":false,"context_lines":[{"line_number":233,"context_line":"                                                    validate_mock):"},{"line_number":234,"context_line":"        add_ports_mock.return_value \u003d {self.port.uuid: self.neutron_port[\u0027id\u0027]}"},{"line_number":235,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":236,"context_line":"            task.node.driver_info["},{"line_number":237,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":238,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":239,"context_line":"                                CONF.neutron.cleaning_network)"},{"line_number":240,"context_line":"            res \u003d self.interface.add_cleaning_network(task)"},{"line_number":241,"context_line":"            rollback_mock.assert_called_with(task, cleaning_network)"},{"line_number":242,"context_line":"            self.assertEqual(res, add_ports_mock.return_value)"}],"source_content_type":"text/x-python","patch_set":14,"id":"7f231b9d_33077885","line":239,"range":{"start_line":236,"start_character":12,"end_line":239,"end_character":62},"updated":"2017-06-14 04:07:19.000000000","message":"ditto","commit_id":"ae38ca0d3a556d074ac2e8908c26b718e7d55ce2"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"4717959cd22199492e94b8dbfeb8f61aac62be66","unresolved":false,"context_lines":[{"line_number":258,"context_line":"            sg_ids.append(uuidutils.generate_uuid())"},{"line_number":259,"context_line":"        self.config(cleaning_network_security_groups\u003dsg_ids, group\u003d\u0027neutron\u0027)"},{"line_number":260,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":261,"context_line":"            task.node.driver_info["},{"line_number":262,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":263,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":264,"context_line":"                                CONF.neutron.cleaning_network)"},{"line_number":265,"context_line":"            res \u003d self.interface.add_cleaning_network(task)"},{"line_number":266,"context_line":"            add_ports_mock.assert_called_once_with("},{"line_number":267,"context_line":"                task, cleaning_network,"}],"source_content_type":"text/x-python","patch_set":14,"id":"7f231b9d_f300e069","line":264,"range":{"start_line":261,"start_character":12,"end_line":264,"end_character":62},"updated":"2017-06-14 04:07:19.000000000","message":"ditto","commit_id":"ae38ca0d3a556d074ac2e8908c26b718e7d55ce2"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"4717959cd22199492e94b8dbfeb8f61aac62be66","unresolved":false,"context_lines":[{"line_number":281,"context_line":"        self.port.internal_info \u003d {\u0027cleaning_vif_port_id\u0027: \u0027vif-port-id\u0027}"},{"line_number":282,"context_line":"        self.port.save()"},{"line_number":283,"context_line":"        with task_manager.acquire(self.context, self.node.id) as task:"},{"line_number":284,"context_line":"            task.node.driver_info["},{"line_number":285,"context_line":"                \u0027cleaning_network\u0027] \u003d \u00273aea0de6-4b92-44da-9aa0-52d134c83fdf\u0027"},{"line_number":286,"context_line":"            cleaning_network \u003d (task.node.driver_info[\u0027cleaning_network\u0027] or"},{"line_number":287,"context_line":"                                CONF.neutron.cleaning_network)"},{"line_number":288,"context_line":"            self.interface.remove_cleaning_network(task)"},{"line_number":289,"context_line":"            remove_ports_mock.assert_called_once_with("},{"line_number":290,"context_line":"                task, cleaning_network)"}],"source_content_type":"text/x-python","patch_set":14,"id":"7f231b9d_d303a472","line":287,"range":{"start_line":284,"start_character":11,"end_line":287,"end_character":62},"updated":"2017-06-14 04:07:19.000000000","message":"ditto","commit_id":"ae38ca0d3a556d074ac2e8908c26b718e7d55ce2"}],"releasenotes/notes/setting_provisioning_cleaning_network-429d2d6338fd3356.yaml":[{"author":{"_account_id":19593,"name":"Anup Navare","email":"anup.d.navare@intel.com","username":"anup"},"change_message_id":"e185ec81e3880e5129c38f94dd24346fbd01d2c3","unresolved":false,"context_lines":[{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Now user can add the provisioning and cleaning"},{"line_number":5,"context_line":"    networks in driver_info of the node. The can"},{"line_number":6,"context_line":"    update the network information using"},{"line_number":7,"context_line":"    \" ironic node-update \u003cnode-uuid\u003e add"},{"line_number":8,"context_line":"    driver_info/provisioning_network\u003d\u003cnet-uuid\u003e"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"ff0f0b1f_112dd745","line":5,"range":{"start_line":5,"start_character":41,"end_line":5,"end_character":44},"updated":"2017-05-26 18:53:26.000000000","message":"May be users instead of they (assuming you meant they here)","commit_id":"5f8f1547e33e43532dbb33676a34cc4c0fabc936"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"517f411ec388d15df381bd3bb4356866992215c6","unresolved":false,"context_lines":[{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Now user can add the provisioning and cleaning"},{"line_number":5,"context_line":"    networks in driver_info of the node. The can"},{"line_number":6,"context_line":"    update the network information using"},{"line_number":7,"context_line":"    \" ironic node-update \u003cnode-uuid\u003e add"},{"line_number":8,"context_line":"    driver_info/provisioning_network\u003d\u003cnet-uuid\u003e"},{"line_number":9,"context_line":"    driver_info/cleaning_network\u003d\u003cnet-uuid\u003e \"."},{"line_number":10,"context_line":"    If these network information is updated in the"},{"line_number":11,"context_line":"    node, at the time of provisioning or cleaning the"},{"line_number":12,"context_line":"    baremetal these network configurations are used,"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"ff0f0b1f_feeb60d9","line":9,"range":{"start_line":5,"start_character":41,"end_line":9,"end_character":46},"updated":"2017-05-26 10:23:58.000000000","message":"I think this line is not needed in release note. Better to remove it.","commit_id":"5f8f1547e33e43532dbb33676a34cc4c0fabc936"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"517f411ec388d15df381bd3bb4356866992215c6","unresolved":false,"context_lines":[{"line_number":7,"context_line":"    \" ironic node-update \u003cnode-uuid\u003e add"},{"line_number":8,"context_line":"    driver_info/provisioning_network\u003d\u003cnet-uuid\u003e"},{"line_number":9,"context_line":"    driver_info/cleaning_network\u003d\u003cnet-uuid\u003e \"."},{"line_number":10,"context_line":"    If these network information is updated in the"},{"line_number":11,"context_line":"    node, at the time of provisioning or cleaning the"},{"line_number":12,"context_line":"    baremetal these network configurations are used,"},{"line_number":13,"context_line":"    if these network configurations are absent in"},{"line_number":14,"context_line":"    driver_info of the node, then ironic uses the"},{"line_number":15,"context_line":"    default network configuration details which"},{"line_number":16,"context_line":"    are present in ironic.conf"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"ff0f0b1f_5ea12c95","line":16,"range":{"start_line":10,"start_character":4,"end_line":16,"end_character":30},"updated":"2017-05-26 10:23:58.000000000","message":"Rephrase:\n\nIf these network information are defined in the\nnode\u0027s driver_info at the time of provisioning or cleaning the baremetal node, these networks will be used. And if not defined, then ironic uses the default network configuration details defined in ironic.conf.","commit_id":"5f8f1547e33e43532dbb33676a34cc4c0fabc936"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"0d89c3d45603a5e412f9f9f80619d0c1293f2efe","unresolved":false,"context_lines":[{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Now user can add the provisioning and cleaning"},{"line_number":5,"context_line":"    networks in driver_info of the node."},{"line_number":6,"context_line":"    If these network information are defined in the"},{"line_number":7,"context_line":"    node\u0027s driver_info at the time of provisioning"},{"line_number":8,"context_line":"    or cleaning the baremetal node, these networks"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"df140735_306fd093","line":5,"range":{"start_line":5,"start_character":16,"end_line":5,"end_character":40},"updated":"2017-06-07 05:45:40.000000000","message":"Need to mention the keys to be used to populate into driver_info.\n\u0027User can specify the provisioning and cleaning networks in ``driver_info`` of the node as ``driver_info[\u0027cleaning_network \u0027]`` and ``driver_info[\u0027provisioning_network\u0027]`` respectively.","commit_id":"932a42234ecd4094aa2358469fb1ce84ad8ce9c7"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"0d89c3d45603a5e412f9f9f80619d0c1293f2efe","unresolved":false,"context_lines":[{"line_number":6,"context_line":"    If these network information are defined in the"},{"line_number":7,"context_line":"    node\u0027s driver_info at the time of provisioning"},{"line_number":8,"context_line":"    or cleaning the baremetal node, these networks"},{"line_number":9,"context_line":"    will be used. And if not defined, then ironic"},{"line_number":10,"context_line":"    uses the default network configuration details"},{"line_number":11,"context_line":"    defined in ironic.conf."}],"source_content_type":"text/x-yaml","patch_set":11,"id":"df140735_70e0a8fb","line":9,"range":{"start_line":9,"start_character":19,"end_line":9,"end_character":37},"updated":"2017-06-07 05:45:40.000000000","message":"s/ \u0027And if not defined, then \u0027 / \u0027If this network information is not specified in node\u0027s \u0027driver_info\u0027 then \u0027/","commit_id":"932a42234ecd4094aa2358469fb1ce84ad8ce9c7"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"0d89c3d45603a5e412f9f9f80619d0c1293f2efe","unresolved":false,"context_lines":[{"line_number":7,"context_line":"    node\u0027s driver_info at the time of provisioning"},{"line_number":8,"context_line":"    or cleaning the baremetal node, these networks"},{"line_number":9,"context_line":"    will be used. And if not defined, then ironic"},{"line_number":10,"context_line":"    uses the default network configuration details"},{"line_number":11,"context_line":"    defined in ironic.conf."}],"source_content_type":"text/x-yaml","patch_set":11,"id":"df140735_90db3c4e","line":11,"range":{"start_line":10,"start_character":43,"end_line":11,"end_character":11},"updated":"2017-06-07 05:45:40.000000000","message":"s/ \u0027details defined in ironic.conf\u0027 / \u0027given in the ironic.conf\u0027","commit_id":"932a42234ecd4094aa2358469fb1ce84ad8ce9c7"},{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"f374c8416dee0f9d1df87766ceee62c9cb894411","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    Now user can add the provisioning and cleaning"},{"line_number":5,"context_line":"    networks in driver_info of the node."},{"line_number":6,"context_line":"    User can specify the provisioning and cleaning"},{"line_number":7,"context_line":"    networks in ``driver_info`` of the node as "},{"line_number":8,"context_line":"    ``driver_info[\u0027cleaning_network\u0027]`` and "},{"line_number":9,"context_line":"    ``driver_info[\u0027provisioning_network\u0027]``"},{"line_number":10,"context_line":"    respectively."}],"source_content_type":"text/x-yaml","patch_set":12,"id":"df140735_9b98fd1b","line":7,"range":{"start_line":7,"start_character":46,"end_line":7,"end_character":47},"updated":"2017-06-07 06:45:38.000000000","message":"white space","commit_id":"70e9a704ffbf89ec7bbfebe5dcaceae878b5218c"},{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"f374c8416dee0f9d1df87766ceee62c9cb894411","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    networks in driver_info of the node."},{"line_number":6,"context_line":"    User can specify the provisioning and cleaning"},{"line_number":7,"context_line":"    networks in ``driver_info`` of the node as "},{"line_number":8,"context_line":"    ``driver_info[\u0027cleaning_network\u0027]`` and "},{"line_number":9,"context_line":"    ``driver_info[\u0027provisioning_network\u0027]``"},{"line_number":10,"context_line":"    respectively."},{"line_number":11,"context_line":"    If these network information are defined in the"}],"source_content_type":"text/x-yaml","patch_set":12,"id":"df140735_fb9019f0","line":8,"range":{"start_line":8,"start_character":43,"end_line":8,"end_character":44},"updated":"2017-06-07 06:45:38.000000000","message":"white space","commit_id":"70e9a704ffbf89ec7bbfebe5dcaceae878b5218c"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"ae8fadb78f538d4f90ebe4c836c39a863c2d3181","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    networks in driver_info of the node."},{"line_number":6,"context_line":"    User can specify the provisioning and cleaning"},{"line_number":7,"context_line":"    networks in ``driver_info`` of the node as"},{"line_number":8,"context_line":"    ``driver_info[\u0027cleaning_network\u0027]`` and"},{"line_number":9,"context_line":"    ``driver_info[\u0027provisioning_network\u0027]``"},{"line_number":10,"context_line":"    respectively."},{"line_number":11,"context_line":"    If these network information are defined in the"},{"line_number":12,"context_line":"    node\u0027s driver_info at the time of provisioning"}],"source_content_type":"text/x-yaml","patch_set":15,"id":"7f231b9d_db53806a","line":9,"range":{"start_line":8,"start_character":0,"end_line":9,"end_character":43},"updated":"2017-06-15 18:11:18.000000000","message":"This capability is much too impactful to only place in a  release note that might never be actually seen by an operator. This should be in our documentation tree as well.","commit_id":"13570b2460e13f49b9131185d1e0e213066f3e27"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"5a1b0eca425233fec735f3c103c60f65814216ac","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    networks in driver_info of the node."},{"line_number":6,"context_line":"    User can specify the provisioning and cleaning"},{"line_number":7,"context_line":"    networks in ``driver_info`` of the node as"},{"line_number":8,"context_line":"    ``driver_info[\u0027cleaning_network\u0027]`` and"},{"line_number":9,"context_line":"    ``driver_info[\u0027provisioning_network\u0027]``"},{"line_number":10,"context_line":"    respectively."},{"line_number":11,"context_line":"    If these network information are defined in the"},{"line_number":12,"context_line":"    node\u0027s driver_info at the time of provisioning"}],"source_content_type":"text/x-yaml","patch_set":15,"id":"5f201791_906712ea","line":9,"range":{"start_line":8,"start_character":0,"end_line":9,"end_character":43},"in_reply_to":"7f231b9d_db53806a","updated":"2017-06-27 12:16:27.000000000","message":"+100 to adding docs about this change. This change affects how conductors are deployed because every conductor needs to be connected to every network that can be set in driver_info[\u0027{cleaning,provisioning}_network\u0027] because node to conductor placement isn\u0027t currently decided based on what networks are available to a conductor.","commit_id":"13570b2460e13f49b9131185d1e0e213066f3e27"}],"releasenotes/notes/setting_provisioning_cleaning_network-72897cd8293f4b8f.yaml":[{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"b5ad7e54b0805e4ef75c503270cb6449fa0cc6f5","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"    Now user can add the provisioning and cleaning"},{"line_number":4,"context_line":"    networks in driver_info of the node. The can "},{"line_number":5,"context_line":"    update the network information using"},{"line_number":6,"context_line":"    \" ironic node-update \u003cnode-uuid\u003e add"},{"line_number":7,"context_line":"    driver_info/provisioning_network\u003d3aea0de6-4b92-44da-9aa0-52d134c83f9c"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"5ff73747_c914ee46","line":4,"range":{"start_line":4,"start_character":48,"end_line":4,"end_character":49},"updated":"2017-04-27 15:54:18.000000000","message":"extra space.","commit_id":"8e200ea0ae1413fa5bb1fa14f1885fe5fcb154b8"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"b5ad7e54b0805e4ef75c503270cb6449fa0cc6f5","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    networks in driver_info of the node. The can "},{"line_number":5,"context_line":"    update the network information using"},{"line_number":6,"context_line":"    \" ironic node-update \u003cnode-uuid\u003e add"},{"line_number":7,"context_line":"    driver_info/provisioning_network\u003d3aea0de6-4b92-44da-9aa0-52d134c83f9c"},{"line_number":8,"context_line":"    driver_info/cleaning_network\u003d3aea0de6-4b92-44da-9aa0-52d134c83fdf \"."},{"line_number":9,"context_line":"    If these network information is updated in the"},{"line_number":10,"context_line":"    node, at the time of provisioning the baremetal"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"5ff73747_494fbe6a","line":7,"range":{"start_line":7,"start_character":37,"end_line":7,"end_character":73},"updated":"2017-04-27 15:54:18.000000000","message":"better replace with \u003cnet-uuid\u003e?","commit_id":"8e200ea0ae1413fa5bb1fa14f1885fe5fcb154b8"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"b5ad7e54b0805e4ef75c503270cb6449fa0cc6f5","unresolved":false,"context_lines":[{"line_number":7,"context_line":"    driver_info/provisioning_network\u003d3aea0de6-4b92-44da-9aa0-52d134c83f9c"},{"line_number":8,"context_line":"    driver_info/cleaning_network\u003d3aea0de6-4b92-44da-9aa0-52d134c83fdf \"."},{"line_number":9,"context_line":"    If these network information is updated in the"},{"line_number":10,"context_line":"    node, at the time of provisioning the baremetal"},{"line_number":11,"context_line":"    these network details are used, if these network"},{"line_number":12,"context_line":"    details are not updated in node, then ironic uses"},{"line_number":13,"context_line":"    the default network configuration details which"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"5ff73747_c96bceb4","line":10,"range":{"start_line":10,"start_character":25,"end_line":10,"end_character":37},"updated":"2017-04-27 15:54:18.000000000","message":"provisioning or cleaning","commit_id":"8e200ea0ae1413fa5bb1fa14f1885fe5fcb154b8"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"b5ad7e54b0805e4ef75c503270cb6449fa0cc6f5","unresolved":false,"context_lines":[{"line_number":8,"context_line":"    driver_info/cleaning_network\u003d3aea0de6-4b92-44da-9aa0-52d134c83fdf \"."},{"line_number":9,"context_line":"    If these network information is updated in the"},{"line_number":10,"context_line":"    node, at the time of provisioning the baremetal"},{"line_number":11,"context_line":"    these network details are used, if these network"},{"line_number":12,"context_line":"    details are not updated in node, then ironic uses"},{"line_number":13,"context_line":"    the default network configuration details which"},{"line_number":14,"context_line":"    are present in ironic.conf"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"5ff73747_29f0f2fd","line":11,"range":{"start_line":11,"start_character":18,"end_line":11,"end_character":25},"updated":"2017-04-27 15:54:18.000000000","message":"prefer s/details/configurations/","commit_id":"8e200ea0ae1413fa5bb1fa14f1885fe5fcb154b8"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"b5ad7e54b0805e4ef75c503270cb6449fa0cc6f5","unresolved":false,"context_lines":[{"line_number":9,"context_line":"    If these network information is updated in the"},{"line_number":10,"context_line":"    node, at the time of provisioning the baremetal"},{"line_number":11,"context_line":"    these network details are used, if these network"},{"line_number":12,"context_line":"    details are not updated in node, then ironic uses"},{"line_number":13,"context_line":"    the default network configuration details which"},{"line_number":14,"context_line":"    are present in ironic.conf"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"5ff73747_29d9127e","line":12,"range":{"start_line":12,"start_character":4,"end_line":12,"end_character":11},"updated":"2017-04-27 15:54:18.000000000","message":"ditto","commit_id":"8e200ea0ae1413fa5bb1fa14f1885fe5fcb154b8"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"b5ad7e54b0805e4ef75c503270cb6449fa0cc6f5","unresolved":false,"context_lines":[{"line_number":9,"context_line":"    If these network information is updated in the"},{"line_number":10,"context_line":"    node, at the time of provisioning the baremetal"},{"line_number":11,"context_line":"    these network details are used, if these network"},{"line_number":12,"context_line":"    details are not updated in node, then ironic uses"},{"line_number":13,"context_line":"    the default network configuration details which"},{"line_number":14,"context_line":"    are present in ironic.conf"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"5ff73747_896b8683","line":12,"range":{"start_line":12,"start_character":16,"end_line":12,"end_character":35},"updated":"2017-04-27 15:54:18.000000000","message":"s/not updated in node/absent in driver_info of the node/","commit_id":"8e200ea0ae1413fa5bb1fa14f1885fe5fcb154b8"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"0b5a80f638dcda0b19734cef28f060042cfd1f5d","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"    Now user can add the provisioning and cleaning"},{"line_number":4,"context_line":"    networks in driver_info of the node. The can"},{"line_number":5,"context_line":"    update the network information using"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"5ff73747_4a6510b4","line":2,"range":{"start_line":2,"start_character":0,"end_line":2,"end_character":9},"updated":"2017-05-02 09:55:50.000000000","message":"Formatting has goofed up here.\nhttp://docs-draft.openstack.org/64/460564/2/check/gate-ironic-releasenotes/5c16be7//releasenotes/build/html/unreleased.html","commit_id":"e96bd9d1f2f6d8c46ff05ba73c9d81dc30f31a25"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"8964478da92a6136f6e8b548e1b90147e0fa5c33","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":"    Now user can add the provisioning and cleaning"},{"line_number":5,"context_line":"    networks in driver_info of the node. The can"},{"line_number":6,"context_line":"    update the network information using"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"ff0f0b1f_73941b45","line":3,"range":{"start_line":3,"start_character":5,"end_line":3,"end_character":7},"updated":"2017-05-18 12:30:42.000000000","message":"Nit: Additional spaces","commit_id":"53f50e37de0802400dde74c6c43b01c0316d91d0"}],"releasenotes/notes/setting_provisioning_cleaning_network-fb60caa1cf59cdcf.yaml":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e7b669ff804604cf90ca87744b30964423b92099","unresolved":false,"context_lines":[{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Now user can add the provisioning and cleaning"},{"line_number":5,"context_line":"    networks in driver_info of the node."},{"line_number":6,"context_line":"    User can specify the provisioning and cleaning"},{"line_number":7,"context_line":"    networks in ``driver_info`` of the node as"},{"line_number":8,"context_line":"    ``driver_info[\u0027cleaning_network\u0027]`` and"}],"source_content_type":"text/x-yaml","patch_set":24,"id":"1f1a1f67_5f575559","line":5,"updated":"2017-07-18 08:22:09.000000000","message":"this sentence seems redundant, the next one explains the matter pretty well","commit_id":"186912a69e24e863e9853ef88a2665ba810812e2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e7b669ff804604cf90ca87744b30964423b92099","unresolved":false,"context_lines":[{"line_number":14,"context_line":"    will be used. If this network information is"},{"line_number":15,"context_line":"    not specified in node\u0027s `driver_info` then ironic"},{"line_number":16,"context_line":"    uses the default network configuration given"},{"line_number":17,"context_line":"    in ironic.conf."}],"source_content_type":"text/x-yaml","patch_set":24,"id":"1f1a1f67_3f549952","line":17,"updated":"2017-07-18 08:22:09.000000000","message":"this whole note has a bit unusual wrapping. could you please wrap it at column 79 instead?","commit_id":"186912a69e24e863e9853ef88a2665ba810812e2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"4bc2d39ba66c99c7d566ca0d825e1f797ad63d61","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":"    [`bug 1614876 \u003chttps://bugs.launchpad.net/ironic/+bug/1614876\u003e`_]"},{"line_number":5,"context_line":"    User can specify the provisioning and cleaning networks in ``driver_info``"},{"line_number":6,"context_line":"    of the node as ``driver_info[\u0027cleaning_network\u0027]`` and"},{"line_number":7,"context_line":"    ``driver_info[\u0027provisioning_network\u0027]`` respectively. If these network"}],"source_content_type":"text/x-yaml","patch_set":25,"id":"1f1a1f67_af90fb96","line":4,"updated":"2017-07-21 07:54:23.000000000","message":"please move the bug reference to the end","commit_id":"2fb4fb23b800e5a03cf9a97cdfaf6a779bf08641"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"4bc2d39ba66c99c7d566ca0d825e1f797ad63d61","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    User can specify the provisioning and cleaning networks in ``driver_info``"},{"line_number":6,"context_line":"    of the node as ``driver_info[\u0027cleaning_network\u0027]`` and"},{"line_number":7,"context_line":"    ``driver_info[\u0027provisioning_network\u0027]`` respectively. If these network"},{"line_number":8,"context_line":"    information are defined in the node\u0027s driver_info at the time of"},{"line_number":9,"context_line":"    provisioning or cleaning the baremetal node, these networks will be used."},{"line_number":10,"context_line":"    If this network information is not specified in node\u0027s `driver_info` then"},{"line_number":11,"context_line":"    ironic uses the default network configuration given in ironic.conf."}],"source_content_type":"text/x-yaml","patch_set":25,"id":"1f1a1f67_8f8d3f7d","line":8,"updated":"2017-07-21 07:54:23.000000000","message":"s/information/values/ (or keys)","commit_id":"2fb4fb23b800e5a03cf9a97cdfaf6a779bf08641"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"55532e746b70e50e3e87b92e4467c4a9e7acdb6a","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":"    User can specify the provisioning and cleaning networks in ``driver_info``"},{"line_number":5,"context_line":"    of the node as ``driver_info[\u0027cleaning_network\u0027]`` and"},{"line_number":6,"context_line":"    ``driver_info[\u0027provisioning_network\u0027]`` respectively. If these network"},{"line_number":7,"context_line":"    values are defined in the node\u0027s driver_info at the time of"}],"source_content_type":"text/x-yaml","patch_set":26,"id":"3f4b6375_d1eaef0c","line":4,"range":{"start_line":4,"start_character":4,"end_line":4,"end_character":8},"updated":"2017-11-07 13:05:52.000000000","message":"\"Users\" or \"A user\"","commit_id":"6fac05ca08299882f9d6129f38bf7156fb1526fd"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"55532e746b70e50e3e87b92e4467c4a9e7acdb6a","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    User can specify the provisioning and cleaning networks in ``driver_info``"},{"line_number":5,"context_line":"    of the node as ``driver_info[\u0027cleaning_network\u0027]`` and"},{"line_number":6,"context_line":"    ``driver_info[\u0027provisioning_network\u0027]`` respectively. If these network"},{"line_number":7,"context_line":"    values are defined in the node\u0027s driver_info at the time of"},{"line_number":8,"context_line":"    provisioning or cleaning the baremetal node, these networks will be used."},{"line_number":9,"context_line":"    If this network information is not specified in node\u0027s `driver_info` then"}],"source_content_type":"text/x-yaml","patch_set":26,"id":"3f4b6375_b1ed3326","line":6,"range":{"start_line":6,"start_character":67,"end_line":6,"end_character":74},"updated":"2017-11-07 13:05:52.000000000","message":"s/network//","commit_id":"6fac05ca08299882f9d6129f38bf7156fb1526fd"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"55532e746b70e50e3e87b92e4467c4a9e7acdb6a","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    of the node as ``driver_info[\u0027cleaning_network\u0027]`` and"},{"line_number":6,"context_line":"    ``driver_info[\u0027provisioning_network\u0027]`` respectively. If these network"},{"line_number":7,"context_line":"    values are defined in the node\u0027s driver_info at the time of"},{"line_number":8,"context_line":"    provisioning or cleaning the baremetal node, these networks will be used."},{"line_number":9,"context_line":"    If this network information is not specified in node\u0027s `driver_info` then"},{"line_number":10,"context_line":"    ironic uses the default network configuration given in ironic.conf."},{"line_number":11,"context_line":"    [`bug 1614876 \u003chttps://bugs.launchpad.net/ironic/+bug/1614876\u003e`_]"}],"source_content_type":"text/x-yaml","patch_set":26,"id":"3f4b6375_71f33b0a","line":8,"updated":"2017-11-07 13:05:52.000000000","message":"\"of a bare metal node\"","commit_id":"6fac05ca08299882f9d6129f38bf7156fb1526fd"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"55532e746b70e50e3e87b92e4467c4a9e7acdb6a","unresolved":false,"context_lines":[{"line_number":8,"context_line":"    provisioning or cleaning the baremetal node, these networks will be used."},{"line_number":9,"context_line":"    If this network information is not specified in node\u0027s `driver_info` then"},{"line_number":10,"context_line":"    ironic uses the default network configuration given in ironic.conf."},{"line_number":11,"context_line":"    [`bug 1614876 \u003chttps://bugs.launchpad.net/ironic/+bug/1614876\u003e`_]"}],"source_content_type":"text/x-yaml","patch_set":26,"id":"3f4b6375_51deff6c","line":11,"range":{"start_line":11,"start_character":4,"end_line":11,"end_character":5},"updated":"2017-11-07 13:05:52.000000000","message":"nit: please use round brackets ()","commit_id":"6fac05ca08299882f9d6129f38bf7156fb1526fd"},{"author":{"_account_id":14525,"name":"Vasyl Saienko","email":"vsaienko@mirantis.com","username":"vsaienko"},"change_message_id":"9819f0b1f86c486a2544f11582494d7c7580e2cf","unresolved":false,"context_lines":[{"line_number":7,"context_line":"    values are defined in the node\u0027s driver_info at the time of"},{"line_number":8,"context_line":"    provisioning or cleaning the baremetal node, they will be used."},{"line_number":9,"context_line":"    Otherwise, the configuration options ``cleaning_network`` and"},{"line_number":10,"context_line":"    ``provisioning_network`` are used as before."},{"line_number":11,"context_line":"fixes:"},{"line_number":12,"context_line":"  - |"},{"line_number":13,"context_line":"    A network UUID for provisioning and cleaning network is no longer cached"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"7f96bb07_70d15f57","line":10,"updated":"2018-01-23 12:55:11.000000000","message":"Moreover having this implemented now there is a possibility to split huge network domains when `flat` network interface is used to smaller separate networks.","commit_id":"69d7cdebd2d435ca23b7c1288251a57db18a10b1"}]}
