Home  Credo  Pics  Diary  MAAS 

MAAS CLI bcache-cache-set command

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

bcache-cache-set command reference

bcache-cache-set command

$ maas admin bcache-cache-set --help

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

Manage bcache cache set on a machine.

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

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

bcache-cache-set read command

$ maas admin bcache-cache-set read --help

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

Read a bcache cache set


Positional arguments:
	system_id
	id


Read bcache cache set 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-cache-set update command

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

Update a bcache set


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 cache set on a machine.

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

:param cache_device: Optional.  Cache block device to
replace current one.
:type cache_device: String

 :param cache_partition: Optional.  Cache partition to
replace current one.
: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

bcache-cache-set delete command

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

Delete a bcache set


Positional arguments:
	system_id
	id


Delete bcache cache set 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:16 by Bill Wear (stormrider)


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