neutron/neutron/tests/unit
Salvatore Orlando 86701a3c7e NSX QoS ext: RXTX factor can be decimal
In Nova flavors it is ok to specify a decimal RXTX factor.
For this reason when applying QoS to a port Neutron should not
convert this factor to an integer value, but simply ensure
it's a valid float number and positive.

This patch ialso drops the conversion to integer that happens
in the NSX-mh plugin but also ensures that the resulting maximum
bandwidth after applying the RXTX factor is still an integer value.

Closes-Bug: #1463363
Patch applied from commit: 9f61b082093fde7db135f400d7d99724c6c01a43
Change-Id: I9f5e166e349de0703a8711fa73a127e90059f506
2015-06-25 10:20:13 -07:00
..
agent Configure IPv6 LLADDR only on master L3 HA instance 2015-02-10 13:40:00 -05:00
api Do not schedule network when creating reserved DHCP port 2014-07-30 07:42:20 +09:00
bigswitch Merge "BSN: Optimistic locking strategy for consistency" into stable/juno 2014-12-13 08:51:17 +00:00
brocade Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
cisco CSCO:Tenants not to access unshared n/w profiles 2015-03-10 15:17:48 -07:00
db Moves the HA resource creations outside of transaction 2014-12-25 10:37:43 +02:00
embrane Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
extensions Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
hyperv Merge "Fixes Hyper-V agent port disconnect issue" into stable/juno 2015-05-21 17:44:33 +00:00
ibm Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
linuxbridge Merge "Search in /sys/class/net for network devices" into stable/juno 2015-04-01 21:21:34 +00:00
metaplugin Refactor plugin setup helpers out of test.base 2014-08-25 14:44:27 +02:00
midonet Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
ml2 Fixes sync between Arista ML2 driver and EOS 2015-06-11 23:18:25 +00:00
mlnx Fix sleep function call 2014-11-04 11:44:52 +00:00
nec Set vif_details to reflect enable_security_group 2014-11-05 07:55:33 +00:00
notifiers fix event_send for re-assign floating ip 2014-11-12 07:57:43 -08:00
nuage Use dict_extend_functions to populate provider network attributes 2014-09-19 14:23:19 -07:00
ofagent ofagent: Fix port_dead 2015-03-20 14:17:52 +09:00
oneconvergence Auto allocate gateway_ip even for SLAAC subnets 2014-12-16 18:22:56 +00:00
opencontrail Skip IPv6 Tests in the OpenContrail plugin 2014-10-09 12:03:23 +02:00
openvswitch Make del_fdb_flow() idempotent 2015-03-04 14:21:27 +00:00
plumgrid Allow to add router interface to IPv6 SLAAC network 2014-11-10 09:29:52 +00:00
ryu Make SecurityGroupsRpcCallback a separate callback class 2014-08-30 10:19:42 +08:00
services remove openvswitch plugin 2014-10-01 21:16:27 -07:00
sriovnicagent Refresh rpc_backend values in unit tests to those from oslo.messaging 2014-08-22 11:02:25 +02:00
vmware NSX QoS ext: RXTX factor can be decimal 2015-06-25 10:20:13 -07:00
__init__.py Fix state_path in tests 2014-08-29 17:42:07 +03:00
_test_extension_portbindings.py Set vif_details to reflect enable_security_group 2014-11-05 07:55:33 +00:00
_test_rootwrap_exec.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
database_stubs.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
dummy_plugin.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
extension_stubs.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_agent_config.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_agent_ext_plugin.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_agent_linux_utils.py Make log level in linux.utils.execute configurable 2014-08-26 13:19:34 +04:00
test_agent_netns_cleanup.py Call config_parse in base test setup 2014-07-27 13:31:12 -07:00
test_agent_ovs_cleanup.py Call config_parse in base test setup 2014-07-27 13:31:12 -07:00
test_agent_rpc.py Fix AttributeError during startup of ovs agent in DVR mode 2015-01-23 09:38:11 -08:00
test_api_api_common.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_api_v2.py Merge "Eliminate OrderedDict from test_api_v2.py" 2014-09-27 15:04:49 +00:00
test_api_v2_extension.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_api_v2_resource.py Fix context.elevated 2014-11-25 11:20:34 +08:00
test_attributes.py NSX QoS ext: RXTX factor can be decimal 2015-06-25 10:20:13 -07:00
test_auth.py add auth token to context 2014-08-12 11:17:21 +09:00
test_basetestcase.py Prevent SystemExits when running tests 2014-09-01 15:05:16 -07:00
test_common_log.py Use method's logger in log decorator 2014-07-15 11:08:33 +02:00
test_common_utils.py Defer creation of router JSON in get_routers RPC 2015-04-21 04:32:30 -07:00
test_config.py Fix state_path in tests 2014-08-29 17:42:07 +03:00
test_db_migration.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_db_plugin.py Process port IP requests before subnet requests 2015-05-28 13:44:55 -07:00
test_db_plugin_level.py Refactor plugin setup helpers out of test.base 2014-08-25 14:44:27 +02:00
test_debug_commands.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_dhcp_agent.py Merge "Ensure metadata network works with DVR" into stable/juno 2015-06-03 09:02:28 +00:00
test_dhcp_rpc.py Fix KeyError in dhcp_rpc when plugin.port_update raise exception 2014-11-12 18:12:05 +05:30
test_dhcp_scheduler.py Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
test_extension_allowedaddresspairs.py Disable allowed_address_pair ip 0.0.0.0/0 ::/0 for ipset 2015-06-23 15:01:13 +00:00
test_extension_ext_gw_mode.py Allow reading a tenant router's external IP 2014-10-07 16:13:29 +00:00
test_extension_ext_net.py UTs: Disable auto deletion of ports/subnets/nets 2014-09-09 07:09:02 -07:00
test_extension_extended_attribute.py remove openvswitch plugin 2014-10-01 21:16:27 -07:00
test_extension_extradhcpopts.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_extension_extraroute.py Fix broken port query in Extraroute test case 2014-09-26 16:10:43 -07:00
test_extension_firewall.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_extension_pnet.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_extension_portsecurity.py UTs: Disable auto deletion of ports/subnets/nets 2014-09-09 07:09:02 -07:00
test_extension_security_group.py Convert all incoming protocol numbers to string 2014-11-25 10:56:32 -08:00
test_extensions.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_hacking.py Make sure we don't introduce oslo_* imports during backports 2015-02-11 13:51:40 +01:00
test_iptables_firewall.py Merge "Match order of iptables arguments to iptables-save" into stable/juno 2015-05-29 16:42:46 +00:00
test_iptables_manager.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_ipv6.py Fix IPv6 Subnet Slaac Check 2015-01-22 12:07:07 +01:00
test_l3_agent.py Merge "Improve exception handling in _process_router_update()" into stable/juno 2015-04-01 21:20:46 +00:00
test_l3_plugin.py Fixes floating IP regression with multiple routers 2015-05-07 21:48:47 +09:00
test_l3_schedulers.py Merge "Fixes race condition and boosts the scheduling performance" into stable/juno 2015-05-13 10:53:07 +00:00
test_linux_daemon.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_linux_dhcp.py Persist DHCP leases to a local database 2015-05-27 21:56:16 -07:00
test_linux_external_process.py Fix pid file location to avoid I->J changes that break metadata 2014-10-01 16:31:27 -07:00
test_linux_interface.py Correctly mock-out 'ip route...' calls in IPv6 test 2015-02-18 15:10:08 -07:00
test_linux_ip_lib.py Deletes floating ip related connection states 2014-09-23 21:48:06 +00:00
test_metadata_agent.py Merge "Rename workers to api_workers and simplify code" 2014-09-29 16:58:40 +00:00
test_metadata_namespace_proxy.py Fix 500 error on retrieving metadata by invalid URI 2014-09-18 12:03:08 -07:00
test_neutron_context.py add auth token to context 2014-08-12 11:17:21 +09:00
test_neutron_manager.py Refactor plugin setup helpers out of test.base 2014-08-25 14:44:27 +02:00
test_policy.py Merge "Forbid regular users to reset admin-only attrs to default values" 2014-09-25 03:58:57 +00:00
test_post_mortem_debug.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_provider_configuration.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_quota_ext.py remove linuxbridge plugin 2014-10-01 18:08:25 +00:00
test_routerserviceinsertion.py Refactor plugin setup helpers out of test.base 2014-08-25 14:44:27 +02:00
test_security_groups_rpc.py Merge "Match order of iptables arguments to iptables-save" into stable/juno 2015-05-29 16:42:46 +00:00
test_servicetype.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_wsgi.py Deal with PEP-0476 certificate chaining checking 2015-03-20 11:24:10 -04:00
testlib_api.py Delete DB records instead of tables to speedup UT 2014-09-17 09:05:49 -07:00
testlib_plugin.py Refactor plugin setup helpers out of test.base 2014-08-25 14:44:27 +02:00