{
    "Resources": [
        {
            "Uri": "/cli/v1/storage",
            "Interfaces": [
                {
                    "Type": "Get",
                    "Description": "Get storage device information"
                }
            ]
        },
        {
            "Uri": "/cli/v1/storage/arrayinfo",
            "Interfaces": [
                {
                    "Type": "Get",
                    "Description": "Get the information of disk array",
                    "Usage": "ipmcget -t storage -d arrayinfo -v <ContollerID> <Option>",
                    "Example": [
                        "ipmcget -t storage -d arrayinfo -v 0 all",
                        "ipmcget -t storage -d arrayinfo -v 0 0"
                    ],
                    "ReqBody": {
                        "Type": "object",
                        "Required": true,
                        "Properties": {
                            "ContollerID": {
                                "Required": true,
                                "Type": "integer",
                                "Validator": [
                                    {
                                        "Type": "Range",
                                        "Formula": [
                                            0,
                                            255
                                        ]
                                    }
                                ],
                                "Description": "RAID Controller ID (An non-negative integer base 0). eg. 0,1,2..."
                            },
                            "Option": {
                                "Required": true,
                                "Description": "\n        all  - Show all disk arrays attached to this RAID controller.\n        ID   - Show only one disk array which matches with this ID."
                            }
                        }
                    },
                    "RspBody": {
                        "ContollerID": "${ReqBody/ContollerID}",
                        "Option": "${ReqBody/Option}",
                        "ControllerList": "${ProcessingFlow[1]/Destination/ControllerList}",
                        "GetDiskList": "${Statements/GetDiskList()}"
                    },
                    "Statements": {
                        "GetPathSuccess": {
                            "Steps": [
                                {
                                    "Type": "Script",
                                    "Formula": "return type(ProcessingFlow[2].Destination.Path) == 'string'"
                                }
                            ]
                        },
                        "GetDiskList": {
                            "Input": "${ProcessingFlow[3]/Destination/DiskList}",
                            "Steps": [
                                {
                                    "Type": "Expand"
                                }
                            ]
                        }
                    },
                    "ProcessingFlow": [
                        {
                            "Type": "List",
                            "Path": "/bmc/kepler/Systems/1/Storage/Controllers",
                            "Interface": "bmc.kepler.Systems.Storage.Controller",
                            "Destination": {
                                "Members": "ControllerList"
                            }
                        },
                        {
                            "Type": "Method",
                            "Path": "/bmc/kepler/MdbService",
                            "Interface": "bmc.kepler.Mdb",
                            "Name": "GetPath",
                            "Params": [
                                "bmc.kepler.Systems.Storage.Controller",
                                {
                                    "Id": "${ReqBody/ContollerID}"
                                },
                                false
                            ],
                            "Destination": {
                                "Path": "Path"
                            }
                        },
                        {
                            "Type": "List",
                            "Path": "${ProcessingFlow[2]/Destination/Path}/DiskArrays",
                            "Interface": "bmc.kepler.Systems.Storage.DiskArray",
                            "Destination": {
                                "Members": "DiskList"
                            },
                            "CallIf": {
                                "${Statements/GetPathSuccess()}": true
                            }
                        }
                    ],
                    "Echoes": [
                        "ipmcget/storage_arrayinfo",
                        ""
                    ]
                }
            ]
        },
        {
            "Uri": "/bmc/kepler/Systems/1/Storage/Controllers/:index/DiskArrays/:option",
            "Interfaces": [
                {
                    "Type": "Get",
                    "RspBody": {
                        "Id": "${ProcessingFlow[1]/Destination/Id}",
                        "UsedSpaceMiB": "${ProcessingFlow[1]/Destination/UsedSpaceMiB}",
                        "TotalFreeSpaceMiB": "${ProcessingFlow[1]/Destination/TotalFreeSpaceMiB}",
                        "RefVolumes": "${ProcessingFlow[1]/Destination/RefVolumes}",
                        "RefDrives": "${ProcessingFlow[1]/Destination/RefDrives}",
                        "FreeBlocksSpaceMiB": "${ProcessingFlow[1]/Destination/FreeBlocksSpaceMiB}"
                    },
                    "ProcessingFlow": [
                        {
                            "Type": "Property",
                            "Path": "/bmc/kepler/Systems/1/Storage/Controllers/${Uri/index}/DiskArrays/${Uri/option}",
                            "Interface": "bmc.kepler.Systems.Storage.DiskArray",
                            "Destination": {
                                "Id": "Id",
                                "UsedSpaceMiB": "UsedSpaceMiB",
                                "TotalFreeSpaceMiB": "TotalFreeSpaceMiB",
                                "RefVolumes": "RefVolumes",
                                "RefDrives": "RefDrives",
                                "FreeBlocksSpaceMiB": "FreeBlocksSpaceMiB"
                            }
                        }
                    ]
                }
            ]
        },
        {
            "Uri": "/cli/v1/storage/ctrlinfo",
            "Interfaces": [
                {
                    "Type": "Get",
                    "Description": "Get the information of RAID controller",
                    "Usage": "ipmcget -t storage -d ctrlinfo -v <Option>",
                    "ReqBody": {
                        "Type": "object",
                        "Required": true,
                        "Properties": {
                            "Option": {
                                "Required": true,
                                "Description": "\n\tall   - Show all RAID controllers.\n\tID    - Show one RAID controller with this ID(An non-negative integer base 0). eg. 0,1,2..."
                            }
                        }
                    },
                    "RspBody": {
                        "Option": "${ReqBody/Option}",
                        "GetControllerList": "${Statements/GetControllerList()}"
                    },
                    "Statements": {
                        "GetControllerList": {
                            "Input": "${ProcessingFlow[1]/Destination/ControllerList}",
                            "Steps": [
                                {
                                    "Type": "Expand"
                                }
                            ]
                        }
                    },
                    "ProcessingFlow": [
                        {
                            "Type": "List",
                            "Path": "/bmc/kepler/Systems/1/Storage/Controllers",
                            "Interface": "bmc.kepler.Systems.Storage.Controller",
                            "Destination": {
                                "Members": "ControllerList"
                            }
                        }
                    ],
                    "Echoes": [
                        "ipmcget/storage_ctrlinfo",
                        ""
                    ]
                }
            ]
        },
        {
            "Uri": "/bmc/kepler/Systems/1/Storage/Controllers/:Id",
            "Interfaces": [
                {
                    "Type": "Get",
                    "RspBody": {
                        "Id": "${ProcessingFlow[1]/Destination/Id}",
                        "TypeId": "${ProcessingFlow[1]/Destination/TypeId}",
                        "Name": "${ProcessingFlow[1]/Destination/Name}",
                        "OOBSupport": "${ProcessingFlow[1]/Destination/OOBSupport}",
                        "SupportedRAIDTypes": "${ProcessingFlow[1]/Destination/SupportedRAIDTypes}",
                        "FirmwareVersion": "${ProcessingFlow[1]/Destination/FirmwareVersion}",
                        "NVDataVersion": "${ProcessingFlow[1]/Destination/NVDataVersion}",
                        "HardwareRevision": "${ProcessingFlow[1]/Destination/HardwareRevision}",
                        "MemorySizeMiB": "${ProcessingFlow[1]/Destination/MemorySizeMiB}",
                        "DeviceInterface": "${ProcessingFlow[1]/Destination/DeviceInterface}",
                        "SASAddr": "${ProcessingFlow[1]/Destination/SASAddr}",
                        "MinStripSizeBytes": "${ProcessingFlow[1]/Destination/MinStripSizeBytes}",
                        "MaxStripSizeBytes": "${ProcessingFlow[1]/Destination/MaxStripSizeBytes}",
                        "HotSpareActivationMode": "${ProcessingFlow[1]/Destination/HotSpareActivationMode}",
                        "PCIeLinkWidth": "${ProcessingFlow[1]/Destination/PCIeLinkWidth}",
                        "NoBatteryWriteCacheEnabled": "${ProcessingFlow[1]/Destination/NoBatteryWriteCacheEnabled}",
                        "ReadCachePercent": "${ProcessingFlow[1]/Destination/ReadCachePercent}",
                        "ConfiguredDriveWriteCachePolicy": "${ProcessingFlow[1]/Destination/ConfiguredDriveWriteCachePolicy}",
                        "UnconfiguredDriveWriteCachePolicy": "${ProcessingFlow[1]/Destination/UnconfiguredDriveWriteCachePolicy}",
                        "HBADriveWriteCachePolicy": "${ProcessingFlow[1]/Destination/HBADriveWriteCachePolicy}",
                        "CachePinnedState": "${ProcessingFlow[1]/Destination/CachePinnedState}",
                        "CopyBackState": "${ProcessingFlow[1]/Destination/CopyBackState}",
                        "SmarterCopyBackState": "${ProcessingFlow[1]/Destination/SmarterCopyBackState}",
                        "JBODState": "${ProcessingFlow[1]/Destination/JBODState}",
                        "DDREccCount": "${ProcessingFlow[1]/Destination/DDREccCount}",
                        "MaintainPDFailHistrory": "${ProcessingFlow[1]/Destination/MaintainPDFailHistrory}",
                        "WorkMode": "${ProcessingFlow[1]/Destination/WorkMode}",
                        "Type": "${ProcessingFlow[1]/Destination/Type}",
                        "DeviceName": "${ProcessingFlow[1]/Destination/DeviceName}",
                        "BootDevices": "${ProcessingFlow[1]/Destination/BootDevices}",
                        "FaultCode": "${ProcessingFlow[2]/Destination/FaultCode}",
                        "BBUState": "${ProcessingFlow[6]/Destination/BatteryPresence}",
                        "HealthStatus": "${ProcessingFlow[3]/Destination/HealthStatus}",
                        "BBUName": "${ProcessingFlow[3]/Destination/BBUName}",
                        "GetPHYList": "${Statements/GetPHYList()}",
                        "DriverName": "${ProcessingFlow[5]/Destination/Name}",
                        "DriverVersion": "${ProcessingFlow[5]/Destination/Version}"
                    },
                    "Statements": {
                        "GetPHYList": {
                            "Input": "${ProcessingFlow[4]/Destination/PHYList}",
                            "Steps": [
                                {
                                    "Type": "Expand"
                                }
                            ]
                        }
                    },
                    "ProcessingFlow": [
                        {
                            "Type": "Property",
                            "Path": "/bmc/kepler/Systems/1/Storage/Controllers/${Uri/Id}",
                            "Interface": "bmc.kepler.Systems.Storage.Controller",
                            "Destination": {
                                "Id": "Id",
                                "TypeId": "TypeId",
                                "Name": "Name",
                                "OOBSupport": "OOBSupport",
                                "SupportedRAIDTypes": "SupportedRAIDTypes",
                                "FirmwareVersion": "FirmwareVersion",
                                "NVDataVersion": "NVDataVersion",
                                "HardwareRevision": "HardwareRevision",
                                "MemorySizeMiB": "MemorySizeMiB",
                                "DeviceInterface": "DeviceInterface",
                                "SASAddr": "SASAddr",
                                "MinStripSizeBytes": "MinStripSizeBytes",
                                "MaxStripSizeBytes": "MaxStripSizeBytes",
                                "HotSpareActivationMode": "HotSpareActivationMode",
                                "PCIeLinkWidth": "PCIeLinkWidth",
                                "NoBatteryWriteCacheEnabled": "NoBatteryWriteCacheEnabled",
                                "ReadCachePercent": "ReadCachePercent",
                                "ConfiguredDriveWriteCachePolicy": "ConfiguredDriveWriteCachePolicy",
                                "UnconfiguredDriveWriteCachePolicy": "UnconfiguredDriveWriteCachePolicy",
                                "HBADriveWriteCachePolicy": "HBADriveWriteCachePolicy",
                                "CachePinnedState": "CachePinnedState",
                                "CopyBackState": "CopyBackState",
                                "SmarterCopyBackState": "SmarterCopyBackState",
                                "JBODState": "JBODState",
                                "DDREccCount": "DDREccCount",
                                "MaintainPDFailHistrory": "MaintainPDFailHistrory",
                                "WorkMode": "WorkMode",
                                "Type": "Type",
                                "DeviceName": "DeviceName",
                                "BootDevices": "BootDevices"
                            }
                        },
                        {
                            "Type": "Property",
                            "Path": "/bmc/kepler/Systems/1/Storage/Controllers/${Uri/Id}",
                            "Interface": "bmc.kepler.Systems.Storage.Controller.ControllerStatus",
                            "Destination": {
                                "FaultCode": "FaultCode"
                            }
                        },
                        {
                            "Type": "Property",
                            "Path": "/bmc/kepler/Systems/1/Storage/Controllers/${Uri/Id}/Battery",
                            "Interface": "bmc.kepler.Systems.Storage.Battery",
                            "Destination": {
                                "HealthStatus": "HealthStatus",
                                "Name": "BBUName"
                            }
                        },
                        {
                            "Type": "List",
                            "Path": "/bmc/kepler/Systems/1/Storage/Controllers/${Uri/Id}/SASPhy",
                            "Interface": "bmc.kepler.Systems.Storage.PhyError",
                            "Destination": {
                                "Members": "PHYList"
                            }
                        },
                        {
                            "Type": "Property",
                            "Path": "/bmc/kepler/Systems/1/Storage/Controllers/${Uri/Id}",
                            "Interface": "bmc.kepler.Systems.Storage.Controller.Driver",
                            "Destination": {
                                "Name": "Name",
                                "Version": "Version"
                            }
                        },
                        {
                            "Type": "Property",
                            "Path": "/bmc/kepler/Systems/1/Storage/Controllers/${Uri/Id}",
                            "Interface": "bmc.kepler.Systems.Storage.Controller.BatteryStatus",
                            "Destination": {
                                "BatteryPresence": "BatteryPresence"
                            }
                        }
                    ]
                }
            ]
        },
        {
            "Uri": "/bmc/kepler/Systems/1/Storage/Controllers/:ctrlid/SASPhy/:Id",
            "Interfaces": [
                {
                    "Type": "Get",
                    "RspBody": {
                        "Id": "${ProcessingFlow[1]/Destination/PhyId}",
                        "InvalidDwordCount": "${ProcessingFlow[1]/Destination/InvalidDwordCount}",
                        "LossDwordSyncCount": "${ProcessingFlow[1]/Destination/LossDwordSyncCount}",
                        "PhyResetProblemCount": "${ProcessingFlow[1]/Destination/PhyResetProblemCount}",
                        "RunningDisparityErrorCount": "${ProcessingFlow[1]/Destination/RunningDisparityErrorCount}"
                    },
                    "ProcessingFlow": [
                        {
                            "Type": "Property",
                            "Path": "/bmc/kepler/Systems/1/Storage/Controllers/${Uri/ctrlid}/SASPhy/${Uri/Id}",
                            "Interface": "bmc.kepler.Systems.Storage.PhyError",
                            "Destination": {
                                "PhyId": "PhyId",
                                "InvalidDwordCount": "InvalidDwordCount",
                                "LossDwordSyncCount": "LossDwordSyncCount",
                                "PhyResetProblemCount": "PhyResetProblemCount",
                                "RunningDisparityErrorCount": "RunningDisparityErrorCount"
                            }
                        }
                    ]
                }
            ]
        },
        {
            "Uri": "/cli/v1/storage/ldinfo",
            "Interfaces": [
                {
                    "Type": "Get",
                    "Description": "Get the information of logical drive",
                    "Usage": "ipmcget -t storage -d ldinfo -v <ctrlid> <option>",
                    "Brief": "",
                    "Example": [
                        "ipmcget -t storage -d ldinfo -v 0 0",
                        "ipmcget -t storage -d ldinfo -v 0 all"
                    ],
                    "ReqBody": {
                        "Type": "object",
                        "Required": true,
                        "Properties": {
                            "ctrlid": {
                                "Type": "integer",
                                "Validator": [
                                    {
                                        "Type": "Range",
                                        "Formula": [
                                            0,
                                            255
                                        ]
                                    }
                                ],
                                "Description": "RAID Controller ID (An non-negative integer base 0). eg. 0,1,2...",
                                "Required": true
                            },
                            "option": {
                                "Required": true,
                                "Description": "\n        all  - Show all logical drives in this RAID controller.\n        ID   - Show only one logical drive which matches with this ID (0 - 255)."
                            }
                        }
                    },
                    "RspBody": {
                        "ControllerList": "${ProcessingFlow[1]/Destination/ControllerList}",
                        "CtrlId": "${ReqBody/ctrlid}",
                        "option": "${ReqBody/option}",
                        "GetVolumeList": "${Statements/GetVolumeList()}"
                    },
                    "Statements": {
                        "GetVolumeList": {
                            "Input": "${ProcessingFlow[3]/Destination/VolumeList}",
                            "Steps": [
                                {
                                    "Type": "Expand"
                                }
                            ]
                        }
                    },
                    "ProcessingFlow": [
                        {
                            "Type": "List",
                            "Path": "/bmc/kepler/Systems/1/Storage/Controllers",
                            "Interface": "bmc.kepler.Systems.Storage.Controller",
                            "Destination": {
                                "Members": "ControllerList"
                            }
                        },
                        {
                            "Type": "Method",
                            "Path": "/bmc/kepler/MdbService",
                            "Interface": "bmc.kepler.Mdb",
                            "Name": "GetPath",
                            "Params": [
                                "bmc.kepler.Systems.Storage.Controller",
                                {
                                    "Id": "${ReqBody/ctrlid}"
                                },
                                false
                            ],
                            "Destination": {
                                "Path": "Path"
                            }
                        },
                        {
                            "Type": "List",
                            "Path": "${ProcessingFlow[2]/Destination/Path}/Volumes",
                            "Interface": "bmc.kepler.Systems.Storage.Volume",
                            "Destination": {
                                "Members": "VolumeList"
                            }
                        }
                    ],
                    "Echoes": [
                        "ipmcget/storage_ldinfo",
                        ""
                    ]
                }
            ]
        },
        {
            "Uri": "/bmc/kepler/Systems/1/Storage/Controllers/:ctrlid/Volumes/:option",
            "Interfaces": [
                {
                    "Type": "Get",
                    "RspBody": {
                        "RefControllerId": "${ProcessingFlow[1]/Destination/RefControllerId}",
                        "Id": "${ProcessingFlow[1]/Destination/Id}",
                        "VolumeName": "${ProcessingFlow[1]/Destination/VolumeName}",
                        "RAIDType": "${ProcessingFlow[1]/Destination/RAIDType}",
                        "State": "${ProcessingFlow[1]/Destination/State}",
                        "DefaultReadPolicy": "${ProcessingFlow[1]/Destination/DefaultReadPolicy}",
                        "DefaultWritePolicy": "${ProcessingFlow[1]/Destination/DefaultWritePolicy}",
                        "DefaultCachePolicy": "${ProcessingFlow[1]/Destination/DefaultCachePolicy}",
                        "CurrentReadPolicy": "${ProcessingFlow[1]/Destination/CurrentReadPolicy}",
                        "CurrentWritePolicy": "${ProcessingFlow[1]/Destination/CurrentWritePolicy}",
                        "CurrentCachePolicy": "${ProcessingFlow[1]/Destination/CurrentCachePolicy}",
                        "AccessPolicy": "${ProcessingFlow[1]/Destination/AccessPolicy}",
                        "OptimumIOSizeBytes": "${ProcessingFlow[1]/Destination/OptimumIOSizeBytes}",
                        "CapacityBytes": "${ProcessingFlow[1]/Destination/CapacityBytes}",
                        "DriveCachePolicy": "${ProcessingFlow[1]/Destination/DriveCachePolicy}",
                        "CurrentForegroundInitState": "${ProcessingFlow[1]/Destination/CurrentForegroundInitState}",
                        "ConsistencyCheck": "${ProcessingFlow[1]/Destination/ConsistencyCheck}",
                        "BGIEnable": "${ProcessingFlow[1]/Destination/BGIEnable}",
                        "BootEnable": "${ProcessingFlow[1]/Destination/BootEnable}",
                        "BootPriority": "${ProcessingFlow[1]/Destination/BootPriority}",
                        "SSDCachecadeVolume": "${ProcessingFlow[1]/Destination/SSDCachecadeVolume}",
                        "SSDCachingEnable": "${ProcessingFlow[1]/Destination/SSDCachingEnable}",
                        "OSDriveName": "${ProcessingFlow[1]/Destination/OSDriveName}",
                        "RefDiskArrayList": "${ProcessingFlow[1]/Destination/RefDiskArrayList}",
                        "RefDriveList": "${ProcessingFlow[1]/Destination/RefDriveList}",
                        "InitializationMode": "${ProcessingFlow[1]/Destination/InitializationMode}",
                        "HotSpareDriveList": "${ProcessingFlow[1]/Destination/HotSpareDriveList}",
                        "TypeId": "${ProcessingFlow[2]/Destination/TypeId}",
                        "AssociatedVolumes": "${ProcessingFlow[1]/Destination/AssociatedVolumes}",
                        "AccelerationMethod": "${ProcessingFlow[1]/Destination/AccelerationMethod}",
                        "CacheLineSizeKiB": "${ProcessingFlow[1]/Destination/CacheLineSizeKiB}",
                        "RebuildState": "${ProcessingFlow[1]/Destination/RebuildState}",
                        "RebuildProgress": "${ProcessingFlow[1]/Destination/RebuildProgress}"
                    },
                    "ProcessingFlow": [
                        {
                            "Type": "Property",
                            "Path": "/bmc/kepler/Systems/1/Storage/Controllers/${Uri/ctrlid}/Volumes/${Uri/option}",
                            "Interface": "bmc.kepler.Systems.Storage.Volume",
                            "Destination": {
                                "RefControllerId": "RefControllerId",
                                "Id": "Id",
                                "VolumeName": "VolumeName",
                                "RAIDType": "RAIDType",
                                "State": "State",
                                "OptimumIOSizeBytes": "OptimumIOSizeBytes",
                                "DefaultReadPolicy": "DefaultReadPolicy",
                                "DefaultWritePolicy": "DefaultWritePolicy",
                                "CapacityBytes": "CapacityBytes",
                                "DriveCachePolicy": "DriveCachePolicy",
                                "CurrentForegroundInitState": "CurrentForegroundInitState",
                                "CurrentReadPolicy": "CurrentReadPolicy",
                                "CurrentWritePolicy": "CurrentWritePolicy",
                                "BootPriority": "BootPriority",
                                "BootEnable": "BootEnable",
                                "OSDriveName": "OSDriveName",
                                "BGIEnable": "BGIEnable",
                                "ConsistencyCheck": "ConsistencyCheck",
                                "SSDCachecadeVolume": "SSDCachecadeVolume",
                                "SSDCachingEnable": "SSDCachingEnable",
                                "DefaultCachePolicy": "DefaultCachePolicy",
                                "AccessPolicy": "AccessPolicy",
                                "CurrentCachePolicy": "CurrentCachePolicy",
                                "RefDiskArrayList": "RefDiskArrayList",
                                "RefDriveList": "RefDriveList",
                                "InitializationMode": "InitializationMode",
                                "HotSpareDriveList": "HotSpareDriveList",
                                "AssociatedVolumes": "AssociatedVolumes",
                                "AccelerationMethod": "AccelerationMethod",
                                "CacheLineSizeKiB": "CacheLineSizeKiB",
                                "RebuildState": "RebuildState",
                                "RebuildProgress": "RebuildProgress"
                            }
                        },
                        {
                            "Type": "Property",
                            "Path": "/bmc/kepler/Systems/1/Storage/Controllers/${Uri/ctrlid}",
                            "Interface": "bmc.kepler.Systems.Storage.Controller",
                            "Destination": {
                                "TypeId": "TypeId"
                            }
                        }
                    ]
                }
            ]
        },
        {
            "Uri": "/cli/v1/storage/pdinfo",
            "Interfaces": [
                {
                    "Type": "Get",
                    "Description": "Get the information of physical drive",
                    "Usage": "ipmcget -t storage -d pdinfo -v <option>",
                    "Example": [
                        "ipmcget -t storage -d pdinfo -v 0",
                        "ipmcget -t storage -d pdinfo -v all"
                    ],
                    "ReqBody": {
                        "Type": "object",
                        "Required": true,
                        "Properties": {
                            "option": {
                                "Required": true,
                                "Description": "\n    all Show all physical drives\n    ID  - Show only one physical drive which matches with this name ID (0 - 65535)."
                            }
                        }
                    },
                    "RspBody": {
                        "option": "${ReqBody/option}",
                        "GetOptionValid": "${Statements/GetOptionValid()}",
                        "GetPhysicalDriveList": "${Statements/GetPhysicalDriveList()}"
                    },
                    "Statements": {
                        "GetOptionValid": {
                            "Steps": [
                                {
                                    "Type": "Script",
                                    "Formula": "local op = math.tointeger(ReqBody.option) return ReqBody.option == 'all' or (op and ReqBody.option == tostring(op) and op >= 0 and op <= 65535)"
                                }
                            ]
                        },
                        "GetPhysicalDriveList": {
                            "Input": "${ProcessingFlow[1]/Destination/PhysicalDriveList}",
                            "Steps": [
                                {
                                    "Type": "Prefix-Add",
                                    "Formula": "/Expand/PhysicalDrive"
                                },
                                {
                                    "Type": "Expand"
                                }
                            ]
                        }
                    },
                    "ProcessingFlow": [
                        {
                            "Type": "List",
                            "Path": "/bmc/kepler/Systems/1/Storage/Drives",
                            "Interface": "bmc.kepler.Systems.Storage.Drive",
                            "Destination": {
                                "Members": "PhysicalDriveList"
                            },
                            "CallIf": {
                                "${Statements/GetOptionValid()}": true
                            }
                        }
                    ],
                    "Echoes": [
                        "ipmcget/storage_pdinfo",
                        ""
                    ]
                }
            ]
        },
        {
            "Uri": "/Expand/PhysicalDrive/bmc/kepler/Systems/1/Storage/Drives/:Id",
            "Interfaces": [
                {
                    "Type": "Get",
                    "RspBody": {
                        "Presence": "${ProcessingFlow[1]/Destination/Presence}",
                        "Id": "${ProcessingFlow[1]/Destination/Id}",
                        "Name": "${ProcessingFlow[1]/Destination/Name}",
                        "Manufacturer": "${ProcessingFlow[1]/Destination/Manufacturer}",
                        "SerialNumber": "${ProcessingFlow[1]/Destination/SerialNumber}",
                        "Model": "${ProcessingFlow[1]/Destination/Model}",
                        "Revision": "${ProcessingFlow[1]/Destination/Revision}",
                        "Health": "${ProcessingFlow[2]/Destination/Health}",
                        "FirmwareStatus": "${ProcessingFlow[1]/Destination/FirmwareStatus}",
                        "PowerState": "${ProcessingFlow[1]/Destination/PowerState}",
                        "MediaType": "${ProcessingFlow[1]/Destination/MediaType}",
                        "Protocol": "${ProcessingFlow[1]/Destination/Protocol}",
                        "CapableSpeedGbs": "${ProcessingFlow[1]/Destination/CapableSpeedGbs}",
                        "NegotiatedSpeedGbs": "${ProcessingFlow[1]/Destination/NegotiatedSpeedGbs}",
                        "TemperatureCelsius": "${ProcessingFlow[1]/Destination/TemperatureCelsius}",
                        "CapacityMiB": "${ProcessingFlow[1]/Destination/CapacityMiB}",
                        "HotspareType": "${ProcessingFlow[1]/Destination/HotspareType}",
                        "RebuildState": "${ProcessingFlow[1]/Destination/RebuildState}",
                        "RebuildProgress": "${ProcessingFlow[1]/Destination/RebuildProgress}",
                        "PatrolState": "${ProcessingFlow[1]/Destination/PatrolState}",
                        "PredictedMediaLifeLeftPercent": "${ProcessingFlow[1]/Destination/PredictedMediaLifeLeftPercent}",
                        "PowerOnHours": "${ProcessingFlow[1]/Destination/PowerOnHours}",
                        "SASAddress1": "${ProcessingFlow[1]/Destination/SASAddress1}",
                        "SASAddress2": "${ProcessingFlow[1]/Destination/SASAddress2}",
                        "LocateLed": "${ProcessingFlow[1]/Destination/LocateLed}",
                        "FaultLed": "${ProcessingFlow[1]/Destination/FaultLed}",
                        "BootPriority": "${ProcessingFlow[1]/Destination/BootPriority}",
                        "MediaErrorCount": "${ProcessingFlow[1]/Destination/MediaErrorCount}",
                        "PredictedFailCount": "${ProcessingFlow[1]/Destination/PredictedFailCount}",
                        "OtherErrorCount": "${ProcessingFlow[1]/Destination/OtherErrorCount}",
                        "TypeId": "${Statements/GetCtrlTypeId()}"
                    },
                    "Statements": {
                        "GetCtrlTypeId": {
                            "Steps": [
                                {
                                    "Type": "Plugin",
                                    "Formula": "orchestrator.storage.get_ctrl_typeid(ProcessingFlow[1].Destination.RefControllerId)"
                                }
                            ]
                        }
                    },
                    "ProcessingFlow": [
                        {
                            "Type": "Property",
                            "Path": "/bmc/kepler/Systems/1/Storage/Drives/${Uri/Id}",
                            "Interface": "bmc.kepler.Systems.Storage.Drive",
                            "Destination": {
                                "Presence": "Presence",
                                "Id": "Id",
                                "Name": "Name",
                                "Manufacturer": "Manufacturer",
                                "SerialNumber": "SerialNumber",
                                "Model": "Model",
                                "Revision": "Revision",
                                "FirmwareStatus": "FirmwareStatus",
                                "PowerState": "PowerState",
                                "MediaType": "MediaType",
                                "Protocol": "Protocol",
                                "CapableSpeedGbs": "CapableSpeedGbs",
                                "NegotiatedSpeedGbs": "NegotiatedSpeedGbs",
                                "TemperatureCelsius": "TemperatureCelsius",
                                "CapacityMiB": "CapacityMiB",
                                "HotspareType": "HotspareType",
                                "RebuildState": "RebuildState",
                                "RebuildProgress": "RebuildProgress",
                                "PatrolState": "PatrolState",
                                "PredictedMediaLifeLeftPercent": "PredictedMediaLifeLeftPercent",
                                "PowerOnHours": "PowerOnHours",
                                "SASAddress1": "SASAddress1",
                                "SASAddress2": "SASAddress2",
                                "LocateLed": "LocateLed",
                                "FaultLed": "FaultLed",
                                "BootPriority": "BootPriority",
                                "MediaErrorCount": "MediaErrorCount",
                                "PredictedFailCount": "PredictedFailCount",
                                "OtherErrorCount": "OtherErrorCount",
                                "RefControllerId": "RefControllerId"
                            }
                        },
                        {
                            "Type": "Property",
                            "Path": "/bmc/kepler/Systems/1/Storage/Drives/${Uri/Id}",
                            "Interface": "bmc.kepler.Systems.Storage.Drive.DriveStatus",
                            "Destination": {
                                "Health": "Health"
                            }
                        }
                    ]
                }
            ]
        }
    ]
}