Home  Credo  Pics  Diary  MAAS 

MAAS CLI bcache-cache-sets command

Getting started Advanced activities
Intro jq Tricks
Install SSH/SCP
Config More jq Tricks
DHCP MAAS CLI Walkthru
Commissioning  
Deployment  

bcache-cache-sets command reference

bcache-cache-sets command

$ maas admin bcache-cache-sets -h

usage: maas admin bcache-cache-sets [-h] COMMAND ...

Manage bcache cache sets on a machine.

optional arguments:
  -h, --help  show this help message and exit

drill down:
  COMMAND
    read      List bcache sets
    create    Creates a bcache cache set

bcache-cache-sets read command

usage: maas admin bcache-cache-sets read [--help] [-d] [-k]
					 system_id [data [data ...]]

List bcache sets


Positional arguments:
	system_id


List all bcache cache sets belonging to a machine.


Common command-line options:
    --help, -h
	Show this help message and exit.
    -d, --debug
	Display more information about API responses.
    -k, --insecure
	Disable SSL certificate check

bcache-cache-sets create command

usage: maas admin bcache-cache-sets create [--help] [-d] [-k]
					   system_id [data [data ...]]

Creates a bcache cache set


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.

Creates a bcache cache set.

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

:param cache_device: Optional.  Cache block device.
:type cache_device: String

 :param cache_partition: Optional.   Cache partition.
:type cache_partition: String


Common command-line options:
    --help, -h
	Show this help message and exit.
    -d, --debug
	Display more information about API responses.
    -k, --insecure
	Disable SSL certificate check

Updated 2021-09-04 Sat 17:18 by Bill Wear (stormrider)


Copyright (C) 2020 by Bill Wear. All rights reserved, but asking to use is permitted and welcome.