Skip to content

Commit 012d68f

Browse files
authored
Merge pull request #243 from jrha/raid_pci
physdevices: RAID controllers can have PCI details
2 parents 5f63b84 + 229053a commit 012d68f

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

quattor/physdevices.pan

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,3 @@ type structure_raidport = {
1717
# between device name and partition number (e.g. HP SmartArray)
1818
"part_prefix" : string = ''
1919
};
20-
21-
@documentation{
22-
Structure modelling a RAID controller
23-
}
24-
type structure_raid = {
25-
include structure_annotation
26-
"bbu" ? boolean
27-
"numberports" : long (1..)
28-
"cache" ? long # In MB
29-
"ports" : structure_raidport{}
30-
} with length (SELF["ports"]) <= SELF["numberports"];

quattor/types/hardware.pan

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,18 @@ type structure_pci = {
8484
"class" ? long
8585
};
8686

87+
@documentation{
88+
Structure modelling a RAID controller
89+
}
90+
type structure_raid = {
91+
include structure_annotation
92+
"bbu" ? boolean
93+
"numberports" : long (1..)
94+
"cache" ? long # In MB
95+
"ports" : structure_raidport{}
96+
"pci" ? structure_pci
97+
} with length (SELF["ports"]) <= SELF["numberports"];
98+
8799
@docmentation{
88100
The Infiniband hardware address is a series of twenty bytes encoded as hex values
89101
and separated with a colon or a hyphen. Within a value you must

0 commit comments

Comments
 (0)