blob: a8a62af23a740bfbf6b858f59bff560f074b138e [file] [log] [blame]
Vishwanatha Subbannaed490732016-12-20 15:59:29 +05301static const std::map<std::string,
2 std::set<phosphor::led::Layout::LedAction>> singleLedOn = {
3 { "/xyz/openbmc_project/ledmanager/groups/SingleLed",{
4 {"One",phosphor::led::Layout::On},
5 }
6 },
7};
8
9static const std::map<std::string,
10 std::set<phosphor::led::Layout::LedAction>> singleLedBlink = {
11 { "/xyz/openbmc_project/ledmanager/groups/SingleLed",{
12 {"One",phosphor::led::Layout::Blink},
13 }
14 },
15};
16
17static const std::map<std::string,
18 std::set<phosphor::led::Layout::LedAction>> multipleLedsOn = {
19 { "/xyz/openbmc_project/ledmanager/groups/MultipleLeds",{
20 {"One",phosphor::led::Layout::On},
21 {"Two",phosphor::led::Layout::On},
22 {"Three",phosphor::led::Layout::On},
23 }
24 },
25};
26
27static const std::map<std::string,
28 std::set<phosphor::led::Layout::LedAction>> multipleLedsBlink = {
29 { "/xyz/openbmc_project/ledmanager/groups/MultipleLeds",{
30 {"One",phosphor::led::Layout::Blink},
31 {"Two",phosphor::led::Layout::Blink},
32 {"Three",phosphor::led::Layout::Blink},
33 }
34 },
35};
36
37static const std::map<std::string,
38 std::set<phosphor::led::Layout::LedAction>> multipleLedsOnAndBlink = {
39 { "/xyz/openbmc_project/ledmanager/groups/MultipleLedsMix",{
40 {"One",phosphor::led::Layout::Blink},
41 {"Two",phosphor::led::Layout::On},
42 {"Three",phosphor::led::Layout::Blink},
43 {"Four",phosphor::led::Layout::On},
44 {"Five",phosphor::led::Layout::On},
45 }
46 },
47};
48
49static const std::map<std::string,
50 std::set<phosphor::led::Layout::LedAction>> twoGroupsWithDistinctLEDsOn = {
51 { "/xyz/openbmc_project/ledmanager/groups/MultipleLedsASet",{
52 {"One",phosphor::led::Layout::On},
53 {"Two",phosphor::led::Layout::On},
54 {"Three",phosphor::led::Layout::On},
55 }
56 },
57 { "/xyz/openbmc_project/ledmanager/groups/MultipleLedsBSet",{
58 {"Four",phosphor::led::Layout::On},
59 {"Five",phosphor::led::Layout::On},
60 {"Six",phosphor::led::Layout::On},
61 }
62 },
63};
64
65static const std::map<std::string,
66 std::set<phosphor::led::Layout::LedAction>> twoGroupsWithOneComonLEDOn = {
67 { "/xyz/openbmc_project/ledmanager/groups/MultipleLedsASet",{
68 {"One",phosphor::led::Layout::On},
69 {"Two",phosphor::led::Layout::On},
70 {"Three",phosphor::led::Layout::On},
71 }
72 },
73 { "/xyz/openbmc_project/ledmanager/groups/MultipleLedsBSet",{
74 {"Four",phosphor::led::Layout::On},
75 {"Three",phosphor::led::Layout::On},
76 {"Six",phosphor::led::Layout::On},
77 }
78 },
79};
80
81static const std::map<std::string,
82 std::set<phosphor::led::Layout::LedAction>>
83 twoGroupsWithOneComonLEDInDifferentState = {
84 { "/xyz/openbmc_project/ledmanager/groups/MultipleLedsASet",{
85 {"One",phosphor::led::Layout::On},
86 {"Two",phosphor::led::Layout::On},
87 {"Three",phosphor::led::Layout::On},
88 }
89 },
90 { "/xyz/openbmc_project/ledmanager/groups/MultipleLedsBSet",{
91 {"Two",phosphor::led::Layout::Blink},
92 {"Four",phosphor::led::Layout::On},
93 {"Five",phosphor::led::Layout::On},
94 {"Six",phosphor::led::Layout::On},
95 }
96 },
97};
98
99static const std::map<std::string,
100 std::set<phosphor::led::Layout::LedAction>>
101 twoGroupsWithMultiplComonLEDOn = {
102 { "/xyz/openbmc_project/ledmanager/groups/MultipleLedsASet",{
103 {"One",phosphor::led::Layout::On},
104 {"Two",phosphor::led::Layout::On},
105 {"Three",phosphor::led::Layout::On},
106 }
107 },
108 { "/xyz/openbmc_project/ledmanager/groups/MultipleLedsBSet",{
109 {"Two",phosphor::led::Layout::On},
110 {"Six",phosphor::led::Layout::On},
111 {"Three",phosphor::led::Layout::On},
112 {"Seven",phosphor::led::Layout::On},
113 }
114 },
115};
116
117static const std::map<std::string,
118 std::set<phosphor::led::Layout::LedAction>>
119 twoGroupsWithMultipleComonLEDInDifferentState = {
120 { "/xyz/openbmc_project/ledmanager/groups/MultipleLedsASet",{
121 {"One",phosphor::led::Layout::On},
122 {"Two",phosphor::led::Layout::Blink},
123 {"Three",phosphor::led::Layout::On},
124 {"Four",phosphor::led::Layout::On},
125 }
126 },
127 { "/xyz/openbmc_project/ledmanager/groups/MultipleLedsBSet",{
128 {"Two",phosphor::led::Layout::On},
129 {"Three",phosphor::led::Layout::Blink},
130 {"Five",phosphor::led::Layout::On},
131 {"Six",phosphor::led::Layout::On},
132 }
133 },
134};
Vishwanatha Subbannacd569d22017-05-03 12:46:14 +0530135
136static const std::map<std::string,
137 std::set<phosphor::led::Layout::LedAction>>
138 twoGroupsWithMultipleComonLEDInDifferentStateBlinkAgain = {
139 { "/xyz/openbmc_project/ledmanager/groups/MultipleLedsASet",{
140 {"One",phosphor::led::Layout::On},
141 {"Two",phosphor::led::Layout::Blink},
142 {"Three",phosphor::led::Layout::On},
143 {"Four",phosphor::led::Layout::On},
144 }
145 },
146 { "/xyz/openbmc_project/ledmanager/groups/MultipleLedsBSet",{
147 {"Two",phosphor::led::Layout::Blink},
148 {"Three",phosphor::led::Layout::Blink},
149 {"Five",phosphor::led::Layout::On},
150 {"Six",phosphor::led::Layout::On},
151 }
152 },
153};