Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions quattor/physdevices.pan
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,3 @@ type structure_raidport = {
# between device name and partition number (e.g. HP SmartArray)
"part_prefix" : string = ''
};

@documentation{
Structure modelling a RAID controller
}
type structure_raid = {
include structure_annotation
"bbu" ? boolean
"numberports" : long (1..)
"cache" ? long # In MB
"ports" : structure_raidport{}
} with length (SELF["ports"]) <= SELF["numberports"];
12 changes: 12 additions & 0 deletions quattor/types/hardware.pan
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,18 @@ type structure_pci = {
"class" ? long
};

@documentation{
Structure modelling a RAID controller
}
type structure_raid = {
include structure_annotation
"bbu" ? boolean
"numberports" : long (1..)
"cache" ? long # In MB
"ports" : structure_raidport{}
"pci" ? structure_pci
} with length (SELF["ports"]) <= SELF["numberports"];

@docmentation{
The Infiniband hardware address is a series of twenty bytes encoded as hex values
and separated with a colon or a hyphen. Within a value you must
Expand Down