Support of context for benchmarks

Registered by Boris Pavlovic

Currently we have 3 context things:
1) UserGenerator context - which allows to create & delete users & tenants
2) Resource cleaner - which allows to delete resource that were created from users
3) SSH access prepare - which allows to connect via ssh to VMs

In future we will have probably even more context (ftp, some resource context and so on on)

The goal of this blueprint is to make support of "context" in common way without spaghetti in code + context should be configurable in two ways:
1) via config (e.g. create 400 images in glance before starting)
2) via decorator of benchmark scenario (in case of NovaServers.boot_runncomand_server() )
3) context object with all info should be passed to each scenario call.

Blueprint information

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

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/77322
    Prepare for real benchmark context support

Addressed by: https://review.openstack.org/78193
    Unify Context classes and introduce context object

Addressed by: https://review.openstack.org/79752
    Pass context to secnarios

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

Addressed by: https://review.openstack.org/85732
    (WIP) Add benchmark-context manager

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.