Test profiles
Isolated networks that recovery tests run in. Operator only.
test profile create
Create a test profile: how a test's isolated network is built (operator).
openstack backup test profile create <name> --target-project <project> \
--network-cidr <cidr> [--strict] [--no-strict] [--jump-host] \
[--no-jump-host] [--jump-host-image <image>] \
[--jump-host-flavor <flavor>] [--max-duration <duration>] \
[--permitted-check <check>] [--isolation-canary <host:port>]
| Argument | Description |
|---|---|
<name> | Profile name, unique on this cloud. |
--target-project <project> | Operator project every test under this profile is built in. Required. |
--network-cidr <cidr> | CIDR to allocate test networks from (repeatable, replaces on set) Required. |
--strict | Forbid routers, gateways and floating IPs (default for a new profile) |
--no-strict | Allow routers and floating IPs on a test's networks. |
--jump-host | Build a jump host for checks and canaries (default for a new profile) |
--no-jump-host | Build no jump host. |
--jump-host-image <image> | Image the jump host boots, default the service's probe image. |
--jump-host-flavor <flavor> | Flavor of the jump host, default the service's probe flavor. |
--max-duration <duration> | How long a test network may stand, 10m to 168h, 1h for a new profile. |
--permitted-check <check> | Allowed health check, tcp or http (repeatable, replaces on set) One of tcp, http. |
--isolation-canary <host:port> | Address a test network must not reach (repeatable, replaces on set) |
test profile delete
Delete test profiles no registration names and no test ran under (operator).
openstack backup test profile delete <test-profile> [<test-profile> ...]
| Argument | Description |
|---|---|
<test-profile> | Test profile name or id. Takes one or more. |
test profile list
List the test profiles a test failover can run under.
openstack backup test profile list
test profile set
Change the given fields of a test profile (operator).
openstack backup test profile set <test-profile> [--name <name>] \
[--target-project <project>] [--network-cidr <cidr>] [--strict] \
[--no-strict] [--jump-host] [--no-jump-host] [--jump-host-image <image>] \
[--jump-host-flavor <flavor>] [--max-duration <duration>] \
[--permitted-check <check>] [--isolation-canary <host:port>]
| Argument | Description |
|---|---|
<test-profile> | Test profile name or id. |
--name <name> | New name. |
--target-project <project> | Operator project every test under this profile is built in. |
--network-cidr <cidr> | CIDR to allocate test networks from (repeatable, replaces on set) |
--strict | Forbid routers, gateways and floating IPs (default for a new profile) |
--no-strict | Allow routers and floating IPs on a test's networks. |
--jump-host | Build a jump host for checks and canaries (default for a new profile) |
--no-jump-host | Build no jump host. |
--jump-host-image <image> | Image the jump host boots, default the service's probe image. |
--jump-host-flavor <flavor> | Flavor of the jump host, default the service's probe flavor. |
--max-duration <duration> | How long a test network may stand, 10m to 168h, 1h for a new profile. |
--permitted-check <check> | Allowed health check, tcp or http (repeatable, replaces on set) One of tcp, http. |
--isolation-canary <host:port> | Address a test network must not reach (repeatable, replaces on set) |
test profile unset
Clear fields of a test profile (operator).
openstack backup test profile unset <test-profile> [--isolation-canary] \
[--jump-host-image] [--jump-host-flavor]
| Argument | Description |
|---|---|
<test-profile> | Test profile name or id. |
--isolation-canary | Remove every isolation canary. |
--jump-host-image | Boot the service's probe image. |
--jump-host-flavor | Use the service's probe flavor. |