
As discussed on the neutron-performance meeting [1] floating IP operations should be covered in the neutron gate rally job. As I set out to write the missing tests I discovered that some of them were already written by rally folks. For example see [2]. Keep in mind the test code has been relocated since to the rally-openstack repository. For example see [3]. They were later added to neutron's rally job definition [4]. Here we add one more scenario to exercise the floating IP operations left uncovered by the above changes: associate and dissociate. [1] http://eavesdrop.openstack.org/meetings/neutron_performance/2018/neutron_performance.2018-10-22-16.02.log.html#l-143 [2] https://review.openstack.org/225223 [3] https://github.com/openstack/rally-openstack/blob/4e4bfc5/rally_openstack/scenarios/neutron/network.py [4] https://review.openstack.org/620952 Change-Id: I32f3bad82fa0ca822e80d51220c120568a709332 Needed-By: https://review.openstack.org/624038
rally-openstack
Rally plugins for OpenStack platform
Usage
# Install this package (will install rally if not installed)
pip install rally-openstack
# List all installed plugins
rally plugin list --platform openstack
# Create OpenStack Env
cat <<EOT >> env.yaml
---
openstack:
auth_url: "https://keystone.net/identity"
region_name: RegionOne
https_insecure: False
users:
- username: user_that_runs_commands
password: his password
project_name: project_that_users_belong_to
EOT
rally env create --name my_openstack --spec env.yaml
# Check that you provide correct credentials
rally env check
# Collect key Open Stack metrics
rally task start ./tasks/openstack_metrics/task.yaml --task-args {"image_name": "image_to_use", "flavor_name": "flavor_to_use"}
# Generate Report
rally task report --out report.html
Links
- Free software: Apache license
- Documentation: https://rally.readthedocs.org/en/latest/
- Source: https://git.openstack.org/cgit/openstack/rally-openstack
- Bugs: https://bugs.launchpad.net/rally
- Step-by-step tutorial: https://rally.readthedocs.io/en/latest/quick_start/tutorial.html
- Launchpad page: https://launchpad.net/rally
- Gitter chat: https://gitter.im/rally-dev/Lobby
- Trello board: https://trello.com/b/DoD8aeZy/rally
Description
Languages
Python
99.4%
HTML
0.3%
Shell
0.3%