Commit c009adb
authored
Push probe zones to sled-agent instead of pulling them from Nexus (#9353)
- Add APIs in the sled-agent for creating / deleting probes, and have
Nexus use them when managing probes from the external API, especially
replacing the entire set of probes with a PUT.
- Rework the probe manager to accept the list of expected probes from
Nexus, and drive the state toward that, rather than periodically
pollling Nexus.
- Add background task for periodically pushing probes to sleds, and omdb
innards for reporting its state.
- Closes #91571 parent 163db2f commit c009adb
File tree
33 files changed
+9363
-289
lines changed- dev-tools/omdb
- src/bin/omdb
- tests
- illumos-utils/src/opte
- nexus-config/src
- nexus
- background-task-interface/src
- db-queries/src/db/datastore
- db-schema/src
- examples
- internal-api/src
- mgs-updates/src/test_util
- src
- app
- background
- tasks
- internal_api
- tests
- types/src/internal_api
- openapi/sled-agent
- sled-agent
- api/src
- src
- sim
- types/src
- smf/nexus
- multi-sled
- single-sled
- uuid-kinds/src
33 files changed
+9363
-289
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
1193 | 1194 | | |
1194 | 1195 | | |
1195 | 1196 | | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
1196 | 1200 | | |
1197 | 1201 | | |
1198 | 1202 | | |
| |||
2131 | 2135 | | |
2132 | 2136 | | |
2133 | 2137 | | |
| 2138 | + | |
| 2139 | + | |
| 2140 | + | |
| 2141 | + | |
| 2142 | + | |
| 2143 | + | |
| 2144 | + | |
| 2145 | + | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
| 2153 | + | |
| 2154 | + | |
| 2155 | + | |
| 2156 | + | |
| 2157 | + | |
| 2158 | + | |
| 2159 | + | |
| 2160 | + | |
| 2161 | + | |
| 2162 | + | |
| 2163 | + | |
2134 | 2164 | | |
2135 | 2165 | | |
2136 | 2166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
152 | 156 | | |
153 | 157 | | |
154 | 158 | | |
| |||
373 | 377 | | |
374 | 378 | | |
375 | 379 | | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
376 | 384 | | |
377 | 385 | | |
378 | 386 | | |
| |||
584 | 592 | | |
585 | 593 | | |
586 | 594 | | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
587 | 599 | | |
588 | 600 | | |
589 | 601 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
387 | 391 | | |
388 | 392 | | |
389 | 393 | | |
| |||
713 | 717 | | |
714 | 718 | | |
715 | 719 | | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
716 | 727 | | |
717 | 728 | | |
718 | 729 | | |
| |||
1267 | 1278 | | |
1268 | 1279 | | |
1269 | 1280 | | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
1270 | 1288 | | |
1271 | 1289 | | |
1272 | 1290 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
| 446 | + | |
| 447 | + | |
446 | 448 | | |
447 | 449 | | |
448 | 450 | | |
| |||
897 | 899 | | |
898 | 900 | | |
899 | 901 | | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
900 | 911 | | |
901 | 912 | | |
902 | 913 | | |
| |||
1201 | 1212 | | |
1202 | 1213 | | |
1203 | 1214 | | |
| 1215 | + | |
1204 | 1216 | | |
1205 | 1217 | | |
1206 | 1218 | | |
| |||
1448 | 1460 | | |
1449 | 1461 | | |
1450 | 1462 | | |
1451 | | - | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
1452 | 1467 | | |
1453 | 1468 | | |
1454 | 1469 | | |
| |||
1549 | 1564 | | |
1550 | 1565 | | |
1551 | 1566 | | |
| 1567 | + | |
1552 | 1568 | | |
1553 | 1569 | | |
1554 | 1570 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
0 commit comments