Letter
Letter
= "A" | "B" | "C" | "D" | "E" | "F" | "G"
| "H" | "I" | "J" | "K" | "L" | "M" | "N"
| "O" | "P" | "Q" | "R" | "S" | "T" | "U"
| "V" | "W" | "X" | "Y" | "Z" | "a" | "b"
| "c" | "d" | "e" | "f" | "g" | "h" | "i"
| "j" | "k" | "l" | "m" | "n" | "o" | "p"
| "q" | "r" | "s" | "t" | "u" | "v" | "w"
| "x" | "y" | "z"
;
Items referencing Letter:
Digit
Digit
= "0" | "1" | "2" | "3" | "4" | "5" | "6"
| "7" | "8" | "9"
;
Items referencing Digit:
Number
Number = Digit , { Digit } ;
Items referencing Number:
Number is referencing:
Symbol
Symbol
= "[" | "]" | "{" | "}" | "(" | ")" | "<"
| ">" | "=" | "|" | "." | "," | ";"
;
Identifier
Identifier = Letter , { Letter | Digit | "-" | "_" } ;
Items referencing Identifier:
- ArrayName
- DeviceName
- VolumeName
- TargetNVMSubsystemNVMeQualifiedName
- TransportServiceId
- TargetAddress
- SerialNumber
- ModelNumber
- TransportType
Identifier is referencing:
BooleanValue
BooleanValue = "true" | "false" ;
Items referencing BooleanValue:
ArrayName
ArrayName = Identifier ;
Items referencing ArrayName:
- MountArrayCmd
- UnmountArrayCmd
- ListArrayCmd
- AddSpareCmd
- RemoveSpareCmd
- DeleteArrayCmd
- CreateArrayCmd
- AutoCreateArrayCmd
- VolumeCreateCmd
- VolumeDeleteCmd
- VolumeMountCmd
- VolumeMountWithSubsystemCmd
- VolumeUnmountCmd
- VolumeListCmd
- VolumeRenameCmd
- QosVolumePolicyCmd
- QosVolumeResetCmd
- QosListCmd
- StopRebuildingCmd
ArrayName is referencing:
DeviceName
DeviceName = Identifier ;
Items referencing DeviceName:
DeviceName is referencing:
DeviceType
DeviceType = "uram" | "pram" ;
Items referencing DeviceType:
DeviceNameList
DeviceNameList = DeviceName , { "," , DeviceName } ;
Items referencing DeviceNameList:
DeviceNameList is referencing:
VolumeName
VolumeName = Identifier ;
Items referencing VolumeName:
- VolumeNameList
- VolumeCreateCmd
- VolumeDeleteCmd
- VolumeMountCmd
- VolumeMountWithSubsystemCmd
- VolumeUnmountCmd
- VolumeListCmd
- VolumeRenameCmd
VolumeName is referencing:
VolumeNameList
VolumeNameList = VolumeName , { "," , VolumeName } ;
Items referencing VolumeNameList:
VolumeNameList is referencing:
TargetNVMSubsystemNVMeQualifiedName
TargetNVMSubsystemNVMeQualifiedName = Identifier ;
Items referencing TargetNVMSubsystemNVMeQualifiedName:
TargetNVMSubsystemNVMeQualifiedName is referencing:
TransportServiceId
TransportServiceId = Identifier ;
Items referencing TransportServiceId:
TransportServiceId is referencing:
TargetAddress
TargetAddress = Identifier ;
Items referencing TargetAddress:
TargetAddress is referencing:
SerialNumber
SerialNumber = Identifier ;
Items referencing SerialNumber:
SerialNumber is referencing:
ModelNumber
ModelNumber = Identifier ;
Items referencing ModelNumber:
ModelNumber is referencing:
MaxNamespaces
MaxNamespaces = Number ;
Items referencing MaxNamespaces:
MaxNamespaces is referencing:
TransportType
TransportType = Identifier ;
Items referencing TransportType:
TransportType is referencing:
BufCacheSize
BufCacheSize = Number ;
Items referencing BufCacheSize:
BufCacheSize is referencing:
NumSharedBuffers
NumSharedBuffers = Number ;
Items referencing NumSharedBuffers:
NumSharedBuffers is referencing:
RaidType
RaidType =
[ "RAID5"
| "raid5"
| "RAID0"
| "raid0"
| "RAID10"
| "raid10"
] ;
Items referencing RaidType:
SubsystemNQN
SubsystemNQN = Letter , { Letter | Digit | "-" | "_" } ;
Items referencing SubsystemNQN:
SubsystemNQN is referencing:
VolumeSize
VolumeSize = Number ,
( "B" | "K" | "KiB" | "KB" | "G" | "GiB"
| "GB" | "T" | "TiB" | "TB" | "P" | "PiB"
| "PB" | "E" | "EiB" | "EB"
) ;
Items referencing VolumeSize:
VolumeSize is referencing:
IOPS
IOPS = Number ;
Items referencing IOPS:
IOPS is referencing:
Bandwidth
Bandwidth = Number , "MB/s" ;
Items referencing Bandwidth:
Bandwidth is referencing:
ApplicationName
ApplicationName = "poseidonos-cli" ;
Items referencing ApplicationName:
Cmd
Cmd = ApplicationName ,
( ArrayCmd | VolumeCmd | DeviceCmd
| SystemCmd | LoggerCmd | SubsystemCmd
| QosCmd | TelemetryCmd | DevelCmd
) ;
Cmd is referencing:
ArrayCmd
ArrayCmd = "array" ,
( MountArrayCmd | UnmountArrayCmd
| ListArrayCmd | AddSpareCmd
| RemoveSpareCmd | DeleteArrayCmd
| CreateArrayCmd | AutoCreateArrayCmd
) ;
Items referencing ArrayCmd:
ArrayCmd is referencing:
MountArrayCmd
MountArrayCmd = "mount" , ( "--array-name" | "-a" ) ,
ArrayName ;
Items referencing MountArrayCmd:
MountArrayCmd is referencing:
UnmountArrayCmd
UnmountArrayCmd = "unmount" , ( "--array-name" | "-a" ) ,
ArrayName , [ "--force" ] ;
Items referencing UnmountArrayCmd:
UnmountArrayCmd is referencing:
ListArrayCmd
ListArrayCmd = "list" , [ ( "--array-name" | "-a" ) ,
ArrayName ] ;
Items referencing ListArrayCmd:
ListArrayCmd is referencing:
AddSpareCmd
AddSpareCmd = "addspare" , ( "--spare" | "-s" ) ,
DeviceName , ( "--array-name" | "-a" ) , ArrayName ;
Items referencing AddSpareCmd:
AddSpareCmd is referencing:
RemoveSpareCmd
RemoveSpareCmd = "rmspare" , ( "--spare" | "-s" ) ,
DeviceName , ( "--array-name" | "-a" ) , ArrayName ,
[ "--force" ] ;
Items referencing RemoveSpareCmd:
RemoveSpareCmd is referencing:
DeleteArrayCmd
DeleteArrayCmd = "delete" , ( "--array-name" | "-a" ) ,
ArrayName , [ "--force" ] ;
Items referencing DeleteArrayCmd:
DeleteArrayCmd is referencing:
CreateArrayCmd
CreateArrayCmd = "create" , ( "--array-name" | "-a" ) ,
ArrayName , ( "--buffer" | "-b" ) , DeviceName ,
( "--data-devs" | "-d" ) , DeviceNameList ,
[ ( "--spare" | "-s" ) , DeviceName ] , [ "--raid" ,
RaidType ] ,
[ "--no-buffer" ] ;
Items referencing CreateArrayCmd:
CreateArrayCmd is referencing:
AutoCreateArrayCmd
AutoCreateArrayCmd = "autocreate" , ( "--array-name" | "-a" ) ,
ArrayName , ( "--buffer" | "-b" ) , DeviceName ,
( "--num-data-devs" | "-d" ) , Number , [ ( "--num-spare" | "-s" ) , Number ] ,
[ "--raid" , RaidType ] , [ "--no-buffer" ] ;
Items referencing AutoCreateArrayCmd:
AutoCreateArrayCmd is referencing:
VolumeCmd
VolumeCmd = "volume" ,
( VolumeCreateCmd | VolumeDeleteCmd
| VolumeMountCmd | VolumeMountWithSubsystemCmd
| VolumeUnmountCmd | VolumeListCmd
| VolumeRenameCmd
) ;
Items referencing VolumeCmd:
VolumeCmd is referencing:
VolumeCreateCmd
VolumeCreateCmd = "create" , ( "--volume-name" | "-v" ) ,
VolumeName , ( "--array-name" | "-a" ) , ArrayName ,
"--size" , VolumeSize , [ "--maxiops" , IOPS ] ,
[ "--maxbw" , Bandwidth ] ;
Items referencing VolumeCreateCmd:
VolumeCreateCmd is referencing:
VolumeDeleteCmd
VolumeDeleteCmd = "delete" , ( "--volume-name" | "-v" ) ,
VolumeName , ( "--array-name" | "-a" ) , ArrayName ,
[ "--force" ] ;
Items referencing VolumeDeleteCmd:
VolumeDeleteCmd is referencing:
VolumeMountCmd
VolumeMountCmd = "mount" , ( "--volume-name" | "-v" ) ,
VolumeName , ( "--array-name" | "-a" ) , ArrayName ,
[ "--subnqn" , TargetNVMSubsystemNVMeQualifiedName ] ,
[ ( "--trtype" | "-t" ) , TransportType ] ,
[ ( "--traddr" | "-i" ) , TargetAddress ] ,
[ ( "--trsvcid" | "-p" ) , TransportServiceId ] ,
[ "--force" ] ;
Items referencing VolumeMountCmd:
VolumeMountCmd is referencing:
VolumeMountWithSubsystemCmd
VolumeMountWithSubsystemCmd = "mount" , ( "--volume-name" | "-v" ) ,
VolumeName , ( "--subnqn" | "-q" ) , SubsystemNQN ,
( "--array-name" | "-a" ) , ArrayName , ( "--trtype" | "-t" ) ,
TransportType , ( "--traddr" | "-i" ) , TargetAddress ,
( "--trsvcid" | "-p" ) , TransportServiceId ;
Items referencing VolumeMountWithSubsystemCmd:
VolumeMountWithSubsystemCmd is referencing:
VolumeUnmountCmd
VolumeUnmountCmd = "unmount" , ( "--volume-name" | "-v" ) ,
VolumeName , ( "--array-name" | "-a" ) , ArrayName ,
[ "--force" ] ;
Items referencing VolumeUnmountCmd:
VolumeUnmountCmd is referencing:
VolumeListCmd
VolumeListCmd = "list" , ( "--array-name" | "-a" ) ,
ArrayName , [ ( "--volume-name" | "-v" ) , VolumeName ] ;
Items referencing VolumeListCmd:
VolumeListCmd is referencing:
VolumeRenameCmd
VolumeRenameCmd = "rename" , ( "--volume-name" | "-v" ) ,
VolumeName , ( "--new-volume-name" | "-n" ) ,
VolumeName , ( "--array-name" | "-a" ) , ArrayName ;
Items referencing VolumeRenameCmd:
VolumeRenameCmd is referencing:
DeviceCmd
DeviceCmd = "device" ,
( CreateDeviceCmd
| ScanDeviceCmd
| ListDeviceCmd
| SMARTLOGCmd
) ;
Items referencing DeviceCmd:
DeviceCmd is referencing:
CreateDeviceCmd
CreateDeviceCmd = "create" , ( "--device-name" | "-d" ) ,
DeviceName , [ "--num-blocks" , { Digit } ] ,
[ "--block-size" , { Digit } ] , [ "--device-type" ,
DeviceType ] ;
Items referencing CreateDeviceCmd:
CreateDeviceCmd is referencing:
ScanDeviceCmd
ScanDeviceCmd = "scan" ;
Items referencing ScanDeviceCmd:
ListDeviceCmd
ListDeviceCmd = "list" ;
Items referencing ListDeviceCmd:
SMARTLOGCmd
SMARTLOGCmd = "smart-log" , ( "--device-name" | "-d" ) ,
DeviceName ;
Items referencing SMARTLOGCmd:
SMARTLOGCmd is referencing:
SystemCmd
SystemCmd = "system" ,
( StartSystemCmd
| StopSystemCmd
| SystemInfoCmd
| SetSystemPropertyCmd
) ;
Items referencing SystemCmd:
SystemCmd is referencing:
StartSystemCmd
StartSystemCmd = "start" ;
Items referencing StartSystemCmd:
StopSystemCmd
StopSystemCmd = "stop" , [ "--force" ] ;
Items referencing StopSystemCmd:
SystemInfoCmd
SystemInfoCmd = "info" ;
Items referencing SystemInfoCmd:
SetSystemPropertyCmd
SetSystemPropertyCmd = "set-property" , [ "--rebuild-impact" ,
( "high" | "low" ) ] ;
Items referencing SetSystemPropertyCmd:
LoggerCmd
LoggerCmd = "logger" ,
( SetLogLevelCmd
| GetLogLevelCmd
| ApplyLogFilterCmd
| LoggerInfoCmd
| SetPreferenceCmd
) ;
Items referencing LoggerCmd:
LoggerCmd is referencing:
SetLogLevelCmd
SetLogLevelCmd = "set-level" , "--level" , LogLevel ;
Items referencing SetLogLevelCmd:
SetLogLevelCmd is referencing:
LogLevel
LogLevel
= "info"
| "debug"
| "warning"
| "error"
| "critical"
;
Items referencing LogLevel:
GetLogLevelCmd
GetLogLevelCmd = "get-level" ;
Items referencing GetLogLevelCmd:
ApplyLogFilterCmd
ApplyLogFilterCmd = "apply-filter" ;
Items referencing ApplyLogFilterCmd:
LoggerInfoCmd
LoggerInfoCmd = "info" ;
Items referencing LoggerInfoCmd:
SetPreferenceCmd
SetPreferenceCmd = "set-preference" , [ "--log-json" ,
BooleanValue ] ;
Items referencing SetPreferenceCmd:
SetPreferenceCmd is referencing:
QosCmd
QosCmd = "qos" ,
( QosVolumePolicyCmd
| QosVolumeResetCmd
| QosListCmd
) ;
Items referencing QosCmd:
QosCmd is referencing:
QosVolumePolicyCmd
QosVolumePolicyCmd = "create" , ( "--volume-name" | "-v" ) ,
VolumeNameList , ( "--array-name" | "-a" ) ,
ArrayName , [ "--miniops" , IOPS ] , [ "--maxiops" , IOPS ] ,
[ "--minbw" , Bandwidth ] , [ "--maxbw" , Bandwidth ] ;
Items referencing QosVolumePolicyCmd:
QosVolumePolicyCmd is referencing:
QosVolumeResetCmd
QosVolumeResetCmd = "reset" , ( "--volume-name" | "-v" ) ,
VolumeNameList , ( "--array-name" | "-a" ) ,
ArrayName ;
Items referencing QosVolumeResetCmd:
QosVolumeResetCmd is referencing:
QosListCmd
QosListCmd = "list" , [ ( "--volume-name" | "-v" ) ,
VolumeNameList ] ,
[ ( "--array-name" | "-a" ) , ArrayName ] ;
Items referencing QosListCmd:
QosListCmd is referencing:
SubsystemCmd
SubsystemCmd = "subsystem" ,
( CreateSubsystemCmd
| DeleteSubsystemCmd
| ListSubsystemCmd
| AddListenerCmd
| CreateTransportCmd
) ;
Items referencing SubsystemCmd:
SubsystemCmd is referencing:
CreateSubsystemCmd
CreateSubsystemCmd = "create" , ( "--subnqn" | "-q" ) ,
SubsystemNQN , [ "--serial-number" , SerialNumber ] ,
[ "--model-number" , ModelNumber ] , [ ( "--max-namespaces" | "-m" ) ,
MaxNamespaces ] ,
[ "--allow-any-host" | "-o" ] , [ "--ana-reporting" | "-r" ] ;
Items referencing CreateSubsystemCmd:
CreateSubsystemCmd is referencing:
DeleteSubsystemCmd
DeleteSubsystemCmd = "delete" , ( "--subnqn" | "-q" ) ,
SubsystemNQN , [ "--force" ] ;
Items referencing DeleteSubsystemCmd:
DeleteSubsystemCmd is referencing:
ListSubsystemCmd
ListSubsystemCmd = "list" , [ ( "--subnqn" | "-q" ) ,
SubsystemNQN ] ;
Items referencing ListSubsystemCmd:
ListSubsystemCmd is referencing:
AddListenerCmd
AddListenerCmd = "add-listener" , ( "--subnqn" | "-q" ) ,
SubsystemNQN , ( "--trtype" | "-t" ) , TransportType ,
( "--traddr" | "-i" ) , TargetAddress , ( "--trsvcid" | "-p" ) ,
TransportServiceId ;
Items referencing AddListenerCmd:
AddListenerCmd is referencing:
CreateTransportCmd
CreateTransportCmd = "create-transport" ,
( "--trtype" | "-t" ) , TransportType , [ ( "--buf-cache-size" | "-c" ) ,
BufCacheSize ] ,
[ "--num-shared-buf" , NumSharedBuffers ] ;
Items referencing CreateTransportCmd:
CreateTransportCmd is referencing:
TelemetryCmd
TelemetryCmd = "telemetry" , ( TelemetryStartCmd | TelemetryStopCmd ) ;
Items referencing TelemetryCmd:
TelemetryCmd is referencing:
TelemetryStartCmd
TelemetryStartCmd = TelemetryCmd , "start" ;
Items referencing TelemetryStartCmd:
TelemetryStartCmd is referencing:
TelemetryStopCmd
TelemetryStopCmd = TelemetryCmd , "stop" ;
Items referencing TelemetryStopCmd:
TelemetryStopCmd is referencing:
DevelCmd
DevelCmd = "devel" ,
( ResetMbrCmd
| StopRebuildingCmd
| UpdateEventWrrCmd
| ResetEventWrrCmd
) ;
Items referencing DevelCmd:
DevelCmd is referencing:
ResetMbrCmd
ResetMbrCmd = "resetmbr" ;
Items referencing ResetMbrCmd:
StopRebuildingCmd
StopRebuildingCmd = "stop-rebuilding" , ( "--array-name" | "-a" ) ,
ArrayName ;
Items referencing StopRebuildingCmd:
StopRebuildingCmd is referencing:
UpdateEventWrrCmd
UpdateEventWrrCmd = "update-event-wrr" , "--name" ,
( "flush"
| "fe_rebuild"
| "rebuild"
| "gc"
) , "--weight" , ( "1" | "2" | "3" ) ;
Items referencing UpdateEventWrrCmd:
ResetEventWrrCmd
ResetEventWrrCmd = "reset-event-wrr" ;
Items referencing ResetEventWrrCmd: