Skip to content

Create/delete sandboxes from the context #152

@jsitnicki

Description

@jsitnicki

@jtaleric points out that Rally scenarios should be autonomous, that is they should not depend of the system state created by any scenarios that have run before them.

This is currently not true for scenarios that Rally ovs plugin provides because they depend on having a running controller sandbox (one with ovn-northd and NBDB/SBDB databases). Also, scenarios that involve port binding assume that there are fake chassis sandboxes running.

Instead of having scenarios for creating/destroying sandboxes that we need to run before/after the actual workload scenario, it would make sense to extend existing context(s) or create a new one that will create sandboxes before the scenario runs and clean them up afterwards.

An example of a such context can be found in Rally openstack plugin:
https://github.com/openstack/rally/blob/master/rally/plugins/openstack/context/nova/servers.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions