)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"bee137ed3169c517100fcaee95bddefc484dd1a7","unresolved":false,"context_lines":[{"line_number":10,"context_line":"Both neutron server side and L3 agent side settings"},{"line_number":11,"context_line":"will be introduced in this patch."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Based on changes, neutron:"},{"line_number":14,"context_line":"I4efe9e49d268dffeb3df4de4ea1780152218633b"},{"line_number":15,"context_line":"Ie8a5fe4ebaeccfb3998732dd972663c54542b5bf"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Openstack client:"},{"line_number":18,"context_line":"I932b32f78cc5a2b53926feaec1a0b392cf7e8b57"},{"line_number":19,"context_line":"Id0c2fa586746bb3bd9ee1b495a774964e5ff7024"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Partially-Implements blueprint: floating-ip-rate-limit"},{"line_number":22,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"bf8cb3f7_1832cbf2","line":19,"range":{"start_line":13,"start_character":0,"end_line":19,"end_character":41},"updated":"2017-12-21 02:13:42.000000000","message":"Too much depends, will remove next patch.","commit_id":"5ea443bc86412759c36cca5287c7e069698c8070"}],"doc/source/admin/config-qos.rst":[{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"3787d5ae3af335e0be0156ed957a450630b7750d","unresolved":false,"context_lines":[{"line_number":360,"context_line":"   value is too high, too few packets could be limited and achieved bandwidth"},{"line_number":361,"context_line":"   limit would be higher than expected."},{"line_number":362,"context_line":""},{"line_number":363,"context_line":"Associate the created policy with an existing floating IP."},{"line_number":364,"context_line":"In order to do this, user extracts the floating IP id to be associated to"},{"line_number":365,"context_line":"the already created policy. In the next example, we will assign the"},{"line_number":366,"context_line":"``test-policy`` qos policy to the floating IP address ``172.16.100.18``."}],"source_content_type":"text/x-rst","patch_set":1,"id":"df87a7cf_67e70fae","line":363,"range":{"start_line":363,"start_character":0,"end_line":363,"end_character":58},"updated":"2017-12-08 23:12:19.000000000","message":"Looking at the way this is rendered in the docs, a better transition can be achieved if we rephrase this as:\n\nThe created policy can be associated with an existing floating IP.","commit_id":"3798f9301aded8449d470cffe44b62056d75878e"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"f043a57e916620dc178cc7744207b9a8b00088a3","unresolved":false,"context_lines":[{"line_number":360,"context_line":"   value is too high, too few packets could be limited and achieved bandwidth"},{"line_number":361,"context_line":"   limit would be higher than expected."},{"line_number":362,"context_line":""},{"line_number":363,"context_line":"Associate the created policy with an existing floating IP."},{"line_number":364,"context_line":"In order to do this, user extracts the floating IP id to be associated to"},{"line_number":365,"context_line":"the already created policy. In the next example, we will assign the"},{"line_number":366,"context_line":"``test-policy`` qos policy to the floating IP address ``172.16.100.18``."}],"source_content_type":"text/x-rst","patch_set":1,"id":"df87a7cf_b8a776bd","line":363,"range":{"start_line":363,"start_character":0,"end_line":363,"end_character":58},"in_reply_to":"df87a7cf_67e70fae","updated":"2017-12-10 12:38:14.000000000","message":"Done","commit_id":"3798f9301aded8449d470cffe44b62056d75878e"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"3787d5ae3af335e0be0156ed957a450630b7750d","unresolved":false,"context_lines":[{"line_number":363,"context_line":"Associate the created policy with an existing floating IP."},{"line_number":364,"context_line":"In order to do this, user extracts the floating IP id to be associated to"},{"line_number":365,"context_line":"the already created policy. In the next example, we will assign the"},{"line_number":366,"context_line":"``test-policy`` qos policy to the floating IP address ``172.16.100.18``."},{"line_number":367,"context_line":""},{"line_number":368,"context_line":".. code-block:: console"},{"line_number":369,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"df87a7cf_07f88346","line":366,"range":{"start_line":366,"start_character":1,"end_line":366,"end_character":15},"updated":"2017-12-08 23:12:19.000000000","message":"why not stick to bw-limiter like the rest of the section?","commit_id":"3798f9301aded8449d470cffe44b62056d75878e"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"f043a57e916620dc178cc7744207b9a8b00088a3","unresolved":false,"context_lines":[{"line_number":363,"context_line":"Associate the created policy with an existing floating IP."},{"line_number":364,"context_line":"In order to do this, user extracts the floating IP id to be associated to"},{"line_number":365,"context_line":"the already created policy. In the next example, we will assign the"},{"line_number":366,"context_line":"``test-policy`` qos policy to the floating IP address ``172.16.100.18``."},{"line_number":367,"context_line":""},{"line_number":368,"context_line":".. code-block:: console"},{"line_number":369,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"df87a7cf_58a8aa8a","line":366,"range":{"start_line":366,"start_character":1,"end_line":366,"end_character":15},"in_reply_to":"df87a7cf_07f88346","updated":"2017-12-10 12:38:14.000000000","message":"Done, its my local test env resource name, : )","commit_id":"3798f9301aded8449d470cffe44b62056d75878e"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"3787d5ae3af335e0be0156ed957a450630b7750d","unresolved":false,"context_lines":[{"line_number":378,"context_line":""},{"line_number":379,"context_line":".. code-block:: console"},{"line_number":380,"context_line":""},{"line_number":381,"context_line":"   $ openstack floating ip set --qos-policy test-policy d0ed7491-3eb7-4c4f-a0f0-df04f10a067c"},{"line_number":382,"context_line":""},{"line_number":383,"context_line":"In order to detach a floating IP from the QoS policy, simply update again the"},{"line_number":384,"context_line":"floating IP configuration."}],"source_content_type":"text/x-rst","patch_set":1,"id":"df87a7cf_679cef0d","line":381,"range":{"start_line":381,"start_character":44,"end_line":381,"end_character":55},"updated":"2017-12-08 23:12:19.000000000","message":"Ditto","commit_id":"3798f9301aded8449d470cffe44b62056d75878e"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"f043a57e916620dc178cc7744207b9a8b00088a3","unresolved":false,"context_lines":[{"line_number":378,"context_line":""},{"line_number":379,"context_line":".. code-block:: console"},{"line_number":380,"context_line":""},{"line_number":381,"context_line":"   $ openstack floating ip set --qos-policy test-policy d0ed7491-3eb7-4c4f-a0f0-df04f10a067c"},{"line_number":382,"context_line":""},{"line_number":383,"context_line":"In order to detach a floating IP from the QoS policy, simply update again the"},{"line_number":384,"context_line":"floating IP configuration."}],"source_content_type":"text/x-rst","patch_set":1,"id":"df87a7cf_78ad6e99","line":381,"range":{"start_line":381,"start_character":44,"end_line":381,"end_character":55},"in_reply_to":"df87a7cf_679cef0d","updated":"2017-12-10 12:38:14.000000000","message":"Done","commit_id":"3798f9301aded8449d470cffe44b62056d75878e"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"3787d5ae3af335e0be0156ed957a450630b7750d","unresolved":false,"context_lines":[{"line_number":397,"context_line":""},{"line_number":398,"context_line":".. code-block:: console"},{"line_number":399,"context_line":""},{"line_number":400,"context_line":"   $ openstack floating ip create --qos-policy test-policy public"},{"line_number":401,"context_line":"   +---------------------+--------------------------------------+"},{"line_number":402,"context_line":"   | Field               | Value                                |"},{"line_number":403,"context_line":"   +---------------------+--------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":1,"id":"df87a7cf_e78f9fca","line":400,"range":{"start_line":400,"start_character":47,"end_line":400,"end_character":58},"updated":"2017-12-08 23:12:19.000000000","message":"Ditto","commit_id":"3798f9301aded8449d470cffe44b62056d75878e"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"f043a57e916620dc178cc7744207b9a8b00088a3","unresolved":false,"context_lines":[{"line_number":397,"context_line":""},{"line_number":398,"context_line":".. code-block:: console"},{"line_number":399,"context_line":""},{"line_number":400,"context_line":"   $ openstack floating ip create --qos-policy test-policy public"},{"line_number":401,"context_line":"   +---------------------+--------------------------------------+"},{"line_number":402,"context_line":"   | Field               | Value                                |"},{"line_number":403,"context_line":"   +---------------------+--------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":1,"id":"df87a7cf_3893665d","line":400,"range":{"start_line":400,"start_character":47,"end_line":400,"end_character":58},"in_reply_to":"df87a7cf_e78f9fca","updated":"2017-12-10 12:38:14.000000000","message":"Done","commit_id":"3798f9301aded8449d470cffe44b62056d75878e"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"ec60a0732bfd26c9caf71258f7d7b532296f4516","unresolved":false,"context_lines":[{"line_number":147,"context_line":"#. Optionally, in order to make the floating IP qos take effect, set the"},{"line_number":148,"context_line":"   ``extensions`` to include ``fip_qos`` in the ``[agent]`` section of the"},{"line_number":149,"context_line":"   configuration file ``/etc/neutron/l3_agent.ini``. If ``dvr`` is enabled,"},{"line_number":150,"context_line":"   set it to all the l3 agents to make ``dvr`` floating IPs covered."},{"line_number":151,"context_line":"   For example:"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"   .. code-block:: ini"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_333b00d2","line":150,"range":{"start_line":150,"start_character":3,"end_line":150,"end_character":67},"updated":"2017-12-14 23:56:49.000000000","message":"I find this a little confusing. Consider the following version:\n\nset it in all the L3 agents to include ``dvr`` floating IPs","commit_id":"128b90f49b8c895286b3887f859ee5f1c756a90a"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"e0b79840bbe8c8cec7bafd41025f296db822c2aa","unresolved":false,"context_lines":[{"line_number":147,"context_line":"#. Optionally, in order to make the floating IP qos take effect, set the"},{"line_number":148,"context_line":"   ``extensions`` to include ``fip_qos`` in the ``[agent]`` section of the"},{"line_number":149,"context_line":"   configuration file ``/etc/neutron/l3_agent.ini``. If ``dvr`` is enabled,"},{"line_number":150,"context_line":"   set it to all the l3 agents to make ``dvr`` floating IPs covered."},{"line_number":151,"context_line":"   For example:"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"   .. code-block:: ini"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_c283db55","line":150,"range":{"start_line":150,"start_character":3,"end_line":150,"end_character":67},"in_reply_to":"df87a7cf_333b00d2","updated":"2017-12-15 02:39:39.000000000","message":"Done","commit_id":"128b90f49b8c895286b3887f859ee5f1c756a90a"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"ec60a0732bfd26c9caf71258f7d7b532296f4516","unresolved":false,"context_lines":[{"line_number":417,"context_line":"   | updated_at          | 2017-12-06T02:12:09Z                 |"},{"line_number":418,"context_line":"   +---------------------+--------------------------------------+"},{"line_number":419,"context_line":""},{"line_number":420,"context_line":"Associate the floating IP to a port to make the qos bandwidth_limit rules"},{"line_number":421,"context_line":"essentially work. For example, associate the former created floating IP"},{"line_number":422,"context_line":"``172.16.100.12`` to instance network port with fixed IP ``192.168.222.5``:"},{"line_number":423,"context_line":""},{"line_number":424,"context_line":".. code-block:: console"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_33dc6073","line":421,"range":{"start_line":420,"start_character":0,"end_line":421,"end_character":16},"updated":"2017-12-14 23:56:49.000000000","message":"I also find this sentence a little confusing. Consider the following alternative:\n\nThe QoS bandwidth limit rules attached to a floating IP will become active when you associate the latter with a port.","commit_id":"128b90f49b8c895286b3887f859ee5f1c756a90a"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"e0b79840bbe8c8cec7bafd41025f296db822c2aa","unresolved":false,"context_lines":[{"line_number":417,"context_line":"   | updated_at          | 2017-12-06T02:12:09Z                 |"},{"line_number":418,"context_line":"   +---------------------+--------------------------------------+"},{"line_number":419,"context_line":""},{"line_number":420,"context_line":"Associate the floating IP to a port to make the qos bandwidth_limit rules"},{"line_number":421,"context_line":"essentially work. For example, associate the former created floating IP"},{"line_number":422,"context_line":"``172.16.100.12`` to instance network port with fixed IP ``192.168.222.5``:"},{"line_number":423,"context_line":""},{"line_number":424,"context_line":".. code-block:: console"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_e2861f66","line":421,"range":{"start_line":420,"start_character":0,"end_line":421,"end_character":16},"in_reply_to":"df87a7cf_33dc6073","updated":"2017-12-15 02:39:39.000000000","message":"Done","commit_id":"128b90f49b8c895286b3887f859ee5f1c756a90a"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"3482b65217299bf975c66e6b7c74fd078e6beddc","unresolved":false,"context_lines":[{"line_number":458,"context_line":""},{"line_number":459,"context_line":"   $ openstack floating ip set --port a7f25e73-4288-4a16-93b9-b71e6fd00862 \\"},{"line_number":460,"context_line":"       0eeb1f8a-de96-4cd9-a0f6-3f535c409558"},{"line_number":461,"context_line":""},{"line_number":462,"context_line":"Each project can have at most one default QoS policy, although it is not"},{"line_number":463,"context_line":"mandatory. If a default QoS policy is defined, all new networks created within"},{"line_number":464,"context_line":"this project will have this policy assigned, as long as no other QoS policy is"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_72dbf84e","line":461,"updated":"2017-12-13 09:42:54.000000000","message":"Personally I would add here also note that if QoS policy contains any other rule types (like DSCP marking) such rules would be ignored and will not have any effect when associated with FIP","commit_id":"128b90f49b8c895286b3887f859ee5f1c756a90a"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"66cdbbf054c167279831227b44b8f9cf65b0de37","unresolved":false,"context_lines":[{"line_number":458,"context_line":""},{"line_number":459,"context_line":"   $ openstack floating ip set --port a7f25e73-4288-4a16-93b9-b71e6fd00862 \\"},{"line_number":460,"context_line":"       0eeb1f8a-de96-4cd9-a0f6-3f535c409558"},{"line_number":461,"context_line":""},{"line_number":462,"context_line":"Each project can have at most one default QoS policy, although it is not"},{"line_number":463,"context_line":"mandatory. If a default QoS policy is defined, all new networks created within"},{"line_number":464,"context_line":"this project will have this policy assigned, as long as no other QoS policy is"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_d8c53e0c","line":461,"in_reply_to":"df87a7cf_72dbf84e","updated":"2017-12-13 14:38:33.000000000","message":"Done","commit_id":"128b90f49b8c895286b3887f859ee5f1c756a90a"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"7914236881892af163e8a9a3272aeda47a378293","unresolved":false,"context_lines":[{"line_number":102,"context_line":"   section in ``/etc/neutron/neutron.conf`` (``message_queue`` is the"},{"line_number":103,"context_line":"   default)."},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"#. Optionally, in order to enable the floating IP qos extension ``qos-fip``,"},{"line_number":106,"context_line":"   the ``service_plugins`` must contain both ``router`` and ``qos`` in"},{"line_number":107,"context_line":"   ``/etc/neutron/neutron.conf``. For example:"},{"line_number":108,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"df87a7cf_b56cbd9c","line":105,"range":{"start_line":105,"start_character":50,"end_line":105,"end_character":53},"updated":"2017-12-15 22:23:09.000000000","message":"QoS","commit_id":"e4d672d149a537d38df38cf226e3b1fd1f2d32e2"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"7914236881892af163e8a9a3272aeda47a378293","unresolved":false,"context_lines":[{"line_number":103,"context_line":"   default)."},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"#. Optionally, in order to enable the floating IP qos extension ``qos-fip``,"},{"line_number":106,"context_line":"   the ``service_plugins`` must contain both ``router`` and ``qos`` in"},{"line_number":107,"context_line":"   ``/etc/neutron/neutron.conf``. For example:"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"   .. code-block:: none"},{"line_number":110,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"df87a7cf_5a2a3e2c","line":107,"range":{"start_line":106,"start_character":3,"end_line":107,"end_character":32},"updated":"2017-12-15 22:23:09.000000000","message":"set the ``service_plugins`` option in ``/etc/neutron/neutron.conf`` to include ``router`` and ``qos``.","commit_id":"e4d672d149a537d38df38cf226e3b1fd1f2d32e2"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"7914236881892af163e8a9a3272aeda47a378293","unresolved":false,"context_lines":[{"line_number":144,"context_line":"      [agent]"},{"line_number":145,"context_line":"      extensions \u003d qos"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"#. Optionally, in order to make the floating IP qos take effect, set the"},{"line_number":148,"context_line":"   ``extensions`` to include ``fip_qos`` in the ``[agent]`` section of the"},{"line_number":149,"context_line":"   configuration file ``/etc/neutron/l3_agent.ini``. If ``dvr`` is enabled,"},{"line_number":150,"context_line":"   set it in all the L3 agents to include ``dvr`` floating IPs."}],"source_content_type":"text/x-rst","patch_set":3,"id":"df87a7cf_7abb82e4","line":147,"range":{"start_line":147,"start_character":27,"end_line":147,"end_character":63},"updated":"2017-12-15 22:23:09.000000000","message":"enable QoS for floating IPs","commit_id":"e4d672d149a537d38df38cf226e3b1fd1f2d32e2"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"7914236881892af163e8a9a3272aeda47a378293","unresolved":false,"context_lines":[{"line_number":145,"context_line":"      extensions \u003d qos"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"#. Optionally, in order to make the floating IP qos take effect, set the"},{"line_number":148,"context_line":"   ``extensions`` to include ``fip_qos`` in the ``[agent]`` section of the"},{"line_number":149,"context_line":"   configuration file ``/etc/neutron/l3_agent.ini``. If ``dvr`` is enabled,"},{"line_number":150,"context_line":"   set it in all the L3 agents to include ``dvr`` floating IPs."},{"line_number":151,"context_line":"   For example:"},{"line_number":152,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"df87a7cf_fa93125b","line":149,"range":{"start_line":148,"start_character":18,"end_line":149,"end_character":49},"updated":"2017-12-15 22:23:09.000000000","message":"option in the ``[agent]`` section of /etc/neutron/l3_agent.ini`` to include ``fip_qos``","commit_id":"e4d672d149a537d38df38cf226e3b1fd1f2d32e2"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"7914236881892af163e8a9a3272aeda47a378293","unresolved":false,"context_lines":[{"line_number":147,"context_line":"#. Optionally, in order to make the floating IP qos take effect, set the"},{"line_number":148,"context_line":"   ``extensions`` to include ``fip_qos`` in the ``[agent]`` section of the"},{"line_number":149,"context_line":"   configuration file ``/etc/neutron/l3_agent.ini``. If ``dvr`` is enabled,"},{"line_number":150,"context_line":"   set it in all the L3 agents to include ``dvr`` floating IPs."},{"line_number":151,"context_line":"   For example:"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"   .. code-block:: ini"}],"source_content_type":"text/x-rst","patch_set":3,"id":"df87a7cf_1a783629","line":150,"range":{"start_line":150,"start_character":3,"end_line":150,"end_character":62},"updated":"2017-12-15 22:23:09.000000000","message":"this has to be done for all the L3 agents","commit_id":"e4d672d149a537d38df38cf226e3b1fd1f2d32e2"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"7914236881892af163e8a9a3272aeda47a378293","unresolved":false,"context_lines":[{"line_number":418,"context_line":"   +---------------------+--------------------------------------+"},{"line_number":419,"context_line":""},{"line_number":420,"context_line":"The QoS bandwidth limit rules attached to a floating IP will become"},{"line_number":421,"context_line":"active when you associate the latter with a port. For example, associate"},{"line_number":422,"context_line":"the former created floating IP ``172.16.100.12`` to instance network port"},{"line_number":423,"context_line":"with fixed IP ``192.168.222.5``:"},{"line_number":424,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"df87a7cf_3ae65aea","line":421,"range":{"start_line":421,"start_character":63,"end_line":421,"end_character":72},"updated":"2017-12-15 22:23:09.000000000","message":"to associate","commit_id":"e4d672d149a537d38df38cf226e3b1fd1f2d32e2"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"7914236881892af163e8a9a3272aeda47a378293","unresolved":false,"context_lines":[{"line_number":419,"context_line":""},{"line_number":420,"context_line":"The QoS bandwidth limit rules attached to a floating IP will become"},{"line_number":421,"context_line":"active when you associate the latter with a port. For example, associate"},{"line_number":422,"context_line":"the former created floating IP ``172.16.100.12`` to instance network port"},{"line_number":423,"context_line":"with fixed IP ``192.168.222.5``:"},{"line_number":424,"context_line":""},{"line_number":425,"context_line":".. code-block:: console"}],"source_content_type":"text/x-rst","patch_set":3,"id":"df87a7cf_5ab47ed1","line":422,"range":{"start_line":422,"start_character":4,"end_line":422,"end_character":10},"updated":"2017-12-15 22:23:09.000000000","message":"previously","commit_id":"e4d672d149a537d38df38cf226e3b1fd1f2d32e2"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"7914236881892af163e8a9a3272aeda47a378293","unresolved":false,"context_lines":[{"line_number":419,"context_line":""},{"line_number":420,"context_line":"The QoS bandwidth limit rules attached to a floating IP will become"},{"line_number":421,"context_line":"active when you associate the latter with a port. For example, associate"},{"line_number":422,"context_line":"the former created floating IP ``172.16.100.12`` to instance network port"},{"line_number":423,"context_line":"with fixed IP ``192.168.222.5``:"},{"line_number":424,"context_line":""},{"line_number":425,"context_line":".. code-block:: console"}],"source_content_type":"text/x-rst","patch_set":3,"id":"df87a7cf_ba758afc","line":422,"range":{"start_line":422,"start_character":52,"end_line":422,"end_character":73},"updated":"2017-12-15 22:23:09.000000000","message":"the instance port","commit_id":"e4d672d149a537d38df38cf226e3b1fd1f2d32e2"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"7914236881892af163e8a9a3272aeda47a378293","unresolved":false,"context_lines":[{"line_number":462,"context_line":""},{"line_number":463,"context_line":".. note::"},{"line_number":464,"context_line":""},{"line_number":465,"context_line":"   For now, the L3 agent floating IP QoS agent extension only uses the QoS"},{"line_number":466,"context_line":"   ``bandwidth_limit`` rules. Other rule types (like DSCP marking) will"},{"line_number":467,"context_line":"   be silently ignored for floating IPs. For the QoS policy does not"},{"line_number":468,"context_line":"   contain any ``bandwidth_limit`` rule, if you attach it to floating IP,"}],"source_content_type":"text/x-rst","patch_set":3,"id":"df87a7cf_f57c8521","line":465,"range":{"start_line":465,"start_character":67,"end_line":465,"end_character":74},"updated":"2017-12-15 22:23:09.000000000","message":"not needed","commit_id":"e4d672d149a537d38df38cf226e3b1fd1f2d32e2"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"7914236881892af163e8a9a3272aeda47a378293","unresolved":false,"context_lines":[{"line_number":462,"context_line":""},{"line_number":463,"context_line":".. note::"},{"line_number":464,"context_line":""},{"line_number":465,"context_line":"   For now, the L3 agent floating IP QoS agent extension only uses the QoS"},{"line_number":466,"context_line":"   ``bandwidth_limit`` rules. Other rule types (like DSCP marking) will"},{"line_number":467,"context_line":"   be silently ignored for floating IPs. For the QoS policy does not"},{"line_number":468,"context_line":"   contain any ``bandwidth_limit`` rule, if you attach it to floating IP,"}],"source_content_type":"text/x-rst","patch_set":3,"id":"df87a7cf_1a50365e","line":465,"range":{"start_line":465,"start_character":12,"end_line":465,"end_character":46},"updated":"2017-12-15 22:23:09.000000000","message":"the floating IP QoS","commit_id":"e4d672d149a537d38df38cf226e3b1fd1f2d32e2"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"7914236881892af163e8a9a3272aeda47a378293","unresolved":false,"context_lines":[{"line_number":464,"context_line":""},{"line_number":465,"context_line":"   For now, the L3 agent floating IP QoS agent extension only uses the QoS"},{"line_number":466,"context_line":"   ``bandwidth_limit`` rules. Other rule types (like DSCP marking) will"},{"line_number":467,"context_line":"   be silently ignored for floating IPs. For the QoS policy does not"},{"line_number":468,"context_line":"   contain any ``bandwidth_limit`` rule, if you attach it to floating IP,"},{"line_number":469,"context_line":"   nothing take effect."},{"line_number":470,"context_line":""},{"line_number":471,"context_line":"Each project can have at most one default QoS policy, although it is not"},{"line_number":472,"context_line":"mandatory. If a default QoS policy is defined, all new networks created within"}],"source_content_type":"text/x-rst","patch_set":3,"id":"df87a7cf_9a652620","line":469,"range":{"start_line":467,"start_character":41,"end_line":469,"end_character":23},"updated":"2017-12-15 22:23:09.000000000","message":"A QoS policy that does not contain any ``bandwidth_limit`` rules will have no effect when attached to a floating IP.","commit_id":"e4d672d149a537d38df38cf226e3b1fd1f2d32e2"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"8bbb8f7bc20132f7989fbfcc12fc63a652934d19","unresolved":false,"context_lines":[{"line_number":461,"context_line":""},{"line_number":462,"context_line":".. note::"},{"line_number":463,"context_line":""},{"line_number":464,"context_line":"   For now, the floating IP QoS extension only uses ``bandwidth_limit`` rules."},{"line_number":465,"context_line":"   Other rule types (like DSCP marking) will be silently ignored for floating"},{"line_number":466,"context_line":"   IPs. A QoS policy that does not contain any ``bandwidth_limit`` rules will"},{"line_number":467,"context_line":"   have no effect when attached to a floating IP."}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_1ef6e5fa","line":464,"range":{"start_line":464,"start_character":16,"end_line":464,"end_character":41},"updated":"2017-12-16 04:43:43.000000000","message":"Here we need to clarify this is a l3 agent extension.","commit_id":"9c22878db4e62c72ab06b6f0e0e39edb3a8db083"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"ddfaa018c47dea92b3ceadbcb501bfb9e618e8f6","unresolved":false,"context_lines":[{"line_number":379,"context_line":""},{"line_number":380,"context_line":"   $ openstack floating ip set --qos-policy bw-limiter d0ed7491-3eb7-4c4f-a0f0-df04f10a067c"},{"line_number":381,"context_line":""},{"line_number":382,"context_line":"In order to detach a floating IP from the QoS policy, simply update again the"},{"line_number":383,"context_line":"floating IP configuration."},{"line_number":384,"context_line":""},{"line_number":385,"context_line":".. code-block:: console"}],"source_content_type":"text/x-rst","patch_set":5,"id":"df87a7cf_8a47bd77","line":382,"range":{"start_line":382,"start_character":68,"end_line":382,"end_character":73},"updated":"2017-12-20 03:24:56.000000000","message":"d/again\n\nAlthough this looks to be a copy/paste from L283","commit_id":"a07c8e55441d623e911fdbfc89c1fb181d751ff6"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"130a2d1564ed0585fe18329e79a0230c180dc3ef","unresolved":false,"context_lines":[{"line_number":379,"context_line":""},{"line_number":380,"context_line":"   $ openstack floating ip set --qos-policy bw-limiter d0ed7491-3eb7-4c4f-a0f0-df04f10a067c"},{"line_number":381,"context_line":""},{"line_number":382,"context_line":"In order to detach a floating IP from the QoS policy, simply update again the"},{"line_number":383,"context_line":"floating IP configuration."},{"line_number":384,"context_line":""},{"line_number":385,"context_line":".. code-block:: console"}],"source_content_type":"text/x-rst","patch_set":5,"id":"df87a7cf_309864be","line":382,"range":{"start_line":382,"start_character":68,"end_line":382,"end_character":73},"in_reply_to":"df87a7cf_8a47bd77","updated":"2017-12-20 04:54:59.000000000","message":"Done","commit_id":"a07c8e55441d623e911fdbfc89c1fb181d751ff6"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"ddfaa018c47dea92b3ceadbcb501bfb9e618e8f6","unresolved":false,"context_lines":[{"line_number":386,"context_line":""},{"line_number":387,"context_line":"   $ openstack floating ip set --no-qos-policy d0ed7491-3eb7-4c4f-a0f0-df04f10a067c"},{"line_number":388,"context_line":""},{"line_number":389,"context_line":"Or use ``unset`` action."},{"line_number":390,"context_line":""},{"line_number":391,"context_line":".. code-block:: console"},{"line_number":392,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"df87a7cf_ca6865f6","line":389,"range":{"start_line":389,"start_character":3,"end_line":389,"end_character":6},"updated":"2017-12-20 03:24:56.000000000","message":"s/use the","commit_id":"a07c8e55441d623e911fdbfc89c1fb181d751ff6"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"130a2d1564ed0585fe18329e79a0230c180dc3ef","unresolved":false,"context_lines":[{"line_number":386,"context_line":""},{"line_number":387,"context_line":"   $ openstack floating ip set --no-qos-policy d0ed7491-3eb7-4c4f-a0f0-df04f10a067c"},{"line_number":388,"context_line":""},{"line_number":389,"context_line":"Or use ``unset`` action."},{"line_number":390,"context_line":""},{"line_number":391,"context_line":".. code-block:: console"},{"line_number":392,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"df87a7cf_5095e885","line":389,"range":{"start_line":389,"start_character":3,"end_line":389,"end_character":6},"in_reply_to":"df87a7cf_ca6865f6","updated":"2017-12-20 04:54:59.000000000","message":"Done","commit_id":"a07c8e55441d623e911fdbfc89c1fb181d751ff6"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"ddfaa018c47dea92b3ceadbcb501bfb9e618e8f6","unresolved":false,"context_lines":[{"line_number":418,"context_line":""},{"line_number":419,"context_line":"The QoS bandwidth limit rules attached to a floating IP will become"},{"line_number":420,"context_line":"active when you associate the latter with a port. For example, to associate"},{"line_number":421,"context_line":"the previously created floating IP ``172.16.100.12`` to instance port with"},{"line_number":422,"context_line":"fixed IP ``192.168.222.5``:"},{"line_number":423,"context_line":""},{"line_number":424,"context_line":".. code-block:: console"}],"source_content_type":"text/x-rst","patch_set":5,"id":"df87a7cf_aa31610d","line":421,"range":{"start_line":421,"start_character":56,"end_line":421,"end_character":64},"updated":"2017-12-20 03:24:56.000000000","message":"s/the instance","commit_id":"a07c8e55441d623e911fdbfc89c1fb181d751ff6"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"130a2d1564ed0585fe18329e79a0230c180dc3ef","unresolved":false,"context_lines":[{"line_number":418,"context_line":""},{"line_number":419,"context_line":"The QoS bandwidth limit rules attached to a floating IP will become"},{"line_number":420,"context_line":"active when you associate the latter with a port. For example, to associate"},{"line_number":421,"context_line":"the previously created floating IP ``172.16.100.12`` to instance port with"},{"line_number":422,"context_line":"fixed IP ``192.168.222.5``:"},{"line_number":423,"context_line":""},{"line_number":424,"context_line":".. code-block:: console"}],"source_content_type":"text/x-rst","patch_set":5,"id":"df87a7cf_f08d1c7c","line":421,"range":{"start_line":421,"start_character":56,"end_line":421,"end_character":64},"in_reply_to":"df87a7cf_aa31610d","updated":"2017-12-20 04:54:59.000000000","message":"Done","commit_id":"a07c8e55441d623e911fdbfc89c1fb181d751ff6"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"62d154f97bd1dc0f1b7c7eaa63fe61ed8bab8284","unresolved":false,"context_lines":[{"line_number":463,"context_line":""},{"line_number":464,"context_line":"   For now, the L3 agent floating IP QoS extension only uses"},{"line_number":465,"context_line":"   ``bandwidth_limit`` rules. Other rule types (like DSCP marking) will be"},{"line_number":466,"context_line":"   silently ignored for floating IPs. A QoS policy that does not contain any"},{"line_number":467,"context_line":"   ``bandwidth_limit`` rules will have no effect when attached to a"},{"line_number":468,"context_line":"   floating IP."},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"Each project can have at most one default QoS policy, although it is not"},{"line_number":471,"context_line":"mandatory. If a default QoS policy is defined, all new networks created within"}],"source_content_type":"text/x-rst","patch_set":5,"id":"df87a7cf_53f0b691","line":468,"range":{"start_line":466,"start_character":37,"end_line":468,"end_character":15},"updated":"2017-12-18 22:03:47.000000000","message":"Couldn\u0027t we catch this condition in the server? If the policy mixes bandwidth limit and other rules, it seems correct to ignore the latter. However, if the policy doesn\u0027t contain any bandwidth limit rules, we should probably return a BadRequest in the server. Shouldn\u0027t we?","commit_id":"a07c8e55441d623e911fdbfc89c1fb181d751ff6"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"4bd25282b91d0fbb4e8cbe76d9ce547b4d6314b8","unresolved":false,"context_lines":[{"line_number":463,"context_line":""},{"line_number":464,"context_line":"   For now, the L3 agent floating IP QoS extension only uses"},{"line_number":465,"context_line":"   ``bandwidth_limit`` rules. Other rule types (like DSCP marking) will be"},{"line_number":466,"context_line":"   silently ignored for floating IPs. A QoS policy that does not contain any"},{"line_number":467,"context_line":"   ``bandwidth_limit`` rules will have no effect when attached to a"},{"line_number":468,"context_line":"   floating IP."},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"Each project can have at most one default QoS policy, although it is not"},{"line_number":471,"context_line":"mandatory. If a default QoS policy is defined, all new networks created within"}],"source_content_type":"text/x-rst","patch_set":5,"id":"df87a7cf_399b9118","line":468,"range":{"start_line":466,"start_character":37,"end_line":468,"end_character":15},"in_reply_to":"df87a7cf_53f0b691","updated":"2017-12-19 01:10:30.000000000","message":"All bondings in sever side do not have such check.","commit_id":"a07c8e55441d623e911fdbfc89c1fb181d751ff6"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"d39c8ec220c46ecadf586f11c64b85571a4e83b4","unresolved":false,"context_lines":[{"line_number":463,"context_line":""},{"line_number":464,"context_line":"   For now, the L3 agent floating IP QoS extension only uses"},{"line_number":465,"context_line":"   ``bandwidth_limit`` rules. Other rule types (like DSCP marking) will be"},{"line_number":466,"context_line":"   silently ignored for floating IPs. A QoS policy that does not contain any"},{"line_number":467,"context_line":"   ``bandwidth_limit`` rules will have no effect when attached to a"},{"line_number":468,"context_line":"   floating IP."},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"Each project can have at most one default QoS policy, although it is not"},{"line_number":471,"context_line":"mandatory. If a default QoS policy is defined, all new networks created within"}],"source_content_type":"text/x-rst","patch_set":5,"id":"df87a7cf_57317959","line":468,"range":{"start_line":466,"start_character":37,"end_line":468,"end_character":15},"in_reply_to":"df87a7cf_53f0b691","updated":"2017-12-19 07:50:46.000000000","message":"IMO we should think about some server side validation mechanism as we have for L2 agent QoS drivers currently.\nThan policy which contains not supported rule types couldn\u0027t be applied to FIP (as it is now for ports/networks).\nBut it can be \"next step\" for me.","commit_id":"a07c8e55441d623e911fdbfc89c1fb181d751ff6"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"55cf82f1853b6625d605e76ac5bc2869230cb0b1","unresolved":false,"context_lines":[{"line_number":463,"context_line":""},{"line_number":464,"context_line":"   For now, the L3 agent floating IP QoS extension only uses"},{"line_number":465,"context_line":"   ``bandwidth_limit`` rules. Other rule types (like DSCP marking) will be"},{"line_number":466,"context_line":"   silently ignored for floating IPs. A QoS policy that does not contain any"},{"line_number":467,"context_line":"   ``bandwidth_limit`` rules will have no effect when attached to a"},{"line_number":468,"context_line":"   floating IP."},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"Each project can have at most one default QoS policy, although it is not"},{"line_number":471,"context_line":"mandatory. If a default QoS policy is defined, all new networks created within"}],"source_content_type":"text/x-rst","patch_set":5,"id":"df87a7cf_c8e72c12","line":468,"range":{"start_line":466,"start_character":37,"end_line":468,"end_character":15},"in_reply_to":"df87a7cf_53f0b691","updated":"2017-12-19 02:07:33.000000000","message":"This concern reminds me L3 agent side patch should add a WARNING LOG to process policy rule function while using the DEFAULT value.","commit_id":"a07c8e55441d623e911fdbfc89c1fb181d751ff6"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"a22277119251a50fe630d064c907ce6e91c906eb","unresolved":false,"context_lines":[{"line_number":467,"context_line":"   ``bandwidth_limit`` rules will have no effect when attached to a"},{"line_number":468,"context_line":"   floating IP."},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"Each project can have at most one default QoS policy, although it is not"},{"line_number":471,"context_line":"mandatory. If a default QoS policy is defined, all new networks created within"},{"line_number":472,"context_line":"this project will have this policy assigned, as long as no other QoS policy is"},{"line_number":473,"context_line":"explicitly attached during the creation process. If the default QoS policy is"},{"line_number":474,"context_line":"unset, no change to existing networks will be made."},{"line_number":475,"context_line":""},{"line_number":476,"context_line":"In order to set a QoS policy as default, the parameter ``--default`` must be"},{"line_number":477,"context_line":"used. To unset this QoS policy as default, the parameter ``--no-default`` must"},{"line_number":478,"context_line":"be used."},{"line_number":479,"context_line":""},{"line_number":480,"context_line":".. code-block:: console"},{"line_number":481,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"df87a7cf_3aafde2a","line":478,"range":{"start_line":470,"start_character":0,"end_line":478,"end_character":8},"updated":"2017-12-20 08:34:00.000000000","message":"one more thing. IMO this part should be moved above L362 (above FIP workflow) because currently it is out of context in this place","commit_id":"5ea443bc86412759c36cca5287c7e069698c8070"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"a8c1f3c1becce3e12cb6302d7a31be1c8c91fd6b","unresolved":false,"context_lines":[{"line_number":467,"context_line":"   ``bandwidth_limit`` rules will have no effect when attached to a"},{"line_number":468,"context_line":"   floating IP."},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"Each project can have at most one default QoS policy, although it is not"},{"line_number":471,"context_line":"mandatory. If a default QoS policy is defined, all new networks created within"},{"line_number":472,"context_line":"this project will have this policy assigned, as long as no other QoS policy is"},{"line_number":473,"context_line":"explicitly attached during the creation process. If the default QoS policy is"},{"line_number":474,"context_line":"unset, no change to existing networks will be made."},{"line_number":475,"context_line":""},{"line_number":476,"context_line":"In order to set a QoS policy as default, the parameter ``--default`` must be"},{"line_number":477,"context_line":"used. To unset this QoS policy as default, the parameter ``--no-default`` must"},{"line_number":478,"context_line":"be used."},{"line_number":479,"context_line":""},{"line_number":480,"context_line":".. code-block:: console"},{"line_number":481,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"df87a7cf_d8d6faf2","line":478,"range":{"start_line":470,"start_character":0,"end_line":478,"end_character":8},"in_reply_to":"df87a7cf_3aafde2a","updated":"2017-12-20 09:50:07.000000000","message":"Line 480 and following set the `default` stuffs. So I don\u0027t think it can be moved. So here is the thing:\n1) policy can attach to port\n2) policy can attach to network\n3) *new added* policy can attach to floating IP\n4) these lines, project can have one default policy\n\nRight ?","commit_id":"5ea443bc86412759c36cca5287c7e069698c8070"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"e0824939ac64471b95b0765d7bbe8d80a84b8d08","unresolved":false,"context_lines":[{"line_number":467,"context_line":"   ``bandwidth_limit`` rules will have no effect when attached to a"},{"line_number":468,"context_line":"   floating IP."},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"Each project can have at most one default QoS policy, although it is not"},{"line_number":471,"context_line":"mandatory. If a default QoS policy is defined, all new networks created within"},{"line_number":472,"context_line":"this project will have this policy assigned, as long as no other QoS policy is"},{"line_number":473,"context_line":"explicitly attached during the creation process. If the default QoS policy is"},{"line_number":474,"context_line":"unset, no change to existing networks will be made."},{"line_number":475,"context_line":""},{"line_number":476,"context_line":"In order to set a QoS policy as default, the parameter ``--default`` must be"},{"line_number":477,"context_line":"used. To unset this QoS policy as default, the parameter ``--no-default`` must"},{"line_number":478,"context_line":"be used."},{"line_number":479,"context_line":""},{"line_number":480,"context_line":".. code-block:: console"},{"line_number":481,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"df87a7cf_0956525d","line":478,"range":{"start_line":470,"start_character":0,"end_line":478,"end_character":8},"in_reply_to":"df87a7cf_d8d6faf2","updated":"2017-12-20 12:44:32.000000000","message":"ok, You\u0027re right","commit_id":"5ea443bc86412759c36cca5287c7e069698c8070"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"7226404afbdebc5f19dcb1e28784e83f1793609d","unresolved":false,"context_lines":[{"line_number":465,"context_line":"   ``bandwidth_limit`` rules. Other rule types (like DSCP marking) will be"},{"line_number":466,"context_line":"   silently ignored for floating IPs. A QoS policy that does not contain any"},{"line_number":467,"context_line":"   ``bandwidth_limit`` rules will have no effect when attached to a"},{"line_number":468,"context_line":"   floating IP."},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"Each project can have at most one default QoS policy, although it is not"},{"line_number":471,"context_line":"mandatory. If a default QoS policy is defined, all new networks created within"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7f96bb07_ea004537","line":468,"updated":"2018-01-12 08:40:02.000000000","message":"maybe it would be useful to add some info how it will work if both floating IP and port (or network) to which it is assigned will have different QoS policies set. What You think about adding such short note?","commit_id":"92a82deaf0ed9f282780ac8d0e77648c74de1da0"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"a9294f233b92cca2f59936b63867705518a2847e","unresolved":false,"context_lines":[{"line_number":465,"context_line":"   ``bandwidth_limit`` rules. Other rule types (like DSCP marking) will be"},{"line_number":466,"context_line":"   silently ignored for floating IPs. A QoS policy that does not contain any"},{"line_number":467,"context_line":"   ``bandwidth_limit`` rules will have no effect when attached to a"},{"line_number":468,"context_line":"   floating IP."},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"Each project can have at most one default QoS policy, although it is not"},{"line_number":471,"context_line":"mandatory. If a default QoS policy is defined, all new networks created within"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7f96bb07_4659c68b","line":468,"in_reply_to":"7f96bb07_0538a63a","updated":"2018-01-16 22:47:35.000000000","message":"I am happy either way. So let\u0027s get this done and we can merge this in the next PS","commit_id":"92a82deaf0ed9f282780ac8d0e77648c74de1da0"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"318f23b77d0d27762b935c6577460c86bd8dcce9","unresolved":false,"context_lines":[{"line_number":465,"context_line":"   ``bandwidth_limit`` rules. Other rule types (like DSCP marking) will be"},{"line_number":466,"context_line":"   silently ignored for floating IPs. A QoS policy that does not contain any"},{"line_number":467,"context_line":"   ``bandwidth_limit`` rules will have no effect when attached to a"},{"line_number":468,"context_line":"   floating IP."},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"Each project can have at most one default QoS policy, although it is not"},{"line_number":471,"context_line":"mandatory. If a default QoS policy is defined, all new networks created within"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7f96bb07_0538a63a","line":468,"in_reply_to":"7f96bb07_ba91089c","updated":"2018-01-16 13:07:41.000000000","message":"I think it is not so big and complicated.\nIMO something like: \"if both port and FIP has applied qos policy with bandwidth limit than .... rule will be effectively used\" or something like that.","commit_id":"92a82deaf0ed9f282780ac8d0e77648c74de1da0"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"f4f91f79b28e3d53b18fe50176ab12dd23251b28","unresolved":false,"context_lines":[{"line_number":465,"context_line":"   ``bandwidth_limit`` rules. Other rule types (like DSCP marking) will be"},{"line_number":466,"context_line":"   silently ignored for floating IPs. A QoS policy that does not contain any"},{"line_number":467,"context_line":"   ``bandwidth_limit`` rules will have no effect when attached to a"},{"line_number":468,"context_line":"   floating IP."},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"Each project can have at most one default QoS policy, although it is not"},{"line_number":471,"context_line":"mandatory. If a default QoS policy is defined, all new networks created within"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7f96bb07_ba91089c","line":468,"in_reply_to":"7f96bb07_ea004537","updated":"2018-01-15 03:15:03.000000000","message":"Yes, it will be useful. But I think that is a user decided behavior, they should know what they have done. And the scenario can be varied, such as binding policy to 1) both port and fip, 2) network and fip, 3) network, port and fip etc., then it will be a long story, not a short note. So IMO we should only tell them the l3-agent-extension point here to prevent making them confused. So finally, what about add:\n\"\"\"\nThe l3 fip QoS extionsion will install tc rules to the related device of router namespace.\n\"\"\"\nAnd yeah, this is redundant to [1], because we add a technical note to a user manual doc.\n\n[1] https://review.openstack.org/#/c/526033/8/doc/source/contributor/internals/quality_of_service.rst@280","commit_id":"92a82deaf0ed9f282780ac8d0e77648c74de1da0"}],"doc/source/contributor/internals/quality_of_service.rst":[{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"bfb657829f5647a5227331223d1f8c0f4b945249","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"* neutron.extensions.qos_fip:"},{"line_number":45,"context_line":"  base extension + API controller definition. Add qos_policy_id to floating IP,"},{"line_number":46,"context_line":"  then the user could set/update the binding QoS policy of a floating IP."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"* neutron.services.qos.qos_plugin:"},{"line_number":49,"context_line":"  QoSPlugin, service plugin that implements \u0027qos\u0027 extension, receiving and"}],"source_content_type":"text/x-rst","patch_set":6,"id":"bf8cb3f7_c0e313a4","line":46,"range":{"start_line":46,"start_character":2,"end_line":46,"end_character":21},"updated":"2017-12-20 20:06:05.000000000","message":"enabling users to","commit_id":"5ea443bc86412759c36cca5287c7e069698c8070"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"9918363e4dc4073f1776b18a1ffeb05591ef27ff","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"* neutron.extensions.qos_fip:"},{"line_number":45,"context_line":"  base extension + API controller definition. Add qos_policy_id to floating IP,"},{"line_number":46,"context_line":"  then the user could set/update the binding QoS policy of a floating IP."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"* neutron.services.qos.qos_plugin:"},{"line_number":49,"context_line":"  QoSPlugin, service plugin that implements \u0027qos\u0027 extension, receiving and"}],"source_content_type":"text/x-rst","patch_set":6,"id":"bf8cb3f7_32a24e9c","line":46,"range":{"start_line":46,"start_character":2,"end_line":46,"end_character":21},"in_reply_to":"bf8cb3f7_c0e313a4","updated":"2017-12-21 00:51:55.000000000","message":"Done","commit_id":"5ea443bc86412759c36cca5287c7e069698c8070"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"3ecdd4388922dffdd1c78f8efeec2d81d63f285c","unresolved":false,"context_lines":[{"line_number":142,"context_line":"From database point of view, following objects are defined in schema:"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"* QosPolicy: directly maps to the conceptual policy resource."},{"line_number":145,"context_line":"* QosNetworkPolicyBinding, QosPortPolicyBinding, QosPolicyFloatingIPBinding:"},{"line_number":146,"context_line":"  defines attachment between a Neutron resource and a QoS policy."},{"line_number":147,"context_line":"* QosPolicyDefault: defines a default QoS policy per project."},{"line_number":148,"context_line":"* QosBandwidthLimitRule: defines the rule to limit the maximum egress"}],"source_content_type":"text/x-rst","patch_set":6,"id":"bf8cb3f7_e0c5f75c","line":145,"range":{"start_line":145,"start_character":49,"end_line":145,"end_character":75},"updated":"2017-12-20 19:58:05.000000000","message":"For network and port, the objects listed in this line are the ones in https://github.com/openstack/neutron/blob/master/neutron/db/qos/models.py, whereas in the case of FIP you listed the OVO. I think this section refers to the DB (SQLAlchemy) objects, so lets be consistent and list https://github.com/openstack/neutron/blob/master/neutron/db/qos/models.py#L59","commit_id":"5ea443bc86412759c36cca5287c7e069698c8070"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"9918363e4dc4073f1776b18a1ffeb05591ef27ff","unresolved":false,"context_lines":[{"line_number":142,"context_line":"From database point of view, following objects are defined in schema:"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"* QosPolicy: directly maps to the conceptual policy resource."},{"line_number":145,"context_line":"* QosNetworkPolicyBinding, QosPortPolicyBinding, QosPolicyFloatingIPBinding:"},{"line_number":146,"context_line":"  defines attachment between a Neutron resource and a QoS policy."},{"line_number":147,"context_line":"* QosPolicyDefault: defines a default QoS policy per project."},{"line_number":148,"context_line":"* QosBandwidthLimitRule: defines the rule to limit the maximum egress"}],"source_content_type":"text/x-rst","patch_set":6,"id":"bf8cb3f7_d2bc42bd","line":145,"range":{"start_line":145,"start_character":49,"end_line":145,"end_character":75},"in_reply_to":"bf8cb3f7_e0c5f75c","updated":"2017-12-21 00:51:55.000000000","message":"Ops... done","commit_id":"5ea443bc86412759c36cca5287c7e069698c8070"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"cb3d9dc2a449d27cde5a7fef6e983717773992fc","unresolved":false,"context_lines":[{"line_number":230,"context_line":"Details on RPC communication implemented in reference backend driver are"},{"line_number":231,"context_line":"discussed in `a separate page \u003crpc_callbacks.html\u003e`_."},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"The flow of updates is as follows:"},{"line_number":234,"context_line":""},{"line_number":235,"context_line":"* if a port that is bound to the agent is attached to a QoS policy, then ML2"},{"line_number":236,"context_line":"  plugin detects the change by relying on ML2 QoS extension driver, and"}],"source_content_type":"text/x-rst","patch_set":6,"id":"bf8cb3f7_fbbb680b","line":233,"updated":"2017-12-20 20:53:37.000000000","message":"Should we add a bullet point for FIPs here?","commit_id":"5ea443bc86412759c36cca5287c7e069698c8070"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"9918363e4dc4073f1776b18a1ffeb05591ef27ff","unresolved":false,"context_lines":[{"line_number":230,"context_line":"Details on RPC communication implemented in reference backend driver are"},{"line_number":231,"context_line":"discussed in `a separate page \u003crpc_callbacks.html\u003e`_."},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"The flow of updates is as follows:"},{"line_number":234,"context_line":""},{"line_number":235,"context_line":"* if a port that is bound to the agent is attached to a QoS policy, then ML2"},{"line_number":236,"context_line":"  plugin detects the change by relying on ML2 QoS extension driver, and"}],"source_content_type":"text/x-rst","patch_set":6,"id":"bf8cb3f7_b205fe7c","line":233,"in_reply_to":"bf8cb3f7_fbbb680b","updated":"2017-12-21 00:51:55.000000000","message":"Done","commit_id":"5ea443bc86412759c36cca5287c7e069698c8070"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"3ecdd4388922dffdd1c78f8efeec2d81d63f285c","unresolved":false,"context_lines":[{"line_number":269,"context_line":"For L3 agent:"},{"line_number":270,"context_line":""},{"line_number":271,"context_line":"* neutron.agent.l3.extensions.fip_qos"},{"line_number":272,"context_line":"  defines QoS L3 agent extension. It implements the L3 agent side floating IP"},{"line_number":273,"context_line":"  rate limit. For all routers, if floating IP has QoS ``bandwidth_limit``"},{"line_number":274,"context_line":"  rules, the corresponding TC filters will be added to the router device."},{"line_number":275,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"bf8cb3f7_003edb28","line":272,"range":{"start_line":272,"start_character":66,"end_line":272,"end_character":74},"updated":"2017-12-20 19:58:05.000000000","message":"of floating","commit_id":"5ea443bc86412759c36cca5287c7e069698c8070"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"9918363e4dc4073f1776b18a1ffeb05591ef27ff","unresolved":false,"context_lines":[{"line_number":269,"context_line":"For L3 agent:"},{"line_number":270,"context_line":""},{"line_number":271,"context_line":"* neutron.agent.l3.extensions.fip_qos"},{"line_number":272,"context_line":"  defines QoS L3 agent extension. It implements the L3 agent side floating IP"},{"line_number":273,"context_line":"  rate limit. For all routers, if floating IP has QoS ``bandwidth_limit``"},{"line_number":274,"context_line":"  rules, the corresponding TC filters will be added to the router device."},{"line_number":275,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"bf8cb3f7_32da4ee9","line":272,"range":{"start_line":272,"start_character":66,"end_line":272,"end_character":74},"in_reply_to":"bf8cb3f7_003edb28","updated":"2017-12-21 00:51:55.000000000","message":"Done","commit_id":"5ea443bc86412759c36cca5287c7e069698c8070"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"cb3d9dc2a449d27cde5a7fef6e983717773992fc","unresolved":false,"context_lines":[{"line_number":427,"context_line":""},{"line_number":428,"context_line":"On L3 agent side:"},{"line_number":429,"context_line":""},{"line_number":430,"context_line":"* add \u0027fip_qos\u0027 to extensions in [agent] section."},{"line_number":431,"context_line":""},{"line_number":432,"context_line":""},{"line_number":433,"context_line":"Testing strategy"}],"source_content_type":"text/x-rst","patch_set":6,"id":"bf8cb3f7_9b4b3c86","line":430,"range":{"start_line":430,"start_character":2,"end_line":430,"end_character":5},"updated":"2017-12-20 20:53:37.000000000","message":"For for floating IPs QoS support, add","commit_id":"5ea443bc86412759c36cca5287c7e069698c8070"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"9918363e4dc4073f1776b18a1ffeb05591ef27ff","unresolved":false,"context_lines":[{"line_number":427,"context_line":""},{"line_number":428,"context_line":"On L3 agent side:"},{"line_number":429,"context_line":""},{"line_number":430,"context_line":"* add \u0027fip_qos\u0027 to extensions in [agent] section."},{"line_number":431,"context_line":""},{"line_number":432,"context_line":""},{"line_number":433,"context_line":"Testing strategy"}],"source_content_type":"text/x-rst","patch_set":6,"id":"bf8cb3f7_f2f2a69a","line":430,"range":{"start_line":430,"start_character":2,"end_line":430,"end_character":5},"in_reply_to":"bf8cb3f7_9b4b3c86","updated":"2017-12-21 00:51:55.000000000","message":"Done","commit_id":"5ea443bc86412759c36cca5287c7e069698c8070"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"3ecdd4388922dffdd1c78f8efeec2d81d63f285c","unresolved":false,"context_lines":[{"line_number":488,"context_line":""},{"line_number":489,"context_line":"* neutron.tests.tempest.api.test_qos"},{"line_number":490,"context_line":""},{"line_number":491,"context_line":"API tests for floating IP create/update with policies were added in:"},{"line_number":492,"context_line":""},{"line_number":493,"context_line":"* neutron.tests.unit.extensions.test_qos_fip"}],"source_content_type":"text/x-rst","patch_set":6,"id":"bf8cb3f7_c0f2339b","line":493,"range":{"start_line":491,"start_character":0,"end_line":493,"end_character":44},"updated":"2017-12-20 19:58:05.000000000","message":"This section really refers to tempest based API tests. please remove","commit_id":"5ea443bc86412759c36cca5287c7e069698c8070"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"9918363e4dc4073f1776b18a1ffeb05591ef27ff","unresolved":false,"context_lines":[{"line_number":488,"context_line":""},{"line_number":489,"context_line":"* neutron.tests.tempest.api.test_qos"},{"line_number":490,"context_line":""},{"line_number":491,"context_line":"API tests for floating IP create/update with policies were added in:"},{"line_number":492,"context_line":""},{"line_number":493,"context_line":"* neutron.tests.unit.extensions.test_qos_fip"}],"source_content_type":"text/x-rst","patch_set":6,"id":"bf8cb3f7_92d55abc","line":493,"range":{"start_line":491,"start_character":0,"end_line":493,"end_character":44},"in_reply_to":"bf8cb3f7_c02d53a9","updated":"2017-12-21 00:51:55.000000000","message":"Done for remove.\n\nAnd I will tempest cases to neutron-tempest-plugin repo.","commit_id":"5ea443bc86412759c36cca5287c7e069698c8070"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"772991d1ebcdbb360cb773f703d866fff2eabd23","unresolved":false,"context_lines":[{"line_number":488,"context_line":""},{"line_number":489,"context_line":"* neutron.tests.tempest.api.test_qos"},{"line_number":490,"context_line":""},{"line_number":491,"context_line":"API tests for floating IP create/update with policies were added in:"},{"line_number":492,"context_line":""},{"line_number":493,"context_line":"* neutron.tests.unit.extensions.test_qos_fip"}],"source_content_type":"text/x-rst","patch_set":6,"id":"bf8cb3f7_c02d53a9","line":493,"range":{"start_line":491,"start_character":0,"end_line":493,"end_character":44},"in_reply_to":"bf8cb3f7_c0f2339b","updated":"2017-12-20 20:11:35.000000000","message":"BTW, it would be good to have tempest API tests for this :-). But that\u0027s another patch an another repo","commit_id":"5ea443bc86412759c36cca5287c7e069698c8070"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"39718199bf5544081e3ec6c4d07ad094e4342db6","unresolved":false,"context_lines":[{"line_number":42,"context_line":"  of policies and hence embedded into their URIs."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"* neutron.extensions.qos_fip:"},{"line_number":45,"context_line":"  base extension + API controller definition. Add qos_policy_id to floating IP,"},{"line_number":46,"context_line":"  enabling users to could set/update the binding QoS policy of a floating IP."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"* neutron.services.qos.qos_plugin:"}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_8b8f40cb","line":45,"range":{"start_line":45,"start_character":46,"end_line":45,"end_character":49},"updated":"2017-12-22 22:38:49.000000000","message":"Adds","commit_id":"b334f1aeddf520ab4b4fe48b913d3a5aa2d65a94"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"53cef65117e04b8d2f41398c3f318098bd1ceebd","unresolved":false,"context_lines":[{"line_number":42,"context_line":"  of policies and hence embedded into their URIs."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"* neutron.extensions.qos_fip:"},{"line_number":45,"context_line":"  base extension + API controller definition. Add qos_policy_id to floating IP,"},{"line_number":46,"context_line":"  enabling users to could set/update the binding QoS policy of a floating IP."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"* neutron.services.qos.qos_plugin:"}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_89a8a81f","line":45,"range":{"start_line":45,"start_character":46,"end_line":45,"end_character":49},"in_reply_to":"bf8cb3f7_8b8f40cb","updated":"2017-12-23 02:33:35.000000000","message":"Done","commit_id":"b334f1aeddf520ab4b4fe48b913d3a5aa2d65a94"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"39718199bf5544081e3ec6c4d07ad094e4342db6","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"* neutron.extensions.qos_fip:"},{"line_number":45,"context_line":"  base extension + API controller definition. Add qos_policy_id to floating IP,"},{"line_number":46,"context_line":"  enabling users to could set/update the binding QoS policy of a floating IP."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"* neutron.services.qos.qos_plugin:"},{"line_number":49,"context_line":"  QoSPlugin, service plugin that implements \u0027qos\u0027 extension, receiving and"}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_ab6c8436","line":46,"range":{"start_line":46,"start_character":20,"end_line":46,"end_character":25},"updated":"2017-12-22 22:38:49.000000000","message":"remove, not needed","commit_id":"b334f1aeddf520ab4b4fe48b913d3a5aa2d65a94"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"53cef65117e04b8d2f41398c3f318098bd1ceebd","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"* neutron.extensions.qos_fip:"},{"line_number":45,"context_line":"  base extension + API controller definition. Add qos_policy_id to floating IP,"},{"line_number":46,"context_line":"  enabling users to could set/update the binding QoS policy of a floating IP."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"* neutron.services.qos.qos_plugin:"},{"line_number":49,"context_line":"  QoSPlugin, service plugin that implements \u0027qos\u0027 extension, receiving and"}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_29639c1c","line":46,"range":{"start_line":46,"start_character":20,"end_line":46,"end_character":25},"in_reply_to":"bf8cb3f7_ab6c8436","updated":"2017-12-23 02:33:35.000000000","message":"Done","commit_id":"b334f1aeddf520ab4b4fe48b913d3a5aa2d65a94"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"39718199bf5544081e3ec6c4d07ad094e4342db6","unresolved":false,"context_lines":[{"line_number":143,"context_line":""},{"line_number":144,"context_line":"* QosPolicy: directly maps to the conceptual policy resource."},{"line_number":145,"context_line":"* QosNetworkPolicyBinding, QosPortPolicyBinding, QosFIPPolicyBinding:"},{"line_number":146,"context_line":"  defines attachment between a Neutron resource and a QoS policy."},{"line_number":147,"context_line":"* QosPolicyDefault: defines a default QoS policy per project."},{"line_number":148,"context_line":"* QosBandwidthLimitRule: defines the rule to limit the maximum egress"},{"line_number":149,"context_line":"  bandwidth."}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_2b63941c","line":146,"range":{"start_line":146,"start_character":2,"end_line":146,"end_character":9},"updated":"2017-12-22 22:38:49.000000000","message":"define (although not part of this change, do you mind fixing this grammar error?)","commit_id":"b334f1aeddf520ab4b4fe48b913d3a5aa2d65a94"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"53cef65117e04b8d2f41398c3f318098bd1ceebd","unresolved":false,"context_lines":[{"line_number":143,"context_line":""},{"line_number":144,"context_line":"* QosPolicy: directly maps to the conceptual policy resource."},{"line_number":145,"context_line":"* QosNetworkPolicyBinding, QosPortPolicyBinding, QosFIPPolicyBinding:"},{"line_number":146,"context_line":"  defines attachment between a Neutron resource and a QoS policy."},{"line_number":147,"context_line":"* QosPolicyDefault: defines a default QoS policy per project."},{"line_number":148,"context_line":"* QosBandwidthLimitRule: defines the rule to limit the maximum egress"},{"line_number":149,"context_line":"  bandwidth."}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_69abe41c","line":146,"range":{"start_line":146,"start_character":2,"end_line":146,"end_character":9},"in_reply_to":"bf8cb3f7_2b63941c","updated":"2017-12-23 02:33:35.000000000","message":"Done","commit_id":"b334f1aeddf520ab4b4fe48b913d3a5aa2d65a94"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"39718199bf5544081e3ec6c4d07ad094e4342db6","unresolved":false,"context_lines":[{"line_number":243,"context_line":"  policy (with all the rules included) from the server. After that, the QoS"},{"line_number":244,"context_line":"  extension applies the rules by calling into QoS driver that corresponds to"},{"line_number":245,"context_line":"  the agent."},{"line_number":246,"context_line":"* For floating IP in L3 agent side, it has a basically same process. The"},{"line_number":247,"context_line":"  ``fip_qos`` agent extension will check if floating IP has qos_policy_id."},{"line_number":248,"context_line":"  Then it uses ResourcesPullRpcApi to fetch policy from the server. After that,"},{"line_number":249,"context_line":"  the ``fip_qos`` extension applies the ``bandwidth_limit`` rules to router"},{"line_number":250,"context_line":"  devices by directly calling the l3_tc_lib."},{"line_number":251,"context_line":"* on existing QoS policy update (it includes any policy or its rules change),"},{"line_number":252,"context_line":"  server pushes the new policy object state through ResourcesPushRpcApi"},{"line_number":253,"context_line":"  interface. The interface fans out the serialized (dehydrated) object to any"}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_0e5fbee2","line":250,"range":{"start_line":246,"start_character":2,"end_line":250,"end_character":44},"updated":"2017-12-22 22:38:49.000000000","message":"When you say \"it has basically the same process\", presumably you are referring to the previous bullet point where many things don\u0027t apply here. Consider instead the following option:\n\nFor floating IPs, a ``fip_qos`` L3 agent extension was implemented. This extension receives and processes router updates. For each update, it goes over each floating IP associated to the router. If a floating IP has a QoS policy associated to it, the extension uses ResourcesPullRpcApi to fetch the policy details from the Neutron server. If the policy includes ``bandwidth_limit`` rules, the extension applies them to the appropriate router device by directly calling the l3_tc_lib.","commit_id":"b334f1aeddf520ab4b4fe48b913d3a5aa2d65a94"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"53cef65117e04b8d2f41398c3f318098bd1ceebd","unresolved":false,"context_lines":[{"line_number":243,"context_line":"  policy (with all the rules included) from the server. After that, the QoS"},{"line_number":244,"context_line":"  extension applies the rules by calling into QoS driver that corresponds to"},{"line_number":245,"context_line":"  the agent."},{"line_number":246,"context_line":"* For floating IP in L3 agent side, it has a basically same process. The"},{"line_number":247,"context_line":"  ``fip_qos`` agent extension will check if floating IP has qos_policy_id."},{"line_number":248,"context_line":"  Then it uses ResourcesPullRpcApi to fetch policy from the server. After that,"},{"line_number":249,"context_line":"  the ``fip_qos`` extension applies the ``bandwidth_limit`` rules to router"},{"line_number":250,"context_line":"  devices by directly calling the l3_tc_lib."},{"line_number":251,"context_line":"* on existing QoS policy update (it includes any policy or its rules change),"},{"line_number":252,"context_line":"  server pushes the new policy object state through ResourcesPushRpcApi"},{"line_number":253,"context_line":"  interface. The interface fans out the serialized (dehydrated) object to any"}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_e96cd409","line":250,"range":{"start_line":246,"start_character":2,"end_line":250,"end_character":44},"in_reply_to":"bf8cb3f7_0e5fbee2","updated":"2017-12-23 02:33:35.000000000","message":"Great.\n\nDone","commit_id":"b334f1aeddf520ab4b4fe48b913d3a5aa2d65a94"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"39718199bf5544081e3ec6c4d07ad094e4342db6","unresolved":false,"context_lines":[{"line_number":276,"context_line":"* neutron.agent.l3.extensions.fip_qos"},{"line_number":277,"context_line":"  defines QoS L3 agent extension. It implements the L3 agent side of floating"},{"line_number":278,"context_line":"  IP rate limit. For all routers, if floating IP has QoS ``bandwidth_limit``"},{"line_number":279,"context_line":"  rules, the corresponding TC filters will be added to the router device."},{"line_number":280,"context_line":""},{"line_number":281,"context_line":""},{"line_number":282,"context_line":"Agent backends"}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_2e05e2c2","line":279,"range":{"start_line":279,"start_character":59,"end_line":279,"end_character":72},"updated":"2017-12-22 22:38:49.000000000","message":"appropriate router device, depending on the router type.","commit_id":"b334f1aeddf520ab4b4fe48b913d3a5aa2d65a94"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"53cef65117e04b8d2f41398c3f318098bd1ceebd","unresolved":false,"context_lines":[{"line_number":276,"context_line":"* neutron.agent.l3.extensions.fip_qos"},{"line_number":277,"context_line":"  defines QoS L3 agent extension. It implements the L3 agent side of floating"},{"line_number":278,"context_line":"  IP rate limit. For all routers, if floating IP has QoS ``bandwidth_limit``"},{"line_number":279,"context_line":"  rules, the corresponding TC filters will be added to the router device."},{"line_number":280,"context_line":""},{"line_number":281,"context_line":""},{"line_number":282,"context_line":"Agent backends"}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_a976ccd7","line":279,"range":{"start_line":279,"start_character":59,"end_line":279,"end_character":72},"in_reply_to":"bf8cb3f7_2e05e2c2","updated":"2017-12-23 02:33:35.000000000","message":"Done","commit_id":"b334f1aeddf520ab4b4fe48b913d3a5aa2d65a94"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"39718199bf5544081e3ec6c4d07ad094e4342db6","unresolved":false,"context_lines":[{"line_number":413,"context_line":""},{"line_number":414,"context_line":".. note::"},{"line_number":415,"context_line":" L3 agent ``fip_qos`` extension does not have a driver implementation,"},{"line_number":416,"context_line":" it directly uses the ``l3_tc_lib`` for all kinds of routers\u0027 floating IP."},{"line_number":417,"context_line":""},{"line_number":418,"context_line":"Configuration"},{"line_number":419,"context_line":"-------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_ee0e1ae4","line":416,"range":{"start_line":416,"start_character":44,"end_line":416,"end_character":74},"updated":"2017-12-22 22:38:49.000000000","message":"types of routers.","commit_id":"b334f1aeddf520ab4b4fe48b913d3a5aa2d65a94"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"53cef65117e04b8d2f41398c3f318098bd1ceebd","unresolved":false,"context_lines":[{"line_number":413,"context_line":""},{"line_number":414,"context_line":".. note::"},{"line_number":415,"context_line":" L3 agent ``fip_qos`` extension does not have a driver implementation,"},{"line_number":416,"context_line":" it directly uses the ``l3_tc_lib`` for all kinds of routers\u0027 floating IP."},{"line_number":417,"context_line":""},{"line_number":418,"context_line":"Configuration"},{"line_number":419,"context_line":"-------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_6980c48c","line":416,"range":{"start_line":416,"start_character":44,"end_line":416,"end_character":74},"in_reply_to":"bf8cb3f7_ee0e1ae4","updated":"2017-12-23 02:33:35.000000000","message":"Done","commit_id":"b334f1aeddf520ab4b4fe48b913d3a5aa2d65a94"}]}
