Skip to content

Commit

Permalink
[#3886 2/4] Region replacement omdb commands (#5820)
Browse files Browse the repository at this point in the history
This commit adds some commands to omdb related to the new region
replacement logic:

    $ ./target/debug/omdb db region-replacement
Query for information about region replacements, optionally manually
triggering one

    Usage: omdb db region-replacement [OPTIONS] <COMMAND>

    Commands:
      list     List region replacement requests
      status   Show current region replacements and their status
      info     Show detailed information for a region replacement
      request  Manually request a region replacement
      help     Print this message or the help of the given subcommand(s)

`list` will list all region replacement requests, along with their
request time and state.

`status` will show a summary of all non-Complete region replacements,
along with their state and progress.

`info` will show a detailed view of a region replacement, starting with
the details that the `status` summary shows, then showing all related
notifications and steps taken to drive the replacement forward.

Finally, `request` will request that a region be replaced, and return
the ID of the replacement.
  • Loading branch information
jmpesp authored May 29, 2024
1 parent 7e84fd9 commit 7633d17
Show file tree
Hide file tree
Showing 6 changed files with 504 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dev-tools/omdb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ uuid.workspace = true
ipnetwork.workspace = true
omicron-workspace-hack.workspace = true
multimap.workspace = true
indicatif.workspace = true

[dev-dependencies]
expectorate.workspace = true
Expand Down
Loading

0 comments on commit 7633d17

Please sign in to comment.