History log of /openbmc/bmcweb/config/ (Results 1 – 25 of 51)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
3132dace07-Oct-2025 Harshit Aghera <haghera@nvidia.com>

Fabric: add support for PCIe Switch Port URI

This patch enable support for following properties for Port of a PCIe
Switch. [1]
- PortProtocol
- PortType
- CurrentSpeedGbps
- ActiveWidth

One of the

Fabric: add support for PCIe Switch Port URI

This patch enable support for following properties for Port of a PCIe
Switch. [1]
- PortProtocol
- PortType
- CurrentSpeedGbps
- ActiveWidth

One of the devices that gets enabled with this patch is Nvidia ConnectX
devices, which are network cards featuring an integrated PCIe switch.
These devices combine both PCIe ports and network ports in a single
unit. Since such devices don't strictly qualify as Fabric Adapters, the
Switch URI is used instead of the FabricAdapter URI.

Port schema only allows certain URIs as Port URI. URI
/redfish/v1/Fabrics/{FabricId}/Switches/{SwitchId}/Ports/{PortId} seems
most appropriate choice for PCIe Switch Port. [1]

The Fabric resource is modeled similarly to the System resource, meaning
that only one Fabric resource will exist for each BMC. Route handler for
collections and each individual components are added in this patch for
each URI resource under /redfish/v1/Fabrics.

DBus Interface "xyz.openbmc_project.Inventory.Item.PCIeSwitch" is used
to identify the Switch resources. Association between Switch and Port is
`connecting` and `connected_to`.

Feature like Port Metrics properties (for PCIe Error Counters) can be
added in future at Port Metric URI.

dbus-sensors patches -
https://gerrit.openbmc.org/c/openbmc/dbus-sensors/+/84079
https://gerrit.openbmc.org/c/openbmc/dbus-sensors/+/83202

Tested: Build an image for nvl32-obmc machine with the following patch
cherry picked.

https://gerrit.openbmc.org/c/openbmc/dbus-sensors/+/84079
https://gerrit.openbmc.org/c/openbmc/openbmc/+/85490

The openbmc patch cherry-picks the following patches that are currently
under review.

```
1. device tree
https://lore.kernel.org/all/aRbLqH8pLWCQryhu@molberding.nvidia.com/
2. mctpd patches
https://github.com/CodeConstruct/mctp/pull/85
3. u-boot changes
https://lore.kernel.org/openbmc/20251121-msx4-v1-0-fc0118b666c1@nvidia.com/T/#t
4. kernel changes as specified in the openbmc patch (for espi)
5. entity-manager changes
https://gerrit.openbmc.org/c/openbmc/entity-manager/+/85455
6. platform-init changes
https://gerrit.openbmc.org/c/openbmc/platform-init/+/85456
7. spi changes
https://lore.kernel.org/all/20251121-w25q01jv_fixup-v1-1-3d175050db73@nvidia.com/
```

redfish service validator is passing.

```
$ curl -k -u 'root:0penBmc' https://${bmc_ip}/redfish/v1/Fabrics/
{
"@odata.id": "/redfish/v1/Fabrics",
"@odata.type": "#FabricCollection.FabricCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Fabrics/fabric"
}
],
"Members@odata.count": 1,
"Name": "Fabric Collection"
}%

$ curl -k -u 'root:0penBmc' https://${bmc_ip}/redfish/v1/Fabrics/fabric/
{
"@odata.id": "/redfish/v1/Fabrics/fabric",
"@odata.type": "#Fabric.v1_2_0.Fabric",
"Id": "fabric",
"Name": "fabric Fabric",
"Switches": {
"@odata.id": "/redfish/v1/Fabrics/fabric/Switches"
}
}%

$ curl -k -u 'root:0penBmc' https://${bmc_ip}/redfish/v1/Fabrics/fabric/Switches/
{
"@odata.id": "/redfish/v1/Fabrics/fabric/Switches",
"@odata.type": "#SwitchCollection.SwitchCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Fabrics/fabric/Switches/Nvidia_ConnectX_0"
},
{
"@odata.id": "/redfish/v1/Fabrics/fabric/Switches/Nvidia_ConnectX_1"
},
{
"@odata.id": "/redfish/v1/Fabrics/fabric/Switches/Nvidia_ConnectX_2"
},
{
"@odata.id": "/redfish/v1/Fabrics/fabric/Switches/Nvidia_ConnectX_3"
}
],
"Members@odata.count": 4,
"Name": "fabric Switch Collection"
}%

$ curl -k -u 'root:0penBmc' https://${bmc_ip}/redfish/v1/Fabrics/fabric/Switches/Nvidia_ConnectX_0
{
"@odata.id": "/redfish/v1/Fabrics/fabric/Switches/Nvidia_ConnectX_0",
"@odata.type": "#Switch.v1_7_0.Switch",
"Id": "Nvidia_ConnectX_0",
"Name": "Nvidia_ConnectX_0",
"Ports": {
"@odata.id": "/redfish/v1/Fabrics/fabric/Switches/Nvidia_ConnectX_0/Ports"
},
"Status": {
"Health": "OK",
"State": "Enabled"
}
}%

$ curl -k -u 'root:0penBmc' https://${bmc_ip}/redfish/v1/Fabrics/fabric/Switches/Nvidia_ConnectX_0/Ports/
{
"@odata.id": "/redfish/v1/Fabrics/fabric/Switches/Nvidia_ConnectX_0/Ports",
"@odata.type": "#PortCollection.PortCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Fabrics/fabric/Switches/Nvidia_ConnectX_0/Ports/DOWN_0"
},
{
"@odata.id": "/redfish/v1/Fabrics/fabric/Switches/Nvidia_ConnectX_0/Ports/DOWN_1"
},
{
"@odata.id": "/redfish/v1/Fabrics/fabric/Switches/Nvidia_ConnectX_0/Ports/UP_0"
}
],
"Members@odata.count": 3,
"Name": "Nvidia_ConnectX_0 Port Collection"
}%

$ curl -k -u 'root:0penBmc' https://${bmc_ip}/redfish/v1/Fabrics/fabric/Switches/Nvidia_ConnectX_0/Ports/UP_0/
{
"@odata.id": "/redfish/v1/Fabrics/fabric/Switches/Nvidia_ConnectX_0/Ports/UP_0",
"@odata.type": "#Port.v1_4_0.Port",
"ActiveWidth": 8,
"CurrentSpeedGbps": 32.0,
"Id": "UP_0",
"Metrics": {
"@odata.id": "/redfish/v1/Fabrics/fabric/Switches/Nvidia_ConnectX_0/Ports/UP_0/Metrics"
},
"Name": "Nvidia_ConnectX_0 UP_0 Port",
"PortProtocol": "PCIe",
"PortType": "UpstreamPort",
"Status": {
"Health": "OK",
"State": "Enabled"
}
}%
```

[1]: https://redfish.dmtf.org/schemas/v1/Port_v1.xml

Change-Id: I52f4ca62b4953f6196c589e340602a0d7885d9c1
Signed-off-by: Harshit Aghera <haghera@nvidia.com>

show more ...


/openbmc/bmcweb/DEVELOPING.md
meson.build
/openbmc/bmcweb/docs/COMMON_ERRORS.md
/openbmc/bmcweb/docs/Redfish.md
/openbmc/bmcweb/features/openbmc_rest/openbmc_dbus_rest.hpp
/openbmc/bmcweb/features/webui_login/login_routes.hpp
/openbmc/bmcweb/http/http2_connection.hpp
/openbmc/bmcweb/http/http_body.hpp
/openbmc/bmcweb/include/multipart_parser.hpp
/openbmc/bmcweb/include/persistent_data.hpp
/openbmc/bmcweb/meson.options
/openbmc/bmcweb/redfish-core/include/generated/enums/acceleration_function.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/account_service.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/action_info.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/aggregation_source.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/allow_deny.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/attribute_registry.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/automation_node.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/battery.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/cable.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/certificate.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/certificate_enrollment.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/chassis.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/circuit.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/collection_capabilities.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/component_integrity.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/composition_service.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/computer_system.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/connection.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/connection_method.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/container_image.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/control.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/coolant_connector.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/cooling_loop.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/cooling_unit.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/cxl_logical_device.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/drive.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/endpoint.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/endpoint_group.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/ethernet_interface.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/event.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/event_destination.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/event_service.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/external_account_provider.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/facility.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/host_interface.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/ip_addresses.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/job.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/job_document.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/job_service.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/key.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/key_policy.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/leak_detector.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/license.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/license_service.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/log_entry.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/log_service.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/manager.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/manager_account.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/manager_network_protocol.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/manifest.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/media_controller.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/memory.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/memory_chunks.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/memory_region.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/message_registry.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/metric_definition.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/metric_report_definition.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/network_device_function.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/network_port.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/open_bmc_computer_system.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/operating_system.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/outbound_connection.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/outlet.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/outlet_group.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/pcie_device.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/pcie_function.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/pcie_slots.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/physical_context.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/port.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/power.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/power_distribution.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/power_supply.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/privileges.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/processor.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/protocol.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/pump.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/redfish_extensions.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/redundancy.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/registered_client.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/reservoir.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/resolution_step.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/resource.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/resource_block.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/schedule.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/secure_boot.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/secure_boot_database.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/sensor.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/serial_interface.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/session.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/settings.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/signature.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/software_inventory.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/storage.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/storage_controller.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/switch.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/task.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/task_service.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/telemetry_data.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/telemetry_service.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/thermal.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/triggers.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/trusted_component.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/update_service.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/v_lan_network_interface.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/virtual_media.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/virtual_pci2_pci_bridge.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/volume.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/zone.hpp
/openbmc/bmcweb/redfish-core/include/redfish_aggregator.hpp
/openbmc/bmcweb/redfish-core/include/utils/eventlog_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/query_param.hpp
/openbmc/bmcweb/redfish-core/lib/event_service.hpp
/openbmc/bmcweb/redfish-core/lib/fabric.hpp
/openbmc/bmcweb/redfish-core/lib/log_services.hpp
/openbmc/bmcweb/redfish-core/lib/manager_logservices_dbus_eventlog.hpp
/openbmc/bmcweb/redfish-core/lib/manager_logservices_journal_eventlog.hpp
/openbmc/bmcweb/redfish-core/lib/memory.hpp
/openbmc/bmcweb/redfish-core/lib/pcie.hpp
/openbmc/bmcweb/redfish-core/lib/service_root.hpp
/openbmc/bmcweb/redfish-core/lib/storage_controller.hpp
/openbmc/bmcweb/redfish-core/lib/switch_port.hpp
/openbmc/bmcweb/redfish-core/lib/systems.hpp
/openbmc/bmcweb/redfish-core/lib/systems_logservices_dbus_eventlog.hpp
/openbmc/bmcweb/redfish-core/lib/systems_logservices_journal_eventlog.hpp
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AccountService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AllowDeny_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Application_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Assembly_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CertificateCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CertificateEnrollment_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CertificateService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Certificate_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Chassis_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Circuit_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ComputerSystem_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Connection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ContainerImage_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Container_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Control_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CoolingLoop_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CoolingUnit_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Drive_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/EndpointGroup_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/EventDestination_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/EventService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Event_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ExternalAccountProvider_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/FabricAdapter_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Fan_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Filter_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/GraphicsController_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Heater_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/KeyPolicy_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LeakDetection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LeakDetectorCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LeakDetector_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LogEntry_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LogService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ManagerAccount_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ManagerNetworkProtocol_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Manager_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MediaController_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Memory_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/NetworkAdapter_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/NetworkDeviceFunction_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/OperatingConfig_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/OperatingSystem_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PCIeDevice_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PCIeFunction_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PortMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Port_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PowerDistribution_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PowerSupplyMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PowerSupply_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Processor_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Protocol_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Pump_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Redundancy_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/RegisteredClient_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Reservoir_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ResolutionStep_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/RouteEntry_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/RouteSetEntry_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Sensor_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ServiceRoot_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/StorageController_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/StorageMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Storage_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SwitchMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Switch_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/TaskService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/TelemetryData_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ThermalSubsystem_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/USBController_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/UpdateServiceCapabilities_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/VCATEntry_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/VirtualPCI2PCIBridge_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/AccountService.v1_18_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Assembly.v1_6_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/CertificateService.v1_2_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_27_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Drive.v1_22_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Event.v1_13_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/EventDestination.v1_16_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/EventService.v1_12_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/LogEntry.v1_21_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/LogService.v1_9_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Manager.v1_24_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ManagerAccount.v1_14_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Memory.v1_23_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/PCIeDevice.v1_21_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/PCIeFunction.v1_7_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Port.v1_18_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Processor.v1_22_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Redundancy.v1_7_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Sensor.v1_12_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ServiceRoot.v1_20_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Storage.v1_21_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/StorageController.v1_11_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/TaskService.v1_3_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/AccountService.v1_18_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Assembly.v1_6_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CertificateCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CertificateEnrollment.v1_0_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CertificateService.v1_2_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Circuit.v1_9_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ComputerSystem.v1_27_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CoolingUnit.v1_5_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Drive.v1_22_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Event.v1_13_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/EventDestination.v1_16_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/EventService.v1_12_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ExternalAccountProvider.v1_8_2.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/LeakDetection.v1_2_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/LeakDetector.v1_6_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/LeakDetectorCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/LogEntry.v1_21_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/LogService.v1_9_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Manager.v1_24_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ManagerAccount.v1_14_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Memory.v1_23_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/NetworkAdapter.v1_14_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/NetworkDeviceFunction.v1_11_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PCIeDevice.v1_21_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PCIeFunction.v1_7_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Port.v1_18_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PortMetrics.v1_8_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PowerDistribution.v1_6_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PowerSupplyMetrics.v1_2_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Processor.v1_22_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Protocol.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Redundancy.v1_7_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Sensor.v1_12_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ServiceRoot.v1_20_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Storage.v1_21_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/StorageController.v1_11_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Switch.v1_11_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/TaskService.v1_3_0.json
/openbmc/bmcweb/redfish-core/src/error_message_utils.cpp
/openbmc/bmcweb/redfish-core/src/redfish.cpp
/openbmc/bmcweb/scripts/generate_schema_enums.py
/openbmc/bmcweb/scripts/parse_registries.py
/openbmc/bmcweb/scripts/update_schemas.py
/openbmc/bmcweb/src/json_html_serializer.cpp
/openbmc/bmcweb/test/include/multipart_test.cpp
/openbmc/bmcweb/test/redfish-core/include/redfish_aggregator_test.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/sensor_utils_test.cpp
/openbmc/bmcweb/test/redfish-core/lib/service_root_test.cpp
e777eff230-Dec-2025 Joey Berkovitz <jberkovitz@coreweave.com>

Enable TCP keepalives for HTTP connections

This fix enables TCP keepalives at the OS layer. It also enables a 15
minute deadline timer at the bmcweb level when waiting on an idle HTTP
keepalive conn

Enable TCP keepalives for HTTP connections

This fix enables TCP keepalives at the OS layer. It also enables a 15
minute deadline timer at the bmcweb level when waiting on an idle HTTP
keepalive connection.

Tested: romulus image running bmcweb, start connections with keepalive,
block incoming connections `iptables -P INPUT DROP`, validate that
sockets eventually die and are tracked with keepalives `ss -nto`

Change-Id: I8f5040440348c060dae1d0516ec202a0e4dc349e
Signed-off-by: Joey Berkovitz <joey@berkovitz.us>

show more ...


/openbmc/bmcweb/.clang-tidy
bmcweb.socket.in
/openbmc/bmcweb/docs/Redfish.md
/openbmc/bmcweb/http/http_connection.hpp
/openbmc/bmcweb/include/boost_formatters.hpp
/openbmc/bmcweb/include/dbus_utility.hpp
/openbmc/bmcweb/include/webassets.hpp
/openbmc/bmcweb/meson.build
/openbmc/bmcweb/redfish-core/include/event_matches_filter.hpp
/openbmc/bmcweb/redfish-core/include/event_service_manager.hpp
/openbmc/bmcweb/redfish-core/include/redfish_aggregator.hpp
/openbmc/bmcweb/redfish-core/include/utils/fan_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/redfish_aggregator_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/sensor_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/systems_utils.hpp
/openbmc/bmcweb/redfish-core/lib/account_service.hpp
/openbmc/bmcweb/redfish-core/lib/assembly.hpp
/openbmc/bmcweb/redfish-core/lib/bios.hpp
/openbmc/bmcweb/redfish-core/lib/chassis.hpp
/openbmc/bmcweb/redfish-core/lib/fan.hpp
/openbmc/bmcweb/redfish-core/lib/led.hpp
/openbmc/bmcweb/redfish-core/lib/manager_logservices_dbus_eventlog.hpp
/openbmc/bmcweb/redfish-core/lib/managers.hpp
/openbmc/bmcweb/redfish-core/lib/openbmc/openbmc_managers.hpp
/openbmc/bmcweb/redfish-core/lib/pcie.hpp
/openbmc/bmcweb/redfish-core/lib/processor.hpp
/openbmc/bmcweb/redfish-core/lib/storage.hpp
/openbmc/bmcweb/redfish-core/lib/systems.hpp
/openbmc/bmcweb/redfish-core/lib/systems_logservices_dbus_eventlog.hpp
/openbmc/bmcweb/redfish-core/lib/systems_logservices_hostlogger.hpp
/openbmc/bmcweb/redfish-core/lib/systems_logservices_journal_eventlog.hpp
/openbmc/bmcweb/redfish-core/lib/systems_logservices_postcodes.hpp
/openbmc/bmcweb/redfish-core/lib/task.hpp
/openbmc/bmcweb/redfish-core/lib/update_service.hpp
/openbmc/bmcweb/redfish-core/src/filter_expr_executor.cpp
/openbmc/bmcweb/redfish-core/src/redfish.cpp
/openbmc/bmcweb/redfish-core/src/subscription.cpp
/openbmc/bmcweb/src/webserver_cli.cpp
/openbmc/bmcweb/subprojects/boost.wrap
/openbmc/bmcweb/test/redfish-core/include/utils/sensor_utils_test.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/systems_utils_test.cpp
e5ab2df521-Jul-2025 rajeeranjan <ranjan.rajeev1609@gmail.com>

Add temp file and FD support to TemporaryFileHandle

This commit adds file descriptor and temporary file management to
DuplicatableFileHandle, removing the redundant test-only
TemporaryFileHandle uti

Add temp file and FD support to TemporaryFileHandle

This commit adds file descriptor and temporary file management to
DuplicatableFileHandle, removing the redundant test-only
TemporaryFileHandle utility.

Changes:
- Add file descriptor constructor and setFd() method
- Add temporary file constructor with string_view content
- Add filePath member and automatic cleanup in destructor
- Add configurable temp-dir meson option (default: /tmp/bmcweb)
- Remove include/file_test_utilities.hpp
- Update all tests to use DuplicatableFileHandle
- Rename stringPath to filePath

These features will be used by the multipart parser to stream
large uploads to temporary files instead of keeping them in memory,
and by the update service to pass file descriptors over D-Bus.

Change-Id: I982f5928d453f9f0c13d91c3525006134ddc87b3
Signed-off-by: Rajeev Ranjan <ranjan.rajeev1609@gmail.com>

show more ...

43feb5cd24-Sep-2025 Oliver Brewka <oliver.brewka@9elements.com>

Add Journal EventLog to Manager

In order to get access to the EventLog on multi-host platforms,
add Journal EventLog to Manager.
This implementation is based on the discussion we had on
patch 76319

Add Journal EventLog to Manager

In order to get access to the EventLog on multi-host platforms,
add Journal EventLog to Manager.
This implementation is based on the discussion we had on
patch 76319 [1].

TLDR: On multi-host, we technically would have to split the event log
on a per host node basis, so that each host node has its own
specific event log.

However, this is currently not supported so we had to decide,
whether we put it on a specific ComputerSystem, or refactor the current
implementation of the EventLog, to allow for the EventLog LogService to
be part of the Managers resource.
We chose the latter one, because a), it is not clear on which
ComputerSystem to put the EventLog, as long as we aren't splitting the
event log per host node, and b), if that particular
ComputerSystem is not existing at runtime, there would be no access to
the EventLog at all.

This feature can be enabled with the redfish-eventlog-location meson
option. By default it is set to 'systems', which translates to the
EventLog being under the Systems resource.
To enable the EventLog under the Managers resource set

```
-Dredfish-eventlog-location=managers
```
This in turn, disables the EventLog under the ComputerSystem resource.

Tested: Redfish validation succeeded for both ComputerSystem and
Managers tree.

```
curl command:
curl -w "@curl-format.txt" -c cjar -b cjar -k -X GET 'https://'"${BMC}"':4443/redfish/v1/'"$ROUTE"'' \
-H 'X-Auth-Token: '"$BMCWEB_SESSION_TOKEN"''

GET /redfish/v1/Managers/bmc/LogServices
{
"@odata.id": "/redfish/v1/Managers/bmc/LogServices",
"@odata.type": "#LogServiceCollection.LogServiceCollection",
"Description": "Collection of LogServices for this Manager",
"Members": [
{
"@odata.id": "/redfish/v1/Managers/bmc/LogServices/Journal"
},
{
"@odata.id": "/redfish/v1/Managers/bmc/LogServices/EventLog"
}
],
"Members@odata.count": 2,
"Name": "Open BMC Log Services Collection"
}

GET /redfish/v1/Managers/bmc/LogServices/EventLog
{
"@odata.id": "/redfish/v1/Managers/bmc/LogServices/EventLog",
"@odata.type": "#LogService.v1_2_0.LogService",
"Actions": {
"#LogService.ClearLog": {
"target": "/redfish/v1/Managers/bmc/LogServices/EventLog/Actions/LogService.ClearLog"
}
},
"DateTime": "2025-09-24T15:22:36+00:00",
"DateTimeLocalOffset": "+00:00",
"Description": "Manager Event Log Service",
"Entries": {
"@odata.id": "/redfish/v1/Managers/bmc/LogServices/EventLog/Entries"
},
"Id": "EventLog",
"Name": "Event Log Service",
"OverWritePolicy": "WrapsWhenFull"
}

GET /redfish/v1/Managers/bmc/LogServices/EventLog/Entries
{
"@odata.id": "/redfish/v1/Managers/bmc/LogServices/EventLog/Entries",
"@odata.type": "#LogEntryCollection.LogEntryCollection",
"Description": "Collection of Manager Event Log Entries",
"Members": [
{
"@odata.id": "/redfish/v1/Managers/bmc/LogServices/EventLog/Entries/1730009576",
"@odata.type": "#LogEntry.v1_9_0.LogEntry",
"Created": "2024-10-27T06:12:56+00:00",
"EntryType": "Event",
"Id": "1730009576",
"Message": "Host system DC power is off",
"MessageArgs": [],
"MessageId": "OpenBMC.0.1.DCPowerOff",
"Name": "Manager Event Log Entry",
"Severity": "OK"
},
...
],
"Members@odata.count": 2820,
"Members@odata.nextLink": "/redfish/v1/Managers/bmc/LogServices/EventLog/Entries?$skip=1000",
"Name": "Manager Event Log Entries"
}

GET /redfish/v1/Managers/bmc/LogServices/EventLog/Entries/1730009576
{
"@odata.id": "/redfish/v1/Managers/bmc/LogServices/EventLog/Entries/1730009576",
"@odata.type": "#LogEntry.v1_9_0.LogEntry",
"Created": "2024-10-27T06:12:56+00:00",
"EntryType": "Event",
"Id": "1730009576",
"Message": "Host system DC power is off",
"MessageArgs": [],
"MessageId": "OpenBMC.0.1.DCPowerOff",
"Name": "Manager Event Log Entry",
"Severity": "OK"
}
```
ClearLog action:
Log files are being successfully deleted from /var/log

[1] https://gerrit.openbmc.org/c/openbmc/bmcweb/+/76319

Change-Id: If5b4fe10151b6bfd28a1b49c41f8cfcec1b9132c
Signed-off-by: Oliver Brewka <oliver.brewka@9elements.com>

show more ...

019caeaf07-Nov-2025 Gunnar Mills <gmills@us.ibm.com>

Remove redfish-use-3-digit-messageid

redfish-use-3-digit-messageid stated it would be removed in 2Q25, it is
now 4Q25. Searching OpenBMC doesn't show any users of this option.

This option was added

Remove redfish-use-3-digit-messageid

redfish-use-3-digit-messageid stated it would be removed in 2Q25, it is
now 4Q25. Searching OpenBMC doesn't show any users of this option.

This option was added in December 2014 and fixed a bug with us not
following the Redfish Spec.[1]

[1]: https://gerrit.openbmc.org/c/openbmc/bmcweb/+/76180

Tested: This is a pretty straightforward removal. Inspection and build
only.

Change-Id: I8a103d42184c21f75db19d44d8004f54d3fae01a
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>

show more ...

b360d5b902-Jul-2024 Ed Tanous <etanous@nvidia.com>

Allow configuring user

Add a new option to allow configuring bmcweb to run as a 'bmcweb' user
instead of root. This option is disabled by default, and the behavior
is very broken at this point, but

Allow configuring user

Add a new option to allow configuring bmcweb to run as a 'bmcweb' user
instead of root. This option is disabled by default, and the behavior
is very broken at this point, but should serve as a starting point for
getting the issues resolved.

Tested:
Enabled option. Observed with ps, that bmcweb launched correctly, and
was running as the bmcweb user. With authentication disabled, passes
redfish service validator.

Booted without option enabled, and saw bmcweb boot and function.

Change-Id: Iac0335697020308bb632f5522b712f5eea0b2486
Signed-off-by: Ed Tanous <etanous@nvidia.com>

show more ...


bmcweb.service.in
meson.build
/openbmc/bmcweb/docs/COMMON_ERRORS.md
/openbmc/bmcweb/docs/Redfish.md
/openbmc/bmcweb/http/http_client.hpp
/openbmc/bmcweb/http/utility.hpp
/openbmc/bmcweb/include/dbus_utility.hpp
/openbmc/bmcweb/include/persistent_data.hpp
/openbmc/bmcweb/meson.build
/openbmc/bmcweb/meson.options
/openbmc/bmcweb/redfish-core/include/aggregation_utils.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/certificate.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/certificate_enrollment.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/chassis.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/computer_system.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/coolant_connector.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/cooling_loop.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/cooling_unit.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/cxl_logical_device.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/leak_detector.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/memory.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/port.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/power_distribution.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/processor.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/storage.hpp
/openbmc/bmcweb/redfish-core/include/redfish_aggregator.hpp
/openbmc/bmcweb/redfish-core/include/utils/assembly_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/asset_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/sensor_utils.hpp
/openbmc/bmcweb/redfish-core/lib/aggregation_service.hpp
/openbmc/bmcweb/redfish-core/lib/assembly.hpp
/openbmc/bmcweb/redfish-core/lib/chassis.hpp
/openbmc/bmcweb/redfish-core/lib/environment_metrics.hpp
/openbmc/bmcweb/redfish-core/lib/openbmc/openbmc_managers.hpp
/openbmc/bmcweb/redfish-core/lib/processor.hpp
/openbmc/bmcweb/redfish-core/lib/processor_operating_config.hpp
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ActionInfo_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Assembly_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AttributeRegistry_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/BatteryMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Battery_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CXLLogicalDevice_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CertificateCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CertificateEnrollmentCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CertificateEnrollment_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CertificateService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Certificate_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Chassis_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ComponentIntegrity_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ComputerSystem_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CoolantConnector_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CoolingLoop_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CoolingUnit_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/DriveMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Event_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Fan_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LeakDetector_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LogEntry_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LogService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Manager_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MemoryMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Memory_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MessageRegistry_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/NetworkAdapter_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PCIeDevice_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PortMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Port_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PowerDistribution_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PrivilegeRegistry_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ProcessorMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Processor_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Redundancy_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Resource_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Sensor_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SoftwareInventoryCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SoftwareInventory_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/StorageControllerMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/StorageController_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Storage_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SwitchMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/TelemetryService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ThermalSubsystem_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/UpdateService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/VolumeCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ActionInfo.v1_5_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Assembly.v1_6_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/AttributeRegistry.v1_4_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Certificate.v1_11_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/CertificateService.v1_2_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Chassis.v1_28_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ComponentIntegrity.v1_3_2.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_26_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Event.v1_12_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Fan.v1_6_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/LogEntry.v1_20_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/LogService.v1_8_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Manager.v1_23_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Memory.v1_22_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/MessageRegistry.v1_7_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/PCIeDevice.v1_20_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Port.v1_17_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Processor.v1_21_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Redundancy.v1_6_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Resource.v1_23_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Sensor.v1_11_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/SoftwareInventory.v1_13_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Storage.v1_20_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/StorageController.v1_10_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/TelemetryService.v1_4_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ThermalSubsystem.v1_5_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/UpdateService.v1_17_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/redfish-payload-annotations.v1_3_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ActionInfo.v1_5_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Assembly.v1_6_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/AttributeRegistry.v1_4_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Battery.v1_5_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/BatteryMetrics.v1_1_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CXLLogicalDevice.v1_3_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Certificate.v1_11_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CertificateCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CertificateEnrollment.v1_0_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CertificateEnrollmentCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CertificateService.v1_2_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Chassis.v1_28_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ComponentIntegrity.v1_3_2.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ComputerSystem.v1_26_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CoolantConnector.v1_3_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CoolingLoop.v1_1_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CoolingUnit.v1_4_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/DriveMetrics.v1_3_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Event.v1_12_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Fan.v1_6_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/LeakDetector.v1_5_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/LogEntry.v1_20_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/LogService.v1_8_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Manager.v1_23_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Memory.v1_22_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/MemoryMetrics.v1_8_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/MessageRegistry.v1_7_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/NetworkAdapter.v1_13_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PCIeDevice.v1_20_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Port.v1_17_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PortMetrics.v1_8_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PowerDistribution.v1_5_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PrivilegeRegistry.v1_2_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Processor.v1_21_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ProcessorMetrics.v1_7_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Redundancy.v1_6_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Resource.v1_23_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Sensor.v1_11_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/SoftwareInventory.v1_13_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/SoftwareInventoryCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Storage.v1_20_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/StorageController.v1_10_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/StorageControllerMetrics.v1_1_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/SwitchMetrics.v1_1_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/TelemetryService.v1_4_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ThermalSubsystem.v1_5_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/UpdateService.v1_17_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Volume.v1_10_2.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/VolumeCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/redfish-payload-annotations-v1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/redfish-payload-annotations.v1_3_0.json
/openbmc/bmcweb/redfish-core/src/redfish.cpp
/openbmc/bmcweb/scripts/update_schemas.py
/openbmc/bmcweb/src/dbus_utility.cpp
/openbmc/bmcweb/test/http/utility_test.cpp
/openbmc/bmcweb/test/meson.build
/openbmc/bmcweb/test/redfish-core/include/utils/sensor_utils_test.cpp
1388045417-Sep-2025 Ed Tanous <etanous@nvidia.com>

Read state directory from systemd file

Reading the state dir from the systemd service file gives us
flexibility to define the bmcweb state from wherever we like, rather
than just using the current d

Read state directory from systemd file

Reading the state dir from the systemd service file gives us
flexibility to define the bmcweb state from wherever we like, rather
than just using the current directory, which might not be writable.

Tested: bmcweb boots, shows state is persisted in the same location as
previously.

Change-Id: I9c048421fe249b73b1cae2ff5204ffd357cd3123
Signed-off-by: Ed Tanous <etanous@nvidia.com>

show more ...

eb261e1f15-Sep-2025 Janet Adkins <janeta@us.ibm.com>

Systems: Restore old-style LocationIndicatorActive

The commit 2eaa927 [1] altered the D-Bus associations used for setting
and getting the LED state for the Systems resource. Machines which use
entit

Systems: Restore old-style LocationIndicatorActive

The commit 2eaa927 [1] altered the D-Bus associations used for setting
and getting the LED state for the Systems resource. Machines which use
entity-manager do not have the new association yet.

This commit is adding back the use of the old D-Bus method under a
compile option. This will be enabled by default until October 15, 2025
and completely removed by June 2026.

[1] https://gerrit.openbmc.org/c/openbmc/bmcweb/+/82078

Tested:
- Built with option enabled and confirmed logging showed old method
being used.
- Built with option disabled and confirmed logging showed new method
being used.

Change-Id: I271fc464ef512b742a8c85419668aa09d38e525d
Signed-off-by: Janet Adkins <janeta@us.ibm.com>

show more ...

8de0542506-Aug-2025 Alexander Hansen <alexander.hansen@9elements.com>

merge binaries bmcweb and bmcwebd

Solution to reduce compressed rofs size.

Conclusion: The compiler is better at reducing binary size than the rofs
compression is at deduplicating sections of alrea

merge binaries bmcweb and bmcwebd

Solution to reduce compressed rofs size.

Conclusion: The compiler is better at reducing binary size than the rofs
compression is at deduplicating sections of already compiled binaries,
in the case of bmcweb.

What's been changed?

`bmcweb` and `bmcwebd` have been merged into `bmcweb`.
The webserver can be started with `bmcweb daemon`.

Commands used to check size

```
wc -c build/s8030/tmp/work/*-openbmc-linux-gnueabi/obmc-phosphor-image/1.0/obmc-phosphor-image-1.0/static/image-rofs

wc -c build/s8030/tmp/deploy/images/s8030/image-rofs

xz -c build/s8030/tmp/work/*-openbmc-linux-gnueabi/obmc-phosphor-image/1.0/rootfs/bin/bmcweb | wc -c

xz -c build/s8030/tmp/work/*-openbmc-linux-gnueabi/obmc-phosphor-image/1.0/rootfs/usr/libexec/bmcwebd | wc -c
```

Base commit used for testing:
`2169e896448fac1b59c57516b381492e4b2161c7`

Results:

Before patch:
```
image-rofs compressed size:
25526272 build/s8030/tmp/work/s8030-openbmc-linux-gnueabi/obmc-phosphor-image/1.0/obmc-phosphor-image-1.0/static/image-rofs
rootfs
25526272 build/s8030/tmp/deploy/images/s8030/image-rofs
bmcweb cli
95424
bmcwebd
1016004
```

After patch:
```
image-rofs compressed size:
25477120 build/s8030/tmp/work/s8030-openbmc-linux-gnueabi/obmc-phosphor-image/1.0/obmc-phosphor-image-1.0/static/image-rofs
rootfs
25477120 build/s8030/tmp/deploy/images/s8030/image-rofs
bmcweb cli
96
bmcwebd
1059556
```

Calculating the difference in compressed rofs

25526272 - 25477120 = 49152

which is around 0.2% in terms of the total image but around 4.6% in
terms of bmcwebd binary.

Tested: on yosemite4 qemu

`bmcweb` cli interactions work as before.

```
root@yosemite4:~# bmcweb --help
BMCWeb CLI
Usage: bmcweb [OPTIONS] SUBCOMMAND

Options:
-h,--help Print this help message and exit

Subcommands:
loglevel Set bmcweb log level
daemon Run webserver
root@yosemite4:~# bmcweb loglevel info
<6>[webserver_cli.cpp:97] logging level changed to: INFO
root@yosemite4:~# bmcweb loglevel
level is required
Run with --help for more information.
root@yosemite4:~# bmcweb loglevel debug
<6>[webserver_cli.cpp:97] logging level changed to: DEBUG
```

systemd service still working
```
root@yosemite4:~# systemctl status bmcweb
● bmcweb.service - Start bmcweb server
Loaded: loaded (/usr/lib/systemd/system/bmcweb.service; enabled; preset: enabled)
Active: active (running) since Thu 2025-04-03 13:35:45 PDT; 5 months 15 days ago
```

Change-Id: Ib5dde568ac1c12c5414294ed96404c6a69417424
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>

show more ...


bmcweb.service.in
/openbmc/bmcweb/docs/Redfish.md
/openbmc/bmcweb/docs/TESTING.md
/openbmc/bmcweb/http/complete_response_fields.hpp
/openbmc/bmcweb/http/http2_connection.hpp
/openbmc/bmcweb/http/http_connection.hpp
/openbmc/bmcweb/http/http_response.hpp
/openbmc/bmcweb/meson.build
/openbmc/bmcweb/redfish-core/include/event_service_manager.hpp
/openbmc/bmcweb/redfish-core/include/query.hpp
/openbmc/bmcweb/redfish-core/include/redfish_aggregator.hpp
/openbmc/bmcweb/redfish-core/include/subscription.hpp
/openbmc/bmcweb/redfish-core/include/telemetry_readings.hpp
/openbmc/bmcweb/redfish-core/include/utils/etag_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/json_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/log_services_utils.hpp
/openbmc/bmcweb/redfish-core/lib/account_service.hpp
/openbmc/bmcweb/redfish-core/lib/aggregation_service.hpp
/openbmc/bmcweb/redfish-core/lib/ethernet.hpp
/openbmc/bmcweb/redfish-core/lib/fabric_adapters.hpp
/openbmc/bmcweb/redfish-core/lib/fabric_ports.hpp
/openbmc/bmcweb/redfish-core/lib/log_services.hpp
/openbmc/bmcweb/redfish-core/lib/manager_logservices_journal.hpp
/openbmc/bmcweb/redfish-core/lib/managers.hpp
/openbmc/bmcweb/redfish-core/lib/metric_report.hpp
/openbmc/bmcweb/redfish-core/lib/redfish_sessions.hpp
/openbmc/bmcweb/redfish-core/lib/systems.hpp
/openbmc/bmcweb/redfish-core/lib/systems_logservices_journal_eventlog.hpp
/openbmc/bmcweb/redfish-core/lib/systems_logservices_postcodes.hpp
/openbmc/bmcweb/redfish-core/lib/task.hpp
/openbmc/bmcweb/redfish-core/lib/update_service.hpp
/openbmc/bmcweb/redfish-core/src/dbus_log_watcher.cpp
/openbmc/bmcweb/redfish-core/src/redfish.cpp
/openbmc/bmcweb/redfish-core/src/subscription.cpp
/openbmc/bmcweb/src/webserver_cli.cpp
/openbmc/bmcweb/src/webserver_cli.hpp
/openbmc/bmcweb/src/webserver_main.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/json_utils_test.cpp
762bfdf812-Aug-2025 Thu Nguyen <thu@os.amperecomputing.com>

Fix runtime error when add `additional-ports` configuration

The bmcweb has runtime errors when adding `additional-ports`
configuration.

```text
Dec 19 21:25:54 board systemd[1]: sockets.target: Wan

Fix runtime error when add `additional-ports` configuration

The bmcweb has runtime errors when adding `additional-ports`
configuration.

```text
Dec 19 21:25:54 board systemd[1]: sockets.target: Wants dependency dropin /etc/systemd/system/sockets.target.wants/bmcweb_440 is not a valid unit name, ignoring.
```

and

```text
Dec 19 21:25:54 board systemd[1]: bmcweb_440.socket: Unit has no Listen setting (ListenStream=, ListenDatagram=, ListenFIFO=, ...). Refusing.
Dec 19 21:25:54 board systemd[1]: bmcweb_440.socket: Cannot add dependency job, ignoring: Unit bmcweb_440.socket has a bad unit file setting.
```

Update the code to fix that.

Change-Id: I792b9fdf29df40137fdbc7418b140e8445080961
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>

show more ...


meson.build
/openbmc/bmcweb/features/openbmc_rest/image_upload.hpp
/openbmc/bmcweb/http/http2_connection.hpp
/openbmc/bmcweb/http/http_client.hpp
/openbmc/bmcweb/http/http_connection.hpp
/openbmc/bmcweb/http/http_response.hpp
/openbmc/bmcweb/http/mutual_tls.cpp
/openbmc/bmcweb/http/parsing.hpp
/openbmc/bmcweb/http/routing.hpp
/openbmc/bmcweb/http/routing/sserule.hpp
/openbmc/bmcweb/http/routing/taggedrule.hpp
/openbmc/bmcweb/http/routing/websocketrule.hpp
/openbmc/bmcweb/include/credential_pipe.hpp
/openbmc/bmcweb/include/file_test_utilities.hpp
/openbmc/bmcweb/include/http_utility.hpp
/openbmc/bmcweb/include/identity.hpp
/openbmc/bmcweb/meson.build
/openbmc/bmcweb/meson.options
/openbmc/bmcweb/redfish-core/include/event_service_manager.hpp
/openbmc/bmcweb/redfish-core/include/sub_route_trie.hpp
/openbmc/bmcweb/redfish-core/include/utils/manager_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/systems_utils.hpp
/openbmc/bmcweb/redfish-core/lib/account_service.hpp
/openbmc/bmcweb/redfish-core/lib/certificate_service.hpp
/openbmc/bmcweb/redfish-core/lib/ethernet.hpp
/openbmc/bmcweb/redfish-core/lib/event_service.hpp
/openbmc/bmcweb/redfish-core/lib/eventservice_sse.hpp
/openbmc/bmcweb/redfish-core/lib/managers.hpp
/openbmc/bmcweb/redfish-core/lib/metric_report_definition.hpp
/openbmc/bmcweb/redfish-core/lib/network_protocol.hpp
/openbmc/bmcweb/redfish-core/lib/pcie.hpp
/openbmc/bmcweb/redfish-core/lib/processor.hpp
/openbmc/bmcweb/redfish-core/lib/redfish_sessions.hpp
/openbmc/bmcweb/redfish-core/lib/redfish_v1.hpp
/openbmc/bmcweb/redfish-core/lib/sensors.hpp
/openbmc/bmcweb/redfish-core/lib/systems.hpp
/openbmc/bmcweb/redfish-core/src/redfish.cpp
/openbmc/bmcweb/redfish-core/src/subscription.cpp
/openbmc/bmcweb/src/webserver_run.cpp
/openbmc/bmcweb/test/http/crow_getroutes_test.cpp
/openbmc/bmcweb/test/http/http_connection_test.cpp
/openbmc/bmcweb/test/http/http_response_test.cpp
/openbmc/bmcweb/test/http/router_test.cpp
/openbmc/bmcweb/test/http/utility_test.cpp
/openbmc/bmcweb/test/include/multipart_test.cpp
/openbmc/bmcweb/test/meson.build
/openbmc/bmcweb/test/redfish-core/include/utils/systems_utils_test.cpp
f664fd8a23-Jul-2025 Janet Adkins <janeta@us.ibm.com>

IndicatorLED: Add compile option for deprecated property

The IndicatorLED property has been deprecated by Redfish since September
2020. The Redfish Service Validator reports a WARNING for this prope

IndicatorLED: Add compile option for deprecated property

The IndicatorLED property has been deprecated by Redfish since September
2020. The Redfish Service Validator reports a WARNING for this property:

```
WARNING - IndicatorLED: The given property is deprecated: This property has been deprecated in favor of the `LocationIndicatorActive` property.
```

The LocationIndicatorActive property is now implemented in bmcweb in
all places where IndicatorLED was implemented. So a new meson option
(redfish-allow-deprecated-indicatorled) is being added to control
whether this property is part of get or patch requests. The option is
disabled by default with plans to remove the option by March 2026.

Tested:
- Built with option enabled and confirmed IndicatorLED still part of
Redfish responses and can be patched.
- Built with option disabled and confirmed Redfish Service Validator no
longer reports the warning.
- Built with option disabled and confirmed IndicatorLED no longer part
of Redfish responses and patch fails appropriately.
```
curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X PATCH -d '{"IndicatorLED":"Blinking"}' https://${bmc}/redfish/v1/Systems/system
{
"error": {
"@Message.ExtendedInfo": [
{
"@odata.type": "#Message.v1_1_1.Message",
"Message": "The property IndicatorLED is not in the list of valid properties for the resource.",
"MessageArgs": [
"IndicatorLED"
],
"MessageId": "Base.1.19.PropertyUnknown",
"MessageSeverity": "Warning",
"Resolution": "Remove the unknown property from the request body and resubmit the request if the operation failed."
}
],
"code": "Base.1.19.PropertyUnknown",
"message": "The property IndicatorLED is not in the list of valid properties for the resource."
}
}

curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X PATCH -d '{"IndicatorLED":"Off"}' https://${bmc}/redfish/v1/Chassis/chassis
{
"error": {
"@Message.ExtendedInfo": [
{
"@odata.type": "#Message.v1_1_1.Message",
"Message": "The property IndicatorLED is not in the list of valid properties for the resource.",
"MessageArgs": [
"IndicatorLED"
],
"MessageId": "Base.1.19.PropertyUnknown",
"MessageSeverity": "Warning",
"Resolution": "Remove the unknown property from the request body and resubmit the request if the operation failed."
}
],
"code": "Base.1.19.PropertyUnknown",
"message": "The property IndicatorLED is not in the list of valid properties for the resource."
}
}
```

Change-Id: I2c0d415a7a54aa3122b18d2a1aa69bd9259d567e
Signed-off-by: Janet Adkins <janeta@us.ibm.com>

show more ...


/openbmc/bmcweb/.clang-tidy
meson.build
/openbmc/bmcweb/http/http2_connection.hpp
/openbmc/bmcweb/http/http_connection.hpp
/openbmc/bmcweb/http/http_response.hpp
/openbmc/bmcweb/include/forward_unauthorized.hpp
/openbmc/bmcweb/include/identity.hpp
/openbmc/bmcweb/include/webassets.hpp
/openbmc/bmcweb/meson.build
/openbmc/bmcweb/meson.options
/openbmc/bmcweb/redfish-core/include/registries/update_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/update_messages.hpp
/openbmc/bmcweb/redfish-core/include/utils/json_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/sensor_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/sw_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/systems_utils.hpp
/openbmc/bmcweb/redfish-core/lib/chassis.hpp
/openbmc/bmcweb/redfish-core/lib/ethernet.hpp
/openbmc/bmcweb/redfish-core/lib/led.hpp
/openbmc/bmcweb/redfish-core/lib/log_services.hpp
/openbmc/bmcweb/redfish-core/lib/metric_report_definition.hpp
/openbmc/bmcweb/redfish-core/lib/network_protocol.hpp
/openbmc/bmcweb/redfish-core/lib/processor.hpp
/openbmc/bmcweb/redfish-core/lib/sensors.hpp
/openbmc/bmcweb/redfish-core/lib/systems.hpp
/openbmc/bmcweb/redfish-core/lib/trigger.hpp
/openbmc/bmcweb/redfish-core/lib/update_service.hpp
/openbmc/bmcweb/redfish-core/src/filter_expr_executor.cpp
/openbmc/bmcweb/redfish-core/src/update_messages.cpp
/openbmc/bmcweb/scripts/generate_auth_certificates.py
/openbmc/bmcweb/scripts/parse_registries.py
/openbmc/bmcweb/src/ssl_key_handler.cpp
/openbmc/bmcweb/test/http/http2_connection_test.cpp
/openbmc/bmcweb/test/meson.build
b253906912-Mar-2024 Ed Tanous <etanous@nvidia.com>

Implement zstd decompression

Given the size of Redfish schemas these days, it would be nice to be
able to store them on disk in a zstd format. Unfortunately, not all
clients support zstd at this ti

Implement zstd decompression

Given the size of Redfish schemas these days, it would be nice to be
able to store them on disk in a zstd format. Unfortunately, not all
clients support zstd at this time.

This commit implements reading of zstd files from disk, as well as
decompressing zstd in the case where the client does not support zstd as
a return type.

Tested:
Implanted an artificial zstd file into the system, and observed correct
decompression both with an allow-encoding header of empty string and
zstd.

Change-Id: I8b631bb943de99002fdd6745340aec010ee591ff
Signed-off-by: Ed Tanous <etanous@nvidia.com>

show more ...

39fe3af217-Feb-2025 Ed Tanous <etanous@nvidia.com>

Move http2 out of experimental

Http2 support in bmcweb has been relatively stable for a while. The
http2 implementation passes all known Redfish tests (some of which
require ported to httpx to supp

Move http2 out of experimental

Http2 support in bmcweb has been relatively stable for a while. The
http2 implementation passes all known Redfish tests (some of which
require ported to httpx to support http2), the UI loads, and so far as
the project is concerned, is a complete improvement over the existing
http1 stack.

This commit removes the experimental classification from http2, and
declares it ready for production use, while enabling it by default.
note, that enabling this by default only makes the server advertise that
http2 is available. Http2 must still be supported by the client to
enable ALPN negotiation, so existing http1 clients that only support
http1 will continue to function as they did before.

Tested: Enabled http option and saw http2 advertised, http2 now takes
effect.

Change-Id: I92843a3afc532f0b2a64904bb872e5d84a1a54fe
Signed-off-by: Ed Tanous <etanous@nvidia.com>

show more ...


/openbmc/bmcweb/.markdownlint.yaml
/openbmc/bmcweb/DEVELOPING.md
/openbmc/bmcweb/README.md
meson.build
/openbmc/bmcweb/docs/AGGREGATION.md
/openbmc/bmcweb/docs/CLIENTS.md
/openbmc/bmcweb/docs/COMMON_ERRORS.md
/openbmc/bmcweb/docs/DBUS_USAGE.md
/openbmc/bmcweb/docs/HEADERS.md
/openbmc/bmcweb/docs/OEM_SCHEMAS.md
/openbmc/bmcweb/docs/REDFISH_CHECKLIST.md
/openbmc/bmcweb/docs/Redfish.md
/openbmc/bmcweb/docs/TESTING.md
/openbmc/bmcweb/features/google/google_service_root.hpp
/openbmc/bmcweb/features/google/google_service_root_test.cpp
/openbmc/bmcweb/features/google/meson.build
/openbmc/bmcweb/features/ibm/configfile_test.cpp
/openbmc/bmcweb/features/ibm/ibm_management_console_rest.hpp
/openbmc/bmcweb/features/ibm/meson.build
/openbmc/bmcweb/features/ibm/utils.hpp
/openbmc/bmcweb/features/kvm/kvm_websocket.hpp
/openbmc/bmcweb/features/kvm/meson.build
/openbmc/bmcweb/features/meson.build
/openbmc/bmcweb/features/openbmc_rest/dbus_monitor.hpp
/openbmc/bmcweb/features/openbmc_rest/image_upload.hpp
/openbmc/bmcweb/features/openbmc_rest/meson.build
/openbmc/bmcweb/features/openbmc_rest/openbmc_dbus_rest.hpp
/openbmc/bmcweb/features/openbmc_rest/openbmc_dbus_rest_test.cpp
/openbmc/bmcweb/features/redfish
/openbmc/bmcweb/features/serial/meson.build
/openbmc/bmcweb/features/serial/obmc_console.hpp
/openbmc/bmcweb/features/virtual_media/meson.build
/openbmc/bmcweb/features/virtual_media/vm_websocket.hpp
/openbmc/bmcweb/features/webui_login/login_routes.hpp
/openbmc/bmcweb/features/webui_login/meson.build
/openbmc/bmcweb/http/http_client.hpp
/openbmc/bmcweb/http/http_connection.hpp
/openbmc/bmcweb/http/logging.hpp
/openbmc/bmcweb/http/websocket_impl.hpp
/openbmc/bmcweb/include/http_utility.hpp
/openbmc/bmcweb/include/persistent_data.hpp
/openbmc/bmcweb/meson.build
/openbmc/bmcweb/meson.options
/openbmc/bmcweb/redfish-core/include/aggregation_utils.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/automation_node.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/battery.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/certificate.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/connection_method.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/control.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/cooling_unit.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/job.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/job_document.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/job_service.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/leak_detector.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/manager.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/manager_account.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/memory.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/protocol.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/resource.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/sensor.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/serial_interface.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/telemetry_data.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/virtual_pci2_pci_bridge.hpp
/openbmc/bmcweb/redfish-core/include/snmp_trap_event_clients.hpp
/openbmc/bmcweb/redfish-core/include/utils/manager_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/sw_utils.hpp
/openbmc/bmcweb/redfish-core/lib/account_service.hpp
/openbmc/bmcweb/redfish-core/lib/fabric_adapters.hpp
/openbmc/bmcweb/redfish-core/lib/log_services.hpp
/openbmc/bmcweb/redfish-core/lib/managers.hpp
/openbmc/bmcweb/redfish-core/lib/memory.hpp
/openbmc/bmcweb/redfish-core/lib/openbmc/openbmc_managers.hpp
/openbmc/bmcweb/redfish-core/lib/pcie.hpp
/openbmc/bmcweb/redfish-core/lib/processor.hpp
/openbmc/bmcweb/redfish-core/lib/redfish_v1.hpp
/openbmc/bmcweb/redfish-core/lib/sensors.hpp
/openbmc/bmcweb/redfish-core/lib/service_root.hpp
/openbmc/bmcweb/redfish-core/lib/systems.hpp
/openbmc/bmcweb/redfish-core/lib/task.hpp
/openbmc/bmcweb/redfish-core/lib/update_service.hpp
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AggregationSource_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Assembly_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AutomationInstrumentation_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AutomationNodeCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AutomationNode_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Battery_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CertificateCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CertificateService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Certificate_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Chassis_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ComputerSystem_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ConnectionMethod_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Control_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CoolantConnectorCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CoolantConnector_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CoolingUnitCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CoolingUnit_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/DriveMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Drive_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/EnvironmentMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Fabric_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/FilterCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Filter_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/GraphicsController_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/JobDocumentCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/JobDocument_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/JobExecutorCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/JobExecutor_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/JobService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Job_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LeakDetection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LeakDetector_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LogEntry_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ManagerAccount_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ManagerNetworkProtocol_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Manager_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Memory_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MetricDefinition_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MetricReportDefinition_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/NetworkAdapter_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/NetworkDeviceFunction_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PCIeDevice_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PortCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PortMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Port_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Protocol_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PumpCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Pump_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ReservoirCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Reservoir_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Resource_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Sensor_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SerialInterface_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ServiceRoot_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SoftwareInventory_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/StorageControllerMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/StorageController_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Storage_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Switch_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/TelemetryDataCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/TelemetryData_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/TelemetryService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ThermalEquipment_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ThermalSubsystem_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/TrustedComponent_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/USBController_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/UpdateServiceCapabilities_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/UpdateService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/VirtualCXLSwitchCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/VirtualCXLSwitch_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/VirtualPCI2PCIBridgeCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/VirtualPCI2PCIBridge_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Volume_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/AccountService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ActionInfo_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/AggregationService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/AggregationSourceCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/AggregationSource_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Assembly_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/AttributeRegistry_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Bios_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/CableCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Cable_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/CertificateCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/CertificateLocations_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/CertificateService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Certificate_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ChassisCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Chassis_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ComponentIntegrityCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ComponentIntegrity_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ComputerSystemCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ComputerSystem_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/DriveCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Drive_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/EnvironmentMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/EthernetInterfaceCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/EthernetInterface_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/EventDestinationCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/EventDestination_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/EventService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Event_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/FabricAdapterCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/FabricAdapter_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/FanCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Fan_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/IPAddresses_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/JsonSchemaFileCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/JsonSchemaFile_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/LogEntryCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/LogEntry_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/LogServiceCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/LogService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ManagerAccountCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ManagerAccount_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ManagerCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ManagerDiagnosticData_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ManagerNetworkProtocol_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Manager_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/MemoryCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Memory_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/MessageRegistryCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/MessageRegistryFileCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/MessageRegistryFile_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/MessageRegistry_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Message_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/MetricDefinitionCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/MetricDefinition_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/MetricReportCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/MetricReportDefinitionCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/MetricReportDefinition_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/MetricReport_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/OperatingConfigCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/OperatingConfig_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/PCIeDeviceCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/PCIeDevice_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/PCIeFunctionCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/PCIeFunction_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/PCIeSlots_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/PhysicalContext_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/PortCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Port_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/PowerSubsystem_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/PowerSupplyCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/PowerSupply_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Power_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Privileges_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ProcessorCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Processor_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Protocol_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/RedfishError_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/RedfishExtensions_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Redundancy_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Resource_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/RoleCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Role_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/SensorCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Sensor_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ServiceRoot_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/SessionCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/SessionService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Session_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Settings_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/SoftwareInventoryCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/SoftwareInventory_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/StorageCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/StorageControllerCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/StorageController_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Storage_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/TaskCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/TaskService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Task_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/TelemetryService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ThermalMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ThermalSubsystem_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Thermal_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/TriggersCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/Triggers_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/UpdateService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/VirtualMediaCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/VirtualMedia_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/AggregationSource.v1_5_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Certificate.v1_10_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/CertificateService.v1_1_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Chassis.v1_27_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_25_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/EnvironmentMetrics.v1_5_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/LogEntry.v1_19_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Manager.v1_22_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ManagerAccount.v1_14_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ManagerNetworkProtocol.v1_12_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Memory.v1_21_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/MetricDefinition.v1_3_5.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/MetricReportDefinition.v1_4_7.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/PCIeDevice.v1_19_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Resource.v1_22_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Sensor.v1_11_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ServiceRoot.v1_19_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/SoftwareInventory.v1_12_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Storage.v1_19_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/TelemetryService.v1_4_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ThermalSubsystem.v1_4_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/UpdateService.v1_16_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/AggregationSource.v1_5_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/AutomationInstrumentation.v1_0_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/AutomationNode.v1_0_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/AutomationNodeCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Battery.v1_4_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Certificate.v1_10_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CertificateCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CertificateService.v1_1_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Chassis.v1_27_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ComputerSystem.v1_25_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ConnectionMethod.v1_2_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Control.v1_7_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CoolantConnector.v1_2_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CoolantConnectorCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CoolingUnit.v1_3_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CoolingUnitCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/EnvironmentMetrics.v1_5_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Fabric.v1_4_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Filter.v1_1_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/FilterCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Job.v1_3_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/JobDocument.v1_0_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/JobDocumentCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/JobExecutor.v1_0_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/JobExecutorCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/JobService.v1_1_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/LeakDetector.v1_4_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/LogEntry.v1_19_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Manager.v1_22_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ManagerAccount.v1_14_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ManagerNetworkProtocol.v1_12_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Memory.v1_21_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/MetricDefinition.v1_3_5.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/MetricReportDefinition.v1_4_7.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/NetworkAdapter.v1_12_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/NetworkDeviceFunction.v1_11_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PCIeDevice.v1_19_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PortCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Protocol.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PumpCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ReservoirCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Resource.v1_22_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Sensor.v1_11_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/SerialInterface.v1_3_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ServiceRoot.v1_19_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/SoftwareInventory.v1_12_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Storage.v1_19_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Switch.v1_10_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/TelemetryData.v1_0_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/TelemetryDataCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/TelemetryService.v1_4_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ThermalEquipment.v1_2_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ThermalSubsystem.v1_4_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/TrustedComponent.v1_4_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/UpdateService.v1_16_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/UpdateServiceCapabilities.v1_0_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/VirtualCXLSwitch.v1_0_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/VirtualCXLSwitchCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/VirtualPCI2PCIBridge.v1_0_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/VirtualPCI2PCIBridgeCollection.json
/openbmc/bmcweb/redfish-core/src/error_messages.cpp
/openbmc/bmcweb/redfish-core/src/utils/dbus_utils.cpp
/openbmc/bmcweb/scripts/parse_registries.py
/openbmc/bmcweb/scripts/update_schemas.py
/openbmc/bmcweb/src/ssl_key_handler.cpp
/openbmc/bmcweb/src/webserver_run.cpp
4f8b415203-Jun-2025 Malik Akbar Hashemi Rafsanjani <malikrafsan@meta.com>

remove meta-tls-common-name-parsing flag

as we remove all `meta-tls-common-name-parsing` usages from all
references in openbmc and bmcweb repos, we can safely remove
`meta-tls-common-name-parsing` f

remove meta-tls-common-name-parsing flag

as we remove all `meta-tls-common-name-parsing` usages from all
references in openbmc and bmcweb repos, we can safely remove
`meta-tls-common-name-parsing` flag.

This flag was intended to be a flag to enable meta/facebook specific
auth parse mode. As meta/facebook have migrated our implementation into
using UPN field, we can safely remove all codes related to meta/facebook
specific auth parse mode, including this flag

Tested
- build bmcweb binary
- deploy to a device that already use UPN parse mode
- check if it works fine by sending curl, eg: to /AccountService

Change-Id: Iabffcee177b3c48da90eba97e2a84a8d5a9f57d2
Signed-off-by: Malik Akbar Hashemi Rafsanjani <malikrafsan@meta.com>

show more ...


/openbmc/bmcweb/.clang-tidy
/openbmc/bmcweb/AGGREGATION.md
/openbmc/bmcweb/Redfish.md
meson.build
/openbmc/bmcweb/http/http_client.hpp
/openbmc/bmcweb/http/http_connection.hpp
/openbmc/bmcweb/http/http_request.hpp
/openbmc/bmcweb/http/mutual_tls.cpp
/openbmc/bmcweb/http/mutual_tls_private.hpp
/openbmc/bmcweb/include/authentication.hpp
/openbmc/bmcweb/include/login_routes.hpp
/openbmc/bmcweb/include/openbmc_dbus_rest.hpp
/openbmc/bmcweb/include/persistent_data.hpp
/openbmc/bmcweb/include/sessions.hpp
/openbmc/bmcweb/meson.build
/openbmc/bmcweb/meson.options
/openbmc/bmcweb/redfish-core/include/error_messages.hpp
/openbmc/bmcweb/redfish-core/include/event_logs_object_type.hpp
/openbmc/bmcweb/redfish-core/include/event_service_manager.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/ethernet_interface.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/ip_addresses.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/log_entry.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/processor.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/redundancy.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/resource.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/serial_interface.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/v_lan_network_interface.hpp
/openbmc/bmcweb/redfish-core/include/heartbeat_messages.hpp
/openbmc/bmcweb/redfish-core/include/query.hpp
/openbmc/bmcweb/redfish-core/include/redfish_aggregator.hpp
/openbmc/bmcweb/redfish-core/include/registries.hpp
/openbmc/bmcweb/redfish-core/include/registries/base_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/composition_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/environmental_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/ethernet_fabric_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/fabric_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/heartbeat_event_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/job_event_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/license_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/log_service_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/network_device_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/openbmc_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/platform_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/power_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/resource_event_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/sensor_event_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/storage_device_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/task_event_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/telemetry_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/update_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries_selector.hpp
/openbmc/bmcweb/redfish-core/include/resource_messages.hpp
/openbmc/bmcweb/redfish-core/include/sub_request.hpp
/openbmc/bmcweb/redfish-core/include/subscription.hpp
/openbmc/bmcweb/redfish-core/include/task_messages.hpp
/openbmc/bmcweb/redfish-core/include/utils/query_param.hpp
/openbmc/bmcweb/redfish-core/include/utils/sensor_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/systems_utils.hpp
/openbmc/bmcweb/redfish-core/lib/account_service.hpp
/openbmc/bmcweb/redfish-core/lib/aggregation_service.hpp
/openbmc/bmcweb/redfish-core/lib/event_service.hpp
/openbmc/bmcweb/redfish-core/lib/eventservice_sse.hpp
/openbmc/bmcweb/redfish-core/lib/fan.hpp
/openbmc/bmcweb/redfish-core/lib/log_services.hpp
/openbmc/bmcweb/redfish-core/lib/managers.hpp
/openbmc/bmcweb/redfish-core/lib/memory.hpp
/openbmc/bmcweb/redfish-core/lib/message_registries.hpp
/openbmc/bmcweb/redfish-core/lib/metric_report_definition.hpp
/openbmc/bmcweb/redfish-core/lib/sensors.hpp
/openbmc/bmcweb/redfish-core/lib/storage.hpp
/openbmc/bmcweb/redfish-core/lib/systems.hpp
/openbmc/bmcweb/redfish-core/lib/task.hpp
/openbmc/bmcweb/redfish-core/lib/update_service.hpp
/openbmc/bmcweb/redfish-core/src/error_message_utils.cpp
/openbmc/bmcweb/redfish-core/src/error_messages.cpp
/openbmc/bmcweb/redfish-core/src/event_log.cpp
/openbmc/bmcweb/redfish-core/src/heartbeat_messages.cpp
/openbmc/bmcweb/redfish-core/src/registries.cpp
/openbmc/bmcweb/redfish-core/src/resource_messages.cpp
/openbmc/bmcweb/redfish-core/src/subscription.cpp
/openbmc/bmcweb/redfish-core/src/task_messages.cpp
/openbmc/bmcweb/scripts/generate_auth_certificates.py
/openbmc/bmcweb/scripts/generate_schema_enums.py
/openbmc/bmcweb/scripts/parse_registries.py
/openbmc/bmcweb/src/dbus_utility.cpp
/openbmc/bmcweb/src/json_html_serializer.cpp
/openbmc/bmcweb/src/webserver_run.cpp
/openbmc/bmcweb/test/include/sessions_test.cpp
/openbmc/bmcweb/test/redfish-core/include/registries_test.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/dbus_utils.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/json_utils_test.cpp
38b3b6fc16-Apr-2025 Roger G. Coscojuela <roger.gili-coscojuela@sipearl.com>

Fix watchdog timeout variable

The meson option to define the watchdog timeout was written in different
places with different names, resulting in the service file not having
the configured timeout, a

Fix watchdog timeout variable

The meson option to define the watchdog timeout was written in different
places with different names, resulting in the service file not having
the configured timeout, and the bmcweb daemon not displaying the warning
when the watchdog was disabled at runtime, but enabled at compile time.

Tested:
- After building, the systemd service file contains the configured
timeout
- If the watchdog is disabled during runtime, the message is displayed
properly

Change-Id: I21d23b02bc13e21a516f04527dbda5b4ec0659f1
Signed-off-by: Roger G. Coscojuela <roger.gili-coscojuela@sipearl.com>

show more ...


/openbmc/bmcweb/.clang-tidy
/openbmc/bmcweb/COMMON_ERRORS.md
/openbmc/bmcweb/Redfish.md
bmcweb.service.in
meson.build
/openbmc/bmcweb/http/http_connection.hpp
/openbmc/bmcweb/http/http_request.hpp
/openbmc/bmcweb/http/http_response.hpp
/openbmc/bmcweb/http/logging.hpp
/openbmc/bmcweb/http/routing.hpp
/openbmc/bmcweb/http/routing/baserule.hpp
/openbmc/bmcweb/http/routing/trie.hpp
/openbmc/bmcweb/http/server_sent_event_impl.hpp
/openbmc/bmcweb/http/utility.hpp
/openbmc/bmcweb/include/async_resolve.hpp
/openbmc/bmcweb/include/authentication.hpp
/openbmc/bmcweb/include/cookies.hpp
/openbmc/bmcweb/include/dbus_privileges.hpp
/openbmc/bmcweb/include/dbus_utility.hpp
/openbmc/bmcweb/include/google/google_service_root.hpp
/openbmc/bmcweb/include/hostname_monitor.hpp
/openbmc/bmcweb/include/obmc_console.hpp
/openbmc/bmcweb/include/openbmc_dbus_rest.hpp
/openbmc/bmcweb/include/vm_websocket.hpp
/openbmc/bmcweb/meson.build
/openbmc/bmcweb/redfish-core/include/generated/enums/computer_system.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/log_entry.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/log_service.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/manager.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/pcie_device.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/protocol.hpp
/openbmc/bmcweb/redfish-core/include/query.hpp
/openbmc/bmcweb/redfish-core/include/redfish.hpp
/openbmc/bmcweb/redfish-core/include/redfish_oem_routing.hpp
/openbmc/bmcweb/redfish-core/include/redfishoemrule.hpp
/openbmc/bmcweb/redfish-core/include/snmp_trap_event_clients.hpp
/openbmc/bmcweb/redfish-core/include/sub_request.hpp
/openbmc/bmcweb/redfish-core/include/sub_route_trie.hpp
/openbmc/bmcweb/redfish-core/include/utils/chassis_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/json_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/query_param.hpp
/openbmc/bmcweb/redfish-core/include/utils/sensor_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/sw_utils.hpp
/openbmc/bmcweb/redfish-core/lib/account_service.hpp
/openbmc/bmcweb/redfish-core/lib/bios.hpp
/openbmc/bmcweb/redfish-core/lib/cable.hpp
/openbmc/bmcweb/redfish-core/lib/certificate_service.hpp
/openbmc/bmcweb/redfish-core/lib/chassis.hpp
/openbmc/bmcweb/redfish-core/lib/ethernet.hpp
/openbmc/bmcweb/redfish-core/lib/event_service.hpp
/openbmc/bmcweb/redfish-core/lib/fan.hpp
/openbmc/bmcweb/redfish-core/lib/led.hpp
/openbmc/bmcweb/redfish-core/lib/log_services.hpp
/openbmc/bmcweb/redfish-core/lib/managers.hpp
/openbmc/bmcweb/redfish-core/lib/metric_report.hpp
/openbmc/bmcweb/redfish-core/lib/metric_report_definition.hpp
/openbmc/bmcweb/redfish-core/lib/network_protocol.hpp
/openbmc/bmcweb/redfish-core/lib/openbmc/openbmc_managers.hpp
/openbmc/bmcweb/redfish-core/lib/power.hpp
/openbmc/bmcweb/redfish-core/lib/power_supply.hpp
/openbmc/bmcweb/redfish-core/lib/redfish_util.hpp
/openbmc/bmcweb/redfish-core/lib/sensors.hpp
/openbmc/bmcweb/redfish-core/lib/storage.hpp
/openbmc/bmcweb/redfish-core/lib/systems.hpp
/openbmc/bmcweb/redfish-core/lib/systems_logservices_postcodes.hpp
/openbmc/bmcweb/redfish-core/lib/task.hpp
/openbmc/bmcweb/redfish-core/lib/trigger.hpp
/openbmc/bmcweb/redfish-core/lib/update_service.hpp
/openbmc/bmcweb/redfish-core/lib/virtual_media.hpp
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AccelerationFunctionCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AccelerationFunction_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AccountService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ActionInfo_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AddressPoolCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AddressPool_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AggregateCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Aggregate_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AggregationService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AggregationSourceCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AggregationSource_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AllowDenyCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AllowDeny_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ApplicationCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Application_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Assembly_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AttributeRegistry_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/BatteryCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/BatteryMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Battery_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Bios_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/BootOptionCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/BootOption_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CXLLogicalDeviceCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CXLLogicalDevice_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CableCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Cable_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CertificateCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CertificateLocations_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CertificateService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Certificate_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ChassisCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Chassis_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CircuitCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Circuit_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CollectionCapabilities_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ComponentIntegrityCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ComponentIntegrity_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CompositionReservationCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CompositionReservation_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CompositionService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ComputerSystemCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ComputerSystem_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ConnectionCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ConnectionMethodCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ConnectionMethod_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Connection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ContainerCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ContainerImageCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ContainerImage_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Container_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ControlCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Control_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CoolantConnectorCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CoolantConnector_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CoolingLoopCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CoolingLoop_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CoolingUnitCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CoolingUnit_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/DriveCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/DriveMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Drive_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/EndpointCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/EndpointGroupCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/EndpointGroup_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Endpoint_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/EnvironmentMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/EthernetInterfaceCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/EthernetInterface_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/EventDestinationCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/EventDestination_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/EventService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Event_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ExternalAccountProviderCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ExternalAccountProvider_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/FabricAdapterCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/FabricAdapter_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/FabricCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Fabric_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/FacilityCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Facility_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/FanCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Fan_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/FilterCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Filter_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/GraphicsControllerCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/GraphicsController_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/HeaterCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/HeaterMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Heater_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/HostInterfaceCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/HostInterface_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/IPAddresses_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/JobCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/JobService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Job_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/JsonSchemaFileCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/JsonSchemaFile_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/KeyCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/KeyPolicyCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/KeyPolicy_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/KeyService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Key_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LeakDetection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LeakDetectorCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LeakDetector_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LicenseCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LicenseService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/License_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LogEntryCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LogEntry_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LogServiceCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LogService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ManagerAccountCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ManagerAccount_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ManagerCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ManagerDiagnosticData_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ManagerNetworkProtocol_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Manager_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Manifest_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MediaControllerCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MediaController_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MemoryChunksCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MemoryChunks_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MemoryCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MemoryDomainCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MemoryDomain_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MemoryMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MemoryRegionCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MemoryRegion_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Memory_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MessageRegistryCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MessageRegistryFileCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MessageRegistryFile_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MessageRegistry_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Message_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MetricDefinitionCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MetricDefinition_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MetricReportCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MetricReportDefinitionCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MetricReportDefinition_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MetricReport_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/NetworkAdapterCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/NetworkAdapterMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/NetworkAdapter_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/NetworkDeviceFunctionCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/NetworkDeviceFunctionMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/NetworkDeviceFunction_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/NetworkInterfaceCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/NetworkInterface_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/NetworkPortCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/NetworkPort_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/OperatingConfigCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/OperatingConfig_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/OperatingSystem_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/OutboundConnectionCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/OutboundConnection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/OutletCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/OutletGroupCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/OutletGroup_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Outlet_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PCIeDeviceCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PCIeDevice_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PCIeFunctionCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PCIeFunction_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PCIeSlots_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PhysicalContext_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PortCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PortMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Port_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PowerDistributionCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PowerDistributionMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PowerDistribution_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PowerDomainCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PowerDomain_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PowerEquipment_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PowerSubsystem_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PowerSupplyCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PowerSupplyMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PowerSupply_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Power_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PrivilegeRegistry_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Privileges_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ProcessorCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ProcessorMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Processor_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Protocol_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PumpCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Pump_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/RedfishError_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/RedfishExtensions_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Redundancy_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/RegisteredClientCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/RegisteredClient_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ReservoirCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Reservoir_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ResolutionStep_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ResourceBlockCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ResourceBlock_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Resource_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/RoleCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Role_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/RouteEntryCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/RouteEntry_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/RouteSetEntryCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/RouteSetEntry_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Schedule_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SecureBootDatabaseCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SecureBootDatabase_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SecureBoot_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SecurityPolicy_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SensorCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Sensor_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SerialInterfaceCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SerialInterface_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ServiceConditions_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ServiceRoot_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SessionCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SessionService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Session_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Settings_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SignatureCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Signature_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SimpleStorageCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SimpleStorage_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SoftwareInventoryCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SoftwareInventory_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/StorageCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/StorageControllerCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/StorageControllerMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/StorageController_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/StorageMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Storage_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SwitchCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SwitchMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Switch_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/TaskCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/TaskService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Task_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/TelemetryService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ThermalEquipment_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ThermalMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ThermalSubsystem_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Thermal_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/TriggersCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Triggers_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/TrustedComponentCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/TrustedComponent_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/USBControllerCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/USBController_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/UpdateService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/VCATEntryCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/VCATEntry_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/VLanNetworkInterfaceCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/VLanNetworkInterface_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/VirtualMediaCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/VirtualMedia_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ZoneCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Zone_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/AccountService.v1_18_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ComponentIntegrity.v1_3_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_24_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/EnvironmentMetrics.v1_4_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/EthernetInterface.v1_12_4.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Event.v1_11_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/EventService.v1_11_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/LogEntry.v1_18_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/LogService.v1_8_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Manager.v1_21_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ManagerNetworkProtocol.v1_11_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/PCIeDevice.v1_18_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Port.v1_16_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ServiceRoot.v1_18_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/SoftwareInventory.v1_11_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/StorageController.v1_9_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/VirtualMedia.v1_6_5.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/AccelerationFunctionCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/AccountService.v1_18_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/AddressPoolCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/AggregateCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/AggregationSourceCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/AllowDenyCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ApplicationCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/BatteryCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/BootOptionCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CXLLogicalDeviceCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CableCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CertificateCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ChassisCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CircuitCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ComponentIntegrity.v1_3_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ComponentIntegrityCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CompositionReservationCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ComputerSystem.v1_24_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ComputerSystemCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ConnectionCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ConnectionMethodCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ContainerCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ContainerImageCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ControlCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CoolantConnectorCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CoolingLoopCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CoolingUnitCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/DriveCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/EndpointCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/EndpointGroupCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/EnvironmentMetrics.v1_4_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/EthernetInterface.v1_12_4.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/EthernetInterfaceCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Event.v1_11_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/EventDestinationCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/EventService.v1_11_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ExternalAccountProvider.v1_8_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ExternalAccountProviderCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/FabricAdapterCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/FabricCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/FacilityCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/FanCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/FilterCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/GraphicsControllerCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/HeaterCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/HostInterfaceCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/JobCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/JsonSchemaFileCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/KeyCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/KeyPolicyCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/LeakDetectorCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/License.v1_1_4.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/LicenseCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/LogEntry.v1_18_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/LogEntryCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/LogService.v1_8_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/LogServiceCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Manager.v1_21_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ManagerAccountCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ManagerCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ManagerNetworkProtocol.v1_11_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/MediaControllerCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/MemoryChunksCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/MemoryCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/MemoryDomainCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/MemoryRegionCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/MessageRegistryCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/MessageRegistryFileCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/MetricDefinitionCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/MetricReportCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/MetricReportDefinitionCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/NetworkAdapterCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/NetworkDeviceFunction.v1_10_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/NetworkDeviceFunctionCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/NetworkInterface.v1_2_3.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/NetworkInterfaceCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/NetworkPortCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/OperatingConfigCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/OutboundConnectionCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/OutletCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/OutletGroupCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PCIeDevice.v1_18_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PCIeDeviceCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PCIeFunctionCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PhysicalContext.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Port.v1_16_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PortCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PowerDistributionCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PowerDistributionMetrics.v1_4_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PowerDomainCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PowerEquipment.v1_2_3.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PowerSupplyCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ProcessorCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Protocol.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PumpCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/RegisteredClientCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ReservoirCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ResourceBlockCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/RoleCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/RouteEntryCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/RouteSetEntryCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/SecureBootDatabaseCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/SensorCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/SerialInterfaceCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ServiceRoot.v1_18_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/SessionCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/SignatureCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/SimpleStorageCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/SoftwareInventory.v1_11_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/SoftwareInventoryCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/StorageCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/StorageController.v1_9_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/StorageControllerCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/SwitchCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/TaskCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/TriggersCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/TrustedComponent.v1_3_2.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/TrustedComponentCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/USBControllerCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/VCATEntryCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/VLanNetworkInterfaceCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/VirtualMedia.v1_6_5.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/VirtualMediaCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ZoneCollection.json
/openbmc/bmcweb/redfish-core/src/error_messages.cpp
/openbmc/bmcweb/redfish-core/src/redfish.cpp
/openbmc/bmcweb/scripts/parse_registries.py
/openbmc/bmcweb/scripts/update_schemas.py
/openbmc/bmcweb/src/dbus_utility.cpp
/openbmc/bmcweb/src/ssl_key_handler.cpp
/openbmc/bmcweb/src/webserver_run.cpp
/openbmc/bmcweb/subprojects/nlohmann_json.wrap
/openbmc/bmcweb/test/redfish-core/include/redfish_oem_routing_test.cpp
7e5e98d312-Mar-2025 Ed Tanous <etanous@nvidia.com>

Clean up meson summary

Make the meson summary better by:
Adding new sections for each value type (this implicitly sorts each
section, making the pattern more clear)
Remove the generated messon messa

Clean up meson summary

Make the meson summary better by:
Adding new sections for each value type (this implicitly sorts each
section, making the pattern more clear)
Remove the generated messon message, where we print the values of
ifdefs.
Enable bool_yn for feature options, which allows us to pass the feature
in directly, and print and colorize yes/no answers

Tested: meson setup builddir

Results in no messages printed for the ifdefs, and colorized output,
with yes/no answers, summarized below.

Feature Options
basic-auth : YES

String Options
dns-resolver : systemd-dbus

Numeric Options
http-body-limit : 30

Change-Id: I13f003846edaa355090c14113b61aacb05cbeb9a
Signed-off-by: Ed Tanous <etanous@nvidia.com>

show more ...

cf9085ac24-Feb-2025 rohitpai <ropai@nvidia.com>

Add support for systemd service watchdog

Systemd has support for enabling service level watchdog. The MR enables
this support for bmcweb daemon. Request for watchdog monitor from
systemd is added in

Add support for systemd service watchdog

Systemd has support for enabling service level watchdog. The MR enables
this support for bmcweb daemon. Request for watchdog monitor from
systemd is added in bmcweb.service.in. From the event loop a timer is
registered to kick the watchdog periodically

The default watchdog timeout is set at 120 seconds and the timer is set
to kick it at a quarter of the interval (every 30 seconds).
This timeout is set somewhat arbitrarily based on the longest blocking
call that could occur and still give a valid HTTP response. Suspect
lower values could work equally as well.

Benefits of Service Watchdog
- Bmcweb route handlers should not make any blocking IO calls which
block the event loop for considerable amount of time and slowdown the
response of other URI requests in the queue. Watchdog can help to detect
such issues.
- Watchdog can help restart the service if any route handler code has
uncaught bugs resulting from system API errors (this is in theory,
currently we don't have any use case).

Tested
1. UT is passing
2. Service validator is passing
3. Fw upgrade POST requests are working

Change-Id: If62397d8836c942fdcbc0618810fe82a8b248df8
Signed-off-by: rohitpai <ropai@nvidia.com>
Signed-off-by: Ed Tanous <etanous@nvidia.com>

show more ...

f4225d7e20-Feb-2025 Ed Tanous <etanous@nvidia.com>

Sort the config list

Keep the list sorted.

Change-Id: I208ee3b388dc48b52c15d7ff6534e1f0af300bbf
Signed-off-by: Ed Tanous <etanous@nvidia.com>

58d3aabc19-Feb-2025 Janet Adkins <janeta@us.ibm.com>

Enable port 18080

The commit [1] altered how sockets are created and inadvertently removed
the default port 18080. We use this port extensively in development.
The bmcweb documentation describes the

Enable port 18080

The commit [1] altered how sockets are created and inadvertently removed
the default port 18080. We use this port extensively in development.
The bmcweb documentation describes the port 18080 for this use. [2]
Adding back the default port 18080.

The commit [1] added meson build options for adding additional ports.
In attempting to enable port 18080 using that mechanism I ran into
various build errors when additional-ports has a value. I've corrected
the config/meson.build file to address those errors. These changes are
not necessary to re-enable port 18080 but worth fixing anyway.

Note: Meson defines arrays as containing strings so there is no
to_string() method for the array member. [3]
```
../../../../../../workspace/sources/bmcweb/config/meson.build:137:39: ERROR: Unknown method "to_string" in object <[StringHolder] holds [str]: '18080'> of type StringHolder.
```

Tested:
- Started bmcweb from /tmp and was able to connect through port 18080.
Log shows:
```
[DEBUG app.hpp:111] Got 0 sockets to open
[INFO app.hpp:150] Starting webserver on port 18080
```

[1] https://gerrit.openbmc.org/c/openbmc/bmcweb/+/35265
[2] https://github.com/openbmc/bmcweb/blob/cc67d0a0fed101c930b334a583d9ca9b222ceb77/TESTING.md?plain=1#L57
[3] https://mesonbuild.com/Build-options.html#arrays

Change-Id: Ia1b326bedca808e43e73ce2b241178bc4bfab23c
Signed-off-by: Janet Adkins <janeta@us.ibm.com>
Signed-off-by: Ed Tanous <etanous@nvidia.com>

show more ...

ee993dc819-Nov-2024 Ed Tanous <etanous@nvidia.com>

Use systemd logging levels

Systemd has an option[1] that allows it to interpret our log levels
directly. This allows for journald to sort/filter/colorize our logs
better than it was able to previou

Use systemd logging levels

Systemd has an option[1] that allows it to interpret our log levels
directly. This allows for journald to sort/filter/colorize our logs
better than it was able to previously. Its indexes don't map perfectly
to bmcwebs, so come up with a constexpr lookup table to map the two
values across.

Tested: Enabled logging, and dumped journal logs. Observed colorized
output.

[1] https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#SyslogLevelPrefix=

Change-Id: I7722ae86e114daec88709b68405498eeb8164c07
Signed-off-by: Ed Tanous <etanous@nvidia.com>

show more ...

796ba93b01-Aug-2020 Ed Tanous <ed@tanous.net>

Enable HTTP additional sockets

This commit attempts to add the concept of an SSL detector from beast,
and add the capability into bmcweb. This allows directing multiple
socket files to the bmcweb i

Enable HTTP additional sockets

This commit attempts to add the concept of an SSL detector from beast,
and add the capability into bmcweb. This allows directing multiple
socket files to the bmcweb instance, and bmcweb will automatically sort
out whether or not they're SSL, and give the correct response. This
allows users to plug in erroneous urls like "https://mybmc:80" and they
will forward and work correctly.

Some key design points:
The HTTP side of bmcweb implements the exact same http headers as the
HTTPS side, with the exception of HSTS, which is explicitly disallowed.
This is for consistency and security.

The above allows bmcweb builds to "select" the appropriate security
posture (http, https, or both) for a given channel using the
FileDescriptorName field within a socket file. Items ending in:
both: Will support both HTTPS and HTTP redirect to HTTPS
https: Will support HTTPS only
http: will support HTTP only

Given the flexibility in bind statements, this allows administrators to
support essentially any security posture they like. The openbmc
defaults are:
HTTPS + Redirect on both ports 443 and port 80 if http-redirect is
enabled

And HTTPS only if http-redirect is disabled.

This commit adds the following meson options that each take an array of
strings, indexex on the port.
additional-ports
Adds additional ports that bmcweb should listen to. This is always
required when adding new ports.

additional-protocol
Specifies 'http', 'https', or 'both' for whether or not tls is enfoced
on this socket. 'both' allows bmcweb to detect whether a user has
specified tls or not on a given connection and give the correct
response.

additional-bind-to-device
Accepts values that fill the SO_BINDTODEVICE flag in systemd/linux,
and allows binding to a specific device

additional-auth
Accepts values of 'auth' or 'noauth' that determines whether this
socket should apply the normal authentication routines, or treat the
socket as unauthenticated.

Tested:
Previous commits ran the below tests.
Ran the server with options enabled. Tried:
```
curl -vvvv --insecure --user root:0penBmc http://192.168.7.2/redfish/v1/Managers/bmc
* Trying 192.168.7.2:80...
* Connected to 192.168.7.2 (192.168.7.2) port 80 (#0)
* Server auth using Basic with user 'root'
> GET /redfish/v1/Managers/bmc HTTP/1.1
> Host: 192.168.7.2
> Authorization: Basic cm9vdDowcGVuQm1j
> User-Agent: curl/7.72.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 301 Moved Permanently
< Location: https://192.168.7.2
< X-Frame-Options: DENY
< Pragma: no-cache
< Cache-Control: no-Store,no-Cache
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< Content-Security-Policy: default-src 'none'; img-src 'self' data:; font-src 'self'; style-src 'self'; script-src 'self'; connect-src 'self' wss:
< Date: Fri, 08 Jan 2021 01:43:49 GMT
< Connection: close
< Content-Length: 0
<
* Closing connection 0
```

Observe above:
webserver returned 301 redirect.
webserver returned the appropriate security headers
webserver immediately closed the connection.

The same test above over https:// returns the values as expected

Loaded the webui to test static file hosting. Webui logs in and works
as expected.

Used the scripts/websocket_test.py to verify that websockets work.
Sensors report as expected.

Change-Id: Ib5733bbe5473fed6e0e27c56cdead0bffedf2993
Signed-off-by: Ed Tanous <ed@tanous.net>

show more ...


/openbmc/bmcweb/.clang-format
/openbmc/bmcweb/.clang-tidy
/openbmc/bmcweb/Redfish.md
bmcweb.socket.in
meson.build
/openbmc/bmcweb/http/app.hpp
/openbmc/bmcweb/http/complete_response_fields.hpp
/openbmc/bmcweb/http/http2_connection.hpp
/openbmc/bmcweb/http/http_body.hpp
/openbmc/bmcweb/http/http_client.hpp
/openbmc/bmcweb/http/http_connect_types.hpp
/openbmc/bmcweb/http/http_connection.hpp
/openbmc/bmcweb/http/http_request.hpp
/openbmc/bmcweb/http/http_response.hpp
/openbmc/bmcweb/http/http_server.hpp
/openbmc/bmcweb/http/logging.hpp
/openbmc/bmcweb/http/mutual_tls.cpp
/openbmc/bmcweb/http/mutual_tls.hpp
/openbmc/bmcweb/http/mutual_tls_meta.hpp
/openbmc/bmcweb/http/nghttp2_adapters.hpp
/openbmc/bmcweb/http/parsing.hpp
/openbmc/bmcweb/http/routing.hpp
/openbmc/bmcweb/http/routing/baserule.hpp
/openbmc/bmcweb/http/routing/dynamicrule.hpp
/openbmc/bmcweb/http/routing/ruleparametertraits.hpp
/openbmc/bmcweb/http/routing/sserule.hpp
/openbmc/bmcweb/http/routing/taggedrule.hpp
/openbmc/bmcweb/http/routing/websocketrule.hpp
/openbmc/bmcweb/http/server_sent_event.hpp
/openbmc/bmcweb/http/test_stream.hpp
/openbmc/bmcweb/http/utility.hpp
/openbmc/bmcweb/http/verb.hpp
/openbmc/bmcweb/http/websocket.hpp
/openbmc/bmcweb/include/async_resolve.hpp
/openbmc/bmcweb/include/async_resp.hpp
/openbmc/bmcweb/include/authentication.hpp
/openbmc/bmcweb/include/boost_formatters.hpp
/openbmc/bmcweb/include/cookies.hpp
/openbmc/bmcweb/include/credential_pipe.hpp
/openbmc/bmcweb/include/dbus_monitor.hpp
/openbmc/bmcweb/include/dbus_privileges.hpp
/openbmc/bmcweb/include/dbus_singleton.hpp
/openbmc/bmcweb/include/dbus_utility.hpp
/openbmc/bmcweb/include/duplicatable_file_handle.hpp
/openbmc/bmcweb/include/event_service_store.hpp
/openbmc/bmcweb/include/file_test_utilities.hpp
/openbmc/bmcweb/include/forward_unauthorized.hpp
/openbmc/bmcweb/include/google/google_service_root.hpp
/openbmc/bmcweb/include/hostname_monitor.hpp
/openbmc/bmcweb/include/http_utility.hpp
/openbmc/bmcweb/include/human_sort.hpp
/openbmc/bmcweb/include/ibm/management_console_rest.hpp
/openbmc/bmcweb/include/ibm/utils.hpp
/openbmc/bmcweb/include/image_upload.hpp
/openbmc/bmcweb/include/io_context_singleton.hpp
/openbmc/bmcweb/include/json_formatters.hpp
/openbmc/bmcweb/include/json_html_serializer.hpp
/openbmc/bmcweb/include/kvm_websocket.hpp
/openbmc/bmcweb/include/login_routes.hpp
/openbmc/bmcweb/include/multipart_parser.hpp
/openbmc/bmcweb/include/obmc_console.hpp
/openbmc/bmcweb/include/openbmc_dbus_rest.hpp
/openbmc/bmcweb/include/ossl_random.hpp
/openbmc/bmcweb/include/pam_authenticate.hpp
/openbmc/bmcweb/include/persistent_data.hpp
/openbmc/bmcweb/include/security_headers.hpp
/openbmc/bmcweb/include/sessions.hpp
/openbmc/bmcweb/include/ssl_key_handler.hpp
/openbmc/bmcweb/include/str_utility.hpp
/openbmc/bmcweb/include/user_monitor.hpp
/openbmc/bmcweb/include/vm_websocket.hpp
/openbmc/bmcweb/include/webassets.hpp
/openbmc/bmcweb/include/webroutes.hpp
/openbmc/bmcweb/include/webserver_run.hpp
/openbmc/bmcweb/meson.build
/openbmc/bmcweb/meson.options
/openbmc/bmcweb/redfish-core/include/aggregation_utils.hpp
/openbmc/bmcweb/redfish-core/include/dbus_log_watcher.hpp
/openbmc/bmcweb/redfish-core/include/error_message_utils.hpp
/openbmc/bmcweb/redfish-core/include/error_messages.hpp
/openbmc/bmcweb/redfish-core/include/event_log.hpp
/openbmc/bmcweb/redfish-core/include/event_matches_filter.hpp
/openbmc/bmcweb/redfish-core/include/event_service_manager.hpp
/openbmc/bmcweb/redfish-core/include/filesystem_log_watcher.hpp
/openbmc/bmcweb/redfish-core/include/filter_expr_executor.hpp
/openbmc/bmcweb/redfish-core/include/filter_expr_parser_ast.hpp
/openbmc/bmcweb/redfish-core/include/filter_expr_parser_grammar.hpp
/openbmc/bmcweb/redfish-core/include/filter_expr_printer.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/acceleration_function.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/account_service.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/action_info.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/aggregation_source.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/allow_deny.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/attribute_registry.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/battery.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/cable.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/certificate.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/chassis.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/circuit.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/collection_capabilities.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/component_integrity.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/composition_service.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/computer_system.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/connection.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/connection_method.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/container_image.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/control.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/coolant_connector.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/cooling_loop.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/cooling_unit.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/cxl_logical_device.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/drive.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/endpoint.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/endpoint_group.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/ethernet_interface.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/event.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/event_destination.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/event_service.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/external_account_provider.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/facility.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/host_interface.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/ip_addresses.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/job.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/key.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/key_policy.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/leak_detector.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/license.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/license_service.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/log_entry.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/log_service.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/manager.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/manager_account.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/manager_network_protocol.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/manifest.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/media_controller.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/memory.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/memory_chunks.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/memory_region.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/message_registry.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/metric_definition.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/metric_report_definition.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/network_device_function.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/network_port.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/open_bmc_computer_system.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/operating_system.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/outbound_connection.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/outlet.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/outlet_group.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/pcie_device.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/pcie_function.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/pcie_slots.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/physical_context.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/port.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/power.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/power_distribution.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/power_supply.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/privileges.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/processor.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/protocol.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/pump.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/redfish_extensions.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/redundancy.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/registered_client.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/reservoir.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/resolution_step.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/resource.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/resource_block.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/schedule.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/secure_boot.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/secure_boot_database.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/sensor.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/serial_interface.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/session.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/settings.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/signature.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/software_inventory.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/storage.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/storage_controller.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/task.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/task_service.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/telemetry_service.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/thermal.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/triggers.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/trusted_component.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/update_service.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/virtual_media.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/volume.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/zone.hpp
/openbmc/bmcweb/redfish-core/include/gzfile.hpp
/openbmc/bmcweb/redfish-core/include/heartbeat_messages.hpp
/openbmc/bmcweb/redfish-core/include/privileges.hpp
/openbmc/bmcweb/redfish-core/include/query.hpp
/openbmc/bmcweb/redfish-core/include/redfish.hpp
/openbmc/bmcweb/redfish-core/include/redfish_aggregator.hpp
/openbmc/bmcweb/redfish-core/include/registries.hpp
/openbmc/bmcweb/redfish-core/include/registries/base_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/composition_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/environmental_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/ethernet_fabric_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/fabric_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/heartbeat_event_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/job_event_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/license_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/log_service_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/network_device_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/openbmc_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/platform_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/power_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/privilege_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/resource_event_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/sensor_event_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/storage_device_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/task_event_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/telemetry_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/update_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries_selector.hpp
/openbmc/bmcweb/redfish-core/include/resource_messages.hpp
/openbmc/bmcweb/redfish-core/include/snmp_trap_event_clients.hpp
/openbmc/bmcweb/redfish-core/include/subscription.hpp
/openbmc/bmcweb/redfish-core/include/task_messages.hpp
/openbmc/bmcweb/redfish-core/include/utils/chassis_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/collection.hpp
/openbmc/bmcweb/redfish-core/include/utils/dbus_event_log_entry.hpp
/openbmc/bmcweb/redfish-core/include/utils/dbus_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/error_code.hpp
/openbmc/bmcweb/redfish-core/include/utils/hex_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/ip_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/journal_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/json_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/pcie_util.hpp
/openbmc/bmcweb/redfish-core/include/utils/query_param.hpp
/openbmc/bmcweb/redfish-core/include/utils/sensor_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/stl_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/sw_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/systemd_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/telemetry_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/time_utils.hpp
/openbmc/bmcweb/redfish-core/lib/account_service.hpp
/openbmc/bmcweb/redfish-core/lib/aggregation_service.hpp
/openbmc/bmcweb/redfish-core/lib/bios.hpp
/openbmc/bmcweb/redfish-core/lib/cable.hpp
/openbmc/bmcweb/redfish-core/lib/certificate_service.hpp
/openbmc/bmcweb/redfish-core/lib/chassis.hpp
/openbmc/bmcweb/redfish-core/lib/environment_metrics.hpp
/openbmc/bmcweb/redfish-core/lib/ethernet.hpp
/openbmc/bmcweb/redfish-core/lib/event_service.hpp
/openbmc/bmcweb/redfish-core/lib/eventservice_sse.hpp
/openbmc/bmcweb/redfish-core/lib/fabric_adapters.hpp
/openbmc/bmcweb/redfish-core/lib/fan.hpp
/openbmc/bmcweb/redfish-core/lib/hypervisor_system.hpp
/openbmc/bmcweb/redfish-core/lib/led.hpp
/openbmc/bmcweb/redfish-core/lib/log_services.hpp
/openbmc/bmcweb/redfish-core/lib/manager_diagnostic_data.hpp
/openbmc/bmcweb/redfish-core/lib/manager_logservices_journal.hpp
/openbmc/bmcweb/redfish-core/lib/managers.hpp
/openbmc/bmcweb/redfish-core/lib/memory.hpp
/openbmc/bmcweb/redfish-core/lib/message_registries.hpp
/openbmc/bmcweb/redfish-core/lib/metadata.hpp
/openbmc/bmcweb/redfish-core/lib/metric_report.hpp
/openbmc/bmcweb/redfish-core/lib/metric_report_definition.hpp
/openbmc/bmcweb/redfish-core/lib/network_protocol.hpp
/openbmc/bmcweb/redfish-core/lib/odata.hpp
/openbmc/bmcweb/redfish-core/lib/pcie.hpp
/openbmc/bmcweb/redfish-core/lib/pcie_slots.hpp
/openbmc/bmcweb/redfish-core/lib/power.hpp
/openbmc/bmcweb/redfish-core/lib/power_subsystem.hpp
/openbmc/bmcweb/redfish-core/lib/power_supply.hpp
/openbmc/bmcweb/redfish-core/lib/processor.hpp
/openbmc/bmcweb/redfish-core/lib/redfish_sessions.hpp
/openbmc/bmcweb/redfish-core/lib/redfish_util.hpp
/openbmc/bmcweb/redfish-core/lib/redfish_v1.hpp
/openbmc/bmcweb/redfish-core/lib/roles.hpp
/openbmc/bmcweb/redfish-core/lib/sensors.hpp
/openbmc/bmcweb/redfish-core/lib/service_root.hpp
/openbmc/bmcweb/redfish-core/lib/storage.hpp
/openbmc/bmcweb/redfish-core/lib/systems.hpp
/openbmc/bmcweb/redfish-core/lib/systems_logservices_hostlogger.hpp
/openbmc/bmcweb/redfish-core/lib/systems_logservices_postcodes.hpp
/openbmc/bmcweb/redfish-core/lib/task.hpp
/openbmc/bmcweb/redfish-core/lib/telemetry_service.hpp
/openbmc/bmcweb/redfish-core/lib/thermal.hpp
/openbmc/bmcweb/redfish-core/lib/thermal_metrics.hpp
/openbmc/bmcweb/redfish-core/lib/thermal_subsystem.hpp
/openbmc/bmcweb/redfish-core/lib/trigger.hpp
/openbmc/bmcweb/redfish-core/lib/update_service.hpp
/openbmc/bmcweb/redfish-core/lib/virtual_media.hpp
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AccountService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Cable_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CertificateService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Chassis_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ComputerSystem_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Connection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Control_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CoolantConnector_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CoolingUnit_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Drive_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/EthernetInterface_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/EventDestination_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/EventService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/HostInterface_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LeakDetection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LeakDetectorCollection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LeakDetector_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Manager_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PCIeDevice_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Port_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PowerSubsystem_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Pump_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Redundancy_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Resource_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Role_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SecurityPolicy_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/SessionService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Session_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/StorageController_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/StorageMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Storage_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ThermalSubsystem_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/UpdateService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Volume_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/AccountService.v1_17_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Cable.v1_2_4.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/CertificateService.v1_0_6.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Chassis.v1_26_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_23_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Drive.v1_21_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/EthernetInterface.v1_12_3.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/EventDestination.v1_15_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/EventService.v1_10_3.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Manager.v1_20_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/PCIeDevice.v1_17_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Port.v1_15_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/PowerSubsystem.v1_1_3.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Redundancy.v1_5_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Resource.v1_21_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Role.v1_3_3.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Session.v1_8_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/SessionService.v1_2_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Storage.v1_18_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/StorageController.v1_9_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ThermalSubsystem.v1_3_3.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/UpdateService.v1_15_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/redfish-schema.v1_10_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/AccountService.v1_17_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Cable.v1_2_4.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CertificateService.v1_0_6.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Chassis.v1_26_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ComputerSystem.v1_23_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Connection.v1_4_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Control.v1_6_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CoolantConnector.v1_1_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CoolingUnit.v1_2_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Drive.v1_21_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/EthernetInterface.v1_12_3.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/EventDestination.v1_15_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/EventService.v1_10_3.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/HostInterface.v1_3_3.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/LeakDetector.v1_3_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/LeakDetectorCollection.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Manager.v1_20_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PCIeDevice.v1_17_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Port.v1_15_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PowerSubsystem.v1_1_3.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Pump.v1_2_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Redundancy.v1_5_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Resource.v1_21_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Role.v1_3_3.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/SecurityPolicy.v1_0_3.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Session.v1_8_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/SessionService.v1_2_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Storage.v1_18_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/StorageController.v1_9_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/StorageMetrics.v1_0_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ThermalSubsystem.v1_3_3.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/UpdateService.v1_15_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Volume.v1_10_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/odata-v4.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/odata.v4_0_5.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/redfish-schema-v1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/redfish-schema.v1_10_1.json
/openbmc/bmcweb/redfish-core/src/dbus_log_watcher.cpp
/openbmc/bmcweb/redfish-core/src/error_message_utils.cpp
/openbmc/bmcweb/redfish-core/src/error_messages.cpp
/openbmc/bmcweb/redfish-core/src/event_log.cpp
/openbmc/bmcweb/redfish-core/src/filesystem_log_watcher.cpp
/openbmc/bmcweb/redfish-core/src/filter_expr_executor.cpp
/openbmc/bmcweb/redfish-core/src/filter_expr_printer.cpp
/openbmc/bmcweb/redfish-core/src/heartbeat_messages.cpp
/openbmc/bmcweb/redfish-core/src/redfish.cpp
/openbmc/bmcweb/redfish-core/src/registries.cpp
/openbmc/bmcweb/redfish-core/src/resource_messages.cpp
/openbmc/bmcweb/redfish-core/src/subscription.cpp
/openbmc/bmcweb/redfish-core/src/task_messages.cpp
/openbmc/bmcweb/redfish-core/src/utils/dbus_utils.cpp
/openbmc/bmcweb/redfish-core/src/utils/json_utils.cpp
/openbmc/bmcweb/redfish-core/src/utils/time_utils.cpp
/openbmc/bmcweb/scripts/generate_schema_collections.py
/openbmc/bmcweb/scripts/generate_schema_enums.py
/openbmc/bmcweb/scripts/parse_registries.py
/openbmc/bmcweb/scripts/update_schemas.py
/openbmc/bmcweb/src/boost_asio.cpp
/openbmc/bmcweb/src/boost_asio_ssl.cpp
/openbmc/bmcweb/src/boost_beast.cpp
/openbmc/bmcweb/src/dbus_singleton.cpp
/openbmc/bmcweb/src/json_html_serializer.cpp
/openbmc/bmcweb/src/ossl_random.cpp
/openbmc/bmcweb/src/ssl_key_handler.cpp
/openbmc/bmcweb/src/webserver_cli.cpp
/openbmc/bmcweb/src/webserver_main.cpp
/openbmc/bmcweb/src/webserver_run.cpp
/openbmc/bmcweb/subprojects/boost.wrap
/openbmc/bmcweb/test/http/crow_getroutes_test.cpp
/openbmc/bmcweb/test/http/http2_connection_test.cpp
/openbmc/bmcweb/test/http/http_body_test.cpp
/openbmc/bmcweb/test/http/http_connection_test.cpp
/openbmc/bmcweb/test/http/http_response_test.cpp
/openbmc/bmcweb/test/http/mutual_tls.cpp
/openbmc/bmcweb/test/http/mutual_tls_meta.cpp
/openbmc/bmcweb/test/http/parsing_test.cpp
/openbmc/bmcweb/test/http/router_test.cpp
/openbmc/bmcweb/test/http/server_sent_event_test.cpp
/openbmc/bmcweb/test/http/utility_test.cpp
/openbmc/bmcweb/test/http/verb_test.cpp
/openbmc/bmcweb/test/include/async_resolve_test.cpp
/openbmc/bmcweb/test/include/credential_pipe_test.cpp
/openbmc/bmcweb/test/include/dbus_utility_test.cpp
/openbmc/bmcweb/test/include/google/google_service_root_test.cpp
/openbmc/bmcweb/test/include/http_utility_test.cpp
/openbmc/bmcweb/test/include/human_sort_test.cpp
/openbmc/bmcweb/test/include/ibm/configfile_test.cpp
/openbmc/bmcweb/test/include/json_html_serializer.cpp
/openbmc/bmcweb/test/include/multipart_test.cpp
/openbmc/bmcweb/test/include/openbmc_dbus_rest_test.cpp
/openbmc/bmcweb/test/include/ossl_random.cpp
/openbmc/bmcweb/test/include/ssl_key_handler_test.cpp
/openbmc/bmcweb/test/include/str_utility_test.cpp
/openbmc/bmcweb/test/redfish-core/include/dbus_log_watcher_test.cpp
/openbmc/bmcweb/test/redfish-core/include/event_log_test.cpp
/openbmc/bmcweb/test/redfish-core/include/filter_expr_executor_test.cpp
/openbmc/bmcweb/test/redfish-core/include/filter_expr_parser_test.cpp
/openbmc/bmcweb/test/redfish-core/include/privileges_test.cpp
/openbmc/bmcweb/test/redfish-core/include/redfish_aggregator_test.cpp
/openbmc/bmcweb/test/redfish-core/include/redfish_test.cpp
/openbmc/bmcweb/test/redfish-core/include/registries_test.cpp
/openbmc/bmcweb/test/redfish-core/include/submit_test_event_test.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/dbus_utils.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/error_code_test.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/hex_utils_test.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/ip_utils_test.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/json_utils_test.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/query_param_test.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/sensor_utils_test.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/stl_utils_test.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/time_utils_test.cpp
/openbmc/bmcweb/test/redfish-core/lib/chassis_test.cpp
/openbmc/bmcweb/test/redfish-core/lib/ethernet_test.cpp
/openbmc/bmcweb/test/redfish-core/lib/log_services_dump_test.cpp
/openbmc/bmcweb/test/redfish-core/lib/manager_diagnostic_data_test.cpp
/openbmc/bmcweb/test/redfish-core/lib/metadata_test.cpp
/openbmc/bmcweb/test/redfish-core/lib/power_subsystem_test.cpp
/openbmc/bmcweb/test/redfish-core/lib/service_root_test.cpp
/openbmc/bmcweb/test/redfish-core/lib/system_test.cpp
/openbmc/bmcweb/test/redfish-core/lib/systems_logservices_postcode.cpp
/openbmc/bmcweb/test/redfish-core/lib/thermal_subsystem_test.cpp
/openbmc/bmcweb/test/redfish-core/lib/update_service_test.cpp
6a37140a03-Dec-2024 Ed Tanous <etanous@nvidia.com>

Put simple update behind an option

4e338b2313f9f2a91aa1fb36693e36a328d58933 Removed tftp update support
from the codebase, but left SimpleUpdate in a non functional state.

Given that a number of fo

Put simple update behind an option

4e338b2313f9f2a91aa1fb36693e36a328d58933 Removed tftp update support
from the codebase, but left SimpleUpdate in a non functional state.

Given that a number of forks have implemented the HTTPS/SCP versions of
simple update, we don't want to fully delete the code at this time, so
for the moment put it behind an option flag.

Tested: WIP

Change-Id: Ibab1e3a48ff640787eabf8ed5f7a5c08e3381307
Signed-off-by: Ed Tanous <etanous@nvidia.com>

show more ...

56b8199202-Dec-2024 Ed Tanous <etanous@nvidia.com>

Make message registries use 2 digit versions

Redfish specification, section 9.5.11.2 says:

The MessageId property value shall be in the format:
<MessageRegistryPrefix>.<MajorVersion>.<MinorVersion>

Make message registries use 2 digit versions

Redfish specification, section 9.5.11.2 says:

The MessageId property value shall be in the format:
<MessageRegistryPrefix>.<MajorVersion>.<MinorVersion>.<MessageKey>

bmcweb in certain places has incorrectly used the 3 digit version
instead of the 2 digit version. This commit fixes that by modifying the
parse_registries script to generate 3 separate struct entries to
represent the registry version, and parse them where appropriate.

MessageRegistryFileCollection uses the 3 digit version. No behavior
changes.
Message/event log entries use the 2 digit version. This will cause a
MessageId change from:
Base.1.19.0.InternalError
to
Base.1.19.InternalError

This is a breaking change, so a new option to allow the old behavior is
provided.

Tested: Redfish Service validator passes.
Heartbeat events on EventService show 2 digit versions.

Change-Id: I4165e994f73e200f13bed8ea76cb58bee2b69faa
Signed-off-by: Ed Tanous <etanous@nvidia.com>

show more ...


/openbmc/bmcweb/Redfish.md
meson.build
/openbmc/bmcweb/include/event_service_store.hpp
/openbmc/bmcweb/include/http_utility.hpp
/openbmc/bmcweb/include/persistent_data.hpp
/openbmc/bmcweb/meson.build
/openbmc/bmcweb/meson.options
/openbmc/bmcweb/redfish-core/include/event_service_manager.hpp
/openbmc/bmcweb/redfish-core/include/heartbeat_messages.hpp
/openbmc/bmcweb/redfish-core/include/registries.hpp
/openbmc/bmcweb/redfish-core/include/registries/base_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/composition_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/environmental_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/ethernet_fabric_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/fabric_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/heartbeat_event_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/job_event_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/license_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/log_service_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/network_device_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/openbmc_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/platform_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/power_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/resource_event_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/sensor_event_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/storage_device_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/task_event_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/telemetry_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/update_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries_selector.hpp
/openbmc/bmcweb/redfish-core/include/subscription.hpp
/openbmc/bmcweb/redfish-core/include/utils/sw_utils.hpp
/openbmc/bmcweb/redfish-core/lib/chassis.hpp
/openbmc/bmcweb/redfish-core/lib/event_service.hpp
/openbmc/bmcweb/redfish-core/lib/manager_logservices_journal.hpp
/openbmc/bmcweb/redfish-core/lib/message_registries.hpp
/openbmc/bmcweb/redfish-core/lib/redfish_sessions.hpp
/openbmc/bmcweb/redfish-core/src/subscription.cpp
/openbmc/bmcweb/scripts/parse_registries.py
/openbmc/bmcweb/test/include/http_utility_test.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/dbus_utils.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/json_utils_test.cpp
/openbmc/bmcweb/test/redfish-core/lib/chassis_test.cpp
6c58a03e21-Nov-2024 Alexander Hansen <alexander.hansen@9elements.com>

event service: dbus log: enable event subscription

enable the event subscriptions

/redfish/v1/EventService/Subscriptions/

to work for the dbus event log.

So if you are enabling redfish-dbus-log o

event service: dbus log: enable event subscription

enable the event subscriptions

/redfish/v1/EventService/Subscriptions/

to work for the dbus event log.

So if you are enabling redfish-dbus-log option,
event subscriptions should work similar to when
this option is disabled, with one difference:

- 'MessageArgs' property is currently not implemented and cannot be
found in the returned json.

Tested:
- Using Redfish Event Listener, test subscriptions and eventing.
- Manual Test below with the Redfish Event Listener:

1. Created a maximal Event Log Subscription

redfish
{
"@odata.id": "/redfish/v1/EventService/Subscriptions/2023893979",
"@odata.type": "#EventDestination.v1_8_0.EventDestination",
"Context": "EventLogSubscription",
"DeliveryRetryPolicy": "TerminateAfterRetries",
"Destination": "http://${ip}:5000/event-receiver",
"EventFormatType": "Event",
"HttpHeaders": [],
"Id": "2023893979",
"MessageIds": [],
"MetricReportDefinitions": [],
"Name": "Event Destination 2023893979",
"Protocol": "Redfish",
"RegistryPrefixes": [],
"ResourceTypes": [],
"SubscriptionType": "RedfishEvent",
"VerifyCertificate": true
}

which matches on all registries and all message ids.

2. created a new phosphor-logging entry

busctl call xyz.openbmc_project.Logging \
/xyz/openbmc_project/logging \
xyz.openbmc_project.Logging.Create \
Create 'ssa{ss}' \
OpenBMC.0.1.PowerButtonPressed \
xyz.openbmc_project.Logging.Entry.Level.Error 0

3. bmcweb picks up this new entry via the dbus match, this can be
verified by putting bmcweb in debug logging mode.

4. the event log entry makes it through the filtering code

5. the POST request is sent to the subscribed server as expected,
and contains the same properties as with the file-based backend.

Change-Id: I122e1121389f72e67a998706aeadd052ae607d60
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>

show more ...


/openbmc/bmcweb/.clang-format
/openbmc/bmcweb/.clang-tidy
/openbmc/bmcweb/COMMON_ERRORS.md
/openbmc/bmcweb/DEVELOPING.md
/openbmc/bmcweb/Redfish.md
/openbmc/bmcweb/TESTING.md
meson.build
/openbmc/bmcweb/http/http2_connection.hpp
/openbmc/bmcweb/http/http_client.hpp
/openbmc/bmcweb/http/http_connection.hpp
/openbmc/bmcweb/http/http_request.hpp
/openbmc/bmcweb/http/http_response.hpp
/openbmc/bmcweb/http/mutual_tls.cpp
/openbmc/bmcweb/http/routing.hpp
/openbmc/bmcweb/http/server_sent_event.hpp
/openbmc/bmcweb/http/utility.hpp
/openbmc/bmcweb/http/websocket.hpp
/openbmc/bmcweb/include/authentication.hpp
/openbmc/bmcweb/include/dbus_monitor.hpp
/openbmc/bmcweb/include/dbus_utility.hpp
/openbmc/bmcweb/include/event_service_store.hpp
/openbmc/bmcweb/include/http_utility.hpp
/openbmc/bmcweb/include/ibm/management_console_rest.hpp
/openbmc/bmcweb/include/openbmc_dbus_rest.hpp
/openbmc/bmcweb/include/pam_authenticate.hpp
/openbmc/bmcweb/include/persistent_data.hpp
/openbmc/bmcweb/include/webassets.hpp
/openbmc/bmcweb/meson.build
/openbmc/bmcweb/meson.options
/openbmc/bmcweb/redfish-core/include/dbus_log_watcher.hpp
/openbmc/bmcweb/redfish-core/include/error_messages.hpp
/openbmc/bmcweb/redfish-core/include/event_log.hpp
/openbmc/bmcweb/redfish-core/include/event_logs_object_type.hpp
/openbmc/bmcweb/redfish-core/include/event_matches_filter.hpp
/openbmc/bmcweb/redfish-core/include/event_service_manager.hpp
/openbmc/bmcweb/redfish-core/include/filesystem_log_watcher.hpp
/openbmc/bmcweb/redfish-core/include/filter_expr_parser_ast.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/account_service.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/certificate.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/component_integrity.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/computer_system.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/pcie_device.hpp
/openbmc/bmcweb/redfish-core/include/generated/enums/physical_context.hpp
/openbmc/bmcweb/redfish-core/include/privileges.hpp
/openbmc/bmcweb/redfish-core/include/query.hpp
/openbmc/bmcweb/redfish-core/include/redfish_aggregator.hpp
/openbmc/bmcweb/redfish-core/include/registries.hpp
/openbmc/bmcweb/redfish-core/include/registries/base_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/registries/openbmc.json
/openbmc/bmcweb/redfish-core/include/registries/openbmc_message_registry.hpp
/openbmc/bmcweb/redfish-core/include/snmp_trap_event_clients.hpp
/openbmc/bmcweb/redfish-core/include/subscription.hpp
/openbmc/bmcweb/redfish-core/include/task_messages.hpp
/openbmc/bmcweb/redfish-core/include/utils/dbus_event_log_entry.hpp
/openbmc/bmcweb/redfish-core/include/utils/json_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/query_param.hpp
/openbmc/bmcweb/redfish-core/include/utils/sensor_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/sw_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/systemd_utils.hpp
/openbmc/bmcweb/redfish-core/include/utils/time_utils.hpp
/openbmc/bmcweb/redfish-core/lib/account_service.hpp
/openbmc/bmcweb/redfish-core/lib/certificate_service.hpp
/openbmc/bmcweb/redfish-core/lib/chassis.hpp
/openbmc/bmcweb/redfish-core/lib/ethernet.hpp
/openbmc/bmcweb/redfish-core/lib/event_service.hpp
/openbmc/bmcweb/redfish-core/lib/eventservice_sse.hpp
/openbmc/bmcweb/redfish-core/lib/fan.hpp
/openbmc/bmcweb/redfish-core/lib/hypervisor_system.hpp
/openbmc/bmcweb/redfish-core/lib/led.hpp
/openbmc/bmcweb/redfish-core/lib/log_services.hpp
/openbmc/bmcweb/redfish-core/lib/manager_logservices_journal.hpp
/openbmc/bmcweb/redfish-core/lib/managers.hpp
/openbmc/bmcweb/redfish-core/lib/memory.hpp
/openbmc/bmcweb/redfish-core/lib/message_registries.hpp
/openbmc/bmcweb/redfish-core/lib/metadata.hpp
/openbmc/bmcweb/redfish-core/lib/metric_report_definition.hpp
/openbmc/bmcweb/redfish-core/lib/network_protocol.hpp
/openbmc/bmcweb/redfish-core/lib/pcie.hpp
/openbmc/bmcweb/redfish-core/lib/power.hpp
/openbmc/bmcweb/redfish-core/lib/power_supply.hpp
/openbmc/bmcweb/redfish-core/lib/processor.hpp
/openbmc/bmcweb/redfish-core/lib/redfish_sessions.hpp
/openbmc/bmcweb/redfish-core/lib/redfish_util.hpp
/openbmc/bmcweb/redfish-core/lib/redfish_v1.hpp
/openbmc/bmcweb/redfish-core/lib/roles.hpp
/openbmc/bmcweb/redfish-core/lib/sensors.hpp
/openbmc/bmcweb/redfish-core/lib/service_root.hpp
/openbmc/bmcweb/redfish-core/lib/storage.hpp
/openbmc/bmcweb/redfish-core/lib/systems.hpp
/openbmc/bmcweb/redfish-core/lib/systems_logservices_hostlogger.hpp
/openbmc/bmcweb/redfish-core/lib/systems_logservices_postcodes.hpp
/openbmc/bmcweb/redfish-core/lib/task.hpp
/openbmc/bmcweb/redfish-core/lib/thermal.hpp
/openbmc/bmcweb/redfish-core/lib/thermal_metrics.hpp
/openbmc/bmcweb/redfish-core/lib/trigger.hpp
/openbmc/bmcweb/redfish-core/lib/update_service.hpp
/openbmc/bmcweb/redfish-core/lib/virtual_media.hpp
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AccountService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/AggregationSource_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/CXLLogicalDevice_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Certificate_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Chassis_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ComponentIntegrity_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ComputerSystem_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Control_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Drive_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/EventDestination_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Event_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ExternalAccountProvider_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LeakDetection_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LeakDetector_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/LogEntry_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ManagerAccount_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Manager_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/MemoryRegion_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Message_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PCIeDevice_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PhysicalContext_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/PortMetrics_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Port_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Resource_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Sensor_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/StorageController_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/Storage_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/UpdateService_v1.xml
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/AccountService.v1_16_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/AggregationSource.v1_4_3.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Certificate.v1_9_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Chassis.v1_25_2.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ComponentIntegrity.v1_3_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_23_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Drive.v1_20_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/EthernetInterface.v1_12_2.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Event.v1_11_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/EventDestination.v1_15_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/LogEntry.v1_17_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Manager.v1_19_2.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ManagerAccount.v1_13_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Message.v1_3_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/MetricReport.v1_5_2.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/PCIeDevice.v1_16_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Port.v1_14_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Processor.v1_20_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Resource.v1_20_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Sensor.v1_10_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/Storage.v1_17_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/StorageController.v1_8_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/UpdateService.v1_14_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/redfish-payload-annotations.v1_2_3.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/AccountService.v1_16_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/AggregationSource.v1_4_3.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/CXLLogicalDevice.v1_2_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Certificate.v1_9_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Chassis.v1_25_2.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ComponentIntegrity.v1_3_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ComputerSystem.v1_23_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Control.v1_5_2.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Drive.v1_20_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Event.v1_11_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/EventDestination.v1_15_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ExternalAccountProvider.v1_8_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/LeakDetection.v1_1_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/LeakDetector.v1_2_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/LogEntry.v1_17_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Manager.v1_19_2.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ManagerAccount.v1_13_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Message.v1_3_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PCIeDevice.v1_16_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PhysicalContext.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Port.v1_14_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/PortMetrics.v1_7_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Resource.v1_20_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Sensor.v1_10_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/Storage.v1_17_1.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/StorageController.v1_8_0.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/UpdateService.v1_14_1.json
/openbmc/bmcweb/redfish-core/schema/oem/openbmc/csdl/OpenBMCAccountService_v1.xml
/openbmc/bmcweb/redfish-core/schema/oem/openbmc/csdl/OpenBMCComputerSystem_v1.xml
/openbmc/bmcweb/redfish-core/schema/oem/openbmc/csdl/OpenBMCManager_v1.xml
/openbmc/bmcweb/redfish-core/schema/oem/openbmc/csdl/OpenBMCVirtualMedia_v1.xml
/openbmc/bmcweb/redfish-core/schema/oem/openbmc/meson.build
/openbmc/bmcweb/redfish-core/src/dbus_log_watcher.cpp
/openbmc/bmcweb/redfish-core/src/error_messages.cpp
/openbmc/bmcweb/redfish-core/src/event_log.cpp
/openbmc/bmcweb/redfish-core/src/filesystem_log_watcher.cpp
/openbmc/bmcweb/redfish-core/src/filter_expr_executor.cpp
/openbmc/bmcweb/redfish-core/src/filter_expr_printer.cpp
/openbmc/bmcweb/redfish-core/src/redfish.cpp
/openbmc/bmcweb/redfish-core/src/registries.cpp
/openbmc/bmcweb/redfish-core/src/subscription.cpp
/openbmc/bmcweb/redfish-core/src/utils/dbus_utils.cpp
/openbmc/bmcweb/redfish-core/src/utils/json_utils.cpp
/openbmc/bmcweb/redfish-core/src/utils/time_utils.cpp
/openbmc/bmcweb/scripts/parse_registries.py
/openbmc/bmcweb/scripts/update_schemas.py
/openbmc/bmcweb/src/ossl_random.cpp
/openbmc/bmcweb/src/ssl_key_handler.cpp
/openbmc/bmcweb/src/webserver_cli.cpp
/openbmc/bmcweb/src/webserver_run.cpp
/openbmc/bmcweb/subprojects/boost.wrap
/openbmc/bmcweb/subprojects/gtest.wrap
/openbmc/bmcweb/subprojects/nlohmann_json.wrap
/openbmc/bmcweb/test/http/crow_getroutes_test.cpp
/openbmc/bmcweb/test/http/mutual_tls.cpp
/openbmc/bmcweb/test/http/mutual_tls_meta.cpp
/openbmc/bmcweb/test/http/router_test.cpp
/openbmc/bmcweb/test/http/server_sent_event_test.cpp
/openbmc/bmcweb/test/http/utility_test.cpp
/openbmc/bmcweb/test/http/verb_test.cpp
/openbmc/bmcweb/test/include/credential_pipe_test.cpp
/openbmc/bmcweb/test/include/dbus_utility_test.cpp
/openbmc/bmcweb/test/include/http_utility_test.cpp
/openbmc/bmcweb/test/include/human_sort_test.cpp
/openbmc/bmcweb/test/include/ibm/configfile_test.cpp
/openbmc/bmcweb/test/include/json_html_serializer.cpp
/openbmc/bmcweb/test/include/multipart_test.cpp
/openbmc/bmcweb/test/include/openbmc_dbus_rest_test.cpp
/openbmc/bmcweb/test/include/ossl_random.cpp
/openbmc/bmcweb/test/include/ssl_key_handler_test.cpp
/openbmc/bmcweb/test/include/str_utility_test.cpp
/openbmc/bmcweb/test/redfish-core/include/event_log_test.cpp
/openbmc/bmcweb/test/redfish-core/include/event_matches_filter_test.cpp
/openbmc/bmcweb/test/redfish-core/include/filter_expr_executor_test.cpp
/openbmc/bmcweb/test/redfish-core/include/filter_expr_parser_test.cpp
/openbmc/bmcweb/test/redfish-core/include/privileges_test.cpp
/openbmc/bmcweb/test/redfish-core/include/redfish_aggregator_test.cpp
/openbmc/bmcweb/test/redfish-core/include/redfish_test.cpp
/openbmc/bmcweb/test/redfish-core/include/registries_test.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/dbus_utils.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/hex_utils_test.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/ip_utils_test.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/json_utils_test.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/query_param_test.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/sensor_utils_test.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/stl_utils_test.cpp
/openbmc/bmcweb/test/redfish-core/include/utils/time_utils_test.cpp
/openbmc/bmcweb/test/redfish-core/lib/chassis_test.cpp
/openbmc/bmcweb/test/redfish-core/lib/manager_logservices_journal_test.cpp
/openbmc/bmcweb/test/redfish-core/lib/metadata_test.cpp
/openbmc/bmcweb/test/redfish-core/lib/service_root_test.cpp
/openbmc/bmcweb/test/redfish-core/lib/systems_logservices_postcode.cpp
92e26be521-Aug-2024 Ed Tanous <etanous@nvidia.com>

Reformat meson files with meson format

Meson recently got a new format command in 1.5.0 [1]. It makes slightly
different formatting decisions compared to muon (what we used
previously) but given it

Reformat meson files with meson format

Meson recently got a new format command in 1.5.0 [1]. It makes slightly
different formatting decisions compared to muon (what we used
previously) but given it's the official tool, we should switch to it.

There is one bug resolved recently that requires this format be done
using the meson from master.

Ideally this would be enforced by CI in the future, but that's WIP.

Tested: Whitespace only, code compiles.

[1] https://mesonbuild.com/Commands.html#format
[2] https://github.com/mesonbuild/meson/commit/df706807239095ddbbfd2975b3fe067ad6b5d535

Change-Id: I91506efb659c431e913c717d8a26aa349fccbd75
Signed-off-by: Ed Tanous <etanous@nvidia.com>

show more ...

123