Support of quotas in benchmarking context

Registered by bsemp

Currently all generated benchmark tenants are created with the default Openstack quotas.
These default values generally do not allow to create more than 10 servers or 10 volumes for example.

This blueprint propose to support quotas modification for generated benchmark's tenants by extended the context object,
allowing to run large scale scenarios.

Openstack quotas are set per service and therefore can be separated into three categories:
 - Servers related quotas configured via Nova
 - volumes related quotas configured via Cinder
 - Network related quotas configured via Neutron

Benchmark quotas will be defined using the following syntax in task configuration file:

"context": {
 [...]
 "quotas": {
  "nova": {
   "instances": 50,
   "ram": -1,
   [...]
  },
  "cinder": {
   "volumes": 100,
   "snapshots": -1,
   [...]
  },
  "neutron": {
   "network": 10,
   [...]
  }
 }
}

This blueprint will be implemented in 3 steps:

1. Add support for nova and cinder quotas in the context object.

2. Add support for the neutron client in the osclients object.
Currently, Neutron client is not declared in the available openstack clients.

3. Add support for neutron quotas in the context object.

Blueprint information

Status:
Complete
Approver:
Boris Pavlovic
Priority:
High
Drafter:
bsemp
Direction:
Approved
Assignee:
bsemp
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Boris Pavlovic
Completed by
bsemp

Related branches

Sprints

Whiteboard

Thank you for great description

Gerrit topic: https://review.openstack.org/#q,topic:bp/benchmark-context-tenant-quotas,n,z

Addressed by: https://review.openstack.org/83835
    Add nova/cinder quotas management in benchmark context

Addressed by: https://review.openstack.org/85038
    Add support for the neutron client in the osclients object

Addressed by: https://review.openstack.org/85377
    Add neutron quotas management in benchmark context

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.