cterasdk.edge.array module

cterasdk.edge.array module#

class cterasdk.edge.array.Array(gateway)#

Bases: BaseCommand

Gateway Array APIs

add(array_name, level, members=None)#

Add a new array

Parameters:
  • array_name (str) – Name for the new array

  • level (RAIDLevel) – RAID level

  • members (list(str)) – Members of the array. If not specified, the system will try to create an array using all available drives

delete(array_name)#

Delete an array

Parameters:

name (str) – The name of the array to delete

delete_all()#

Delete all arrays

get(name=None)#

Get Array. If an array name was not passed as an argument, a list of all arrays will be retrieved

Parameters:

name (str,optional) – Name of the array