Home  Credo  Pics  Diary  MAAS 

MAAS CLI bcaches command

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

bcaches command reference

bcaches command

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

Manage bcache devices on a machine.

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

drill down:
  COMMAND
    read      List all bcache devices
    create    Creates a bcache

bcaches read command

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

List all bcache devices


Positional arguments:
	system_id


List all bcache devices 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

bcaches create command

usage: maas admin bcaches create [--help] [-d] [-k]
				 system_id [data [data ...]]

Creates a bcache


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.

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.
:type cache_set: String

 :param backing_device: Optional.  Backing block device.
:type backing_device: String

 :param backing_partition: Optional.  Backing partition.
: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

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.