Commit 133871a
Add ability to add Events by OCCM (#2539)
We often find situations when it's useful to use events to warn user
about implicit choices that the OCCM makes, e.g. when a provided option
is ignored because Octavia does not support it.
This commit adds `eventRecorder` to the `LbaasV2` interface that can be
used to create events in these cases. In addition a few places when we
just logged a warning are now extended to create events on Services that
users will be able to read.
Co-authored-by: Michał Dulko <[email protected]>1 parent f2a57de commit 133871a
3 files changed
+53
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1050 | 1050 | | |
1051 | 1051 | | |
1052 | 1052 | | |
1053 | | - | |
1054 | 1053 | | |
1055 | | - | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
1056 | 1057 | | |
1057 | 1058 | | |
1058 | 1059 | | |
| |||
1755 | 1756 | | |
1756 | 1757 | | |
1757 | 1758 | | |
1758 | | - | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
1759 | 1762 | | |
1760 | 1763 | | |
1761 | 1764 | | |
| |||
1828 | 1831 | | |
1829 | 1832 | | |
1830 | 1833 | | |
1831 | | - | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
1832 | 1837 | | |
1833 | 1838 | | |
1834 | 1839 | | |
| |||
1839 | 1844 | | |
1840 | 1845 | | |
1841 | 1846 | | |
1842 | | - | |
| 1847 | + | |
| 1848 | + | |
| 1849 | + | |
1843 | 1850 | | |
1844 | 1851 | | |
1845 | 1852 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
90 | 95 | | |
91 | 96 | | |
92 | 97 | | |
| |||
166 | 171 | | |
167 | 172 | | |
168 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
169 | 177 | | |
170 | 178 | | |
171 | 179 | | |
| |||
199 | 207 | | |
200 | 208 | | |
201 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
202 | 213 | | |
203 | 214 | | |
204 | 215 | | |
| |||
373 | 384 | | |
374 | 385 | | |
375 | 386 | | |
376 | | - | |
| 387 | + | |
377 | 388 | | |
378 | 389 | | |
379 | 390 | | |
| |||
0 commit comments