Revision dd0b06d0
b/Makefile.am | ||
---|---|---|
1062 | 1062 |
test/data/htools/rapi/info.json \ |
1063 | 1063 |
test/data/htools/rapi/instances.json \ |
1064 | 1064 |
test/data/htools/rapi/nodes.json \ |
1065 |
test/data/htools/hroller-nodegroups.data \ |
|
1065 | 1066 |
test/data/htools/hroller-nonredundant.data \ |
1066 | 1067 |
test/data/htools/hroller-online.data \ |
1067 | 1068 |
test/data/htools/unique-reboot-order.data \ |
b/test/data/htools/hroller-nodegroups.data | ||
---|---|---|
1 |
group-01|fake-uuid-01|preferred| |
|
2 |
group-02|fake-uuid-02|preferred| |
|
3 |
|
|
4 |
node-01-000|91552|0|91424|3100|1052|16|N|fake-uuid-01|1 |
|
5 |
node-01-001|91552|0|91424|3100|1052|16|N|fake-uuid-01|1 |
|
6 |
node-01-002|91552|0|91424|3100|1052|16|N|fake-uuid-01|1 |
|
7 |
node-02-000|91552|0|91552|3100|3100|16|M|fake-uuid-02|1 |
|
8 |
|
|
9 |
inst-00|128|1024|1|running|Y|node-01-000||plain||1 |
|
10 |
inst-01|128|1024|1|running|Y|node-01-000||plain||1 |
|
11 |
inst-10|128|1024|1|running|Y|node-01-001||plain||1 |
|
12 |
inst-11|128|1024|1|running|Y|node-01-001||plain||1 |
|
13 |
inst-20|128|1024|1|running|Y|node-01-002||plain||1 |
|
14 |
inst-21|128|1024|1|running|Y|node-01-002||plain||1 |
|
15 |
|
|
16 |
|128,1,1024,1,1,1|128,1,1024,1,1,1;32768,8,1048576,16,8,12|diskless,file,sharedfile,plain,blockdev,drbd,rbd,ext|4.0|32.0 |
|
17 |
group-01|128,1,1024,1,1,1|128,1,1024,1,1,1;32768,8,1048576,16,8,12|diskless,file,sharedfile,plain,blockdev,drbd,rbd,ext|4.0|32.0 |
|
18 |
|
b/test/hs/shelltests/htools-hroller.test | ||
---|---|---|
60 | 60 |
>>>/^node-01-00.,node-01-00.,node-01-00.,node-01-00.,node-01-00.,node-01-000$/ |
61 | 61 |
>>>= 0 |
62 | 62 |
|
63 |
|
|
64 |
./test/hs/hroller --no-headers -t $TESTDATA_DIR/hroller-nodegroups.data |
|
65 |
>>>/^node-01-00. |
|
66 |
node-01-00. |
|
67 |
node-01-00.,node-02-000$/ |
|
68 |
>>>= 0 |
Also available in: Unified diff