bcache-cache-set

Manage bcache cache set(s) on a machine.

Usage

maas $PROFILE bcache-cache-set [-h] COMMAND ...

Remember to replace $PROFILE with your profile name.

Command-line options

Option Action
-h, --help show this help message and exit

COMMANDS

COMMAND ACTION
delete Delete a bcache set
read Read a bcache cache set
update Update a bcache set

Delete a bcache set

Delete bcache cache set on a machine.

Usage

maas $PROFILE bcache-cache-set delete [--help] [-d] [-k] system_id id [data ...]

Remember to replace $PROFILE with your profile name.

Positional arguments

  • system_id
  • id

Command-line options

Option Action
–help, -h Show this help message and exit.
-d, --debug Display more information about API responses.
-k, --insecure Disable SSL certificate check

Read a bcache cache set

Read bcache cache set on a machine.

Usage

maas $PROFILE bcache-cache-set read [--help] [-d] [-k] system_id id [data ...]

Remember to replace $PROFILE with your profile name.

Positional arguments

  • system_id
  • id

Command-line options

Option Action
–help, -h Show this help message and exit.
-d, --debug Display more information about API responses.
-k, --insecure Disable SSL certificate check

Manage bcache cache sets on a machine.

Usage

maas $PROFILE bcache-cache-sets [-h] COMMAND ...

Remember to replace $PROFILE with your profile name.

Command-line options

Option Action
-h, --help show this help message and exit

COMMANDS

COMMAND ACTION
create Creates a bcache cache set
read List bcache sets

Create a bcache cache set

Creates a bcache cache set.

Usage

maas $PROFILE bcache-cache-sets create [--help] [-d] [-k]system_id [data ...]

Remember to replace $PROFILE with your profile name.

Positional arguments

  • system_id

This method accepts keyword arguments. Pass each argument as a key-value pair with an equals sign between the key and the value: key1=value1 key2=value key3=value3. Keyword arguments must come after any positional arguments.

Note that specifying both a cache_device and a cache_partition is not allowed.

Data parameter “cache_device”

Optional. Cache block device.
Type: String

Data parameter “cache_partition”

Optional. Cache partition.
Type: String

Command-line options

Option Action
–help, -h Show this help message and exit.
-d, --debug Display more information about API responses.
-k, --insecure Disable SSL certificate check

List bcache sets

List all bcache cache sets belonging to a machine.

Usage

maas $PROFILE bcache-cache-sets read [--help] [-d] [-k]system_id [data ...]

Remember to replace $PROFILE with your profile name.

Positional arguments

  • system_id

Command-line options

Option Action
–help , -h Show this help message and exit.
-d, --debug Display more information about API responses.
-k, --insecure Disable SSL certificate check

Last updated 2 days ago.