Home  Credo  Pics  Diary  MAAS 

MAAS CLI bcache command

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

bcache command references

bcache command

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

Manage bcache device on a machine.

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

drill down:
  COMMAND
    read      Read a bcache device
    update    Update a bcache
    delete    Delete a bcache

bcache read command

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

Read a bcache device


Positional arguments:
	system_id
	id


Read bcache device on 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 update command

usage: maas admin bcache update [--help] [-d] [-k]
				system_id id [data [data ...]]

Update a bcache


Positional arguments:
	system_id
	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.

Update bcache on a machine.

Specifying both a device and a partition for a given role (cache or
backing) is not allowed.

:param name: Optional.  Name of the Bcache.
:type name: String

 :param uuid: Optional.  UUID of the Bcache.
:type uuid: String

 :param cache_set: Optional.  Cache set to replace
current one.
:type cache_set: String

 :param backing_device: Optional.  Backing block device
to replace current one.
:type backing_device: String

 :param backing_partition: Optional.  Backing partition
to replace current one.
:type backing_partition: String

 :param cache_mode: Optional.  Cache mode:
``WRITEBACK``, ``WRITETHROUGH``, ``WRITEAROUND``.
:type cache_mode: 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

bcache delete command

usage: maas admin bcache delete [--help] [-d] [-k]
				system_id id [data [data ...]]

Delete a bcache


Positional arguments:
	system_id
	id


Delete bcache on 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

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


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