cterasdk.edge.drive module#

class cterasdk.edge.drive.Drive(gateway)#

Bases: BaseCommand

Gateway Drive APIs

format(name)#

Format a drive

Parameters:

name (str) – The name of the drive to format

format_all()#

Format all drives

get(name=None)#

Get Drive. If a drive name was not passed as an argument, a list of all drives will be retrieved

Parameters:

name (str,optional) – Name of the drive

get_status(name=None)#

Get drive status. If a drive name was not passed as an argument, a list of all drives will be retrieved

Parameters:

name (str) – Name of the drive