Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions dev-tools/omdb/src/bin/omdb/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ mod alert;
mod blueprints;
mod db_metadata;
mod ereport;
mod multicast;
mod saga;
mod sitrep;
mod user_data_export;
Expand Down Expand Up @@ -401,6 +402,8 @@ enum DbCommands {
/// Print information about migrations
#[clap(alias = "migration")]
Migrations(MigrationsArgs),
/// Print information about multicast groups
Multicast(multicast::MulticastArgs),
/// Print information about snapshots
Snapshots(SnapshotArgs),
/// Validate the contents of the database
Expand Down Expand Up @@ -1367,6 +1370,33 @@ impl DbArgs {
}) => {
cmd_db_migrations_list(&datastore, &fetch_opts, args).await
}
DbCommands::Multicast(multicast::MulticastArgs {
command: multicast::MulticastCommands::Groups(args),
}) => {
multicast::cmd_db_multicast_groups(
&opctx, &datastore, &fetch_opts, &args,
)
.await
}
DbCommands::Multicast(multicast::MulticastArgs {
command: multicast::MulticastCommands::Members(args),
}) => {
multicast::cmd_db_multicast_members(&datastore, &fetch_opts, &args)
.await
}
DbCommands::Multicast(multicast::MulticastArgs {
command: multicast::MulticastCommands::Pools,
}) => {
multicast::cmd_db_multicast_pools(&datastore, &fetch_opts).await
}
DbCommands::Multicast(multicast::MulticastArgs {
command: multicast::MulticastCommands::Info(args),
}) => {
multicast::cmd_db_multicast_info(
&opctx, &datastore, &fetch_opts, &args,
)
.await
}
DbCommands::Snapshots(SnapshotArgs {
command: SnapshotCommands::Info(uuid),
}) => cmd_db_snapshot_info(&opctx, &datastore, uuid).await,
Expand Down
Loading
Loading