Slawek Kaplonski | f9a896c | 2021-10-27 16:50:11 +0200 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | function configure_qos_service_plugin { |
| 4 | neutron_service_plugin_class_add "qos" |
| 5 | } |
| 6 | |
| 7 | |
| 8 | function configure_qos_core_plugin { |
Slawek Kaplonski | a52041c | 2022-11-18 11:39:56 +0100 | [diff] [blame] | 9 | configure_qos_$Q_PLUGIN |
Slawek Kaplonski | f9a896c | 2021-10-27 16:50:11 +0200 | [diff] [blame] | 10 | } |
| 11 | |
| 12 | |
| 13 | function configure_qos_l2_agent { |
| 14 | plugin_agent_add_l2_agent_extension "qos" |
| 15 | } |
| 16 | |
| 17 | |
| 18 | function configure_qos { |
| 19 | configure_qos_service_plugin |
| 20 | configure_qos_core_plugin |
| 21 | configure_qos_l2_agent |
| 22 | } |
| 23 | |
| 24 | function configure_l3_agent_extension_fip_qos { |
| 25 | plugin_agent_add_l3_agent_extension "fip_qos" |
| 26 | } |
| 27 | |
| 28 | function configure_l3_agent_extension_gateway_ip_qos { |
| 29 | plugin_agent_add_l3_agent_extension "gateway_ip_qos" |
| 30 | } |