1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 3 #pragma once 4 /**************************************************************** 5 * READ THIS WARNING FIRST 6 * This is an auto-generated header which contains definitions 7 * for Redfish DMTF defined messages. 8 * DO NOT modify this registry outside of running the 9 * parse_registries.py script. The definitions contained within 10 * this file are owned by DMTF. Any modifications to these files 11 * should be first pushed to the relevant registry in the DMTF 12 * github organization. 13 ***************************************************************/ 14 #include "registries.hpp" 15 16 #include <array> 17 18 // clang-format off 19 20 namespace redfish::registries 21 { 22 struct Environmental 23 { 24 static constexpr Header header = { 25 "Copyright 2024 DMTF. All rights reserved.", 26 "#MessageRegistry.v1_6_2.MessageRegistry", 27 1, 28 1, 29 0, 30 "Environmental Message Registry", 31 "en", 32 "This registry defines messages related to environmental sensors, heating and cooling equipment, or other environmental conditions.", 33 "Environmental", 34 "DMTF", 35 }; 36 37 static constexpr const char* url = 38 "https://redfish.dmtf.org/registries/Environmental.1.1.0.json"; 39 40 static constexpr std::array registry = 41 { 42 MessageEntry{ 43 "FanFailed", 44 { 45 "Indicates that a fan has failed.", 46 "Fan '%1' has failed.", 47 "Warning", 48 1, 49 { 50 "string", 51 }, 52 "Check the fan hardware and replace any faulty component.", 53 }}, 54 MessageEntry{ 55 "FanGroupCritical", 56 { 57 "Indicates that a fan group has a critical status.", 58 "Fan group '%1' is in a critical state.", 59 "Critical", 60 1, 61 { 62 "string", 63 }, 64 "None.", 65 }}, 66 MessageEntry{ 67 "FanGroupNormal", 68 { 69 "Indicates that a fan group has returned to normal operations.", 70 "Fan group '%1' is operating normally.", 71 "OK", 72 1, 73 { 74 "string", 75 }, 76 "None.", 77 }}, 78 MessageEntry{ 79 "FanGroupWarning", 80 { 81 "Indicates that a fan group has a warning status.", 82 "Fan group '%1' is in a warning state.", 83 "Warning", 84 1, 85 { 86 "string", 87 }, 88 "None.", 89 }}, 90 MessageEntry{ 91 "FanInserted", 92 { 93 "Indicates that a fan was inserted or installed.", 94 "Fan '%1' was inserted.", 95 "OK", 96 1, 97 { 98 "string", 99 }, 100 "None.", 101 }}, 102 MessageEntry{ 103 "FanRemoved", 104 { 105 "Indicates that a fan was removed.", 106 "Fan '%1' was removed.", 107 "OK", 108 1, 109 { 110 "string", 111 }, 112 "None.", 113 }}, 114 MessageEntry{ 115 "FanRestored", 116 { 117 "Indicates that a fan was repaired or restored to normal operation.", 118 "Fan '%1' was restored.", 119 "OK", 120 1, 121 { 122 "string", 123 }, 124 "None.", 125 }}, 126 MessageEntry{ 127 "FilterInserted", 128 { 129 "Indicates that a filter was inserted or installed.", 130 "Filter '%1' was inserted.", 131 "OK", 132 1, 133 { 134 "string", 135 }, 136 "None.", 137 }}, 138 MessageEntry{ 139 "FilterRemoved", 140 { 141 "Indicates that a filter was removed.", 142 "Filter '%1' was removed.", 143 "OK", 144 1, 145 { 146 "string", 147 }, 148 "None.", 149 }}, 150 MessageEntry{ 151 "FilterRequiresService", 152 { 153 "Indicates that a filter requires service.", 154 "Filter '%1' requires service.", 155 "Warning", 156 1, 157 { 158 "string", 159 }, 160 "Replace the filter or filter media.", 161 }}, 162 MessageEntry{ 163 "FilterRestored", 164 { 165 "Indicates that a filter was repaired or restored to normal operation.", 166 "Filter '%1' was restored.", 167 "OK", 168 1, 169 { 170 "string", 171 }, 172 "None.", 173 }}, 174 MessageEntry{ 175 "FlowRateAboveLowerCriticalThreshold", 176 { 177 "Indicates that a flow rate reading is no longer below the lower critical threshold but is still outside of normal operating range.", 178 "Flow rate '%1' reading of %2 L/min is now above the %3 lower critical threshold but remains outside of normal range.", 179 "Warning", 180 3, 181 { 182 "string", 183 "number", 184 "number", 185 }, 186 "Check the condition of the resource listed in OriginOfCondition.", 187 }}, 188 MessageEntry{ 189 "FlowRateAboveLowerFatalThreshold", 190 { 191 "Indicates that a flow rate reading is no longer below the lower fatal threshold but is still outside of normal operating range.", 192 "Flow rate '%1' reading of %2 L/min is now above the %3 lower fatal threshold but remains outside of normal range.", 193 "Critical", 194 3, 195 { 196 "string", 197 "number", 198 "number", 199 }, 200 "Check the condition of the resource listed in OriginOfCondition.", 201 }}, 202 MessageEntry{ 203 "FlowRateAboveUpperCautionThreshold", 204 { 205 "Indicates that a flow rate reading is above the upper caution threshold.", 206 "Flow rate '%1' reading of %2 L/min is above the %3 upper caution threshold.", 207 "Warning", 208 3, 209 { 210 "string", 211 "number", 212 "number", 213 }, 214 "Check the condition of the resource listed in OriginOfCondition.", 215 }}, 216 MessageEntry{ 217 "FlowRateAboveUpperCriticalThreshold", 218 { 219 "Indicates that a flow rate reading is above the upper critical threshold.", 220 "Flow rate '%1' reading of %2 L/min is above the %3 upper critical threshold.", 221 "Critical", 222 3, 223 { 224 "string", 225 "number", 226 "number", 227 }, 228 "Check the condition of the resource listed in OriginOfCondition.", 229 }}, 230 MessageEntry{ 231 "FlowRateAboveUpperFatalThreshold", 232 { 233 "Indicates that a flow rate reading is above the upper fatal threshold.", 234 "Flow rate '%1' reading of %2 L/min is above the %3 upper fatal threshold.", 235 "Critical", 236 3, 237 { 238 "string", 239 "number", 240 "number", 241 }, 242 "Check the condition of the resource listed in OriginOfCondition.", 243 }}, 244 MessageEntry{ 245 "FlowRateBelowLowerCautionThreshold", 246 { 247 "Indicates that a flow rate reading is below the lower caution threshold.", 248 "Flow rate '%1' reading of %2 L/min is below the %3 lower caution threshold.", 249 "Warning", 250 3, 251 { 252 "string", 253 "number", 254 "number", 255 }, 256 "Check the condition of the resource listed in OriginOfCondition.", 257 }}, 258 MessageEntry{ 259 "FlowRateBelowLowerCriticalThreshold", 260 { 261 "Indicates that a flow rate reading is below the lower critical threshold.", 262 "Flow rate '%1' reading of %2 L/min is below the %3 lower critical threshold.", 263 "Critical", 264 3, 265 { 266 "string", 267 "number", 268 "number", 269 }, 270 "Check the condition of the resource listed in OriginOfCondition.", 271 }}, 272 MessageEntry{ 273 "FlowRateBelowLowerFatalThreshold", 274 { 275 "Indicates that a flow rate reading is below the lower fatal threshold.", 276 "Flow rate '%1' reading of %2 L/min is below the %3 lower fatal threshold.", 277 "Critical", 278 3, 279 { 280 "string", 281 "number", 282 "number", 283 }, 284 "Check the condition of the resource listed in OriginOfCondition.", 285 }}, 286 MessageEntry{ 287 "FlowRateBelowUpperCriticalThreshold", 288 { 289 "Indicates that a flow rate reading is no longer above the upper critical threshold but is still outside of normal operating range.", 290 "Flow rate '%1' reading of %2 L/min is now below the %3 upper critical threshold but remains outside of normal range.", 291 "Warning", 292 3, 293 { 294 "string", 295 "number", 296 "number", 297 }, 298 "Check the condition of the resource listed in OriginOfCondition.", 299 }}, 300 MessageEntry{ 301 "FlowRateBelowUpperFatalThreshold", 302 { 303 "Indicates that a flow rate reading is no longer above the upper fatal threshold but is still outside of normal operating range.", 304 "Flow rate '%1' reading of %2 L/min is now below the %3 upper fatal threshold but remains outside of normal range.", 305 "Critical", 306 3, 307 { 308 "string", 309 "number", 310 "number", 311 }, 312 "Check the condition of the resource listed in OriginOfCondition.", 313 }}, 314 MessageEntry{ 315 "FlowRateCritical", 316 { 317 "Indicates that a flow rate reading exceeds an internal critical level.", 318 "Flow rate '%1' reading of %2 L/min exceeds the critical level.", 319 "Critical", 320 2, 321 { 322 "string", 323 "number", 324 }, 325 "Check the condition of the resource listed in OriginOfCondition.", 326 }}, 327 MessageEntry{ 328 "FlowRateFatal", 329 { 330 "Indicates that a flow rate reading exceeds an internal fatal level or flow rate reading is zero (0).", 331 "Flow rate '%1' reading of %2 L/min exceeds the fatal level.", 332 "Critical", 333 2, 334 { 335 "string", 336 "number", 337 }, 338 "Check the condition of the resource listed in OriginOfCondition.", 339 }}, 340 MessageEntry{ 341 "FlowRateNoLongerCritical", 342 { 343 "Indicates that a flow rate reading no longer exceeds an internal critical level but still exceeds an internal warning level.", 344 "Flow rate '%1' reading of %2 L/min no longer exceeds the critical level.", 345 "Warning", 346 2, 347 { 348 "string", 349 "number", 350 }, 351 "Check the condition of the resource listed in OriginOfCondition.", 352 }}, 353 MessageEntry{ 354 "FlowRateNoLongerFatal", 355 { 356 "Indicates that a flow rate reading is no longer exceeds an internal fatal level but is still exceeds an internal critical level.", 357 "Flow rate '%1' reading of %2 L/min no longer exceeds the fatal level.", 358 "Critical", 359 2, 360 { 361 "string", 362 "number", 363 }, 364 "Check the condition of the resource listed in OriginOfCondition.", 365 }}, 366 MessageEntry{ 367 "FlowRateNormal", 368 { 369 "Indicates that a flow rate reading is now within normal operating range.", 370 "Flow rate '%1' reading of %2 L/min is within normal operating range.", 371 "OK", 372 2, 373 { 374 "string", 375 "number", 376 }, 377 "None.", 378 }}, 379 MessageEntry{ 380 "FlowRateWarning", 381 { 382 "Indicates that a flow rate reading exceeds an internal warning level.", 383 "Flow rate '%1' reading of %2 L/min exceeds the warning level.", 384 "Warning", 385 2, 386 { 387 "string", 388 "number", 389 }, 390 "Check the condition of the resource listed in OriginOfCondition.", 391 }}, 392 MessageEntry{ 393 "FluidLevelAboveLowerCriticalThreshold", 394 { 395 "Indicates that a fluid level reading is no longer below the lower critical threshold but is still outside of normal operating range.", 396 "Fluid level '%1' reading of %2 percent is now above the %3 lower critical threshold but remains outside of normal range.", 397 "Warning", 398 3, 399 { 400 "string", 401 "number", 402 "number", 403 }, 404 "Check the condition of the resource listed in OriginOfCondition.", 405 }}, 406 MessageEntry{ 407 "FluidLevelAboveLowerFatalThreshold", 408 { 409 "Indicates that a fluid level reading is no longer below the lower fatal threshold but is still outside of normal operating range.", 410 "Fluid level '%1' reading of %2 percent is now above the %3 lower fatal threshold but remains outside of normal range.", 411 "Critical", 412 3, 413 { 414 "string", 415 "number", 416 "number", 417 }, 418 "Check the condition of the resource listed in OriginOfCondition.", 419 }}, 420 MessageEntry{ 421 "FluidLevelAboveUpperCautionThreshold", 422 { 423 "Indicates that a fluid level reading is above the upper caution threshold.", 424 "Fluid level '%1' reading of %2 percent is above the %3 upper caution threshold.", 425 "Warning", 426 3, 427 { 428 "string", 429 "number", 430 "number", 431 }, 432 "Check the condition of the resource listed in OriginOfCondition.", 433 }}, 434 MessageEntry{ 435 "FluidLevelAboveUpperCriticalThreshold", 436 { 437 "Indicates that a fluid level reading is above the upper critical threshold.", 438 "Fluid level '%1' reading of %2 percent is above the %3 upper critical threshold.", 439 "Critical", 440 3, 441 { 442 "string", 443 "number", 444 "number", 445 }, 446 "Check the condition of the resource listed in OriginOfCondition.", 447 }}, 448 MessageEntry{ 449 "FluidLevelAboveUpperFatalThreshold", 450 { 451 "Indicates that a fluid level reading is above the upper fatal threshold.", 452 "Fluid level '%1' reading of %2 percent is above the %3 upper fatal threshold.", 453 "Critical", 454 3, 455 { 456 "string", 457 "number", 458 "number", 459 }, 460 "Check the condition of the resource listed in OriginOfCondition.", 461 }}, 462 MessageEntry{ 463 "FluidLevelBelowLowerCautionThreshold", 464 { 465 "Indicates that a fluid level reading is below the lower caution threshold.", 466 "Fluid level '%1' reading of %2 percent is below the %3 lower caution threshold.", 467 "Warning", 468 3, 469 { 470 "string", 471 "number", 472 "number", 473 }, 474 "Check the condition of the resource listed in OriginOfCondition.", 475 }}, 476 MessageEntry{ 477 "FluidLevelBelowLowerCriticalThreshold", 478 { 479 "Indicates that a fluid level reading is below the lower critical threshold.", 480 "Fluid level '%1' reading of %2 percent is below the %3 lower critical threshold.", 481 "Critical", 482 3, 483 { 484 "string", 485 "number", 486 "number", 487 }, 488 "Check the condition of the resource listed in OriginOfCondition.", 489 }}, 490 MessageEntry{ 491 "FluidLevelBelowLowerFatalThreshold", 492 { 493 "Indicates that a fluid level reading is below the lower fatal threshold.", 494 "Fluid level '%1' reading of %2 percent is below the %3 lower fatal threshold.", 495 "Critical", 496 3, 497 { 498 "string", 499 "number", 500 "number", 501 }, 502 "Check the condition of the resource listed in OriginOfCondition.", 503 }}, 504 MessageEntry{ 505 "FluidLevelBelowUpperCriticalThreshold", 506 { 507 "Indicates that a fluid level reading is no longer above the upper critical threshold but is still outside of normal operating range.", 508 "Fluid level '%1' reading of %2 percent is now below the %3 upper critical threshold but remains outside of normal range.", 509 "Warning", 510 3, 511 { 512 "string", 513 "number", 514 "number", 515 }, 516 "Check the condition of the resource listed in OriginOfCondition.", 517 }}, 518 MessageEntry{ 519 "FluidLevelBelowUpperFatalThreshold", 520 { 521 "Indicates that a fluid level reading is no longer above the upper fatal threshold but is still outside of normal operating range.", 522 "Fluid level '%1' reading of %2 percent is now below the %3 upper fatal threshold but remains outside of normal range.", 523 "Critical", 524 3, 525 { 526 "string", 527 "number", 528 "number", 529 }, 530 "Check the condition of the resource listed in OriginOfCondition.", 531 }}, 532 MessageEntry{ 533 "FluidLevelCritical", 534 { 535 "Indicates that a fluid level reading violates an internal critical level.", 536 "Fluid level '%1' reading violates the critical level.", 537 "Critical", 538 1, 539 { 540 "string", 541 }, 542 "Check the condition of the resource listed in OriginOfCondition.", 543 }}, 544 MessageEntry{ 545 "FluidLevelNoLongerCritical", 546 { 547 "Indicates that a fluid level reading no longer violates an internal critical level but still violates an internal warning level.", 548 "Fluid level '%1' reading no longer violates the critical level.", 549 "Warning", 550 1, 551 { 552 "string", 553 }, 554 "Check the condition of the resource listed in OriginOfCondition.", 555 }}, 556 MessageEntry{ 557 "FluidLevelNormal", 558 { 559 "Indicates that a fluid level reading is now within normal operating range.", 560 "Fluid level '%1' reading is within normal operating range.", 561 "OK", 562 1, 563 { 564 "string", 565 }, 566 "None.", 567 }}, 568 MessageEntry{ 569 "FluidLevelWarning", 570 { 571 "Indicates that a fluid level reading violates an internal warning level.", 572 "Fluid level '%1' reading violates the warning level.", 573 "Warning", 574 1, 575 { 576 "string", 577 }, 578 "Check the condition of the resource listed in OriginOfCondition.", 579 }}, 580 MessageEntry{ 581 "FluidQualityCritical", 582 { 583 "Indicates that a fluid quality reading exceeds an internal critical level.", 584 "Fluid quality '%1' reading exceeds the critical level.", 585 "Critical", 586 1, 587 { 588 "string", 589 }, 590 "Check the condition of the resource listed in OriginOfCondition.", 591 }}, 592 MessageEntry{ 593 "FluidQualityNoLongerCritical", 594 { 595 "Indicates that a fluid quality reading no longer exceeds an internal critical level but still exceeds an internal warning level.", 596 "Fluid quality '%1' reading no longer exceeds the critical level.", 597 "Warning", 598 1, 599 { 600 "string", 601 }, 602 "Check the condition of the resource listed in OriginOfCondition.", 603 }}, 604 MessageEntry{ 605 "FluidQualityNormal", 606 { 607 "Indicates that a fluid quality reading is now within normal operating range.", 608 "Fluid quality '%1' reading is within normal operating range.", 609 "OK", 610 1, 611 { 612 "string", 613 }, 614 "None.", 615 }}, 616 MessageEntry{ 617 "FluidQualityWarning", 618 { 619 "Indicates that a fluid quality reading exceeds an internal warning level.", 620 "Fluid quality '%1' reading exceeds the warning level.", 621 "Warning", 622 1, 623 { 624 "string", 625 }, 626 "Check the condition of the resource listed in OriginOfCondition.", 627 }}, 628 MessageEntry{ 629 "HumidityAboveLowerCriticalThreshold", 630 { 631 "Indicates that a humidity reading is no longer below the lower critical threshold but is still outside of normal operating range.", 632 "Humidity '%1' reading of %2 percent is now above the %3 lower critical threshold but remains outside of normal range.", 633 "Warning", 634 3, 635 { 636 "string", 637 "number", 638 "number", 639 }, 640 "Check the condition of the resource listed in OriginOfCondition.", 641 }}, 642 MessageEntry{ 643 "HumidityAboveUpperCautionThreshold", 644 { 645 "Indicates that a humidity reading is above the upper caution threshold.", 646 "Humidity '%1' reading of %2 percent is above the %3 upper caution threshold.", 647 "Warning", 648 3, 649 { 650 "string", 651 "number", 652 "number", 653 }, 654 "Check the condition of the resource listed in OriginOfCondition.", 655 }}, 656 MessageEntry{ 657 "HumidityAboveUpperCriticalThreshold", 658 { 659 "Indicates that a humidity reading is above the upper critical threshold.", 660 "Humidity '%1' reading of %2 percent is above the %3 upper critical threshold.", 661 "Critical", 662 3, 663 { 664 "string", 665 "number", 666 "number", 667 }, 668 "Check the condition of the resource listed in OriginOfCondition.", 669 }}, 670 MessageEntry{ 671 "HumidityBelowLowerCautionThreshold", 672 { 673 "Indicates that a humidity reading is below the lower caution threshold.", 674 "Humidity '%1' reading of %2 percent is below the %3 lower caution threshold.", 675 "Warning", 676 3, 677 { 678 "string", 679 "number", 680 "number", 681 }, 682 "Check the condition of the resource listed in OriginOfCondition.", 683 }}, 684 MessageEntry{ 685 "HumidityBelowLowerCriticalThreshold", 686 { 687 "Indicates that a humidity reading is below the lower critical threshold.", 688 "Humidity '%1' reading of %2 percent is below the %3 lower critical threshold.", 689 "Critical", 690 3, 691 { 692 "string", 693 "number", 694 "number", 695 }, 696 "Check the condition of the resource listed in OriginOfCondition.", 697 }}, 698 MessageEntry{ 699 "HumidityBelowUpperCriticalThreshold", 700 { 701 "Indicates that a humidity reading is no longer above the upper critical threshold but is still outside of normal operating range.", 702 "Humidity '%1' reading of %2 percent is now below the %3 upper critical threshold but remains outside of normal range.", 703 "Warning", 704 3, 705 { 706 "string", 707 "number", 708 "number", 709 }, 710 "Check the condition of the resource listed in OriginOfCondition.", 711 }}, 712 MessageEntry{ 713 "HumidityNormal", 714 { 715 "Indicates that a humidity reading is now within normal operating range.", 716 "Humidity '%1' reading of %2 percent is within normal operating range.", 717 "OK", 718 2, 719 { 720 "string", 721 "number", 722 }, 723 "None.", 724 }}, 725 MessageEntry{ 726 "LeakDetectedCritical", 727 { 728 "Indicates that a leak detector is in a critical state.", 729 "Leak detector '%1' reports a critical level leak.", 730 "Critical", 731 1, 732 { 733 "string", 734 }, 735 "Check the condition of the resource listed in OriginOfCondition.", 736 }}, 737 MessageEntry{ 738 "LeakDetectedNormal", 739 { 740 "Indicates that a leak detector is within normal operating range.", 741 "Leak detector '%1' has returned to normal.", 742 "OK", 743 1, 744 { 745 "string", 746 }, 747 "None.", 748 }}, 749 MessageEntry{ 750 "LeakDetectedWarning", 751 { 752 "Indicates that a leak detector is in a warning state.", 753 "Leak detector '%1' reports a warning level leak.", 754 "Warning", 755 1, 756 { 757 "string", 758 }, 759 "Check the condition of the resource listed in OriginOfCondition.", 760 }}, 761 MessageEntry{ 762 "PressureAboveLowerCriticalThreshold", 763 { 764 "Indicates that a pressure reading is no longer below the lower critical threshold but is still outside of normal operating range.", 765 "Pressure '%1' reading of %2 kPa is now above the %3 lower critical threshold but remains outside of normal range.", 766 "Warning", 767 3, 768 { 769 "string", 770 "number", 771 "number", 772 }, 773 "Check the condition of the resource listed in OriginOfCondition.", 774 }}, 775 MessageEntry{ 776 "PressureAboveLowerFatalThreshold", 777 { 778 "Indicates that a pressure reading is no longer below the lower fatal threshold but is still outside of normal operating range.", 779 "Pressure '%1' reading of %2 kPa is now above the %3 lower fatal threshold but remains outside of normal range.", 780 "Critical", 781 3, 782 { 783 "string", 784 "number", 785 "number", 786 }, 787 "Check the condition of the resource listed in OriginOfCondition.", 788 }}, 789 MessageEntry{ 790 "PressureAboveUpperCautionThreshold", 791 { 792 "Indicates that a pressure reading is above the upper caution threshold.", 793 "Pressure '%1' reading of %2 kPa is above the %3 upper caution threshold.", 794 "Warning", 795 3, 796 { 797 "string", 798 "number", 799 "number", 800 }, 801 "Check the condition of the resource listed in OriginOfCondition.", 802 }}, 803 MessageEntry{ 804 "PressureAboveUpperCriticalThreshold", 805 { 806 "Indicates that a pressure reading is above the upper critical threshold.", 807 "Pressure '%1' reading of %2 kPa is above the %3 upper critical threshold.", 808 "Critical", 809 3, 810 { 811 "string", 812 "number", 813 "number", 814 }, 815 "Check the condition of the resource listed in OriginOfCondition.", 816 }}, 817 MessageEntry{ 818 "PressureAboveUpperFatalThreshold", 819 { 820 "Indicates that a pressure reading is above the upper fatal threshold.", 821 "Pressure '%1' reading of %2 kPa is above the %3 upper fatal threshold.", 822 "Critical", 823 3, 824 { 825 "string", 826 "number", 827 "number", 828 }, 829 "Check the condition of the resource listed in OriginOfCondition.", 830 }}, 831 MessageEntry{ 832 "PressureBelowLowerCautionThreshold", 833 { 834 "Indicates that a pressure reading is below the lower caution threshold.", 835 "Pressure '%1' reading of %2 kPa is below the %3 lower caution threshold.", 836 "Warning", 837 3, 838 { 839 "string", 840 "number", 841 "number", 842 }, 843 "Check the condition of the resource listed in OriginOfCondition.", 844 }}, 845 MessageEntry{ 846 "PressureBelowLowerCriticalThreshold", 847 { 848 "Indicates that a pressure reading is below the lower critical threshold.", 849 "Pressure '%1' reading of %2 kPa is below the %3 lower critical threshold.", 850 "Critical", 851 3, 852 { 853 "string", 854 "number", 855 "number", 856 }, 857 "Check the condition of the resource listed in OriginOfCondition.", 858 }}, 859 MessageEntry{ 860 "PressureBelowLowerFatalThreshold", 861 { 862 "Indicates that a pressure reading is below the lower fatal threshold.", 863 "Pressure '%1' reading of %2 kPa is below the %3 lower fatal threshold.", 864 "Critical", 865 3, 866 { 867 "string", 868 "number", 869 "number", 870 }, 871 "Check the condition of the resource listed in OriginOfCondition.", 872 }}, 873 MessageEntry{ 874 "PressureBelowUpperCriticalThreshold", 875 { 876 "Indicates that a pressure reading is no longer above the upper critical threshold but is still outside of normal operating range.", 877 "Pressure '%1' reading of %2 kPa is now below the %3 upper critical threshold but remains outside of normal range.", 878 "Warning", 879 3, 880 { 881 "string", 882 "number", 883 "number", 884 }, 885 "Check the condition of the resource listed in OriginOfCondition.", 886 }}, 887 MessageEntry{ 888 "PressureBelowUpperFatalThreshold", 889 { 890 "Indicates that a pressure reading is no longer above the upper fatal threshold but is still outside of normal operating range.", 891 "Pressure '%1' reading of %2 kPa is now below the %3 upper fatal threshold but remains outside of normal range.", 892 "Critical", 893 3, 894 { 895 "string", 896 "number", 897 "number", 898 }, 899 "Check the condition of the resource listed in OriginOfCondition.", 900 }}, 901 MessageEntry{ 902 "PressureCritical", 903 { 904 "Indicates that a pressure reading exceeds an internal critical level.", 905 "Pressure '%1' reading of %2 kPa exceeds the critical level.", 906 "Critical", 907 2, 908 { 909 "string", 910 "number", 911 }, 912 "Check the condition of the resource listed in OriginOfCondition.", 913 }}, 914 MessageEntry{ 915 "PressureNoLongerCritical", 916 { 917 "Indicates that a pressure reading no longer violates an internal critical level but still violates an internal warning level.", 918 "Pressure '%1' reading of %2 kPa no longer violates the critical level.", 919 "Warning", 920 2, 921 { 922 "string", 923 "number", 924 }, 925 "Check the condition of the resource listed in OriginOfCondition.", 926 }}, 927 MessageEntry{ 928 "PressureNormal", 929 { 930 "Indicates that a pressure reading is now within normal operating range.", 931 "Pressure '%1' reading of %2 kPa is within normal operating range.", 932 "OK", 933 2, 934 { 935 "string", 936 "number", 937 }, 938 "None.", 939 }}, 940 MessageEntry{ 941 "PressureWarning", 942 { 943 "Indicates that a pressure reading exceeds an internal warning level.", 944 "Pressure '%1' reading of %2 kPa exceeds the warning level.", 945 "Warning", 946 2, 947 { 948 "string", 949 "number", 950 }, 951 "Check the condition of the resource listed in OriginOfCondition.", 952 }}, 953 MessageEntry{ 954 "PumpFailed", 955 { 956 "Indicates that a pump has failed.", 957 "Pump '%1' has failed.", 958 "Warning", 959 1, 960 { 961 "string", 962 }, 963 "Check the pump hardware and replace any faulty component.", 964 }}, 965 MessageEntry{ 966 "PumpInserted", 967 { 968 "Indicates that a pump was inserted or installed.", 969 "Pump '%1' was inserted.", 970 "OK", 971 1, 972 { 973 "string", 974 }, 975 "None.", 976 }}, 977 MessageEntry{ 978 "PumpRemoved", 979 { 980 "Indicates that a pump was removed.", 981 "Pump '%1' was removed.", 982 "OK", 983 1, 984 { 985 "string", 986 }, 987 "None.", 988 }}, 989 MessageEntry{ 990 "PumpRestored", 991 { 992 "Indicates that a pump was repaired or restored to normal operation.", 993 "Pump '%1' was restored.", 994 "OK", 995 1, 996 { 997 "string", 998 }, 999 "None.", 1000 }}, 1001 MessageEntry{ 1002 "TemperatureAboveLowerCriticalThreshold", 1003 { 1004 "Indicates that a temperature reading is no longer below the lower critical threshold but is still outside of normal operating range.", 1005 "Temperature '%1' reading of %2 degrees (C) is now above the %3 lower critical threshold but remains outside of normal range.", 1006 "Warning", 1007 3, 1008 { 1009 "string", 1010 "number", 1011 "number", 1012 }, 1013 "Check the condition of the resource listed in OriginOfCondition.", 1014 }}, 1015 MessageEntry{ 1016 "TemperatureAboveLowerFatalThreshold", 1017 { 1018 "Indicates that a temperature reading is no longer below the lower fatal threshold but is still outside of normal operating range.", 1019 "Temperature '%1' reading of %2 degrees (C) is now above the %3 lower fatal threshold but remains outside of normal range.", 1020 "Critical", 1021 3, 1022 { 1023 "string", 1024 "number", 1025 "number", 1026 }, 1027 "Check the condition of the resource listed in OriginOfCondition.", 1028 }}, 1029 MessageEntry{ 1030 "TemperatureAboveUpperCautionThreshold", 1031 { 1032 "Indicates that a temperature reading is above the upper caution threshold.", 1033 "Temperature '%1' reading of %2 degrees (C) is above the %3 upper caution threshold.", 1034 "Warning", 1035 3, 1036 { 1037 "string", 1038 "number", 1039 "number", 1040 }, 1041 "Check the condition of the resource listed in OriginOfCondition.", 1042 }}, 1043 MessageEntry{ 1044 "TemperatureAboveUpperCriticalThreshold", 1045 { 1046 "Indicates that a temperature reading is above the upper critical threshold.", 1047 "Temperature '%1' reading of %2 degrees (C) is above the %3 upper critical threshold.", 1048 "Critical", 1049 3, 1050 { 1051 "string", 1052 "number", 1053 "number", 1054 }, 1055 "Check the condition of the resource listed in OriginOfCondition.", 1056 }}, 1057 MessageEntry{ 1058 "TemperatureAboveUpperFatalThreshold", 1059 { 1060 "Indicates that a temperature reading is above the upper fatal threshold.", 1061 "Temperature '%1' reading of %2 degrees (C) is above the %3 upper fatal threshold.", 1062 "Critical", 1063 3, 1064 { 1065 "string", 1066 "number", 1067 "number", 1068 }, 1069 "Check the condition of the resource listed in OriginOfCondition.", 1070 }}, 1071 MessageEntry{ 1072 "TemperatureBelowLowerCautionThreshold", 1073 { 1074 "Indicates that a temperature reading is below the lower caution threshold.", 1075 "Temperature '%1' reading of %2 degrees (C) is below the %3 lower caution threshold.", 1076 "Warning", 1077 3, 1078 { 1079 "string", 1080 "number", 1081 "number", 1082 }, 1083 "Check the condition of the resource listed in OriginOfCondition.", 1084 }}, 1085 MessageEntry{ 1086 "TemperatureBelowLowerCriticalThreshold", 1087 { 1088 "Indicates that a temperature reading is below the lower critical threshold.", 1089 "Temperature '%1' reading of %2 degrees (C) is below the %3 lower critical threshold.", 1090 "Critical", 1091 3, 1092 { 1093 "string", 1094 "number", 1095 "number", 1096 }, 1097 "Check the condition of the resource listed in OriginOfCondition.", 1098 }}, 1099 MessageEntry{ 1100 "TemperatureBelowLowerFatalThreshold", 1101 { 1102 "Indicates that a temperature reading is below the lower fatal threshold.", 1103 "Temperature '%1' reading of %2 degrees (C) is below the %3 lower fatal threshold.", 1104 "Critical", 1105 3, 1106 { 1107 "string", 1108 "number", 1109 "number", 1110 }, 1111 "Check the condition of the resource listed in OriginOfCondition.", 1112 }}, 1113 MessageEntry{ 1114 "TemperatureBelowUpperCriticalThreshold", 1115 { 1116 "Indicates that a temperature reading is no longer above the upper critical threshold but is still outside of normal operating range.", 1117 "Temperature '%1' reading of %2 degrees (C) is now below the %3 upper critical threshold but remains outside of normal range.", 1118 "Warning", 1119 3, 1120 { 1121 "string", 1122 "number", 1123 "number", 1124 }, 1125 "Check the condition of the resource listed in OriginOfCondition.", 1126 }}, 1127 MessageEntry{ 1128 "TemperatureBelowUpperFatalThreshold", 1129 { 1130 "Indicates that a temperature reading is no longer above the upper fatal threshold but is still outside of normal operating range.", 1131 "Temperature '%1' reading of %2 degrees (C) is now below the %3 upper fatal threshold but remains outside of normal range.", 1132 "Critical", 1133 3, 1134 { 1135 "string", 1136 "number", 1137 "number", 1138 }, 1139 "Check the condition of the resource listed in OriginOfCondition.", 1140 }}, 1141 MessageEntry{ 1142 "TemperatureCritical", 1143 { 1144 "Indicates that a temperature reading exceeds an internal critical level.", 1145 "Temperature '%1' reading of %2 degrees (C) exceeds the critical level.", 1146 "Critical", 1147 2, 1148 { 1149 "string", 1150 "number", 1151 }, 1152 "Check the condition of the resource listed in OriginOfCondition.", 1153 }}, 1154 MessageEntry{ 1155 "TemperatureNoLongerCritical", 1156 { 1157 "Indicates that a temperature reading no longer exceeds an internal critical level but still exceeds an internal warning level.", 1158 "Temperature '%1' reading of %2 degrees (C) no longer exceeds the critical level.", 1159 "Warning", 1160 2, 1161 { 1162 "string", 1163 "number", 1164 }, 1165 "Check the condition of the resource listed in OriginOfCondition.", 1166 }}, 1167 MessageEntry{ 1168 "TemperatureNormal", 1169 { 1170 "Indicates that a temperature reading is now within normal operating range.", 1171 "Temperature '%1' reading of %2 degrees (C) is within normal operating range.", 1172 "OK", 1173 2, 1174 { 1175 "string", 1176 "number", 1177 }, 1178 "None.", 1179 }}, 1180 MessageEntry{ 1181 "TemperatureWarning", 1182 { 1183 "Indicates that a temperature reading exceeds an internal warning level.", 1184 "Temperature '%1' reading of %2 degrees (C) exceeds the warning level.", 1185 "Warning", 1186 2, 1187 { 1188 "string", 1189 "number", 1190 }, 1191 "Check the condition of the resource listed in OriginOfCondition.", 1192 }}, 1193 1194 }; 1195 1196 enum class Index 1197 { 1198 fanFailed = 0, 1199 fanGroupCritical = 1, 1200 fanGroupNormal = 2, 1201 fanGroupWarning = 3, 1202 fanInserted = 4, 1203 fanRemoved = 5, 1204 fanRestored = 6, 1205 filterInserted = 7, 1206 filterRemoved = 8, 1207 filterRequiresService = 9, 1208 filterRestored = 10, 1209 flowRateAboveLowerCriticalThreshold = 11, 1210 flowRateAboveLowerFatalThreshold = 12, 1211 flowRateAboveUpperCautionThreshold = 13, 1212 flowRateAboveUpperCriticalThreshold = 14, 1213 flowRateAboveUpperFatalThreshold = 15, 1214 flowRateBelowLowerCautionThreshold = 16, 1215 flowRateBelowLowerCriticalThreshold = 17, 1216 flowRateBelowLowerFatalThreshold = 18, 1217 flowRateBelowUpperCriticalThreshold = 19, 1218 flowRateBelowUpperFatalThreshold = 20, 1219 flowRateCritical = 21, 1220 flowRateFatal = 22, 1221 flowRateNoLongerCritical = 23, 1222 flowRateNoLongerFatal = 24, 1223 flowRateNormal = 25, 1224 flowRateWarning = 26, 1225 fluidLevelAboveLowerCriticalThreshold = 27, 1226 fluidLevelAboveLowerFatalThreshold = 28, 1227 fluidLevelAboveUpperCautionThreshold = 29, 1228 fluidLevelAboveUpperCriticalThreshold = 30, 1229 fluidLevelAboveUpperFatalThreshold = 31, 1230 fluidLevelBelowLowerCautionThreshold = 32, 1231 fluidLevelBelowLowerCriticalThreshold = 33, 1232 fluidLevelBelowLowerFatalThreshold = 34, 1233 fluidLevelBelowUpperCriticalThreshold = 35, 1234 fluidLevelBelowUpperFatalThreshold = 36, 1235 fluidLevelCritical = 37, 1236 fluidLevelNoLongerCritical = 38, 1237 fluidLevelNormal = 39, 1238 fluidLevelWarning = 40, 1239 fluidQualityCritical = 41, 1240 fluidQualityNoLongerCritical = 42, 1241 fluidQualityNormal = 43, 1242 fluidQualityWarning = 44, 1243 humidityAboveLowerCriticalThreshold = 45, 1244 humidityAboveUpperCautionThreshold = 46, 1245 humidityAboveUpperCriticalThreshold = 47, 1246 humidityBelowLowerCautionThreshold = 48, 1247 humidityBelowLowerCriticalThreshold = 49, 1248 humidityBelowUpperCriticalThreshold = 50, 1249 humidityNormal = 51, 1250 leakDetectedCritical = 52, 1251 leakDetectedNormal = 53, 1252 leakDetectedWarning = 54, 1253 pressureAboveLowerCriticalThreshold = 55, 1254 pressureAboveLowerFatalThreshold = 56, 1255 pressureAboveUpperCautionThreshold = 57, 1256 pressureAboveUpperCriticalThreshold = 58, 1257 pressureAboveUpperFatalThreshold = 59, 1258 pressureBelowLowerCautionThreshold = 60, 1259 pressureBelowLowerCriticalThreshold = 61, 1260 pressureBelowLowerFatalThreshold = 62, 1261 pressureBelowUpperCriticalThreshold = 63, 1262 pressureBelowUpperFatalThreshold = 64, 1263 pressureCritical = 65, 1264 pressureNoLongerCritical = 66, 1265 pressureNormal = 67, 1266 pressureWarning = 68, 1267 pumpFailed = 69, 1268 pumpInserted = 70, 1269 pumpRemoved = 71, 1270 pumpRestored = 72, 1271 temperatureAboveLowerCriticalThreshold = 73, 1272 temperatureAboveLowerFatalThreshold = 74, 1273 temperatureAboveUpperCautionThreshold = 75, 1274 temperatureAboveUpperCriticalThreshold = 76, 1275 temperatureAboveUpperFatalThreshold = 77, 1276 temperatureBelowLowerCautionThreshold = 78, 1277 temperatureBelowLowerCriticalThreshold = 79, 1278 temperatureBelowLowerFatalThreshold = 80, 1279 temperatureBelowUpperCriticalThreshold = 81, 1280 temperatureBelowUpperFatalThreshold = 82, 1281 temperatureCritical = 83, 1282 temperatureNoLongerCritical = 84, 1283 temperatureNormal = 85, 1284 temperatureWarning = 86, 1285 }; 1286 }; // struct environmental 1287 1288 [[gnu::constructor]] inline void registerEnvironmental() 1289 { registerRegistry<Environmental>(); } 1290 1291 } // namespace redfish::registries 1292