├── .gitignore ├── .markdownlint.yaml ├── .prettierrc.yaml ├── .shellcheck ├── LICENSE ├── OWNERS ├── README.md ├── gen ├── README ├── com │ ├── google │ │ ├── gbmc │ │ │ ├── Hoth │ │ │ │ └── meson.build │ │ │ └── meson.build │ │ └── meson.build │ ├── ibm │ │ ├── Dump │ │ │ ├── Create │ │ │ │ └── meson.build │ │ │ ├── Entry │ │ │ │ ├── Hardware │ │ │ │ │ └── meson.build │ │ │ │ ├── Hostboot │ │ │ │ │ └── meson.build │ │ │ │ ├── Resource │ │ │ │ │ └── meson.build │ │ │ │ ├── SBE │ │ │ │ │ └── meson.build │ │ │ │ └── meson.build │ │ │ ├── Notify │ │ │ │ └── meson.build │ │ │ └── meson.build │ │ ├── Hardware │ │ │ ├── Chassis │ │ │ │ └── meson.build │ │ │ └── meson.build │ │ ├── Logging │ │ │ ├── Policy │ │ │ │ └── meson.build │ │ │ └── meson.build │ │ ├── VPD │ │ │ ├── Collection │ │ │ │ └── meson.build │ │ │ ├── Manager │ │ │ │ └── meson.build │ │ │ └── meson.build │ │ ├── ipzvpd │ │ │ ├── CP00 │ │ │ │ └── meson.build │ │ │ ├── CRP0 │ │ │ │ └── meson.build │ │ │ ├── DINF │ │ │ │ └── meson.build │ │ │ ├── LRP0 │ │ │ │ └── meson.build │ │ │ ├── LRP1 │ │ │ │ └── meson.build │ │ │ ├── LRP2 │ │ │ │ └── meson.build │ │ │ ├── LRP3 │ │ │ │ └── meson.build │ │ │ ├── LRP4 │ │ │ │ └── meson.build │ │ │ ├── LRP5 │ │ │ │ └── meson.build │ │ │ ├── LRP6 │ │ │ │ └── meson.build │ │ │ ├── LRP7 │ │ │ │ └── meson.build │ │ │ ├── LWP0 │ │ │ │ └── meson.build │ │ │ ├── LWP1 │ │ │ │ └── meson.build │ │ │ ├── LWP2 │ │ │ │ └── meson.build │ │ │ ├── LWP3 │ │ │ │ └── meson.build │ │ │ ├── LWP4 │ │ │ │ └── meson.build │ │ │ ├── LWP5 │ │ │ │ └── meson.build │ │ │ ├── LWP6 │ │ │ │ └── meson.build │ │ │ ├── LWP7 │ │ │ │ └── meson.build │ │ │ ├── LXR0 │ │ │ │ └── meson.build │ │ │ ├── Location │ │ │ │ └── meson.build │ │ │ ├── MER0 │ │ │ │ └── meson.build │ │ │ ├── PSPD │ │ │ │ └── meson.build │ │ │ ├── UTIL │ │ │ │ └── meson.build │ │ │ ├── VCEN │ │ │ │ └── meson.build │ │ │ ├── VCFG │ │ │ │ └── meson.build │ │ │ ├── VEIR │ │ │ │ └── meson.build │ │ │ ├── VER0 │ │ │ │ └── meson.build │ │ │ ├── VINI │ │ │ │ └── meson.build │ │ │ ├── VMPU │ │ │ │ └── meson.build │ │ │ ├── VMSC │ │ │ │ └── meson.build │ │ │ ├── VPRI │ │ │ │ └── meson.build │ │ │ ├── VR10 │ │ │ │ └── meson.build │ │ │ ├── VRML │ │ │ │ └── meson.build │ │ │ ├── VRTN │ │ │ │ └── meson.build │ │ │ ├── VSBK │ │ │ │ └── meson.build │ │ │ ├── VSBP │ │ │ │ └── meson.build │ │ │ ├── VSRC │ │ │ │ └── meson.build │ │ │ ├── VSYS │ │ │ │ └── meson.build │ │ │ ├── VW10 │ │ │ │ └── meson.build │ │ │ ├── VWML │ │ │ │ └── meson.build │ │ │ └── meson.build │ │ └── meson.build │ ├── intel │ │ ├── Control │ │ │ ├── NMISource │ │ │ │ └── meson.build │ │ │ ├── OCOTShutdownPolicy │ │ │ │ └── meson.build │ │ │ └── meson.build │ │ ├── Protocol │ │ │ ├── PECI │ │ │ │ ├── Raw │ │ │ │ │ └── meson.build │ │ │ │ └── meson.build │ │ │ └── meson.build │ │ └── meson.build │ ├── meson.build │ └── meta │ │ ├── Hardware │ │ ├── BMC │ │ │ └── meson.build │ │ ├── Harma │ │ │ └── meson.build │ │ └── meson.build │ │ ├── IPMI │ │ ├── UnifiedSEL │ │ │ └── meson.build │ │ └── meson.build │ │ ├── Inventory │ │ ├── ManufacturerExt │ │ │ └── meson.build │ │ └── meson.build │ │ └── meson.build ├── meson.build ├── org │ ├── freedesktop │ │ ├── UPower │ │ │ ├── Device │ │ │ │ └── meson.build │ │ │ └── meson.build │ │ └── meson.build │ ├── meson.build │ └── open_power │ │ ├── Common │ │ ├── Callout │ │ │ └── meson.build │ │ └── meson.build │ │ ├── Control │ │ ├── Host │ │ │ └── meson.build │ │ ├── TPM │ │ │ ├── SecurityKeys │ │ │ │ └── meson.build │ │ │ └── meson.build │ │ └── meson.build │ │ ├── Host │ │ ├── Access │ │ │ └── meson.build │ │ ├── Boot │ │ │ └── meson.build │ │ └── meson.build │ │ ├── Inventory │ │ ├── Decorator │ │ │ ├── Asset │ │ │ │ └── meson.build │ │ │ └── meson.build │ │ └── meson.build │ │ ├── Logging │ │ ├── PEL │ │ │ ├── Entry │ │ │ │ └── meson.build │ │ │ └── meson.build │ │ └── meson.build │ │ ├── OCC │ │ ├── Device │ │ │ └── meson.build │ │ ├── PassThrough │ │ │ └── meson.build │ │ ├── Status │ │ │ └── meson.build │ │ └── meson.build │ │ ├── Proc │ │ ├── FSI │ │ │ └── meson.build │ │ └── meson.build │ │ ├── Sensor │ │ ├── Aggregation │ │ │ ├── History │ │ │ │ ├── Average │ │ │ │ │ └── meson.build │ │ │ │ ├── Maximum │ │ │ │ │ └── meson.build │ │ │ │ └── meson.build │ │ │ └── meson.build │ │ └── meson.build │ │ └── meson.build ├── regenerate-meson ├── run-ci └── xyz │ ├── meson.build │ └── openbmc_project │ ├── Association │ ├── Definitions │ │ └── meson.build │ └── meson.build │ ├── Attestation │ ├── ComponentIntegrity │ │ └── meson.build │ ├── IdentityAuthentication │ │ └── meson.build │ ├── MeasurementSet │ │ └── meson.build │ └── meson.build │ ├── BIOSConfig │ ├── Common │ │ └── meson.build │ ├── Manager │ │ └── meson.build │ ├── Password │ │ └── meson.build │ ├── SecureBoot │ │ └── meson.build │ └── meson.build │ ├── Certs │ ├── Authority │ │ └── meson.build │ ├── CSR │ │ ├── Create │ │ │ └── meson.build │ │ └── meson.build │ ├── Certificate │ │ └── meson.build │ ├── Entry │ │ └── meson.build │ ├── Install │ │ └── meson.build │ ├── InstallAll │ │ └── meson.build │ ├── Replace │ │ └── meson.build │ ├── ReplaceAll │ │ └── meson.build │ └── meson.build │ ├── Channel │ ├── ChannelAccess │ │ └── meson.build │ └── meson.build │ ├── Chassis │ ├── Buttons │ │ ├── Button │ │ │ └── meson.build │ │ ├── HostSelector │ │ │ └── meson.build │ │ ├── ID │ │ │ └── meson.build │ │ ├── NMI │ │ │ └── meson.build │ │ ├── Power │ │ │ └── meson.build │ │ ├── Reset │ │ │ └── meson.build │ │ └── meson.build │ ├── Common │ │ └── meson.build │ ├── Control │ │ ├── NMISource │ │ │ └── meson.build │ │ ├── Power │ │ │ └── meson.build │ │ └── meson.build │ ├── Intrusion │ │ └── meson.build │ └── meson.build │ ├── Collection │ ├── DeleteAll │ │ └── meson.build │ └── meson.build │ ├── Common │ ├── Callout │ │ └── meson.build │ ├── Device │ │ └── meson.build │ ├── FactoryReset │ │ └── meson.build │ ├── FaultLogType │ │ └── meson.build │ ├── File │ │ └── meson.build │ ├── FilePath │ │ └── meson.build │ ├── ObjectPath │ │ └── meson.build │ ├── OriginatedBy │ │ └── meson.build │ ├── Priority │ │ └── meson.build │ ├── Progress │ │ └── meson.build │ ├── TFTP │ │ └── meson.build │ ├── Threshold │ │ └── meson.build │ ├── UUID │ │ └── meson.build │ └── meson.build │ ├── Condition │ ├── HostFirmware │ │ └── meson.build │ └── meson.build │ ├── Configuration │ ├── GPIODeviceDetect │ │ └── meson.build │ ├── GPIOLeakDetector │ │ └── meson.build │ └── meson.build │ ├── Console │ ├── Access │ │ └── meson.build │ ├── UART │ │ └── meson.build │ └── meson.build │ ├── Control │ ├── Boot │ │ ├── Mode │ │ │ └── meson.build │ │ ├── RebootAttempts │ │ │ └── meson.build │ │ ├── RebootPolicy │ │ │ └── meson.build │ │ ├── Source │ │ │ └── meson.build │ │ ├── Type │ │ │ └── meson.build │ │ └── meson.build │ ├── CFMLimit │ │ └── meson.build │ ├── ChassisCapabilities │ │ └── meson.build │ ├── Device │ │ └── meson.build │ ├── FanPwm │ │ └── meson.build │ ├── FanRedundancy │ │ └── meson.build │ ├── FanSpeed │ │ └── meson.build │ ├── FieldMode │ │ └── meson.build │ ├── Host │ │ ├── NMI │ │ │ └── meson.build │ │ ├── TurboAllowed │ │ │ └── meson.build │ │ └── meson.build │ ├── MinimumShipLevel │ │ └── meson.build │ ├── Mode │ │ └── meson.build │ ├── Power │ │ ├── ACPIPowerState │ │ │ └── meson.build │ │ ├── Cap │ │ │ └── meson.build │ │ ├── CapLimits │ │ │ └── meson.build │ │ ├── IdlePowerSaver │ │ │ └── meson.build │ │ ├── Mode │ │ │ └── meson.build │ │ ├── RestorePolicy │ │ │ └── meson.build │ │ ├── Throttle │ │ │ └── meson.build │ │ └── meson.build │ ├── PowerSupplyAttributes │ │ └── meson.build │ ├── PowerSupplyRedundancy │ │ └── meson.build │ ├── Processor │ │ ├── CurrentOperatingConfig │ │ │ └── meson.build │ │ └── meson.build │ ├── Security │ │ ├── RestrictionMode │ │ │ └── meson.build │ │ ├── SpecialMode │ │ │ └── meson.build │ │ └── meson.build │ ├── Service │ │ ├── Attributes │ │ │ └── meson.build │ │ ├── SocketAttributes │ │ │ └── meson.build │ │ └── meson.build │ ├── TPM │ │ ├── Policy │ │ │ └── meson.build │ │ └── meson.build │ ├── ThermalMode │ │ └── meson.build │ ├── VoltageRegulatorControl │ │ └── meson.build │ ├── VoltageRegulatorMode │ │ └── meson.build │ └── meson.build │ ├── Debug │ ├── Pid │ │ ├── ThermalPower │ │ │ └── meson.build │ │ ├── Zone │ │ │ └── meson.build │ │ └── meson.build │ └── meson.build │ ├── Dump │ ├── Create │ │ └── meson.build │ ├── Entry │ │ ├── BMC │ │ │ └── meson.build │ │ ├── FaultLog │ │ │ └── meson.build │ │ ├── NIC │ │ │ └── meson.build │ │ ├── System │ │ │ └── meson.build │ │ └── meson.build │ ├── NewDump │ │ └── meson.build │ └── meson.build │ ├── HardwareIsolation │ ├── Create │ │ └── meson.build │ ├── Entry │ │ └── meson.build │ └── meson.build │ ├── Inventory │ ├── Connector │ │ ├── Embedded │ │ │ └── meson.build │ │ ├── Port │ │ │ └── meson.build │ │ ├── Slot │ │ │ └── meson.build │ │ └── meson.build │ ├── Decorator │ │ ├── Asset │ │ │ └── meson.build │ │ ├── AssetTag │ │ │ └── meson.build │ │ ├── CLEI │ │ │ └── meson.build │ │ ├── Cacheable │ │ │ └── meson.build │ │ ├── Compatible │ │ │ └── meson.build │ │ ├── CoolingType │ │ │ └── meson.build │ │ ├── Dimension │ │ │ └── meson.build │ │ ├── I2CDevice │ │ │ └── meson.build │ │ ├── LocationCode │ │ │ └── meson.build │ │ ├── ManagedHost │ │ │ └── meson.build │ │ ├── ManufacturerExt │ │ │ └── meson.build │ │ ├── MeetsMinimumShipLevel │ │ │ └── meson.build │ │ ├── Replaceable │ │ │ └── meson.build │ │ ├── Revision │ │ │ └── meson.build │ │ ├── Slot │ │ │ └── meson.build │ │ ├── ThermalDirection │ │ │ └── meson.build │ │ ├── UniqueIdentifier │ │ │ └── meson.build │ │ ├── VendorInformation │ │ │ └── meson.build │ │ ├── VoltageControl │ │ │ └── meson.build │ │ └── meson.build │ ├── Item │ │ ├── Accelerator │ │ │ └── meson.build │ │ ├── Battery │ │ │ └── meson.build │ │ ├── Bmc │ │ │ └── meson.build │ │ ├── Board │ │ │ ├── IOBoard │ │ │ │ └── meson.build │ │ │ ├── Motherboard │ │ │ │ └── meson.build │ │ │ └── meson.build │ │ ├── Cable │ │ │ └── meson.build │ │ ├── Chassis │ │ │ └── meson.build │ │ ├── Connector │ │ │ └── meson.build │ │ ├── Cpu │ │ │ ├── OperatingConfig │ │ │ │ └── meson.build │ │ │ └── meson.build │ │ ├── CpuCore │ │ │ └── meson.build │ │ ├── Dimm │ │ │ ├── MemoryLocation │ │ │ │ └── meson.build │ │ │ └── meson.build │ │ ├── DiskBackplane │ │ │ └── meson.build │ │ ├── Drive │ │ │ └── meson.build │ │ ├── Ethernet │ │ │ └── meson.build │ │ ├── FabricAdapter │ │ │ └── meson.build │ │ ├── Fan │ │ │ └── meson.build │ │ ├── Global │ │ │ └── meson.build │ │ ├── NetworkInterface │ │ │ └── meson.build │ │ ├── PCIeDevice │ │ │ └── meson.build │ │ ├── PCIeSlot │ │ │ └── meson.build │ │ ├── PCIeSwitch │ │ │ └── meson.build │ │ ├── Panel │ │ │ └── meson.build │ │ ├── PersistentMemory │ │ │ ├── Partition │ │ │ │ └── meson.build │ │ │ ├── PowerManagementPolicy │ │ │ │ └── meson.build │ │ │ ├── SecurityCapabilities │ │ │ │ └── meson.build │ │ │ └── meson.build │ │ ├── PowerSupply │ │ │ └── meson.build │ │ ├── Rotor │ │ │ └── meson.build │ │ ├── Storage │ │ │ └── meson.build │ │ ├── StorageController │ │ │ └── meson.build │ │ ├── System │ │ │ └── meson.build │ │ ├── Tpm │ │ │ └── meson.build │ │ ├── TrustedComponent │ │ │ └── meson.build │ │ ├── Volume │ │ │ └── meson.build │ │ ├── Vrm │ │ │ └── meson.build │ │ └── meson.build │ ├── Manager │ │ └── meson.build │ ├── Source │ │ ├── DevicePresence │ │ │ └── meson.build │ │ ├── PLDM │ │ │ ├── Entity │ │ │ │ └── meson.build │ │ │ ├── FRU │ │ │ │ └── meson.build │ │ │ └── meson.build │ │ └── meson.build │ └── meson.build │ ├── Ipmi │ ├── SOL │ │ └── meson.build │ ├── SessionInfo │ │ └── meson.build │ └── meson.build │ ├── Led │ ├── Group │ │ └── meson.build │ ├── Physical │ │ └── meson.build │ └── meson.build │ ├── Logging │ ├── Create │ │ └── meson.build │ ├── Entry │ │ └── meson.build │ ├── ErrorBlocksTransition │ │ └── meson.build │ ├── Event │ │ └── meson.build │ ├── IPMI │ │ └── meson.build │ ├── SEL │ │ └── meson.build │ ├── Settings │ │ └── meson.build │ ├── Syslog │ │ ├── Destination │ │ │ ├── Mail │ │ │ │ ├── Create │ │ │ │ │ └── meson.build │ │ │ │ ├── Entry │ │ │ │ │ └── meson.build │ │ │ │ └── meson.build │ │ │ └── meson.build │ │ └── meson.build │ └── meson.build │ ├── MCTP │ ├── Endpoint │ │ └── meson.build │ └── meson.build │ ├── Memory │ ├── MemoryECC │ │ └── meson.build │ └── meson.build │ ├── Metric │ ├── Reset │ │ └── meson.build │ ├── Value │ │ └── meson.build │ └── meson.build │ ├── Network │ ├── Client │ │ ├── Create │ │ │ └── meson.build │ │ └── meson.build │ ├── DHCPConfiguration │ │ └── meson.build │ ├── EthernetInterface │ │ └── meson.build │ ├── Experimental │ │ ├── Bond │ │ │ └── meson.build │ │ ├── Tunnel │ │ │ └── meson.build │ │ └── meson.build │ ├── IP │ │ └── meson.build │ ├── MACAddress │ │ └── meson.build │ ├── Neighbor │ │ └── meson.build │ ├── StaticGateway │ │ ├── Create │ │ │ └── meson.build │ │ └── meson.build │ ├── SystemConfiguration │ │ └── meson.build │ ├── VLAN │ │ └── meson.build │ └── meson.build │ ├── Nvme │ ├── Status │ │ └── meson.build │ └── meson.build │ ├── Object │ ├── Delete │ │ └── meson.build │ ├── Enable │ │ └── meson.build │ └── meson.build │ ├── ObjectMapper │ └── meson.build │ ├── PFR │ ├── Attributes │ │ └── meson.build │ └── meson.build │ ├── PLDM │ ├── Event │ │ └── meson.build │ ├── PDR │ │ └── meson.build │ ├── Provider │ │ ├── Certs │ │ │ ├── Authority │ │ │ │ ├── CSR │ │ │ │ │ └── meson.build │ │ │ │ └── meson.build │ │ │ └── meson.build │ │ └── meson.build │ └── meson.build │ ├── ScheduledTime │ └── meson.build │ ├── Sensor │ ├── Accuracy │ │ └── meson.build │ ├── Device │ │ └── meson.build │ ├── Purpose │ │ └── meson.build │ ├── Threshold │ │ ├── Critical │ │ │ └── meson.build │ │ ├── HardShutdown │ │ │ └── meson.build │ │ ├── PerformanceLoss │ │ │ └── meson.build │ │ ├── SoftShutdown │ │ │ └── meson.build │ │ ├── Warning │ │ │ └── meson.build │ │ └── meson.build │ ├── Value │ │ └── meson.build │ ├── ValueMutability │ │ └── meson.build │ └── meson.build │ ├── Smbios │ ├── MDR_V2 │ │ └── meson.build │ └── meson.build │ ├── Software │ ├── Activation │ │ └── meson.build │ ├── ActivationBlocksTransition │ │ └── meson.build │ ├── ActivationProgress │ │ └── meson.build │ ├── ApplyOptions │ │ └── meson.build │ ├── ApplyTime │ │ └── meson.build │ ├── ExtendedVersion │ │ └── meson.build │ ├── Image │ │ └── meson.build │ ├── MinimumVersion │ │ └── meson.build │ ├── RedundancyPriority │ │ └── meson.build │ ├── RequestedRedundancyPriority │ │ └── meson.build │ ├── Settings │ │ └── meson.build │ ├── Update │ │ └── meson.build │ ├── Version │ │ └── meson.build │ └── meson.build │ ├── State │ ├── BMC │ │ ├── Redundancy │ │ │ └── meson.build │ │ └── meson.build │ ├── BMCRedundancy │ │ └── meson.build │ ├── Boot │ │ ├── PostCode │ │ │ └── meson.build │ │ ├── Progress │ │ │ └── meson.build │ │ ├── Raw │ │ │ └── meson.build │ │ └── meson.build │ ├── Cable │ │ └── meson.build │ ├── Chassis │ │ └── meson.build │ ├── Decorator │ │ ├── Availability │ │ │ └── meson.build │ │ ├── OperationalStatus │ │ │ └── meson.build │ │ ├── PowerState │ │ │ └── meson.build │ │ ├── PowerSystemInputs │ │ │ └── meson.build │ │ └── meson.build │ ├── Drive │ │ └── meson.build │ ├── Host │ │ └── meson.build │ ├── Leak │ │ ├── Detector │ │ │ └── meson.build │ │ ├── DetectorGroup │ │ │ └── meson.build │ │ └── meson.build │ ├── LockOut │ │ └── meson.build │ ├── OperatingSystem │ │ ├── Status │ │ │ └── meson.build │ │ └── meson.build │ ├── Power │ │ └── meson.build │ ├── PowerOnHours │ │ └── meson.build │ ├── SMC │ │ └── meson.build │ ├── ScheduledHostTransition │ │ └── meson.build │ ├── Shutdown │ │ ├── Inventory │ │ │ └── meson.build │ │ ├── Power │ │ │ └── meson.build │ │ ├── ThermalEvent │ │ │ └── meson.build │ │ └── meson.build │ ├── SystemdTarget │ │ └── meson.build │ ├── Thermal │ │ └── meson.build │ ├── Watchdog │ │ └── meson.build │ └── meson.build │ ├── Telemetry │ ├── Report │ │ └── meson.build │ ├── ReportManager │ │ └── meson.build │ ├── Trigger │ │ └── meson.build │ ├── TriggerManager │ │ └── meson.build │ └── meson.build │ ├── Time │ ├── EpochTime │ │ └── meson.build │ ├── Synchronization │ │ └── meson.build │ └── meson.build │ ├── User │ ├── AccountPolicy │ │ └── meson.build │ ├── Attributes │ │ └── meson.build │ ├── Common │ │ └── meson.build │ ├── Ldap │ │ ├── Config │ │ │ └── meson.build │ │ ├── Create │ │ │ └── meson.build │ │ └── meson.build │ ├── Manager │ │ └── meson.build │ ├── MultiFactorAuthConfiguration │ │ └── meson.build │ ├── PrivilegeMapper │ │ └── meson.build │ ├── PrivilegeMapperEntry │ │ └── meson.build │ ├── TOTPAuthenticator │ │ └── meson.build │ ├── TOTPState │ │ └── meson.build │ └── meson.build │ ├── VirtualMedia │ ├── Legacy │ │ └── meson.build │ ├── MountPoint │ │ └── meson.build │ ├── Process │ │ └── meson.build │ ├── Proxy │ │ └── meson.build │ ├── Stats │ │ └── meson.build │ └── meson.build │ └── meson.build ├── meson.build ├── meson.options ├── registry └── meson.build ├── requirements.md ├── subprojects └── sdbusplus.wrap └── yaml ├── com ├── google │ └── gbmc │ │ ├── Hoth.errors.yaml │ │ └── Hoth.interface.yaml ├── ibm │ ├── Dump │ │ ├── Create.interface.yaml │ │ ├── Entry │ │ │ ├── Hardware.interface.yaml │ │ │ ├── Hostboot.interface.yaml │ │ │ ├── Resource.interface.yaml │ │ │ └── SBE.interface.yaml │ │ └── Notify.interface.yaml │ ├── Hardware │ │ └── Chassis.interface.yaml │ ├── Logging │ │ └── Policy.interface.yaml │ ├── VPD.errors.yaml │ ├── VPD │ │ ├── Collection.interface.yaml │ │ └── Manager.interface.yaml │ └── ipzvpd │ │ ├── CP00.interface.yaml │ │ ├── CRP0.interface.yaml │ │ ├── DINF.interface.yaml │ │ ├── LRP0.interface.yaml │ │ ├── LRP1.interface.yaml │ │ ├── LRP2.interface.yaml │ │ ├── LRP3.interface.yaml │ │ ├── LRP4.interface.yaml │ │ ├── LRP5.interface.yaml │ │ ├── LRP6.interface.yaml │ │ ├── LRP7.interface.yaml │ │ ├── LWP0.interface.yaml │ │ ├── LWP1.interface.yaml │ │ ├── LWP2.interface.yaml │ │ ├── LWP3.interface.yaml │ │ ├── LWP4.interface.yaml │ │ ├── LWP5.interface.yaml │ │ ├── LWP6.interface.yaml │ │ ├── LWP7.interface.yaml │ │ ├── LXR0.interface.yaml │ │ ├── Location.interface.yaml │ │ ├── MER0.interface.yaml │ │ ├── PSPD.interface.yaml │ │ ├── README.md │ │ ├── UTIL.interface.yaml │ │ ├── VCEN.interface.yaml │ │ ├── VCFG.interface.yaml │ │ ├── VEIR.interface.yaml │ │ ├── VER0.interface.yaml │ │ ├── VINI.interface.yaml │ │ ├── VMPU.interface.yaml │ │ ├── VMSC.interface.yaml │ │ ├── VPRI.interface.yaml │ │ ├── VR10.interface.yaml │ │ ├── VRML.interface.yaml │ │ ├── VRTN.interface.yaml │ │ ├── VSBK.interface.yaml │ │ ├── VSBP.interface.yaml │ │ ├── VSRC.interface.yaml │ │ ├── VSYS.interface.yaml │ │ ├── VW10.interface.yaml │ │ └── VWML.interface.yaml ├── intel │ ├── Control │ │ ├── NMISource.interface.yaml │ │ └── OCOTShutdownPolicy.interface.yaml │ └── Protocol │ │ └── PECI │ │ └── Raw.interface.yaml └── meta │ ├── Hardware │ ├── BMC.interface.yaml │ └── Harma.interface.yaml │ ├── IPMI │ └── UnifiedSEL.events.yaml │ └── Inventory │ └── ManufacturerExt.interface.yaml ├── org ├── freedesktop │ └── UPower │ │ └── Device.interface.yaml └── open_power │ ├── Common │ ├── Callout.errors.yaml │ └── Callout.metadata.yaml │ ├── Control │ ├── Host.interface.yaml │ └── TPM │ │ └── SecurityKeys.interface.yaml │ ├── Host.errors.yaml │ ├── Host.metadata.yaml │ ├── Host │ ├── Access.errors.yaml │ ├── Access.metadata.yaml │ └── Boot.errors.yaml │ ├── Inventory │ └── Decorator │ │ └── Asset.interface.yaml │ ├── Logging │ ├── PEL.interface.yaml │ └── PEL │ │ └── Entry.interface.yaml │ ├── OCC │ ├── Device.errors.yaml │ ├── Device.metadata.yaml │ ├── PassThrough.interface.yaml │ └── Status.interface.yaml │ ├── Proc │ ├── FSI.errors.yaml │ └── FSI.metadata.yaml │ └── Sensor │ └── Aggregation │ └── History │ ├── Average.interface.yaml │ └── Maximum.interface.yaml └── xyz └── openbmc_project ├── Association.interface.yaml ├── Association └── Definitions.interface.yaml ├── Attestation ├── ComponentIntegrity.interface.yaml ├── IdentityAuthentication.interface.yaml └── MeasurementSet.interface.yaml ├── BIOSConfig ├── Common.errors.yaml ├── Common.metadata.yaml ├── Manager.interface.yaml ├── Password.interface.yaml ├── README.md └── SecureBoot.interface.yaml ├── Certs.errors.yaml ├── Certs.metadata.yaml ├── Certs ├── Authority.interface.yaml ├── CSR.interface.yaml ├── CSR │ └── Create.interface.yaml ├── Certificate.interface.yaml ├── Entry.interface.yaml ├── Install.interface.yaml ├── InstallAll.interface.yaml ├── README.md ├── Replace.interface.yaml └── ReplaceAll.interface.yaml ├── Channel └── ChannelAccess.interface.yaml ├── Chassis ├── Buttons │ ├── Button.interface.yaml │ ├── HostSelector.interface.yaml │ ├── ID.interface.yaml │ ├── NMI.interface.yaml │ ├── Power.interface.yaml │ └── Reset.interface.yaml ├── Common.errors.yaml ├── Control │ ├── NMISource.interface.yaml │ └── Power.interface.yaml ├── Intrusion.interface.yaml └── README.md ├── Collection └── DeleteAll.interface.yaml ├── Common.errors.yaml ├── Common.metadata.yaml ├── Common ├── Callout.errors.yaml ├── Callout.metadata.yaml ├── Callout │ └── README.md ├── Device.errors.yaml ├── Device.metadata.yaml ├── FactoryReset.interface.yaml ├── FactoryReset │ └── README.md ├── FaultLogType.interface.yaml ├── File.errors.yaml ├── File.metadata.yaml ├── FilePath.interface.yaml ├── ObjectPath.interface.yaml ├── OriginatedBy.interface.yaml ├── Priority.interface.yaml ├── Progress.interface.yaml ├── TFTP.interface.yaml ├── Threshold.interface.yaml └── UUID.interface.yaml ├── Condition └── HostFirmware.interface.yaml ├── Configuration ├── GPIODeviceDetect.interface.yaml ├── GPIOLeakDetector.interface.yaml └── README.md ├── Console ├── Access.interface.yaml └── UART.interface.yaml ├── Control ├── Boot │ ├── Mode.interface.yaml │ ├── RebootAttempts.interface.yaml │ ├── RebootPolicy.interface.yaml │ ├── Source.interface.yaml │ └── Type.interface.yaml ├── CFMLimit.interface.yaml ├── ChassisCapabilities.interface.yaml ├── Device.errors.yaml ├── Device.metadata.yaml ├── FanPwm.interface.yaml ├── FanRedundancy.interface.yaml ├── FanSpeed.interface.yaml ├── FieldMode.interface.yaml ├── Host.errors.yaml ├── Host.interface.yaml ├── Host.metadata.yaml ├── Host │ ├── NMI.interface.yaml │ └── TurboAllowed.interface.yaml ├── MinimumShipLevel.interface.yaml ├── Mode.interface.yaml ├── Power │ ├── ACPIPowerState.interface.yaml │ ├── Cap.interface.yaml │ ├── CapLimits.interface.yaml │ ├── IdlePowerSaver.interface.yaml │ ├── Mode.interface.yaml │ ├── RestorePolicy.interface.yaml │ └── Throttle.interface.yaml ├── PowerSupplyAttributes.interface.yaml ├── PowerSupplyRedundancy.interface.yaml ├── Processor │ └── CurrentOperatingConfig.interface.yaml ├── README.msl.md ├── Security │ ├── RestrictionMode.interface.yaml │ └── SpecialMode.interface.yaml ├── Service │ ├── Attributes.interface.yaml │ ├── README.md │ └── SocketAttributes.interface.yaml ├── TPM │ └── Policy.interface.yaml ├── ThermalMode.interface.yaml ├── VoltageRegulatorControl.interface.yaml └── VoltageRegulatorMode.interface.yaml ├── Debug └── Pid │ ├── ThermalPower.interface.yaml │ └── Zone.interface.yaml ├── Dump ├── Create.errors.yaml ├── Create.interface.yaml ├── Create.metadata.yaml ├── Entry.interface.yaml ├── Entry │ ├── BMC.interface.yaml │ ├── FaultLog.interface.yaml │ ├── NIC.interface.yaml │ └── System.interface.yaml └── NewDump.interface.yaml ├── HardwareIsolation.errors.yaml ├── HardwareIsolation ├── Create.interface.yaml └── Entry.interface.yaml ├── Inventory.errors.yaml ├── Inventory.metadata.yaml ├── Inventory ├── Connector │ ├── Embedded.interface.yaml │ ├── Port.interface.yaml │ └── Slot.interface.yaml ├── Decorator │ ├── Asset.interface.yaml │ ├── AssetTag.interface.yaml │ ├── CLEI.interface.yaml │ ├── Cacheable.interface.yaml │ ├── Compatible.interface.yaml │ ├── CoolingType.interface.yaml │ ├── Dimension.interface.yaml │ ├── I2CDevice.interface.yaml │ ├── LocationCode.interface.yaml │ ├── ManagedHost.interface.yaml │ ├── ManufacturerExt.interface.yaml │ ├── MeetsMinimumShipLevel.interface.yaml │ ├── Replaceable.interface.yaml │ ├── Revision.interface.yaml │ ├── Slot.interface.yaml │ ├── ThermalDirection.interface.yaml │ ├── UniqueIdentifier.interface.yaml │ ├── VendorInformation.interface.yaml │ └── VoltageControl.interface.yaml ├── Item.interface.yaml ├── Item │ ├── Accelerator.interface.yaml │ ├── Battery.interface.yaml │ ├── Bmc.interface.yaml │ ├── Board.interface.yaml │ ├── Board │ │ ├── IOBoard.interface.yaml │ │ └── Motherboard.interface.yaml │ ├── Cable.interface.yaml │ ├── Chassis.interface.yaml │ ├── Connector.interface.yaml │ ├── Cpu.interface.yaml │ ├── Cpu │ │ └── OperatingConfig.interface.yaml │ ├── CpuCore.interface.yaml │ ├── Dimm.interface.yaml │ ├── Dimm │ │ └── MemoryLocation.interface.yaml │ ├── DiskBackplane.interface.yaml │ ├── Drive.interface.yaml │ ├── Ethernet.interface.yaml │ ├── FabricAdapter.interface.yaml │ ├── Fan.interface.yaml │ ├── Global.interface.yaml │ ├── NetworkInterface.interface.yaml │ ├── PCIeDevice.interface.yaml │ ├── PCIeSlot.interface.yaml │ ├── PCIeSwitch.interface.yaml │ ├── Panel.interface.yaml │ ├── PersistentMemory.interface.yaml │ ├── PersistentMemory │ │ ├── Partition.interface.yaml │ │ ├── PowerManagementPolicy.interface.yaml │ │ └── SecurityCapabilities.interface.yaml │ ├── PowerSupply.interface.yaml │ ├── README.md │ ├── Rotor.interface.yaml │ ├── Storage.interface.yaml │ ├── StorageController.interface.yaml │ ├── System.interface.yaml │ ├── Tpm.interface.yaml │ ├── TrustedComponent.interface.yaml │ ├── Volume.interface.yaml │ └── Vrm.interface.yaml ├── Manager.interface.yaml └── Source │ ├── DevicePresence.interface.yaml │ └── PLDM │ ├── Entity.interface.yaml │ └── FRU.interface.yaml ├── Ipmi ├── SESSION_README.md ├── SOL.interface.yaml └── SessionInfo.interface.yaml ├── Led ├── Group.interface.yaml ├── Physical.interface.yaml └── README.md ├── Logging.events.yaml ├── Logging ├── Create.interface.yaml ├── Entry.interface.yaml ├── ErrorBlocksTransition.interface.yaml ├── Event.interface.yaml ├── IPMI.interface.yaml ├── README.md ├── SEL.errors.yaml ├── SEL.metadata.yaml ├── Settings.interface.yaml └── Syslog │ └── Destination │ ├── Mail.interface.yaml │ └── Mail │ ├── Create.interface.yaml │ └── Entry.interface.yaml ├── MCTP ├── Endpoint.interface.yaml └── README.md ├── Memory ├── MemoryECC.errors.yaml └── MemoryECC.interface.yaml ├── Metric ├── Reset.interface.yaml └── Value.interface.yaml ├── Network ├── Client.interface.yaml ├── Client │ └── Create.interface.yaml ├── DHCPConfiguration.interface.yaml ├── EthernetInterface.interface.yaml ├── Experimental │ ├── Bond.interface.yaml │ └── Tunnel.interface.yaml ├── IP.interface.yaml ├── MACAddress.interface.yaml ├── Neighbor.interface.yaml ├── README.md ├── StaticGateway.interface.yaml ├── StaticGateway │ └── Create.interface.yaml ├── SystemConfiguration.interface.yaml └── VLAN.interface.yaml ├── Nvme ├── Status.errors.yaml └── Status.interface.yaml ├── Object ├── Delete.interface.yaml └── Enable.interface.yaml ├── ObjectMapper.interface.yaml ├── PFR └── Attributes.interface.yaml ├── PLDM ├── Event.interface.yaml ├── PDR.interface.yaml └── Provider │ └── Certs │ └── Authority │ └── CSR.interface.yaml ├── ScheduledTime.errors.yaml ├── ScheduledTime.metadata.yaml ├── Sensor ├── Accuracy.interface.yaml ├── Device.errors.yaml ├── Device.metadata.yaml ├── Purpose.interface.yaml ├── Threshold.errors.yaml ├── Threshold.events.yaml ├── Threshold.metadata.yaml ├── Threshold │ ├── Critical.interface.yaml │ ├── HardShutdown.interface.yaml │ ├── PerformanceLoss.interface.yaml │ ├── SoftShutdown.interface.yaml │ └── Warning.interface.yaml ├── Value.interface.yaml └── ValueMutability.interface.yaml ├── Smbios ├── MDR_V2.errors.yaml ├── MDR_V2.interface.yaml └── README.md ├── Software ├── Activation.interface.yaml ├── ActivationBlocksTransition.interface.yaml ├── ActivationProgress.interface.yaml ├── ApplyOptions.interface.yaml ├── ApplyTime.interface.yaml ├── ExtendedVersion.interface.yaml ├── Image.errors.yaml ├── Image.metadata.yaml ├── MinimumVersion.interface.yaml ├── README.md ├── RedundancyPriority.interface.yaml ├── RequestedRedundancyPriority.interface.yaml ├── Settings.interface.yaml ├── Update.errors.yaml ├── Update.interface.yaml ├── Version.errors.yaml ├── Version.interface.yaml └── Version.metadata.yaml ├── State ├── BMC.errors.yaml ├── BMC.events.yaml ├── BMC.interface.yaml ├── BMC.metadata.yaml ├── BMC │ └── Redundancy.interface.yaml ├── BMCRedundancy.interface.yaml ├── Boot │ ├── PostCode.interface.yaml │ ├── Progress.interface.yaml │ └── Raw.interface.yaml ├── Cable.events.yaml ├── Chassis.errors.yaml ├── Chassis.interface.yaml ├── Chassis.metadata.yaml ├── Decorator │ ├── Availability.interface.yaml │ ├── OperationalStatus.interface.yaml │ ├── PowerState.interface.yaml │ └── PowerSystemInputs.interface.yaml ├── Drive.interface.yaml ├── Host.errors.yaml ├── Host.interface.yaml ├── Host.metadata.yaml ├── Leak │ ├── Detector.events.yaml │ ├── Detector.interface.yaml │ ├── DetectorGroup.events.yaml │ └── DetectorGroup.interface.yaml ├── LockOut.events.yaml ├── OperatingSystem │ └── Status.interface.yaml ├── Power.events.yaml ├── PowerOnHours.interface.yaml ├── README.md ├── SMC.events.yaml ├── ScheduledHostTransition.interface.yaml ├── Shutdown │ ├── Inventory.errors.yaml │ ├── Power.errors.yaml │ └── ThermalEvent.errors.yaml ├── SystemdTarget.errors.yaml ├── SystemdTarget.metadata.yaml ├── Thermal.events.yaml └── Watchdog.interface.yaml ├── Telemetry ├── Report.interface.yaml ├── ReportManager.interface.yaml ├── Trigger.interface.yaml └── TriggerManager.interface.yaml ├── Time.errors.yaml ├── Time.metadata.yaml ├── Time ├── EpochTime.interface.yaml └── Synchronization.interface.yaml ├── User ├── AccountPolicy.interface.yaml ├── Attributes.interface.yaml ├── Common.errors.yaml ├── Common.metadata.yaml ├── Ldap │ ├── Config.interface.yaml │ └── Create.interface.yaml ├── Manager.interface.yaml ├── MultiFactorAuthConfiguration.interface.yaml ├── PrivilegeMapper.interface.yaml ├── PrivilegeMapperEntry.interface.yaml ├── README.md ├── TOTPAuthenticator.interface.yaml └── TOTPState.interface.yaml └── VirtualMedia ├── Legacy.interface.yaml ├── MountPoint.interface.yaml ├── Process.interface.yaml ├── Proxy.interface.yaml ├── README.md └── Stats.interface.yaml /.gitignore: -------------------------------------------------------------------------------- 1 | build*/ 2 | subprojects/* 3 | !subprojects/*.wrap 4 | -------------------------------------------------------------------------------- /.markdownlint.yaml: -------------------------------------------------------------------------------- 1 | default: true 2 | MD024: 3 | siblings_only: true 4 | -------------------------------------------------------------------------------- /.prettierrc.yaml: -------------------------------------------------------------------------------- 1 | tabWidth: 4 2 | printWidth: 80 3 | proseWrap: "always" 4 | overrides: 5 | - files: "*.md" 6 | options: 7 | tabWidth: 2 8 | -------------------------------------------------------------------------------- /.shellcheck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openbmc/phosphor-dbus-interfaces/bc090a9244a783543038241e81b929e2340ab859/.shellcheck -------------------------------------------------------------------------------- /gen/README: -------------------------------------------------------------------------------- 1 | This directory contains generated meson.build files from sdbus++-gen-meson. 2 | Do not edit them by hand. 3 | -------------------------------------------------------------------------------- /gen/com/google/gbmc/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Hoth') 3 | 4 | sdbusplus_current_path = 'com/google/gbmc' 5 | 6 | generated_markdown += custom_target( 7 | 'com/google/gbmc/Hoth__markdown'.underscorify(), 8 | input: [ 9 | '../../../../yaml/com/google/gbmc/Hoth.errors.yaml', 10 | '../../../../yaml/com/google/gbmc/Hoth.interface.yaml', 11 | ], 12 | output: ['Hoth.md'], 13 | depend_files: sdbusplusplus_depfiles, 14 | command: [ 15 | sdbuspp_gen_meson_prog, 16 | '--command', 17 | 'markdown', 18 | '--output', 19 | meson.current_build_dir(), 20 | '--tool', 21 | sdbusplusplus_prog, 22 | '--directory', 23 | meson.current_source_dir() / '../../../../yaml', 24 | 'com/google/gbmc/Hoth', 25 | ], 26 | install: should_generate_markdown, 27 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 28 | build_by_default: should_generate_markdown, 29 | ) 30 | 31 | -------------------------------------------------------------------------------- /gen/com/google/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('gbmc') 3 | -------------------------------------------------------------------------------- /gen/com/ibm/Hardware/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Chassis') 3 | 4 | sdbusplus_current_path = 'com/ibm/Hardware' 5 | 6 | generated_markdown += custom_target( 7 | 'com/ibm/Hardware/Chassis__markdown'.underscorify(), 8 | input: ['../../../../yaml/com/ibm/Hardware/Chassis.interface.yaml'], 9 | output: ['Chassis.md'], 10 | depend_files: sdbusplusplus_depfiles, 11 | command: [ 12 | sdbuspp_gen_meson_prog, 13 | '--command', 14 | 'markdown', 15 | '--output', 16 | meson.current_build_dir(), 17 | '--tool', 18 | sdbusplusplus_prog, 19 | '--directory', 20 | meson.current_source_dir() / '../../../../yaml', 21 | 'com/ibm/Hardware/Chassis', 22 | ], 23 | install: should_generate_markdown, 24 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 25 | build_by_default: should_generate_markdown, 26 | ) 27 | 28 | -------------------------------------------------------------------------------- /gen/com/ibm/Logging/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Policy') 3 | 4 | sdbusplus_current_path = 'com/ibm/Logging' 5 | 6 | generated_markdown += custom_target( 7 | 'com/ibm/Logging/Policy__markdown'.underscorify(), 8 | input: ['../../../../yaml/com/ibm/Logging/Policy.interface.yaml'], 9 | output: ['Policy.md'], 10 | depend_files: sdbusplusplus_depfiles, 11 | command: [ 12 | sdbuspp_gen_meson_prog, 13 | '--command', 14 | 'markdown', 15 | '--output', 16 | meson.current_build_dir(), 17 | '--tool', 18 | sdbusplusplus_prog, 19 | '--directory', 20 | meson.current_source_dir() / '../../../../yaml', 21 | 'com/ibm/Logging/Policy', 22 | ], 23 | install: should_generate_markdown, 24 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 25 | build_by_default: should_generate_markdown, 26 | ) 27 | 28 | -------------------------------------------------------------------------------- /gen/com/ibm/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Dump') 3 | subdir('Hardware') 4 | subdir('Logging') 5 | subdir('VPD') 6 | subdir('ipzvpd') 7 | 8 | sdbusplus_current_path = 'com/ibm' 9 | 10 | generated_markdown += custom_target( 11 | 'com/ibm/VPD__markdown'.underscorify(), 12 | input: ['../../../yaml/com/ibm/VPD.errors.yaml'], 13 | output: ['VPD.md'], 14 | depend_files: sdbusplusplus_depfiles, 15 | command: [ 16 | sdbuspp_gen_meson_prog, 17 | '--command', 18 | 'markdown', 19 | '--output', 20 | meson.current_build_dir(), 21 | '--tool', 22 | sdbusplusplus_prog, 23 | '--directory', 24 | meson.current_source_dir() / '../../../yaml', 25 | 'com/ibm/VPD', 26 | ], 27 | install: should_generate_markdown, 28 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 29 | build_by_default: should_generate_markdown, 30 | ) 31 | 32 | -------------------------------------------------------------------------------- /gen/com/intel/Protocol/PECI/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Raw') 3 | 4 | sdbusplus_current_path = 'com/intel/Protocol/PECI' 5 | 6 | generated_markdown += custom_target( 7 | 'com/intel/Protocol/PECI/Raw__markdown'.underscorify(), 8 | input: ['../../../../../yaml/com/intel/Protocol/PECI/Raw.interface.yaml'], 9 | output: ['Raw.md'], 10 | depend_files: sdbusplusplus_depfiles, 11 | command: [ 12 | sdbuspp_gen_meson_prog, 13 | '--command', 14 | 'markdown', 15 | '--output', 16 | meson.current_build_dir(), 17 | '--tool', 18 | sdbusplusplus_prog, 19 | '--directory', 20 | meson.current_source_dir() / '../../../../../yaml', 21 | 'com/intel/Protocol/PECI/Raw', 22 | ], 23 | install: should_generate_markdown, 24 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 25 | build_by_default: should_generate_markdown, 26 | ) 27 | 28 | -------------------------------------------------------------------------------- /gen/com/intel/Protocol/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('PECI') 3 | -------------------------------------------------------------------------------- /gen/com/intel/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Control') 3 | subdir('Protocol') 4 | -------------------------------------------------------------------------------- /gen/com/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('google') 3 | subdir('ibm') 4 | subdir('intel') 5 | subdir('meta') 6 | -------------------------------------------------------------------------------- /gen/com/meta/IPMI/UnifiedSEL/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'com/meta/IPMI/UnifiedSEL' 4 | 5 | generated_sources += custom_target( 6 | 'com/meta/IPMI/UnifiedSEL__cpp'.underscorify(), 7 | input: ['../../../../../yaml/com/meta/IPMI/UnifiedSEL.events.yaml'], 8 | output: ['event.cpp', 'event.hpp'], 9 | depend_files: sdbusplusplus_depfiles, 10 | command: [ 11 | sdbuspp_gen_meson_prog, 12 | '--command', 13 | 'cpp', 14 | '--output', 15 | meson.current_build_dir(), 16 | '--tool', 17 | sdbusplusplus_prog, 18 | '--directory', 19 | meson.current_source_dir() / '../../../../../yaml', 20 | 'com/meta/IPMI/UnifiedSEL', 21 | ], 22 | install: should_generate_cpp, 23 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 24 | build_by_default: should_generate_cpp, 25 | ) 26 | 27 | -------------------------------------------------------------------------------- /gen/com/meta/Inventory/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('ManufacturerExt') 3 | 4 | sdbusplus_current_path = 'com/meta/Inventory' 5 | 6 | generated_markdown += custom_target( 7 | 'com/meta/Inventory/ManufacturerExt__markdown'.underscorify(), 8 | input: [ 9 | '../../../../yaml/com/meta/Inventory/ManufacturerExt.interface.yaml', 10 | ], 11 | output: ['ManufacturerExt.md'], 12 | depend_files: sdbusplusplus_depfiles, 13 | command: [ 14 | sdbuspp_gen_meson_prog, 15 | '--command', 16 | 'markdown', 17 | '--output', 18 | meson.current_build_dir(), 19 | '--tool', 20 | sdbusplusplus_prog, 21 | '--directory', 22 | meson.current_source_dir() / '../../../../yaml', 23 | 'com/meta/Inventory/ManufacturerExt', 24 | ], 25 | install: should_generate_markdown, 26 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 27 | build_by_default: should_generate_markdown, 28 | ) 29 | 30 | -------------------------------------------------------------------------------- /gen/com/meta/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Hardware') 3 | subdir('IPMI') 4 | subdir('Inventory') 5 | -------------------------------------------------------------------------------- /gen/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | sdbuspp_gen_meson_ver = run_command( 3 | sdbuspp_gen_meson_prog, 4 | '--version', 5 | check: true, 6 | ).stdout().strip().split( 7 | '\n', 8 | )[0] 9 | 10 | if sdbuspp_gen_meson_ver != 'sdbus++-gen-meson version 10' 11 | warning('Generated meson files from wrong version of sdbus++-gen-meson.') 12 | warning( 13 | 'Expected "sdbus++-gen-meson version 10", got:', 14 | sdbuspp_gen_meson_ver, 15 | ) 16 | endif 17 | 18 | inst_markdown_dir = get_option('datadir') / 'doc' / meson.project_name() 19 | inst_registry_dir = get_option('datadir') / 'redfish-registry' / meson.project_name() 20 | 21 | generated_sources = [] 22 | generated_markdown = [] 23 | generated_registry = [] 24 | 25 | foreach d : yaml_selected_subdirs 26 | subdir(d) 27 | endforeach 28 | 29 | generated_headers = [] 30 | foreach s : generated_sources 31 | foreach f : s.to_list() 32 | if f.full_path().endswith('.hpp') 33 | generated_headers += f 34 | endif 35 | endforeach 36 | endforeach 37 | 38 | -------------------------------------------------------------------------------- /gen/org/freedesktop/UPower/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Device') 3 | 4 | sdbusplus_current_path = 'org/freedesktop/UPower' 5 | 6 | generated_markdown += custom_target( 7 | 'org/freedesktop/UPower/Device__markdown'.underscorify(), 8 | input: ['../../../../yaml/org/freedesktop/UPower/Device.interface.yaml'], 9 | output: ['Device.md'], 10 | depend_files: sdbusplusplus_depfiles, 11 | command: [ 12 | sdbuspp_gen_meson_prog, 13 | '--command', 14 | 'markdown', 15 | '--output', 16 | meson.current_build_dir(), 17 | '--tool', 18 | sdbusplusplus_prog, 19 | '--directory', 20 | meson.current_source_dir() / '../../../../yaml', 21 | 'org/freedesktop/UPower/Device', 22 | ], 23 | install: should_generate_markdown, 24 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 25 | build_by_default: should_generate_markdown, 26 | ) 27 | 28 | -------------------------------------------------------------------------------- /gen/org/freedesktop/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('UPower') 3 | -------------------------------------------------------------------------------- /gen/org/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('freedesktop') 3 | subdir('open_power') 4 | -------------------------------------------------------------------------------- /gen/org/open_power/Common/Callout/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'org/open_power/Common/Callout' 4 | 5 | generated_sources += custom_target( 6 | 'org/open_power/Common/Callout__cpp'.underscorify(), 7 | input: ['../../../../../yaml/org/open_power/Common/Callout.errors.yaml'], 8 | output: ['error.cpp', 'error.hpp'], 9 | depend_files: sdbusplusplus_depfiles, 10 | command: [ 11 | sdbuspp_gen_meson_prog, 12 | '--command', 13 | 'cpp', 14 | '--output', 15 | meson.current_build_dir(), 16 | '--tool', 17 | sdbusplusplus_prog, 18 | '--directory', 19 | meson.current_source_dir() / '../../../../../yaml', 20 | 'org/open_power/Common/Callout', 21 | ], 22 | install: should_generate_cpp, 23 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 24 | build_by_default: should_generate_cpp, 25 | ) 26 | 27 | -------------------------------------------------------------------------------- /gen/org/open_power/Common/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Callout') 3 | 4 | sdbusplus_current_path = 'org/open_power/Common' 5 | 6 | generated_markdown += custom_target( 7 | 'org/open_power/Common/Callout__markdown'.underscorify(), 8 | input: ['../../../../yaml/org/open_power/Common/Callout.errors.yaml'], 9 | output: ['Callout.md'], 10 | depend_files: sdbusplusplus_depfiles, 11 | command: [ 12 | sdbuspp_gen_meson_prog, 13 | '--command', 14 | 'markdown', 15 | '--output', 16 | meson.current_build_dir(), 17 | '--tool', 18 | sdbusplusplus_prog, 19 | '--directory', 20 | meson.current_source_dir() / '../../../../yaml', 21 | 'org/open_power/Common/Callout', 22 | ], 23 | install: should_generate_markdown, 24 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 25 | build_by_default: should_generate_markdown, 26 | ) 27 | 28 | -------------------------------------------------------------------------------- /gen/org/open_power/Control/TPM/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('SecurityKeys') 3 | 4 | sdbusplus_current_path = 'org/open_power/Control/TPM' 5 | 6 | generated_markdown += custom_target( 7 | 'org/open_power/Control/TPM/SecurityKeys__markdown'.underscorify(), 8 | input: [ 9 | '../../../../../yaml/org/open_power/Control/TPM/SecurityKeys.interface.yaml', 10 | ], 11 | output: ['SecurityKeys.md'], 12 | depend_files: sdbusplusplus_depfiles, 13 | command: [ 14 | sdbuspp_gen_meson_prog, 15 | '--command', 16 | 'markdown', 17 | '--output', 18 | meson.current_build_dir(), 19 | '--tool', 20 | sdbusplusplus_prog, 21 | '--directory', 22 | meson.current_source_dir() / '../../../../../yaml', 23 | 'org/open_power/Control/TPM/SecurityKeys', 24 | ], 25 | install: should_generate_markdown, 26 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 27 | build_by_default: should_generate_markdown, 28 | ) 29 | 30 | -------------------------------------------------------------------------------- /gen/org/open_power/Control/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Host') 3 | subdir('TPM') 4 | 5 | sdbusplus_current_path = 'org/open_power/Control' 6 | 7 | generated_markdown += custom_target( 8 | 'org/open_power/Control/Host__markdown'.underscorify(), 9 | input: ['../../../../yaml/org/open_power/Control/Host.interface.yaml'], 10 | output: ['Host.md'], 11 | depend_files: sdbusplusplus_depfiles, 12 | command: [ 13 | sdbuspp_gen_meson_prog, 14 | '--command', 15 | 'markdown', 16 | '--output', 17 | meson.current_build_dir(), 18 | '--tool', 19 | sdbusplusplus_prog, 20 | '--directory', 21 | meson.current_source_dir() / '../../../../yaml', 22 | 'org/open_power/Control/Host', 23 | ], 24 | install: should_generate_markdown, 25 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 26 | build_by_default: should_generate_markdown, 27 | ) 28 | 29 | -------------------------------------------------------------------------------- /gen/org/open_power/Host/Access/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'org/open_power/Host/Access' 4 | 5 | generated_sources += custom_target( 6 | 'org/open_power/Host/Access__cpp'.underscorify(), 7 | input: ['../../../../../yaml/org/open_power/Host/Access.errors.yaml'], 8 | output: ['error.cpp', 'error.hpp'], 9 | depend_files: sdbusplusplus_depfiles, 10 | command: [ 11 | sdbuspp_gen_meson_prog, 12 | '--command', 13 | 'cpp', 14 | '--output', 15 | meson.current_build_dir(), 16 | '--tool', 17 | sdbusplusplus_prog, 18 | '--directory', 19 | meson.current_source_dir() / '../../../../../yaml', 20 | 'org/open_power/Host/Access', 21 | ], 22 | install: should_generate_cpp, 23 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 24 | build_by_default: should_generate_cpp, 25 | ) 26 | 27 | -------------------------------------------------------------------------------- /gen/org/open_power/Host/Boot/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'org/open_power/Host/Boot' 4 | 5 | generated_sources += custom_target( 6 | 'org/open_power/Host/Boot__cpp'.underscorify(), 7 | input: ['../../../../../yaml/org/open_power/Host/Boot.errors.yaml'], 8 | output: ['error.cpp', 'error.hpp'], 9 | depend_files: sdbusplusplus_depfiles, 10 | command: [ 11 | sdbuspp_gen_meson_prog, 12 | '--command', 13 | 'cpp', 14 | '--output', 15 | meson.current_build_dir(), 16 | '--tool', 17 | sdbusplusplus_prog, 18 | '--directory', 19 | meson.current_source_dir() / '../../../../../yaml', 20 | 'org/open_power/Host/Boot', 21 | ], 22 | install: should_generate_cpp, 23 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 24 | build_by_default: should_generate_cpp, 25 | ) 26 | 27 | -------------------------------------------------------------------------------- /gen/org/open_power/Inventory/Decorator/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Asset') 3 | 4 | sdbusplus_current_path = 'org/open_power/Inventory/Decorator' 5 | 6 | generated_markdown += custom_target( 7 | 'org/open_power/Inventory/Decorator/Asset__markdown'.underscorify(), 8 | input: [ 9 | '../../../../../yaml/org/open_power/Inventory/Decorator/Asset.interface.yaml', 10 | ], 11 | output: ['Asset.md'], 12 | depend_files: sdbusplusplus_depfiles, 13 | command: [ 14 | sdbuspp_gen_meson_prog, 15 | '--command', 16 | 'markdown', 17 | '--output', 18 | meson.current_build_dir(), 19 | '--tool', 20 | sdbusplusplus_prog, 21 | '--directory', 22 | meson.current_source_dir() / '../../../../../yaml', 23 | 'org/open_power/Inventory/Decorator/Asset', 24 | ], 25 | install: should_generate_markdown, 26 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 27 | build_by_default: should_generate_markdown, 28 | ) 29 | 30 | -------------------------------------------------------------------------------- /gen/org/open_power/Inventory/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Decorator') 3 | -------------------------------------------------------------------------------- /gen/org/open_power/Logging/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('PEL') 3 | 4 | sdbusplus_current_path = 'org/open_power/Logging' 5 | 6 | generated_markdown += custom_target( 7 | 'org/open_power/Logging/PEL__markdown'.underscorify(), 8 | input: ['../../../../yaml/org/open_power/Logging/PEL.interface.yaml'], 9 | output: ['PEL.md'], 10 | depend_files: sdbusplusplus_depfiles, 11 | command: [ 12 | sdbuspp_gen_meson_prog, 13 | '--command', 14 | 'markdown', 15 | '--output', 16 | meson.current_build_dir(), 17 | '--tool', 18 | sdbusplusplus_prog, 19 | '--directory', 20 | meson.current_source_dir() / '../../../../yaml', 21 | 'org/open_power/Logging/PEL', 22 | ], 23 | install: should_generate_markdown, 24 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 25 | build_by_default: should_generate_markdown, 26 | ) 27 | 28 | -------------------------------------------------------------------------------- /gen/org/open_power/OCC/Device/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'org/open_power/OCC/Device' 4 | 5 | generated_sources += custom_target( 6 | 'org/open_power/OCC/Device__cpp'.underscorify(), 7 | input: ['../../../../../yaml/org/open_power/OCC/Device.errors.yaml'], 8 | output: ['error.cpp', 'error.hpp'], 9 | depend_files: sdbusplusplus_depfiles, 10 | command: [ 11 | sdbuspp_gen_meson_prog, 12 | '--command', 13 | 'cpp', 14 | '--output', 15 | meson.current_build_dir(), 16 | '--tool', 17 | sdbusplusplus_prog, 18 | '--directory', 19 | meson.current_source_dir() / '../../../../../yaml', 20 | 'org/open_power/OCC/Device', 21 | ], 22 | install: should_generate_cpp, 23 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 24 | build_by_default: should_generate_cpp, 25 | ) 26 | 27 | -------------------------------------------------------------------------------- /gen/org/open_power/Proc/FSI/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'org/open_power/Proc/FSI' 4 | 5 | generated_sources += custom_target( 6 | 'org/open_power/Proc/FSI__cpp'.underscorify(), 7 | input: ['../../../../../yaml/org/open_power/Proc/FSI.errors.yaml'], 8 | output: ['error.cpp', 'error.hpp'], 9 | depend_files: sdbusplusplus_depfiles, 10 | command: [ 11 | sdbuspp_gen_meson_prog, 12 | '--command', 13 | 'cpp', 14 | '--output', 15 | meson.current_build_dir(), 16 | '--tool', 17 | sdbusplusplus_prog, 18 | '--directory', 19 | meson.current_source_dir() / '../../../../../yaml', 20 | 'org/open_power/Proc/FSI', 21 | ], 22 | install: should_generate_cpp, 23 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 24 | build_by_default: should_generate_cpp, 25 | ) 26 | 27 | -------------------------------------------------------------------------------- /gen/org/open_power/Proc/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('FSI') 3 | 4 | sdbusplus_current_path = 'org/open_power/Proc' 5 | 6 | generated_markdown += custom_target( 7 | 'org/open_power/Proc/FSI__markdown'.underscorify(), 8 | input: ['../../../../yaml/org/open_power/Proc/FSI.errors.yaml'], 9 | output: ['FSI.md'], 10 | depend_files: sdbusplusplus_depfiles, 11 | command: [ 12 | sdbuspp_gen_meson_prog, 13 | '--command', 14 | 'markdown', 15 | '--output', 16 | meson.current_build_dir(), 17 | '--tool', 18 | sdbusplusplus_prog, 19 | '--directory', 20 | meson.current_source_dir() / '../../../../yaml', 21 | 'org/open_power/Proc/FSI', 22 | ], 23 | install: should_generate_markdown, 24 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 25 | build_by_default: should_generate_markdown, 26 | ) 27 | 28 | -------------------------------------------------------------------------------- /gen/org/open_power/Sensor/Aggregation/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('History') 3 | -------------------------------------------------------------------------------- /gen/org/open_power/Sensor/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Aggregation') 3 | -------------------------------------------------------------------------------- /gen/org/open_power/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Common') 3 | subdir('Control') 4 | subdir('Host') 5 | subdir('Inventory') 6 | subdir('Logging') 7 | subdir('OCC') 8 | subdir('Proc') 9 | subdir('Sensor') 10 | 11 | sdbusplus_current_path = 'org/open_power' 12 | 13 | generated_markdown += custom_target( 14 | 'org/open_power/Host__markdown'.underscorify(), 15 | input: ['../../../yaml/org/open_power/Host.errors.yaml'], 16 | output: ['Host.md'], 17 | depend_files: sdbusplusplus_depfiles, 18 | command: [ 19 | sdbuspp_gen_meson_prog, 20 | '--command', 21 | 'markdown', 22 | '--output', 23 | meson.current_build_dir(), 24 | '--tool', 25 | sdbusplusplus_prog, 26 | '--directory', 27 | meson.current_source_dir() / '../../../yaml', 28 | 'org/open_power/Host', 29 | ], 30 | install: should_generate_markdown, 31 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 32 | build_by_default: should_generate_markdown, 33 | ) 34 | 35 | -------------------------------------------------------------------------------- /gen/regenerate-meson: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | REPO_ROOT=$(git rev-parse --show-toplevel) 4 | 5 | # Find sdbus++-gen-meson 6 | # 1. Check $SDBUSPP_GEN_MESON 7 | # 2. Check in $PATH 8 | # 3. Check in subprojects/sdbusplus 9 | if [ ! -x "$SDBUSPP_GEN_MESON" ]; then 10 | SDBUSPP_GEN_MESON="$(which sdbus++-gen-meson 2> /dev/null)" 11 | fi 12 | if [ ! -x "$SDBUSPP_GEN_MESON" ]; then 13 | SDBUSPP_GEN_MESON="$REPO_ROOT/subprojects/sdbusplus/tools/sdbus++-gen-meson" 14 | fi 15 | if [ ! -x "$SDBUSPP_GEN_MESON" ]; then 16 | echo "Cannot find sdbus++-gen-meson ($SDBUSPP_GEN_MESON)." 17 | exit 1 18 | fi 19 | 20 | echo "Generating meson files..." 21 | $SDBUSPP_GEN_MESON \ 22 | --command meson \ 23 | --directory "$REPO_ROOT/yaml" \ 24 | --output "$REPO_ROOT/gen" 25 | 26 | echo "Formatting meson files..." 27 | find "$REPO_ROOT/gen" -name "meson.build" -exec meson format -i {} + 28 | -------------------------------------------------------------------------------- /gen/run-ci: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cd "$(dirname "$0")" || exit 3 | find . -mindepth 1 -maxdepth 1 -type d -exec rm -r {} \; 4 | ./regenerate-meson || exit 5 | rc=0 6 | git --no-pager diff --exit-code -- . || rc=$? 7 | untracked="$(git ls-files --others --exclude-standard -- .)" || rc=$? 8 | if [ -n "$untracked" ]; then 9 | echo "Untracked files:" >&2 10 | echo "$untracked" >&2 11 | rc=1 12 | fi 13 | if ((rc != 0)); then 14 | echo "Generated meson files differ from expected values" >&2 15 | exit 1 16 | fi 17 | -------------------------------------------------------------------------------- /gen/xyz/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('openbmc_project') 3 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/BIOSConfig/Common/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'xyz/openbmc_project/BIOSConfig/Common' 4 | 5 | generated_sources += custom_target( 6 | 'xyz/openbmc_project/BIOSConfig/Common__cpp'.underscorify(), 7 | input: [ 8 | '../../../../../yaml/xyz/openbmc_project/BIOSConfig/Common.errors.yaml', 9 | ], 10 | output: ['error.cpp', 'error.hpp'], 11 | depend_files: sdbusplusplus_depfiles, 12 | command: [ 13 | sdbuspp_gen_meson_prog, 14 | '--command', 15 | 'cpp', 16 | '--output', 17 | meson.current_build_dir(), 18 | '--tool', 19 | sdbusplusplus_prog, 20 | '--directory', 21 | meson.current_source_dir() / '../../../../../yaml', 22 | 'xyz/openbmc_project/BIOSConfig/Common', 23 | ], 24 | install: should_generate_cpp, 25 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 26 | build_by_default: should_generate_cpp, 27 | ) 28 | 29 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/Channel/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('ChannelAccess') 3 | 4 | sdbusplus_current_path = 'xyz/openbmc_project/Channel' 5 | 6 | generated_markdown += custom_target( 7 | 'xyz/openbmc_project/Channel/ChannelAccess__markdown'.underscorify(), 8 | input: [ 9 | '../../../../yaml/xyz/openbmc_project/Channel/ChannelAccess.interface.yaml', 10 | ], 11 | output: ['ChannelAccess.md'], 12 | depend_files: sdbusplusplus_depfiles, 13 | command: [ 14 | sdbuspp_gen_meson_prog, 15 | '--command', 16 | 'markdown', 17 | '--output', 18 | meson.current_build_dir(), 19 | '--tool', 20 | sdbusplusplus_prog, 21 | '--directory', 22 | meson.current_source_dir() / '../../../../yaml', 23 | 'xyz/openbmc_project/Channel/ChannelAccess', 24 | ], 25 | install: should_generate_markdown, 26 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 27 | build_by_default: should_generate_markdown, 28 | ) 29 | 30 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/Chassis/Common/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'xyz/openbmc_project/Chassis/Common' 4 | 5 | generated_sources += custom_target( 6 | 'xyz/openbmc_project/Chassis/Common__cpp'.underscorify(), 7 | input: [ 8 | '../../../../../yaml/xyz/openbmc_project/Chassis/Common.errors.yaml', 9 | ], 10 | output: ['error.cpp', 'error.hpp'], 11 | depend_files: sdbusplusplus_depfiles, 12 | command: [ 13 | sdbuspp_gen_meson_prog, 14 | '--command', 15 | 'cpp', 16 | '--output', 17 | meson.current_build_dir(), 18 | '--tool', 19 | sdbusplusplus_prog, 20 | '--directory', 21 | meson.current_source_dir() / '../../../../../yaml', 22 | 'xyz/openbmc_project/Chassis/Common', 23 | ], 24 | install: should_generate_cpp, 25 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 26 | build_by_default: should_generate_cpp, 27 | ) 28 | 29 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/Collection/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('DeleteAll') 3 | 4 | sdbusplus_current_path = 'xyz/openbmc_project/Collection' 5 | 6 | generated_markdown += custom_target( 7 | 'xyz/openbmc_project/Collection/DeleteAll__markdown'.underscorify(), 8 | input: [ 9 | '../../../../yaml/xyz/openbmc_project/Collection/DeleteAll.interface.yaml', 10 | ], 11 | output: ['DeleteAll.md'], 12 | depend_files: sdbusplusplus_depfiles, 13 | command: [ 14 | sdbuspp_gen_meson_prog, 15 | '--command', 16 | 'markdown', 17 | '--output', 18 | meson.current_build_dir(), 19 | '--tool', 20 | sdbusplusplus_prog, 21 | '--directory', 22 | meson.current_source_dir() / '../../../../yaml', 23 | 'xyz/openbmc_project/Collection/DeleteAll', 24 | ], 25 | install: should_generate_markdown, 26 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 27 | build_by_default: should_generate_markdown, 28 | ) 29 | 30 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/Common/Callout/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'xyz/openbmc_project/Common/Callout' 4 | 5 | generated_sources += custom_target( 6 | 'xyz/openbmc_project/Common/Callout__cpp'.underscorify(), 7 | input: [ 8 | '../../../../../yaml/xyz/openbmc_project/Common/Callout.errors.yaml', 9 | ], 10 | output: ['error.cpp', 'error.hpp'], 11 | depend_files: sdbusplusplus_depfiles, 12 | command: [ 13 | sdbuspp_gen_meson_prog, 14 | '--command', 15 | 'cpp', 16 | '--output', 17 | meson.current_build_dir(), 18 | '--tool', 19 | sdbusplusplus_prog, 20 | '--directory', 21 | meson.current_source_dir() / '../../../../../yaml', 22 | 'xyz/openbmc_project/Common/Callout', 23 | ], 24 | install: should_generate_cpp, 25 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 26 | build_by_default: should_generate_cpp, 27 | ) 28 | 29 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/Common/Device/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'xyz/openbmc_project/Common/Device' 4 | 5 | generated_sources += custom_target( 6 | 'xyz/openbmc_project/Common/Device__cpp'.underscorify(), 7 | input: ['../../../../../yaml/xyz/openbmc_project/Common/Device.errors.yaml'], 8 | output: ['error.cpp', 'error.hpp'], 9 | depend_files: sdbusplusplus_depfiles, 10 | command: [ 11 | sdbuspp_gen_meson_prog, 12 | '--command', 13 | 'cpp', 14 | '--output', 15 | meson.current_build_dir(), 16 | '--tool', 17 | sdbusplusplus_prog, 18 | '--directory', 19 | meson.current_source_dir() / '../../../../../yaml', 20 | 'xyz/openbmc_project/Common/Device', 21 | ], 22 | install: should_generate_cpp, 23 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 24 | build_by_default: should_generate_cpp, 25 | ) 26 | 27 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/Common/File/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'xyz/openbmc_project/Common/File' 4 | 5 | generated_sources += custom_target( 6 | 'xyz/openbmc_project/Common/File__cpp'.underscorify(), 7 | input: ['../../../../../yaml/xyz/openbmc_project/Common/File.errors.yaml'], 8 | output: ['error.cpp', 'error.hpp'], 9 | depend_files: sdbusplusplus_depfiles, 10 | command: [ 11 | sdbuspp_gen_meson_prog, 12 | '--command', 13 | 'cpp', 14 | '--output', 15 | meson.current_build_dir(), 16 | '--tool', 17 | sdbusplusplus_prog, 18 | '--directory', 19 | meson.current_source_dir() / '../../../../../yaml', 20 | 'xyz/openbmc_project/Common/File', 21 | ], 22 | install: should_generate_cpp, 23 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 24 | build_by_default: should_generate_cpp, 25 | ) 26 | 27 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/Condition/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('HostFirmware') 3 | 4 | sdbusplus_current_path = 'xyz/openbmc_project/Condition' 5 | 6 | generated_markdown += custom_target( 7 | 'xyz/openbmc_project/Condition/HostFirmware__markdown'.underscorify(), 8 | input: [ 9 | '../../../../yaml/xyz/openbmc_project/Condition/HostFirmware.interface.yaml', 10 | ], 11 | output: ['HostFirmware.md'], 12 | depend_files: sdbusplusplus_depfiles, 13 | command: [ 14 | sdbuspp_gen_meson_prog, 15 | '--command', 16 | 'markdown', 17 | '--output', 18 | meson.current_build_dir(), 19 | '--tool', 20 | sdbusplusplus_prog, 21 | '--directory', 22 | meson.current_source_dir() / '../../../../yaml', 23 | 'xyz/openbmc_project/Condition/HostFirmware', 24 | ], 25 | install: should_generate_markdown, 26 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 27 | build_by_default: should_generate_markdown, 28 | ) 29 | 30 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/Control/Device/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'xyz/openbmc_project/Control/Device' 4 | 5 | generated_sources += custom_target( 6 | 'xyz/openbmc_project/Control/Device__cpp'.underscorify(), 7 | input: [ 8 | '../../../../../yaml/xyz/openbmc_project/Control/Device.errors.yaml', 9 | ], 10 | output: ['error.cpp', 'error.hpp'], 11 | depend_files: sdbusplusplus_depfiles, 12 | command: [ 13 | sdbuspp_gen_meson_prog, 14 | '--command', 15 | 'cpp', 16 | '--output', 17 | meson.current_build_dir(), 18 | '--tool', 19 | sdbusplusplus_prog, 20 | '--directory', 21 | meson.current_source_dir() / '../../../../../yaml', 22 | 'xyz/openbmc_project/Control/Device', 23 | ], 24 | install: should_generate_cpp, 25 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 26 | build_by_default: should_generate_cpp, 27 | ) 28 | 29 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/Control/TPM/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Policy') 3 | 4 | sdbusplus_current_path = 'xyz/openbmc_project/Control/TPM' 5 | 6 | generated_markdown += custom_target( 7 | 'xyz/openbmc_project/Control/TPM/Policy__markdown'.underscorify(), 8 | input: [ 9 | '../../../../../yaml/xyz/openbmc_project/Control/TPM/Policy.interface.yaml', 10 | ], 11 | output: ['Policy.md'], 12 | depend_files: sdbusplusplus_depfiles, 13 | command: [ 14 | sdbuspp_gen_meson_prog, 15 | '--command', 16 | 'markdown', 17 | '--output', 18 | meson.current_build_dir(), 19 | '--tool', 20 | sdbusplusplus_prog, 21 | '--directory', 22 | meson.current_source_dir() / '../../../../../yaml', 23 | 'xyz/openbmc_project/Control/TPM/Policy', 24 | ], 25 | install: should_generate_markdown, 26 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 27 | build_by_default: should_generate_markdown, 28 | ) 29 | 30 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/Debug/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Pid') 3 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/Logging/SEL/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'xyz/openbmc_project/Logging/SEL' 4 | 5 | generated_sources += custom_target( 6 | 'xyz/openbmc_project/Logging/SEL__cpp'.underscorify(), 7 | input: ['../../../../../yaml/xyz/openbmc_project/Logging/SEL.errors.yaml'], 8 | output: ['error.cpp', 'error.hpp'], 9 | depend_files: sdbusplusplus_depfiles, 10 | command: [ 11 | sdbuspp_gen_meson_prog, 12 | '--command', 13 | 'cpp', 14 | '--output', 15 | meson.current_build_dir(), 16 | '--tool', 17 | sdbusplusplus_prog, 18 | '--directory', 19 | meson.current_source_dir() / '../../../../../yaml', 20 | 'xyz/openbmc_project/Logging/SEL', 21 | ], 22 | install: should_generate_cpp, 23 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 24 | build_by_default: should_generate_cpp, 25 | ) 26 | 27 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/Logging/Syslog/Destination/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Mail') 3 | 4 | sdbusplus_current_path = 'xyz/openbmc_project/Logging/Syslog/Destination' 5 | 6 | generated_markdown += custom_target( 7 | 'xyz/openbmc_project/Logging/Syslog/Destination/Mail__markdown'.underscorify(), 8 | input: [ 9 | '../../../../../../yaml/xyz/openbmc_project/Logging/Syslog/Destination/Mail.interface.yaml', 10 | ], 11 | output: ['Mail.md'], 12 | depend_files: sdbusplusplus_depfiles, 13 | command: [ 14 | sdbuspp_gen_meson_prog, 15 | '--command', 16 | 'markdown', 17 | '--output', 18 | meson.current_build_dir(), 19 | '--tool', 20 | sdbusplusplus_prog, 21 | '--directory', 22 | meson.current_source_dir() / '../../../../../../yaml', 23 | 'xyz/openbmc_project/Logging/Syslog/Destination/Mail', 24 | ], 25 | install: should_generate_markdown, 26 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 27 | build_by_default: should_generate_markdown, 28 | ) 29 | 30 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/Logging/Syslog/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Destination') 3 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/MCTP/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Endpoint') 3 | 4 | sdbusplus_current_path = 'xyz/openbmc_project/MCTP' 5 | 6 | generated_markdown += custom_target( 7 | 'xyz/openbmc_project/MCTP/Endpoint__markdown'.underscorify(), 8 | input: ['../../../../yaml/xyz/openbmc_project/MCTP/Endpoint.interface.yaml'], 9 | output: ['Endpoint.md'], 10 | depend_files: sdbusplusplus_depfiles, 11 | command: [ 12 | sdbuspp_gen_meson_prog, 13 | '--command', 14 | 'markdown', 15 | '--output', 16 | meson.current_build_dir(), 17 | '--tool', 18 | sdbusplusplus_prog, 19 | '--directory', 20 | meson.current_source_dir() / '../../../../yaml', 21 | 'xyz/openbmc_project/MCTP/Endpoint', 22 | ], 23 | install: should_generate_markdown, 24 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 25 | build_by_default: should_generate_markdown, 26 | ) 27 | 28 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/Memory/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('MemoryECC') 3 | 4 | sdbusplus_current_path = 'xyz/openbmc_project/Memory' 5 | 6 | generated_markdown += custom_target( 7 | 'xyz/openbmc_project/Memory/MemoryECC__markdown'.underscorify(), 8 | input: [ 9 | '../../../../yaml/xyz/openbmc_project/Memory/MemoryECC.errors.yaml', 10 | '../../../../yaml/xyz/openbmc_project/Memory/MemoryECC.interface.yaml', 11 | ], 12 | output: ['MemoryECC.md'], 13 | depend_files: sdbusplusplus_depfiles, 14 | command: [ 15 | sdbuspp_gen_meson_prog, 16 | '--command', 17 | 'markdown', 18 | '--output', 19 | meson.current_build_dir(), 20 | '--tool', 21 | sdbusplusplus_prog, 22 | '--directory', 23 | meson.current_source_dir() / '../../../../yaml', 24 | 'xyz/openbmc_project/Memory/MemoryECC', 25 | ], 26 | install: should_generate_markdown, 27 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 28 | build_by_default: should_generate_markdown, 29 | ) 30 | 31 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/Nvme/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Status') 3 | 4 | sdbusplus_current_path = 'xyz/openbmc_project/Nvme' 5 | 6 | generated_markdown += custom_target( 7 | 'xyz/openbmc_project/Nvme/Status__markdown'.underscorify(), 8 | input: [ 9 | '../../../../yaml/xyz/openbmc_project/Nvme/Status.errors.yaml', 10 | '../../../../yaml/xyz/openbmc_project/Nvme/Status.interface.yaml', 11 | ], 12 | output: ['Status.md'], 13 | depend_files: sdbusplusplus_depfiles, 14 | command: [ 15 | sdbuspp_gen_meson_prog, 16 | '--command', 17 | 'markdown', 18 | '--output', 19 | meson.current_build_dir(), 20 | '--tool', 21 | sdbusplusplus_prog, 22 | '--directory', 23 | meson.current_source_dir() / '../../../../yaml', 24 | 'xyz/openbmc_project/Nvme/Status', 25 | ], 26 | install: should_generate_markdown, 27 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 28 | build_by_default: should_generate_markdown, 29 | ) 30 | 31 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/PFR/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Attributes') 3 | 4 | sdbusplus_current_path = 'xyz/openbmc_project/PFR' 5 | 6 | generated_markdown += custom_target( 7 | 'xyz/openbmc_project/PFR/Attributes__markdown'.underscorify(), 8 | input: [ 9 | '../../../../yaml/xyz/openbmc_project/PFR/Attributes.interface.yaml', 10 | ], 11 | output: ['Attributes.md'], 12 | depend_files: sdbusplusplus_depfiles, 13 | command: [ 14 | sdbuspp_gen_meson_prog, 15 | '--command', 16 | 'markdown', 17 | '--output', 18 | meson.current_build_dir(), 19 | '--tool', 20 | sdbusplusplus_prog, 21 | '--directory', 22 | meson.current_source_dir() / '../../../../yaml', 23 | 'xyz/openbmc_project/PFR/Attributes', 24 | ], 25 | install: should_generate_markdown, 26 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 27 | build_by_default: should_generate_markdown, 28 | ) 29 | 30 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/PLDM/Provider/Certs/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Authority') 3 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/PLDM/Provider/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Certs') 3 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/ScheduledTime/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'xyz/openbmc_project/ScheduledTime' 4 | 5 | generated_sources += custom_target( 6 | 'xyz/openbmc_project/ScheduledTime__cpp'.underscorify(), 7 | input: ['../../../../yaml/xyz/openbmc_project/ScheduledTime.errors.yaml'], 8 | output: ['error.cpp', 'error.hpp'], 9 | depend_files: sdbusplusplus_depfiles, 10 | command: [ 11 | sdbuspp_gen_meson_prog, 12 | '--command', 13 | 'cpp', 14 | '--output', 15 | meson.current_build_dir(), 16 | '--tool', 17 | sdbusplusplus_prog, 18 | '--directory', 19 | meson.current_source_dir() / '../../../../yaml', 20 | 'xyz/openbmc_project/ScheduledTime', 21 | ], 22 | install: should_generate_cpp, 23 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 24 | build_by_default: should_generate_cpp, 25 | ) 26 | 27 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/Sensor/Device/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'xyz/openbmc_project/Sensor/Device' 4 | 5 | generated_sources += custom_target( 6 | 'xyz/openbmc_project/Sensor/Device__cpp'.underscorify(), 7 | input: ['../../../../../yaml/xyz/openbmc_project/Sensor/Device.errors.yaml'], 8 | output: ['error.cpp', 'error.hpp'], 9 | depend_files: sdbusplusplus_depfiles, 10 | command: [ 11 | sdbuspp_gen_meson_prog, 12 | '--command', 13 | 'cpp', 14 | '--output', 15 | meson.current_build_dir(), 16 | '--tool', 17 | sdbusplusplus_prog, 18 | '--directory', 19 | meson.current_source_dir() / '../../../../../yaml', 20 | 'xyz/openbmc_project/Sensor/Device', 21 | ], 22 | install: should_generate_cpp, 23 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 24 | build_by_default: should_generate_cpp, 25 | ) 26 | 27 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/Smbios/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('MDR_V2') 3 | 4 | sdbusplus_current_path = 'xyz/openbmc_project/Smbios' 5 | 6 | generated_markdown += custom_target( 7 | 'xyz/openbmc_project/Smbios/MDR_V2__markdown'.underscorify(), 8 | input: [ 9 | '../../../../yaml/xyz/openbmc_project/Smbios/MDR_V2.errors.yaml', 10 | '../../../../yaml/xyz/openbmc_project/Smbios/MDR_V2.interface.yaml', 11 | ], 12 | output: ['MDR_V2.md'], 13 | depend_files: sdbusplusplus_depfiles, 14 | command: [ 15 | sdbuspp_gen_meson_prog, 16 | '--command', 17 | 'markdown', 18 | '--output', 19 | meson.current_build_dir(), 20 | '--tool', 21 | sdbusplusplus_prog, 22 | '--directory', 23 | meson.current_source_dir() / '../../../../yaml', 24 | 'xyz/openbmc_project/Smbios/MDR_V2', 25 | ], 26 | install: should_generate_markdown, 27 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 28 | build_by_default: should_generate_markdown, 29 | ) 30 | 31 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/Software/Image/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'xyz/openbmc_project/Software/Image' 4 | 5 | generated_sources += custom_target( 6 | 'xyz/openbmc_project/Software/Image__cpp'.underscorify(), 7 | input: [ 8 | '../../../../../yaml/xyz/openbmc_project/Software/Image.errors.yaml', 9 | ], 10 | output: ['error.cpp', 'error.hpp'], 11 | depend_files: sdbusplusplus_depfiles, 12 | command: [ 13 | sdbuspp_gen_meson_prog, 14 | '--command', 15 | 'cpp', 16 | '--output', 17 | meson.current_build_dir(), 18 | '--tool', 19 | sdbusplusplus_prog, 20 | '--directory', 21 | meson.current_source_dir() / '../../../../../yaml', 22 | 'xyz/openbmc_project/Software/Image', 23 | ], 24 | install: should_generate_cpp, 25 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 26 | build_by_default: should_generate_cpp, 27 | ) 28 | 29 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/State/Cable/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'xyz/openbmc_project/State/Cable' 4 | 5 | generated_sources += custom_target( 6 | 'xyz/openbmc_project/State/Cable__cpp'.underscorify(), 7 | input: ['../../../../../yaml/xyz/openbmc_project/State/Cable.events.yaml'], 8 | output: ['event.cpp', 'event.hpp'], 9 | depend_files: sdbusplusplus_depfiles, 10 | command: [ 11 | sdbuspp_gen_meson_prog, 12 | '--command', 13 | 'cpp', 14 | '--output', 15 | meson.current_build_dir(), 16 | '--tool', 17 | sdbusplusplus_prog, 18 | '--directory', 19 | meson.current_source_dir() / '../../../../../yaml', 20 | 'xyz/openbmc_project/State/Cable', 21 | ], 22 | install: should_generate_cpp, 23 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 24 | build_by_default: should_generate_cpp, 25 | ) 26 | 27 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/State/LockOut/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'xyz/openbmc_project/State/LockOut' 4 | 5 | generated_sources += custom_target( 6 | 'xyz/openbmc_project/State/LockOut__cpp'.underscorify(), 7 | input: ['../../../../../yaml/xyz/openbmc_project/State/LockOut.events.yaml'], 8 | output: ['event.cpp', 'event.hpp'], 9 | depend_files: sdbusplusplus_depfiles, 10 | command: [ 11 | sdbuspp_gen_meson_prog, 12 | '--command', 13 | 'cpp', 14 | '--output', 15 | meson.current_build_dir(), 16 | '--tool', 17 | sdbusplusplus_prog, 18 | '--directory', 19 | meson.current_source_dir() / '../../../../../yaml', 20 | 'xyz/openbmc_project/State/LockOut', 21 | ], 22 | install: should_generate_cpp, 23 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 24 | build_by_default: should_generate_cpp, 25 | ) 26 | 27 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/State/OperatingSystem/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | subdir('Status') 3 | 4 | sdbusplus_current_path = 'xyz/openbmc_project/State/OperatingSystem' 5 | 6 | generated_markdown += custom_target( 7 | 'xyz/openbmc_project/State/OperatingSystem/Status__markdown'.underscorify(), 8 | input: [ 9 | '../../../../../yaml/xyz/openbmc_project/State/OperatingSystem/Status.interface.yaml', 10 | ], 11 | output: ['Status.md'], 12 | depend_files: sdbusplusplus_depfiles, 13 | command: [ 14 | sdbuspp_gen_meson_prog, 15 | '--command', 16 | 'markdown', 17 | '--output', 18 | meson.current_build_dir(), 19 | '--tool', 20 | sdbusplusplus_prog, 21 | '--directory', 22 | meson.current_source_dir() / '../../../../../yaml', 23 | 'xyz/openbmc_project/State/OperatingSystem/Status', 24 | ], 25 | install: should_generate_markdown, 26 | install_dir: [inst_markdown_dir / sdbusplus_current_path], 27 | build_by_default: should_generate_markdown, 28 | ) 29 | 30 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/State/Power/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'xyz/openbmc_project/State/Power' 4 | 5 | generated_sources += custom_target( 6 | 'xyz/openbmc_project/State/Power__cpp'.underscorify(), 7 | input: ['../../../../../yaml/xyz/openbmc_project/State/Power.events.yaml'], 8 | output: ['event.cpp', 'event.hpp'], 9 | depend_files: sdbusplusplus_depfiles, 10 | command: [ 11 | sdbuspp_gen_meson_prog, 12 | '--command', 13 | 'cpp', 14 | '--output', 15 | meson.current_build_dir(), 16 | '--tool', 17 | sdbusplusplus_prog, 18 | '--directory', 19 | meson.current_source_dir() / '../../../../../yaml', 20 | 'xyz/openbmc_project/State/Power', 21 | ], 22 | install: should_generate_cpp, 23 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 24 | build_by_default: should_generate_cpp, 25 | ) 26 | 27 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/State/SMC/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'xyz/openbmc_project/State/SMC' 4 | 5 | generated_sources += custom_target( 6 | 'xyz/openbmc_project/State/SMC__cpp'.underscorify(), 7 | input: ['../../../../../yaml/xyz/openbmc_project/State/SMC.events.yaml'], 8 | output: ['event.cpp', 'event.hpp'], 9 | depend_files: sdbusplusplus_depfiles, 10 | command: [ 11 | sdbuspp_gen_meson_prog, 12 | '--command', 13 | 'cpp', 14 | '--output', 15 | meson.current_build_dir(), 16 | '--tool', 17 | sdbusplusplus_prog, 18 | '--directory', 19 | meson.current_source_dir() / '../../../../../yaml', 20 | 'xyz/openbmc_project/State/SMC', 21 | ], 22 | install: should_generate_cpp, 23 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 24 | build_by_default: should_generate_cpp, 25 | ) 26 | 27 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/State/Shutdown/Inventory/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'xyz/openbmc_project/State/Shutdown/Inventory' 4 | 5 | generated_sources += custom_target( 6 | 'xyz/openbmc_project/State/Shutdown/Inventory__cpp'.underscorify(), 7 | input: [ 8 | '../../../../../../yaml/xyz/openbmc_project/State/Shutdown/Inventory.errors.yaml', 9 | ], 10 | output: ['error.cpp', 'error.hpp'], 11 | depend_files: sdbusplusplus_depfiles, 12 | command: [ 13 | sdbuspp_gen_meson_prog, 14 | '--command', 15 | 'cpp', 16 | '--output', 17 | meson.current_build_dir(), 18 | '--tool', 19 | sdbusplusplus_prog, 20 | '--directory', 21 | meson.current_source_dir() / '../../../../../../yaml', 22 | 'xyz/openbmc_project/State/Shutdown/Inventory', 23 | ], 24 | install: should_generate_cpp, 25 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 26 | build_by_default: should_generate_cpp, 27 | ) 28 | 29 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/State/Shutdown/Power/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'xyz/openbmc_project/State/Shutdown/Power' 4 | 5 | generated_sources += custom_target( 6 | 'xyz/openbmc_project/State/Shutdown/Power__cpp'.underscorify(), 7 | input: [ 8 | '../../../../../../yaml/xyz/openbmc_project/State/Shutdown/Power.errors.yaml', 9 | ], 10 | output: ['error.cpp', 'error.hpp'], 11 | depend_files: sdbusplusplus_depfiles, 12 | command: [ 13 | sdbuspp_gen_meson_prog, 14 | '--command', 15 | 'cpp', 16 | '--output', 17 | meson.current_build_dir(), 18 | '--tool', 19 | sdbusplusplus_prog, 20 | '--directory', 21 | meson.current_source_dir() / '../../../../../../yaml', 22 | 'xyz/openbmc_project/State/Shutdown/Power', 23 | ], 24 | install: should_generate_cpp, 25 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 26 | build_by_default: should_generate_cpp, 27 | ) 28 | 29 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/State/Shutdown/ThermalEvent/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'xyz/openbmc_project/State/Shutdown/ThermalEvent' 4 | 5 | generated_sources += custom_target( 6 | 'xyz/openbmc_project/State/Shutdown/ThermalEvent__cpp'.underscorify(), 7 | input: [ 8 | '../../../../../../yaml/xyz/openbmc_project/State/Shutdown/ThermalEvent.errors.yaml', 9 | ], 10 | output: ['error.cpp', 'error.hpp'], 11 | depend_files: sdbusplusplus_depfiles, 12 | command: [ 13 | sdbuspp_gen_meson_prog, 14 | '--command', 15 | 'cpp', 16 | '--output', 17 | meson.current_build_dir(), 18 | '--tool', 19 | sdbusplusplus_prog, 20 | '--directory', 21 | meson.current_source_dir() / '../../../../../../yaml', 22 | 'xyz/openbmc_project/State/Shutdown/ThermalEvent', 23 | ], 24 | install: should_generate_cpp, 25 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 26 | build_by_default: should_generate_cpp, 27 | ) 28 | 29 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/State/SystemdTarget/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'xyz/openbmc_project/State/SystemdTarget' 4 | 5 | generated_sources += custom_target( 6 | 'xyz/openbmc_project/State/SystemdTarget__cpp'.underscorify(), 7 | input: [ 8 | '../../../../../yaml/xyz/openbmc_project/State/SystemdTarget.errors.yaml', 9 | ], 10 | output: ['error.cpp', 'error.hpp'], 11 | depend_files: sdbusplusplus_depfiles, 12 | command: [ 13 | sdbuspp_gen_meson_prog, 14 | '--command', 15 | 'cpp', 16 | '--output', 17 | meson.current_build_dir(), 18 | '--tool', 19 | sdbusplusplus_prog, 20 | '--directory', 21 | meson.current_source_dir() / '../../../../../yaml', 22 | 'xyz/openbmc_project/State/SystemdTarget', 23 | ], 24 | install: should_generate_cpp, 25 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 26 | build_by_default: should_generate_cpp, 27 | ) 28 | 29 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/State/Thermal/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'xyz/openbmc_project/State/Thermal' 4 | 5 | generated_sources += custom_target( 6 | 'xyz/openbmc_project/State/Thermal__cpp'.underscorify(), 7 | input: ['../../../../../yaml/xyz/openbmc_project/State/Thermal.events.yaml'], 8 | output: ['event.cpp', 'event.hpp'], 9 | depend_files: sdbusplusplus_depfiles, 10 | command: [ 11 | sdbuspp_gen_meson_prog, 12 | '--command', 13 | 'cpp', 14 | '--output', 15 | meson.current_build_dir(), 16 | '--tool', 17 | sdbusplusplus_prog, 18 | '--directory', 19 | meson.current_source_dir() / '../../../../../yaml', 20 | 'xyz/openbmc_project/State/Thermal', 21 | ], 22 | install: should_generate_cpp, 23 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 24 | build_by_default: should_generate_cpp, 25 | ) 26 | 27 | -------------------------------------------------------------------------------- /gen/xyz/openbmc_project/User/Common/meson.build: -------------------------------------------------------------------------------- 1 | # Generated file; do not modify. 2 | 3 | sdbusplus_current_path = 'xyz/openbmc_project/User/Common' 4 | 5 | generated_sources += custom_target( 6 | 'xyz/openbmc_project/User/Common__cpp'.underscorify(), 7 | input: ['../../../../../yaml/xyz/openbmc_project/User/Common.errors.yaml'], 8 | output: ['error.cpp', 'error.hpp'], 9 | depend_files: sdbusplusplus_depfiles, 10 | command: [ 11 | sdbuspp_gen_meson_prog, 12 | '--command', 13 | 'cpp', 14 | '--output', 15 | meson.current_build_dir(), 16 | '--tool', 17 | sdbusplusplus_prog, 18 | '--directory', 19 | meson.current_source_dir() / '../../../../../yaml', 20 | 'xyz/openbmc_project/User/Common', 21 | ], 22 | install: should_generate_cpp, 23 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], 24 | build_by_default: should_generate_cpp, 25 | ) 26 | 27 | -------------------------------------------------------------------------------- /meson.options: -------------------------------------------------------------------------------- 1 | option('generate_md', type: 'boolean', value: true) 2 | option('libphosphor_dbus', type: 'boolean', value: true) 3 | option('data_com_google', type: 'boolean', value: true) 4 | option('data_com_ibm', type: 'boolean', value: true) 5 | option('data_com_intel', type: 'boolean', value: true) 6 | option('data_com_meta', type: 'boolean', value: true) 7 | option('data_org_freedesktop', type: 'boolean', value: true) 8 | option('data_org_open_power', type: 'boolean', value: true) 9 | option('data_xyz_openbmc_project', type: 'boolean', value: true) 10 | -------------------------------------------------------------------------------- /registry/meson.build: -------------------------------------------------------------------------------- 1 | registry_target = custom_target( 2 | 'registry', 3 | command: ['cp', '-v', '--parents', '@INPUT@', '@OUTDIR@'], 4 | output: 'registry.log', 5 | input: generated_registry, 6 | capture: true, 7 | depends: generated_registry, 8 | build_by_default: should_generate_registry, 9 | ) 10 | 11 | registry_copy_dir = meson.current_build_dir() 12 | -------------------------------------------------------------------------------- /subprojects/sdbusplus.wrap: -------------------------------------------------------------------------------- 1 | [wrap-git] 2 | url = https://github.com/openbmc/sdbusplus.git 3 | revision = HEAD 4 | 5 | [provide] 6 | sdbusplus = sdbusplus_dep 7 | program_names = sdbus++, sdbus++-gen-meson 8 | -------------------------------------------------------------------------------- /yaml/com/google/gbmc/Hoth.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: CommandFailure 2 | description: Failed to send the command to Hoth. 3 | - name: ResponseFailure 4 | description: Failed to retrieve response from Hoth. 5 | - name: FirmwareFailure 6 | description: Failed to send firmware update to Hoth. 7 | - name: ResponseNotFound 8 | description: 9 | Could not find a response. The command may not have completed yet. 10 | - name: InterfaceError 11 | description: A system error occurred with the Hoth interface. 12 | - name: ExpectedInfoNotFound 13 | description: Could not find the expected information in the response. 14 | -------------------------------------------------------------------------------- /yaml/com/ibm/Dump/Entry/Hardware.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement this to add Hardware dump management. 3 | 4 | Hardware dump is a collection hardware state information, including various 5 | registers, and it is used for debugging system checkstop. checkstop is the 6 | descriptive term for entire system termination by the hardware due to a 7 | detected error. 8 | 9 | properties: 10 | - name: ErrorLogId 11 | type: uint32 12 | description: > 13 | The id of the log associated with the action which triggered the dump. 14 | This ID is a reference to an error log entry in the logging system. 15 | The value should be a 32-bit unsigned integer. 16 | 17 | - name: FailingUnitId 18 | type: uint32 19 | description: > 20 | A unique id of the failing hardware unit which is causing the dump. 21 | This ID could be used to identify the specific piece of hardware 22 | within the system. The value should be a 32-bit unsigned integer. 23 | -------------------------------------------------------------------------------- /yaml/com/ibm/Dump/Entry/Hostboot.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement this to add Hostboot dump management. 3 | 4 | Hostboot dump collects memory and hardware states in the case of a failure 5 | during hostboot booting phase. 6 | 7 | properties: 8 | - name: ErrorLogId 9 | type: uint32 10 | description: > 11 | The identifier of the log entry associated with the action which 12 | triggered the dump. This is a 32-bit unsigned integer that links the 13 | dump to a specific error log. 14 | -------------------------------------------------------------------------------- /yaml/com/ibm/Hardware/Chassis.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | This interface is never intended to be instantiated, but is used to define 3 | enumerations for Compatible strings. 4 | 5 | enumerations: 6 | - name: Model 7 | description: > 8 | Possible Chassis models used for compatible strings. 9 | values: 10 | - name: Balcones 11 | - name: BlueRidge 12 | - name: BlueRidge1S4U 13 | - name: BlueRidge2U 14 | - name: BlueRidge4U 15 | - name: Bonnell 16 | - name: Everest 17 | - name: Fuji 18 | - name: Rainier 19 | - name: Rainier1S4U 20 | - name: Rainier2U 21 | - name: Rainier4U 22 | -------------------------------------------------------------------------------- /yaml/com/ibm/Logging/Policy.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide IBM specific error log policy attributes. 3 | properties: 4 | - name: EventID 5 | type: string 6 | description: > 7 | This ID is defined by IBM service to uniquely identify an error in the 8 | service documentation. 9 | - name: Description 10 | type: string 11 | description: > 12 | This is a customer-facing description of the error. 13 | -------------------------------------------------------------------------------- /yaml/com/ibm/VPD/Collection.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide VPD collection state management. 3 | 4 | properties: 5 | - name: CollectionStatus 6 | type: enum[self.Status] 7 | description: > 8 | Property which tells the current status of FRU VPD collection. 9 | 10 | enumerations: 11 | - name: Status 12 | description: > 13 | The current status of FRU VPD collection. 14 | values: 15 | - name: "InProgress" 16 | description: > 17 | FRU VPD collection is in progress. 18 | - name: "Success" 19 | description: > 20 | FRU VPD collection is successfully completed. 21 | - name: "Failure" 22 | description: > 23 | FRU VPD collection failed. 24 | - name: "NotStarted" 25 | description: > 26 | FRU VPD collection not started. 27 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/DINF.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the DINF record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: RI 9 | type: array[byte] 10 | description: > 11 | RI keyword. Power resource ID. 12 | - name: FL 13 | type: array[byte] 14 | description: > 15 | FL keyword. The FRU label. 16 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/LRP0.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the LRP0 record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: VD 9 | type: array[byte] 10 | description: > 11 | VD keyword. Record Version ID. 12 | - name: TC 13 | type: array[byte] 14 | description: > 15 | TC keyword.Thermal control. 16 | - name: D4 17 | type: array[byte] 18 | description: > 19 | D4 keyword. 20 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/LRP1.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the LRP1 record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: VD 9 | type: array[byte] 10 | description: > 11 | VD keyword. Record Version ID. 12 | - name: TC 13 | type: array[byte] 14 | description: > 15 | TC keyword.Thermal control. 16 | - name: D4 17 | type: array[byte] 18 | description: > 19 | D4 keyword. 20 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/LRP2.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the LRP2 record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: VD 9 | type: array[byte] 10 | description: > 11 | VD keyword. Record Version ID. 12 | - name: TC 13 | type: array[byte] 14 | description: > 15 | TC keyword.Thermal control. 16 | - name: D4 17 | type: array[byte] 18 | description: > 19 | D4 keyword. 20 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/LRP3.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the LRP3 record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: VD 9 | type: array[byte] 10 | description: > 11 | VD keyword. Record Version ID. 12 | - name: TC 13 | type: array[byte] 14 | description: > 15 | TC keyword.Thermal control. 16 | - name: D4 17 | type: array[byte] 18 | description: > 19 | D4 keyword. 20 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/LRP4.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the LRP4 record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: VD 9 | type: array[byte] 10 | description: > 11 | VD keyword. Record Version ID. 12 | - name: TC 13 | type: array[byte] 14 | description: > 15 | TC keyword.Thermal control. 16 | - name: D4 17 | type: array[byte] 18 | description: > 19 | D4 keyword. 20 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/LRP5.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the LRP5 record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: VD 9 | type: array[byte] 10 | description: > 11 | VD keyword. Record Version ID. 12 | - name: TC 13 | type: array[byte] 14 | description: > 15 | TC keyword.Thermal control. 16 | - name: D4 17 | type: array[byte] 18 | description: > 19 | D4 keyword. 20 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/LRP6.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the LRP6 record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: VD 9 | type: array[byte] 10 | description: > 11 | VD keyword. Record Version ID. 12 | - name: TC 13 | type: array[byte] 14 | description: > 15 | TC keyword.Thermal control. 16 | - name: D4 17 | type: array[byte] 18 | description: > 19 | D4 keyword. 20 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/LRP7.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the LRP7 record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: VD 9 | type: array[byte] 10 | description: > 11 | VD keyword. Record Version ID. 12 | - name: TC 13 | type: array[byte] 14 | description: > 15 | TC keyword.Thermal control. 16 | - name: D4 17 | type: array[byte] 18 | description: > 19 | D4 keyword. 20 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/LXR0.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the LXR0 record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: VZ 9 | type: array[byte] 10 | description: > 11 | VZ keyword. The record version. 12 | - name: LX 13 | type: array[byte] 14 | description: > 15 | LX keyword. The load ID data. 16 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/Location.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the physical location of the FRU. 3 | properties: 4 | - name: LocationCode 5 | type: string 6 | description: > 7 | A string describing the physical location of the FRU. The location is 8 | determined based on the system design. 9 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/MER0.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the MER0 record (contains manufacturing repair data) 3 | in IPZ VPD 4 | properties: 5 | - name: RT 6 | type: array[byte] 7 | description: > 8 | RT keyword. Contains the record name. 9 | - name: PD_I 10 | type: array[byte] 11 | description: > 12 | The "#I" keyword. Contains the repair data. 13 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/PSPD.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the PSPD record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: VZ 9 | type: array[byte] 10 | description: > 11 | VZ keyword. The record version. 12 | - name: VM 13 | type: array[byte] 14 | description: > 15 | VM keyword. 16 | - name: PD_D 17 | type: array[byte] 18 | description: > 19 | The "#D" keyword. 20 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/VCEN.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the VCEN record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: DR 9 | type: array[byte] 10 | description: > 11 | Description of the record. 12 | - name: SE 13 | type: array[byte] 14 | description: > 15 | SE keyword. 16 | - name: TM 17 | type: array[byte] 18 | description: > 19 | System eclosure type and model. 20 | - name: FC 21 | type: array[byte] 22 | description: > 23 | System enclosure feature code. 24 | - name: RG 25 | type: array[byte] 26 | description: > 27 | RG keyword. Field core override information. 28 | - name: RB 29 | type: array[byte] 30 | description: > 31 | RB keyword. Brand specific data. 32 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/VCFG.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the VCFG record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: VZ 9 | type: array[byte] 10 | description: > 11 | VZ keyword. The record version. 12 | - name: Z0 13 | type: array[byte] 14 | description: > 15 | First base MAC address. 16 | - name: Z1 17 | type: array[byte] 18 | description: > 19 | Second base MAC address. 20 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/VEIR.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the VEIR record (contains elastic interface repair 3 | data) in IPZ VPD 4 | properties: 5 | - name: RT 6 | type: array[byte] 7 | description: > 8 | RT keyword. Contains the record name. 9 | - name: PD_I 10 | type: array[byte] 11 | description: > 12 | The "#I" keyword. Contains the repair data. 13 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/VER0.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the VER0 record (contains vendor repair data) in IPZ 3 | VPD 4 | properties: 5 | - name: RT 6 | type: array[byte] 7 | description: > 8 | RT keyword. Contains the record name. 9 | - name: PD_I 10 | type: array[byte] 11 | description: > 12 | The "#I" keyword. Contains the repair data. 13 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/VMPU.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the VMPU record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: VZ 9 | type: array[byte] 10 | description: > 11 | VZ keyword. The record version. 12 | - name: SO 13 | type: array[byte] 14 | description: > 15 | Series usage. 16 | - name: DI 17 | type: array[byte] 18 | description: > 19 | DI keyword. Data identifier. 20 | - name: IN 21 | type: array[byte] 22 | description: > 23 | IN Keyword. Multi purpose usage data. 24 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/VMSC.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the VMSC record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: IN 9 | type: array[byte] 10 | description: > 11 | IN keyword. Multi purpose usage data. 12 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/VPRI.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the VPRI record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: VD 9 | type: array[byte] 10 | description: > 11 | VD keyword. The record version. 12 | - name: CR 13 | type: array[byte] 14 | description: > 15 | CR keyword. Calibration data. 16 | - name: PD_D 17 | type: array[byte] 18 | description: > 19 | '#D' keyword. Card specific data. 20 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/VR10.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the VR10 record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: DR 9 | type: array[byte] 10 | description: > 11 | Description of the record. 12 | - name: DC 13 | type: array[byte] 14 | description: > 15 | Date Code. 16 | - name: FL 17 | type: array[byte] 18 | description: > 19 | FRU label. 20 | - name: WA 21 | type: array[byte] 22 | description: > 23 | WA keyword. 24 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/VRML.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the VRML record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: VD 9 | type: array[byte] 10 | description: > 11 | VD keyword. Record Version ID. 12 | - name: PN 13 | type: array[byte] 14 | description: > 15 | Part Number. 16 | - name: SN 17 | type: array[byte] 18 | description: > 19 | Serial Number. 20 | - name: TV 21 | type: array[byte] 22 | description: > 23 | TV keyword.Template Version. 24 | - name: D4 25 | type: array[byte] 26 | description: > 27 | D4 keyword. 28 | - name: F5 29 | type: array[byte] 30 | description: > 31 | F5 keyword. 32 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/VRTN.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the VRTN record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: SO 9 | type: array[byte] 10 | description: > 11 | SO keyword. Contains the brand information. 12 | - name: IN 13 | type: array[byte] 14 | description: > 15 | IN keyword. Multi purpose data. 16 | - name: I2 17 | type: array[byte] 18 | description: > 19 | I2 keyword. Multi purpose data. 20 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/VSBP.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the VSBP record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: DR 9 | type: array[byte] 10 | description: > 11 | Description of the record. 12 | - name: PA 13 | type: array[byte] 14 | description: > 15 | Is op-panel installed. 16 | - name: IM 17 | type: array[byte] 18 | description: > 19 | A unique keyword to identify the system. 20 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/VSRC.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the VSRC record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: DR 9 | type: array[byte] 10 | description: > 11 | DR keyword. FRU description. 12 | - name: IN 13 | type: array[byte] 14 | description: > 15 | IN keyword. FRU plug history data. 16 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/VW10.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the VW10 record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: DR 9 | type: array[byte] 10 | description: > 11 | Description of the record. 12 | - name: GD 13 | type: array[byte] 14 | description: > 15 | Guard data. 16 | -------------------------------------------------------------------------------- /yaml/com/ibm/ipzvpd/VWML.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent the VWML record in IPZ VPD 3 | properties: 4 | - name: RT 5 | type: array[byte] 6 | description: > 7 | RT keyword. Contains the record name. 8 | - name: VD 9 | type: array[byte] 10 | description: > 11 | VD keyword. Version ID. 12 | - name: OC 13 | type: array[byte] 14 | description: > 15 | OC keyword.Power-on Cycles. 16 | - name: PD_I 17 | type: array[byte] 18 | description: > 19 | The "#I" keyword.Contains the repair data. 20 | - name: D4 21 | type: array[byte] 22 | description: > 23 | D4 keyword. 24 | - name: D5 25 | type: array[byte] 26 | description: > 27 | D5 keyword. 28 | - name: D8 29 | type: array[byte] 30 | description: > 31 | D8 keyword. 32 | - name: F5 33 | type: array[byte] 34 | description: > 35 | F5 keyword. 36 | -------------------------------------------------------------------------------- /yaml/com/intel/Control/OCOTShutdownPolicy.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | An interface for node shutdown policy on multi-node products. It is used by 3 | Intel OEM IPMI command. 4 | properties: 5 | - name: OCOTPolicy 6 | type: enum[self.Policy] 7 | description: > 8 | Node shutdown policy on a power supply over current(OC) or over 9 | temperature(OT) event, Only available on multi-node products. 10 | 11 | default: "NoShutdownOnOCOT" 12 | 13 | enumerations: 14 | - name: Policy 15 | description: > 16 | The type of shutdown policy. 17 | values: 18 | - name: "NoShutdownOnOCOT" 19 | description: > 20 | Do not shutdown node on an OC/OT event. 21 | - name: "ShutdownOnOCOT" 22 | description: > 23 | Shutdown node on an OC/OT event. 24 | -------------------------------------------------------------------------------- /yaml/com/intel/Protocol/PECI/Raw.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide D-Bus raw PECI access to the CPU. 3 | 4 | methods: 5 | - name: Send 6 | description: > 7 | Send raw PECI command(s) to the CPU 8 | parameters: 9 | - name: device 10 | type: string 11 | description: > 12 | The path for the PECI device to use for the command 13 | - name: commands 14 | type: array[array[byte]] 15 | description: > 16 | An array of byte arrays where each byte array holds the raw 17 | bytes for a single PECI command. The larger array allows 18 | sending multiple PECI commands in a single transaction. 19 | returns: 20 | - name: results 21 | type: array[array[byte]] 22 | description: > 23 | An array of byte arrays where each byte array holds the raw 24 | bytes for a single PECI response corresponding to the command in 25 | the command array. 26 | -------------------------------------------------------------------------------- /yaml/com/meta/Hardware/BMC.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | This interface is never intended to be instantiated, but is used to define 3 | enumerations for Compatible strings. 4 | 5 | enumerations: 6 | - name: Model 7 | description: > 8 | Possible BMC types used for compatible strings. 9 | values: 10 | - name: Bletchley 11 | - name: Catalina 12 | - name: Clemente 13 | - name: Harma 14 | - name: Minerva 15 | - name: Santabarbara 16 | - name: TiogaPass 17 | - name: Ventura 18 | - name: Yosemite4 19 | - name: Yosemite4N 20 | -------------------------------------------------------------------------------- /yaml/com/meta/Hardware/Harma.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | This interface is never intended to be instantiated, but is used to define 3 | devices for Harma. 4 | 5 | enumerations: 6 | - name: Retimer 7 | description: > 8 | The compatible hardware strings for the retimer on Harma. 9 | values: 10 | - name: "PT5161L" 11 | 12 | - name: CPLD 13 | description: > 14 | The compatible hardware strings for the CPLD on Harma. 15 | values: 16 | - name: "LCMXO3LF_4300C" 17 | 18 | - name: SPI 19 | description: > 20 | The compatible hardware strings for the SPI flash on Harma. 21 | values: 22 | - name: Host 23 | 24 | - name: VR 25 | description: > 26 | The compatible hardware strings for the VR on Harma. 27 | values: 28 | - name: ISL69269 29 | - name: XDPE192C3B 30 | - name: XDPE19283B 31 | -------------------------------------------------------------------------------- /yaml/com/meta/IPMI/UnifiedSEL.events.yaml: -------------------------------------------------------------------------------- 1 | version: 1.0.0 2 | 3 | errors: 4 | - name: UnifiedSELEvent 5 | severity: critical 6 | metadata: 7 | - name: Source 8 | type: object_path 9 | primary: true 10 | description: The source from where the event was generated. 11 | - name: Event 12 | type: string 13 | primary: true 14 | description: The parsed event log contents. 15 | - name: RawEvent 16 | type: string 17 | description: The RAW IPMI data received (as hex). 18 | en: 19 | description: Unified System Event Log received by the BMC. 20 | message: "Unified SEL received from '{Source}': {Event}" 21 | errno: EIO 22 | -------------------------------------------------------------------------------- /yaml/com/meta/Inventory/ManufacturerExt.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | This interface is never intended to be instantiated, but is used to define 3 | enumerations for Inventory.Item.Decorator.ManufacturerExt custom fields. 4 | 5 | enumerations: 6 | - name: Field 7 | description: > 8 | Possible values for the ManufacturerExt fields. 9 | values: 10 | - name: FBPN 11 | description: > 12 | Facebook Part Number 13 | -------------------------------------------------------------------------------- /yaml/org/open_power/Common/Callout.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: Procedure 2 | description: Procedure callout 3 | -------------------------------------------------------------------------------- /yaml/org/open_power/Common/Callout.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: Procedure 2 | meta: 3 | - str: "PROCEDURE=%u" 4 | type: uint32 5 | -------------------------------------------------------------------------------- /yaml/org/open_power/Host.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: Event 2 | description: A host system event was received 3 | 4 | - name: MaintenanceProcedure 5 | description: A host system event with a procedure callout 6 | -------------------------------------------------------------------------------- /yaml/org/open_power/Host.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: Event 2 | level: ERR 3 | meta: 4 | - str: "ESEL=%s" 5 | type: string 6 | inherits: 7 | - xyz.openbmc_project.Common.Callout.Inventory 8 | 9 | - name: MaintenanceProcedure 10 | level: ERR 11 | meta: 12 | - str: "ESEL=%s" 13 | type: string 14 | inherits: 15 | - org.open_power.Common.Callout.Procedure 16 | -------------------------------------------------------------------------------- /yaml/org/open_power/Host/Access.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: WriteCFAM 2 | description: Failed to do a CFAM register write 3 | 4 | - name: ReadCFAM 5 | description: Failed to do a CFAM register read 6 | -------------------------------------------------------------------------------- /yaml/org/open_power/Host/Access.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: WriteCFAM 2 | meta: 3 | - str: "ADDRESS=0x%X" 4 | type: uint32 5 | inherits: 6 | - xyz.openbmc_project.Common.Callout.Device 7 | 8 | - name: ReadCFAM 9 | meta: 10 | - str: "ADDRESS=0x%X" 11 | type: uint32 12 | inherits: 13 | - xyz.openbmc_project.Common.Callout.Device 14 | -------------------------------------------------------------------------------- /yaml/org/open_power/Host/Boot.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: Checkstop 2 | description: Host checkstop condition detected 3 | 4 | - name: WatchdogTimedOut 5 | description: Host watchdog timed out 6 | -------------------------------------------------------------------------------- /yaml/org/open_power/Inventory/Decorator/Asset.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide item physical asset attributes. 3 | properties: 4 | - name: CCIN 5 | type: string 6 | description: > 7 | Customer card identification number. 8 | -------------------------------------------------------------------------------- /yaml/org/open_power/OCC/Device.errors.yaml: -------------------------------------------------------------------------------- 1 | # org.open_power.OCC.Device.OpenFailure 2 | - name: OpenFailure 3 | description: Opening OCC device failed. 4 | 5 | # org.open_power.OCC.Device.ReadFailure 6 | - name: ReadFailure 7 | description: Reading from OCC failed. 8 | 9 | # org.open_power.OCC.Device.WriteFailure 10 | - name: WriteFailure 11 | description: Writing to OCC failed. 12 | 13 | # org.open_power.OCC.Device.ConfigFailure 14 | - name: ConfigFailure 15 | description: Configuring device failed. 16 | -------------------------------------------------------------------------------- /yaml/org/open_power/OCC/Device.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: OpenFailure 2 | inherits: 3 | - xyz.openbmc_project.Common.Callout.Device 4 | 5 | - name: ReadFailure 6 | inherits: 7 | - xyz.openbmc_project.Common.Callout.Device 8 | 9 | - name: WriteFailure 10 | inherits: 11 | - xyz.openbmc_project.Common.Callout.Device 12 | 13 | - name: ConfigFailure 14 | inherits: 15 | - xyz.openbmc_project.Common.Callout.Device 16 | -------------------------------------------------------------------------------- /yaml/org/open_power/OCC/Status.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to indicate status of the OCC. 3 | 4 | properties: 5 | - name: OccActive 6 | type: boolean 7 | description: > 8 | Indicates whether OCC is active or not 9 | - name: ThrottleProcTemp 10 | type: boolean 11 | default: 0 12 | description: > 13 | Indicates processor throttling due to an over temperature condition 14 | - name: ThrottleProcPower 15 | type: boolean 16 | default: 0 17 | description: > 18 | Indicates processor throttling due to reaching the power cap limit 19 | - name: ThrottleMemTemp 20 | type: boolean 21 | default: 0 22 | description: > 23 | Indicates memory throttling due to an over temperature condition 24 | -------------------------------------------------------------------------------- /yaml/org/open_power/Proc/FSI.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: MasterDetectionFailure 2 | description: Failed while detecting the master processor 3 | 4 | - name: SlaveDetectionFailure 5 | description: Failed while detecting the slave processors 6 | -------------------------------------------------------------------------------- /yaml/org/open_power/Proc/FSI.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: MasterDetectionFailure 2 | inherits: 3 | - xyz.openbmc_project.Common.Callout.Device 4 | 5 | - name: SlaveDetectionFailure 6 | meta: 7 | - str: "ERRNO=%d" 8 | type: int32 9 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Association.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to represent arbitrary associations between objects in the DBus 3 | namespace. 4 | 5 | An object implementing Association describes a one way, one to many 6 | association where the parent object is associated to the objects in the 7 | Endpoints property, with the association type defined as the name of the 8 | object implementing Association. 9 | properties: 10 | - name: Endpoints 11 | type: array[object_path] 12 | description: > 13 | An array of association endpoints. 14 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Association/Definitions.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | This interface is used to tell the mapper to create 3 | xyz.openbmc_project.Association interfaces on /forward and 4 | endpoint/reverse. 5 | properties: 6 | - name: Associations 7 | type: array[struct[string,string,string]] 8 | description: > 9 | An array of forward, reverse, endpoint tuples where: 10 | forward - The type of the association. 11 | reverse - The type of the association to create for the endpoint. 12 | endpoint - The association endpoint. 13 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/BIOSConfig/Common.errors.yaml: -------------------------------------------------------------------------------- 1 | # xyz.openbmc_project.BIOSConfig.Common.Error.AttributeNotFound 2 | - name: AttributeNotFound 3 | description: Specified Attribute is not found. 4 | # xyz.openbmc_project.BIOSConfig.Common.Error.AttributeReadOnly 5 | - name: AttributeReadOnly 6 | description: Specified Attribute is ReadOnly. 7 | # xyz.openbmc_project.BIOSConfig.Common.Error.InvalidCurrentPassword 8 | - name: InvalidCurrentPassword 9 | description: CurrentPassword verification failed. 10 | # xyz.openbmc_project.BIOSConfig.Common.Error.PasswordNotSettable 11 | - name: PasswordNotSettable 12 | description: Unable to set the new password. 13 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/BIOSConfig/Common.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: AttributeNotFound 2 | level: ERR 3 | - name: AttributeSettingFailed 4 | level: ERR 5 | meta: 6 | - str: "REASON=%s" 7 | type: string 8 | - name: AttributeReadOnly 9 | level: ERR 10 | meta: 11 | - str: "REASON=%s" 12 | type: string 13 | - name: NoResource 14 | level: ERR 15 | - name: InvalidValue 16 | level: ERR 17 | meta: 18 | - str: "UNSUPPORTED_VALUE=%s" 19 | type: string 20 | - name: InvalidCurrentPassword 21 | level: ERR 22 | - name: PasswordNotSettable 23 | level: ERR 24 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Certs.errors.yaml: -------------------------------------------------------------------------------- 1 | # xyz.openbmc_project.Certs.Error.InvalidCertificate 2 | - name: InvalidCertificate 3 | description: Invalid certificate file. 4 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Certs.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: InvalidCertificate 2 | meta: 3 | - str: "REASON=%s" 4 | type: string 5 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Certs/Authority.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Signs Certificate Signing Request. 3 | methods: 4 | - name: SignCSR 5 | description: > 6 | This method provides signing authority functionality. 7 | 8 | parameters: 9 | - name: CSR 10 | type: string 11 | description: > 12 | Should be a valid PEM encoded Certificate signing request 13 | string. 14 | 15 | returns: 16 | - name: path 17 | type: object_path 18 | description: > 19 | The object path of an object that implements, at a minimum, 20 | xyz.openbmc_project.Certs.Entry and 21 | xyz.openbmc_project.Object.Delete 22 | 23 | errors: 24 | - xyz.openbmc_project.Common.Error.InvalidArgument 25 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Certs/CSR.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to retrieve the Certificate Signing Request(CSR). 3 | 4 | methods: 5 | - name: CSR 6 | description: > 7 | Method to get the CSR string. 8 | 9 | Object which implements this interface should implement 10 | xyz.openbmc_project.Object.Delete to allow the deletion of CSR 11 | objects. 12 | 13 | returns: 14 | - name: CSRString 15 | type: string 16 | description: > 17 | CSR string in the Base-64 encoded PEM format. 18 | errors: 19 | - xyz.openbmc_project.Common.Error.InternalFailure 20 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Certs/Entry.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to get CSR string signed by authority and get client certificate. 3 | 4 | properties: 5 | - name: ClientCertificate 6 | type: string 7 | description: > 8 | Client certificate content. User reads this property based on status. 9 | The value of this property is empty until Status.State == complete. 10 | - name: Status 11 | type: enum[self.State] 12 | default: Pending 13 | description: > 14 | The current status of the signing operation. 15 | 16 | enumerations: 17 | - name: State 18 | description: > 19 | Signing operation state enum. 20 | values: 21 | - name: Pending 22 | description: > 23 | Signing request is pending. 24 | - name: BadCSR 25 | description: > 26 | The CSR was malformed. 27 | - name: Complete 28 | description: > 29 | CSR signing complete 30 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Certs/Install.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Certificate management interface to install server and client certificates. 3 | methods: 4 | - name: Install 5 | description: > 6 | Install the certificate and restart the associated services. 7 | NotAllowed error thrown if certificate already exists. 8 | parameters: 9 | - name: Path 10 | type: string 11 | description: > 12 | Path of file that contains both the certificate public and 13 | private key. (Example: a .PEM file containing both signed 14 | certificate and private key). 15 | 16 | returns: 17 | - name: ObjectPath 18 | type: string 19 | description: > 20 | D-Bus object path to created object. 21 | 22 | errors: 23 | - xyz.openbmc_project.Common.Error.InternalFailure 24 | - xyz.openbmc_project.Common.Error.NotAllowed 25 | - xyz.openbmc_project.Certs.Error.InvalidCertificate 26 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Certs/InstallAll.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Certificate management interface to install authorities list. 3 | methods: 4 | - name: InstallAll 5 | description: > 6 | Install the authority list and restart the associated services. 7 | parameters: 8 | - name: Path 9 | type: string 10 | description: > 11 | Path of the file that contains a list of root certificates. 12 | 13 | returns: 14 | - name: ObjectPath 15 | type: array[object_path] 16 | description: > 17 | D-Bus object path to created objects. 18 | 19 | errors: 20 | - xyz.openbmc_project.Common.Error.InternalFailure 21 | - xyz.openbmc_project.Common.Error.NotAllowed 22 | - xyz.openbmc_project.Certs.Error.InvalidCertificate 23 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Certs/Replace.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Certificate interface to replace existing certificate. 3 | methods: 4 | - name: Replace 5 | description: > 6 | Replace the certificate and restart the associated services. 7 | parameters: 8 | - name: Path 9 | type: string 10 | description: > 11 | Path of file that contains both the certificate public and 12 | private key. (Example: a .PEM file containing both signed 13 | certificate and private key). 14 | errors: 15 | - xyz.openbmc_project.Common.Error.InternalFailure 16 | - xyz.openbmc_project.Certs.Error.InvalidCertificate 17 | - xyz.openbmc_project.Common.Error.NotAllowed 18 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Certs/ReplaceAll.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Authority Manager's interface to replace existing authorities list. 3 | methods: 4 | - name: ReplaceAll 5 | description: > 6 | Replace the current authorities list and restart the associated 7 | services. 8 | parameters: 9 | - name: Path 10 | type: string 11 | description: > 12 | Path of file that contains multiple root certificates. 13 | returns: 14 | - name: ObjectPath 15 | type: array[object_path] 16 | description: > 17 | D-Bus object path to created objects. 18 | errors: 19 | - xyz.openbmc_project.Common.Error.InternalFailure 20 | - xyz.openbmc_project.Certs.Error.InvalidCertificate 21 | - xyz.openbmc_project.Common.Error.NotAllowed 22 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Channel/ChannelAccess.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | This interface defines channel specific privilege access information which 3 | is used for channel authorization. Application must determine channel level 4 | privilege restriction based on this property. 5 | 6 | properties: 7 | - name: MaxPrivilege 8 | type: string 9 | description: > 10 | Maximum privilege associated with specific channel. 11 | errors: 12 | - xyz.openbmc_project.Common.Error.InvalidArgument 13 | - xyz.openbmc_project.Common.Error.InternalFailure 14 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Chassis/Buttons/HostSelector.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Host selector interface is used to keep the position of the host selector HW 3 | switch as a property.This host selector position value decides which host or 4 | bmc is currently selected in a multihost bmc system so that the power and 5 | reset button events are routed to the currently selected host or bmc's power 6 | control events. 7 | 8 | properties: 9 | - name: Position 10 | type: size 11 | default: 0 12 | description: > 13 | The current position of the selector. Position 1 to N selects Host 14 | Instance t to N,Position 0 selects the BMC ( N is maximum number of 15 | hosts ). 16 | - name: MaxPosition 17 | type: size 18 | default: 0 19 | flags: 20 | - readonly 21 | description: > 22 | Maximum number for position value. 23 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Chassis/Buttons/ID.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | ID button is the system identification button, that allows the server to be 3 | located in a rack, and can be enabled remotely via WebUI; user can press ID 4 | button on the front panel and then walk around to the back and quickly 5 | identify the rear bulkhead of the same server unit. 6 | methods: 7 | - name: simPress 8 | description: > 9 | Emulate ID button press. 10 | errors: 11 | - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand 12 | - xyz.openbmc_project.Chassis.Common.Error.IOError 13 | 14 | signals: 15 | - name: Released 16 | description: > 17 | ID button released signal 18 | - name: Pressed 19 | description: > 20 | ID button pressed signal 21 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Chassis/Buttons/Reset.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Reset button control service 3 | methods: 4 | - name: simPress 5 | description: > 6 | Emulate reset button press. 7 | errors: 8 | - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand 9 | - xyz.openbmc_project.Chassis.Common.Error.IOError 10 | 11 | properties: 12 | - name: Enabled 13 | type: boolean 14 | default: true 15 | description: > 16 | Enable/disable reset button. false means reset button is disabled true 17 | means reset button is enabled 18 | errors: 19 | - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand 20 | - xyz.openbmc_project.Chassis.Common.Error.IOError 21 | 22 | signals: 23 | - name: Released 24 | description: > 25 | Reset button released signal 26 | - name: Pressed 27 | description: > 28 | Reset button pressed signal 29 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Chassis/Common.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: UnsupportedCommand 2 | description: > 3 | An unsupported command was attempted. 4 | - name: IOError 5 | description: > 6 | An IO error occurred. 7 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Chassis/Control/Power.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Power control service 3 | methods: 4 | - name: forcePowerOff 5 | description: > 6 | Force power off the host. 7 | returns: 8 | - name: status 9 | type: boolean 10 | description: > 11 | The result of power off command. 12 | errors: 13 | - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand 14 | - xyz.openbmc_project.Chassis.Common.Error.IOError 15 | 16 | properties: 17 | - name: PGood 18 | type: boolean 19 | default: false 20 | description: > 21 | PSU Power good property It is a read-only property. 22 | - name: State 23 | type: int32 24 | default: 0 25 | description: > 26 | System power status 0: power is off 1: power is on Setting its value 27 | to change the system state Read its value to get the system state. 28 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Collection/DeleteAll.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide operations on a collection of objects. 3 | methods: 4 | - name: DeleteAll 5 | description: > 6 | Delete all objects in the collection. 7 | errors: 8 | - xyz.openbmc_project.Common.Error.NotAllowed 9 | - xyz.openbmc_project.Common.Error.Unavailable 10 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Common.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: Timeout 2 | description: Operation timed out. 3 | - name: InternalFailure 4 | description: The operation failed internally. 5 | - name: InvalidArgument 6 | description: Invalid argument was given. 7 | - name: InsufficientPermission 8 | description: Insufficient permission to perform operation 9 | - name: NotAllowed 10 | description: The operation is not allowed 11 | - name: NoCACertificate 12 | description: Server's CA certificate has not been provided. 13 | - name: TooManyResources 14 | description: Too many resources have already been granted. 15 | - name: ResourceNotFound 16 | description: The resource is not found. 17 | - name: Unavailable 18 | description: The service is temporarily unavailable. 19 | - name: UnsupportedRequest 20 | description: The request is unsupported. 21 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Common.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: Timeout 2 | meta: 3 | - str: "TIMEOUT_IN_MSEC=%llu" 4 | type: uint64 5 | - name: InvalidArgument 6 | meta: 7 | - str: "ARGUMENT_NAME=%s" 8 | type: string 9 | - str: "ARGUMENT_VALUE=%s" 10 | type: string 11 | - name: InternalFailure 12 | level: ERR 13 | - name: InsufficientPermission 14 | level: INFO 15 | - name: NotAllowed 16 | level: INFO 17 | meta: 18 | - str: "REASON=%s" 19 | type: string 20 | - name: NoCACertificate 21 | level: ERR 22 | - name: TooManyResources 23 | level: INFO 24 | - name: ResourceNotFound 25 | level: INFO 26 | meta: 27 | - str: "RESOURCE=%s" 28 | type: string 29 | - name: UnsupportedRequest 30 | level: INFO 31 | meta: 32 | - str: "REASON=%s" 33 | type: string 34 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Common/Callout.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: Device 2 | description: Generic device callout 3 | 4 | - name: GPIO 5 | description: Callout GPIO pin 6 | 7 | - name: IIC 8 | description: Callout IIC device 9 | 10 | - name: Inventory 11 | description: Inventory item callout 12 | 13 | - name: IPMISensor 14 | description: Callout IPMI sensor 15 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Common/Callout.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: Device 2 | meta: 3 | - str: "CALLOUT_ERRNO=%d" 4 | type: int32 5 | - str: "CALLOUT_DEVICE_PATH=%s" 6 | type: string 7 | process: true 8 | 9 | - name: GPIO 10 | meta: 11 | - str: "CALLOUT_GPIO_NUM=%u" 12 | type: uint32 13 | inherits: 14 | - xyz.openbmc_project.Common.Callout.Device 15 | 16 | - name: IIC 17 | meta: 18 | - str: "CALLOUT_IIC_BUS=%s" 19 | type: string 20 | - str: "CALLOUT_IIC_ADDR=0x%hx" 21 | type: uint16 22 | inherits: 23 | - xyz.openbmc_project.Common.Callout.Device 24 | 25 | - name: Inventory 26 | meta: 27 | - str: "CALLOUT_INVENTORY_PATH=%s" 28 | type: string 29 | process: true 30 | 31 | - name: IPMISensor 32 | meta: 33 | - str: "CALLOUT_IPMI_SENSOR_NUM=%u" 34 | type: uint32 35 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Common/Device.errors.yaml: -------------------------------------------------------------------------------- 1 | # xyz.openbmc_project.Common.Device.ReadFailure 2 | - name: ReadFailure 3 | # This can be used by any application that gets a failure reading from a 4 | # device. It is up to the implementation on how to react to this error based 5 | # on the use-case. Refer to the interface specification that references this 6 | # for additional information. 7 | description: Failed to read from the device. 8 | 9 | # xyz.openbmc_project.Common.Device.WriteFailure 10 | - name: WriteFailure 11 | # This can be used by any application that gets a failure writing to a device. 12 | # It is up to the implementation on how to react to this error based on the 13 | # use-case. Refer to the interface specification that references this for 14 | # additional information. 15 | description: Failed to write to device. 16 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Common/Device.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: ReadFailure 2 | inherits: 3 | - xyz.openbmc_project.Common.Callout.Device 4 | 5 | - name: WriteFailure 6 | inherits: 7 | - xyz.openbmc_project.Common.Callout.Device 8 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Common/FactoryReset.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | An interface to reset the target service to its factory state. 3 | methods: 4 | - name: Reset 5 | description: > 6 | Generic method to start factory reset. Implemented by each service. 7 | errors: 8 | - xyz.openbmc_project.Common.Error.InternalFailure 9 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Common/FactoryReset/README.md: -------------------------------------------------------------------------------- 1 | # Factory Reset 2 | 3 | ## Overview 4 | 5 | The OpenBMC API defines a factory reset interface, which is intended to be used 6 | to restore the BMC to its original manufacturer settings. This interface is 7 | defined generically; it is specifically and variously implemented throughout 8 | OpenBMC services, which allows these services to be individually restored to 9 | factory defaults as needed. 10 | 11 | ## Known Implementations (listed by D-Bus service) 12 | 13 | ### xyz.openbmc_project.Network 14 | 15 | Path: `/xyz/openbmc_project/network` The network factory reset overwrites the 16 | configuration for all configured network interfaces to a DHCP setting. 17 | Configuration changes will take effect the next time each interface is brought 18 | up - either manually or during a BMC reboot. 19 | 20 | ### xyz.openbmc_project.Software.BMC.Updater 21 | 22 | Path: `/xyz/openbmc_project/software` The BMC software updater factory reset 23 | clears any volumes and persistence files created by the BMC processes. This 24 | reset occurs only on the next BMC reboot. 25 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Common/FaultLogType.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | This is used to define enumerations for FaultLog dump data types. 3 | 4 | enumerations: 5 | - name: FaultLogTypes 6 | description: > 7 | Type of fault data logged. 8 | values: 9 | - name: CPER 10 | description: > 11 | UEFI Common Platform Error Record. 12 | - name: Crashdump 13 | description: > 14 | Collection of processor and chipset register values typically 15 | gathered for debugging purposes at the time of a crash (or 16 | sometimes on-demand). 17 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Common/File.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: Open 2 | description: Failed to open a file 3 | 4 | - name: Seek 5 | description: Failed to seek a file 6 | 7 | - name: Write 8 | description: Failed to write a file 9 | 10 | - name: Read 11 | description: Failed to read a file 12 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Common/File.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: Open 2 | meta: 3 | - str: "ERRNO=%d" 4 | type: int32 5 | - str: "PATH=%s" 6 | type: string 7 | 8 | - name: Seek 9 | meta: 10 | - str: "OFFSET=%ll" 11 | type: int64 12 | - str: "WHENCE=%d" 13 | type: int32 14 | - str: "ERRNO=%d" 15 | type: int32 16 | - str: "PATH=%s" 17 | type: string 18 | 19 | - name: Write 20 | meta: 21 | - str: "ERRNO=%d" 22 | type: int32 23 | - str: "PATH=%s" 24 | type: string 25 | 26 | - name: Read 27 | meta: 28 | - str: "ERRNO=%d" 29 | type: int32 30 | - str: "PATH=%s" 31 | type: string 32 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Common/FilePath.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | An interface which encapsulates a file-system path on the BMC. 3 | 4 | Typically, this is added onto an existing object path to show a relationship 5 | between the object, in the dbus namespace, and a file, in the filesystem 6 | namespace. 7 | properties: 8 | - name: Path 9 | type: string 10 | description: > 11 | The filesystem path for the dbus object. 12 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Common/ObjectPath.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | An interface which contains a D-Bus object path. 3 | 4 | This may be used along with other interfaces when a particular D-Bus object 5 | needs to show information about another object and using associations is not 6 | possible. 7 | 8 | properties: 9 | - name: Path 10 | type: string 11 | description: > 12 | The object path of a D-Bus object. 13 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Common/Priority.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement this interface to indicate the priority level of an entity. Use it 3 | as a decorator for other objects to specify their priority. For example, it 4 | can be used for fan sensors, but it is versatile and suitable for various 5 | entities. 6 | 7 | properties: 8 | - name: Priority 9 | type: size 10 | description: > 11 | Indicates the priority of the entity, with a lower value representing 12 | a higher priority (e.g., 0 for primary, 1 for secondary). 13 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Common/TFTP.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide TFTP (Trivial File Transfer Protocol). 3 | methods: 4 | - name: DownloadViaTFTP 5 | description: > 6 | Download a file via TFTP. 7 | parameters: 8 | - name: FileName 9 | type: string 10 | description: > 11 | The name of the file to transfer. 12 | - name: ServerAddress 13 | type: string 14 | description: > 15 | The TFTP Server IP Address. 16 | errors: 17 | - xyz.openbmc_project.Common.Error.InternalFailure 18 | - xyz.openbmc_project.Common.Error.InvalidArgument 19 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Common/UUID.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide system UUID 3 | properties: 4 | - name: UUID 5 | type: string 6 | description: > 7 | UUID of object to which the interface is bound. It is in canonical 8 | 8-4-4-4-12 format as per RFC 4122. 9 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Condition/HostFirmware.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide information on the condition of the host firmware. The 3 | expectation is the implementer of this interface utilize their host protocol 4 | (IPMI, PLDM, ...) to check the state of the host firmware running on the 5 | system. 6 | 7 | properties: 8 | - name: CurrentFirmwareCondition 9 | type: enum[self.FirmwareCondition] 10 | default: "Unknown" 11 | description: > 12 | The current condition of the host 13 | 14 | enumerations: 15 | - name: FirmwareCondition 16 | description: > 17 | The current condition of the host firmware 18 | values: 19 | - name: "Unknown" 20 | description: > 21 | The condition of the host firmware is unknown 22 | - name: "Off" 23 | description: > 24 | Host firmware is not responsive to communication 25 | - name: "Running" 26 | description: > 27 | Host firmware is running and responsive to communication 28 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Configuration/GPIODeviceDetect.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Information to enable a daemon to probe hardware based on gpio values 3 | properties: 4 | - name: Name 5 | type: string 6 | description: > 7 | Used by entity-manager to identify which hw was detected. For internal 8 | use by entity-manager. 9 | - name: PresencePinNames 10 | type: array[string] 11 | description: > 12 | Names of the gpio lines. 13 | - name: PresencePinValues 14 | type: array[uint64] 15 | description: > 16 | Values of the gpio lines for which a device is considered present. 17 | Choosing 'uint64' instead of 'bool' here for compatibility with how EM 18 | exposes configuration on dbus. 19 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Configuration/README.md: -------------------------------------------------------------------------------- 1 | Interfaces under this subdirectory are written for compatibility with 2 | [entity-manager][entity-manager]. Entity-manager currently creates these style 3 | of objects from a JSON configuration, which doesn't support some of the type 4 | expectations we typically use elsewhere in this repository. Any types and 5 | property names here should not be used as a patterns to emulate elsewhere in the 6 | tree. 7 | 8 | It is hoped that in the future entity-manager will be refactored to closer align 9 | with the dbus conventions used elsewhere in the project. 10 | 11 | [entity-manager]: https://github.com/openbmc/entity-manager 12 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Console/Access.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Provides methods for supported consoles in the system. This interface should 3 | be used to retrieve the console data. 4 | 5 | methods: 6 | - name: Connect 7 | description: > 8 | Returns the unix socket file descriptor. The consumer can user this 9 | descriptor to read the console data. 10 | returns: 11 | - name: fd 12 | type: unixfd 13 | description: > 14 | The file descriptor to the unix socket. 15 | errors: 16 | - xyz.openbmc_project.Common.Error.InternalFailure 17 | - xyz.openbmc_project.User.Common.Error.NoResource 18 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Console/UART.interface.yaml: -------------------------------------------------------------------------------- 1 | description: Serial console configuration. 2 | 3 | properties: 4 | - name: Baud 5 | type: uint64 6 | description: Data transmission rate of the serial console. 7 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/Boot/Mode.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to set boot mode. The mode typically identifies the end target of 3 | the boot process. 4 | 5 | properties: 6 | - name: BootMode 7 | type: enum[self.Modes] 8 | description: > 9 | The desired boot mode. 10 | 11 | enumerations: 12 | - name: Modes 13 | description: > 14 | Possible boot modes. 15 | values: 16 | - name: Regular 17 | description: > 18 | The regular/default mode, such as boot to an OS. 19 | - name: Safe 20 | description: > 21 | Boot to a diagnostic/trouble-shooting mode. 22 | - name: Setup 23 | description: > 24 | Boot to BIOS setup. 25 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/Boot/RebootAttempts.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to specify reboot attempts left. 3 | 4 | properties: 5 | - name: AttemptsLeft 6 | type: uint32 7 | description: > 8 | Current number of reboot attempts left. 9 | - name: RetryAttempts 10 | type: uint32 11 | description: > 12 | Number of total reboot attempts allowed. 13 | default: 3 14 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/Boot/RebootPolicy.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to set common reboot policies. 3 | 4 | properties: 5 | - name: AutoReboot 6 | type: boolean 7 | description: > 8 | Whether or not auto reboot is enabled. 9 | default: true 10 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/Boot/Type.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to designate the type of a boot image. 3 | 4 | properties: 5 | - name: BootType 6 | type: enum[self.Types] 7 | description: > 8 | The desired boot image type. 9 | default: EFI 10 | 11 | enumerations: 12 | - name: Types 13 | description: > 14 | Possible types of a boot image. 15 | values: 16 | - name: Legacy 17 | description: > 18 | PC compatible boot. 19 | - name: EFI 20 | description: > 21 | Extensible Firmware Interface Boot. 22 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/CFMLimit.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide a CFM upper limit for fan control. This can be used 3 | with a CFM algorithm to calculate the maximum allowed fan speed for a 4 | system. 5 | 6 | properties: 7 | - name: Limit 8 | type: double 9 | description: > 10 | The CFM limit, 0 means disabled. 11 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/Device.errors.yaml: -------------------------------------------------------------------------------- 1 | # xyz.openbmc_project.Control.Device.WriteFailure 2 | - name: WriteFailure 3 | description: Failed to write to device. 4 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/Device.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: WriteFailure 2 | inherits: 3 | - xyz.openbmc_project.Common.Callout.Device 4 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/FanPwm.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide fan pwm control. The method of control is hardware 3 | dependent and objects implementing Control.FanPwm must be instantiated 4 | within the sensors/fan_tach namespace. 5 | 6 | Any service implementing Control.FanPwm on one or more objects must 7 | implement xyz.openbmc_project.Sensors.Value on the object and 8 | org.freedesktop.DBus.ObjectManager on the sensors namespace root. 9 | 10 | All Control.FanPwm properties are read-write. 11 | 12 | properties: 13 | - name: Target 14 | type: uint64 15 | description: > 16 | The fan pwm target value. 0 - 255 17 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/FanSpeed.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide fan speed control. The method of control is hardware 3 | dependent and objects implementing Control.FanSpeed must be instantiated 4 | within the sensors/fan_tach namespace. 5 | 6 | Any service implementing Control.FanSpeed on one or more objects must 7 | implement xyz.openbmc_project.Sensors.Value on the object and 8 | org.freedesktop.DBus.ObjectManager on the sensors namespace root. 9 | 10 | All Control.FanSpeed properties are read/write. 11 | 12 | properties: 13 | - name: Target 14 | type: uint64 15 | description: > 16 | The fan speed target RPM value. 17 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/FieldMode.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | An interface to enable field mode, which, when enabled, indicates that the 3 | system is in production. 4 | 5 | properties: 6 | - name: FieldModeEnabled 7 | type: boolean 8 | description: > 9 | Keeps track of whether the BMC is in field mode. Enabling field mode 10 | is intended to be a one-way operation. Therefore the application 11 | implementing this interface could return a NotAllowed error when the 12 | user attempts to set the property value to false. 13 | default: false 14 | errors: 15 | - xyz.openbmc_project.Common.Error.NotAllowed 16 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/Host.errors.yaml: -------------------------------------------------------------------------------- 1 | #xyz.openbmc_project.Control.Host.CommandNotSupported 2 | - name: CommandNotSupported 3 | description: Command is not supported 4 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/Host.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: CommandNotSupported 2 | level: ERR 3 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/Host/NMI.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | It is a non-maskable interrupt or signal for triggering dumps from the host 3 | operating system when host is unresponsive or hung. 4 | 5 | methods: 6 | - name: NMI 7 | description: > 8 | Generic method to initiate non maskable interrupt on all host 9 | processors. 10 | errors: 11 | - xyz.openbmc_project.Common.Error.InternalFailure 12 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/Host/TurboAllowed.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Turbo mode is a setting to enable processor frequency boosting. This 3 | interface is used to tell host that it is allowed to turn on turbo mode. 4 | 5 | properties: 6 | - name: TurboAllowed 7 | type: boolean 8 | description: > 9 | Set this to allow Turbo mode. 10 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/MinimumShipLevel.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | 'An implementation may provide a single instance of MinimumShipLevelRequired 3 | on /xyz/openbmc_project/control/minimum_ship_level_required. 4 | 5 | The definition of enforcement of this setting is implementation defined.' 6 | 7 | properties: 8 | - name: MinimumShipLevelRequired 9 | type: boolean 10 | description: > 11 | 'A user has requested that the implementation specific requirements 12 | associated with minimum ship level enforcement be applied when 13 | MinimumShipLevelRequired is true.' 14 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/Mode.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide manual control for an object. Also provides for the 3 | notion of a fail-safe mode. 4 | 5 | Control.Mode.Manual is read/write. Control.Mode.FailSafe is read/write, 6 | however not all implementations may respect having this property set 7 | externally. 8 | 9 | properties: 10 | - name: Manual 11 | type: boolean 12 | description: > 13 | Whether the object should be in manual or automatic mode. 14 | - name: FailSafe 15 | type: boolean 16 | description: > 17 | Whether the object is in fail-safe mode or not. 18 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/Power/CapLimits.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to specify the power cap limits 3 | 4 | properties: 5 | - name: MinPowerCapValue 6 | type: uint32 7 | flags: 8 | - readonly 9 | default: 0 10 | description: The Minimum supported PowerCap setting. 11 | 12 | - name: MaxPowerCapValue 13 | type: uint32 14 | flags: 15 | - readonly 16 | default: maxint 17 | description: The Maximum supported PowerCap setting. 18 | 19 | - name: MinSoftPowerCapValue 20 | type: uint32 21 | flags: 22 | - readonly 23 | default: 0 24 | description: > 25 | Minimum supported soft user PowerCap setting. The min soft user 26 | PowerCap value is normally less than or equal to the MinPowerCapValue. 27 | When the PowerCap is set to any value between MinSoftPowerCapValue and 28 | MinPowerCapValue an attempt will be made to maintain the cap but it 29 | will not be guaranteed. 30 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/PowerSupplyAttributes.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | An interface to set control characteristics for an individual power supply. 3 | properties: 4 | - name: DeratingFactor 5 | type: uint32 6 | flags: 7 | - const 8 | description: > 9 | The power supply derating factor, which is the percentage to multiply 10 | the input power by to get the output power. 11 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/Security/SpecialMode.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to specify a special mode of operation 3 | 4 | properties: 5 | - name: SpecialMode 6 | type: enum[self.Modes] 7 | description: > 8 | The special mode. 9 | 10 | enumerations: 11 | - name: Modes 12 | description: > 13 | Possible modes available. 14 | values: 15 | - name: None 16 | description: > 17 | BMC is under normal working condition. 18 | - name: Manufacturing 19 | description: > 20 | Indicate that BMC is in manufacturing mode and is allowed to 21 | perform any manufacturing related activity 22 | - name: ValidationUnsecure 23 | description: > 24 | Indicate that BMC is in validation mode, and can execute any 25 | special validation related commands 26 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/Service/Attributes.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to expose the properties of service objects like bmcweb, 3 | phosphor-ipmi-net etc. This interface can be used to get and set the 4 | properties of the service. 5 | 6 | properties: 7 | - name: Enabled 8 | type: boolean 9 | description: > 10 | Specifies the current state of the service. This property can be used 11 | to enable or disable the service. 12 | - name: Masked 13 | type: boolean 14 | description: > 15 | Specifies whether the service is masked or not masked. This property 16 | can be used to permanently enable or disable the service. 17 | - name: Running 18 | type: boolean 19 | description: > 20 | Specifies whether the service is running or not. This property can be 21 | used to start or stop a service. 22 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/Service/SocketAttributes.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | This interface defines the attributes of services which support socket-based 3 | activation. Applications can expose the port number of a network service by 4 | implementing this interface. For example, application like 5 | service-config-manager will implement this interface for network services 6 | like bmcweb and phosphor-ipmi-net and allow the port number to be 7 | configured. 8 | 9 | properties: 10 | - name: Port 11 | type: uint16 12 | description: > 13 | Specifies the port number on which the service is listening. This 14 | property can be set to configure a port number for the service. 15 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/TPM/Policy.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to set Trusted Platform Module policy. 3 | 4 | properties: 5 | - name: TPMEnable 6 | type: boolean 7 | description: > 8 | Whether or not TPM is enabled. 9 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Control/ThermalMode.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide alternative thermal control modes of a system that can 3 | be enabled, overriding the system defaults. 4 | 5 | Control.ThermalMode.Supported is read only. 6 | Implementation of this interface populates the list of supported modes. 7 | Control.ThermalMode.Current is read/write. 8 | Implementation specific mode for the thermal control application 9 | to run in. 10 | 11 | properties: 12 | - name: Supported 13 | type: array[string] 14 | flags: 15 | - readonly 16 | description: > 17 | An implementation specific list of supported modes that the thermal 18 | control application can be configured to provide for a platform. 19 | - name: Current 20 | type: string 21 | default: "Default" 22 | description: > 23 | The current mode the thermal control application should execute in 24 | selected from the supported modes provided. 25 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Debug/Pid/Zone.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to show the states of the zone. 3 | 4 | properties: 5 | - name: Leader 6 | type: string 7 | flags: 8 | - readonly 9 | description: > 10 | This means the name of the thermal/Power PID config that is driving 11 | the fans. 12 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Dump/Create.errors.yaml: -------------------------------------------------------------------------------- 1 | # xyz.openbmc_project.Dump.Create.Error.Disabled 2 | - name: Disabled 3 | description: Dump is disabled on this system. 4 | 5 | # xyz.openbmc_project.Dump.Create.Error.QuotaExceeded 6 | - name: QuotaExceeded 7 | description: Dump not captured due to a cap. 8 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Dump/Create.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: Disabled 2 | level: ERR 3 | 4 | - name: QuotaExceeded 5 | meta: 6 | - str: "REASON=%s" 7 | type: string 8 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Dump/Entry/BMC.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement this to add BMC dump management. 3 | 4 | BMC dump is generated on the BMC with debug data for debugging the issues 5 | encountered on the BMC. 6 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Dump/Entry/FaultLog.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement this to add FaultLog dump management. 3 | 4 | properties: 5 | - name: Type 6 | type: enum[xyz.openbmc_project.Common.FaultLogType.FaultLogTypes] 7 | description: > 8 | Type of fault data in the log indicated by PrimaryLogId. 9 | flags: 10 | - const 11 | - name: AdditionalTypeName 12 | type: string 13 | description: > 14 | Additional string to further identify the Type (e.g. it can indicate 15 | the OEM format of a Crashdump) 16 | flags: 17 | - const 18 | - name: PrimaryLogId 19 | type: string 20 | description: > 21 | This is intended to be a unique identifier, depending on Type, to 22 | reference the primary fault data log but is not intended otherwise to 23 | be programmatically interpreted (e.g. string parsing) 24 | flags: 25 | - const 26 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Dump/Entry/NIC.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement this to add NIC dump management. 3 | 4 | NIC dump is generated on the NIC with debug data for debugging the issues 5 | encountered on the NIC. 6 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/HardwareIsolation.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: IsolatedAlready 2 | description: The requested hardware is already isolated. 3 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: NotPresent 2 | description: The inventory is not present. 3 | - name: Nonfunctional 4 | description: The inventory is nonfunctional. 5 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: NotPresent 2 | inherits: 3 | - xyz.openbmc_project.Common.Callout.Inventory 4 | - name: Nonfunctional 5 | inherits: 6 | - xyz.openbmc_project.Common.Callout.Inventory 7 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Connector/Embedded.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide embedded connector attributes. An embedded component is 3 | permanently incorporated into a larger component or device. This interface 4 | shall not be used for parts that can be removed by a user or are considered 5 | field-replaceable. 6 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Connector/Port.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | This defines a Port of a switch, controller, chassis, or any other device 3 | that could be connected to another entity. 4 | 5 | association: 6 | name: connected_to 7 | description: > 8 | Objects that are connected at the other end of the link. 9 | reverse_name: connecting 10 | required_endpoint_interfaces: 11 | - xyz.openbmc_project.Inventory.Item.FabricAdapter 12 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Connector/Slot.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide slot connector attributes. An slot component is a 3 | swappable component that can be removed by a user and considered 4 | field-replaceable. The slot component represents a PCIe slot connections. 5 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Decorator/AssetTag.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide Asset Tag. The asset tag is used to uniquely identify 3 | the object. 4 | properties: 5 | - name: AssetTag 6 | type: string 7 | description: > 8 | The tag provided to an object to identify it. 9 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Decorator/CLEI.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to indicate an item with a defined Common Language Equipment 3 | Identifier (CLEI) number. 4 | 5 | properties: 6 | - name: CLEINumber 7 | type: string 8 | description: > 9 | The CLEI number of the inventory item. 10 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Decorator/Cacheable.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to indicate item availability changes. 3 | properties: 4 | - name: Cached 5 | type: boolean 6 | description: > 7 | Whether or not the item is cached. When true, the item and its 8 | remaining attributes are undefined. 9 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Decorator/Compatible.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Inventory component manufacturers can provide different model identifiers 3 | (xyz.openbmc_project.Inventory.Decorator.Asset) for their components that 4 | don't require different software configurations. 5 | 6 | xyz.openbmc_project.Inventory.Decorator.Compatible can be implemented to add 7 | an additional, more generalized dimension of classification to inventory 8 | components. 9 | properties: 10 | - name: Names 11 | type: array[string] 12 | description: > 13 | The names that are compatible with the inventory item. 14 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Decorator/CoolingType.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement properties to indicate the element cooling type (air, water, 3 | etc.). 4 | properties: 5 | - name: AirCooled 6 | type: boolean 7 | description: > 8 | The element uses air/fans for cooling when set to true. 9 | - name: WaterCooled 10 | type: boolean 11 | description: > 12 | The element uses water for cooling when set to true. 13 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Decorator/Dimension.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide physical dimension attributes. 3 | 4 | properties: 5 | - name: Height 6 | type: double 7 | description: > 8 | The height in meters. 9 | - name: Width 10 | type: double 11 | description: > 12 | The width in meters. 13 | - name: Depth 14 | type: double 15 | description: > 16 | The depth in meters. 17 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Decorator/I2CDevice.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement this interface to expose an I2C device as an inventory item. 3 | Properties include the I2C bus number and the device address. 4 | 5 | properties: 6 | - name: Bus 7 | type: size 8 | description: > 9 | The I2C adapter number as defined in the Linux kernel's i2c dev 10 | interface document. 11 | 12 | - name: Address 13 | type: size 14 | description: > 15 | I2C address of the device as defined in the Linux kernel documents. 16 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Decorator/LocationCode.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide location code of an inventory item. 3 | properties: 4 | - name: LocationCode 5 | type: string 6 | description: 7 | A free form, implementation defined string to provide location code of 8 | an Inventory Item. Location codes can be used to identify specific 9 | parts in a system. Although this field should not be used for 10 | programmatic interrogation of an inventory object. 11 | default: "" 12 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Decorator/ManagedHost.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to define the inventory item as being the embodiment of a managed 3 | host computer system. 4 | properties: 5 | - name: HostIndex 6 | type: size 7 | description: 8 | The index / identifier of the managed host computer system. Many 9 | existing designs use an index-based design for representing the 10 | host. This index is used for finding those relationship when an 11 | existing association is not defined. 12 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Decorator/ManufacturerExt.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to define extended manufacturing data for inventory items. 3 | 4 | properties: 5 | - name: ExtendedMFGData 6 | type: dict[string, string] 7 | description: > 8 | A dictionary of manufacturer-specific extended data fields, which may 9 | contain fields such as manufacturing plant, lot number, etc. 10 | 11 | These fields must not be used for programmatic interrogation of an 12 | inventory object but may be useful for various human-oriented tasks, 13 | such as part failure analysis. Any field needed for programmatic 14 | interrogation should be promoted to a first-class property in another 15 | Item or Decorator interface. 16 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Decorator/MeetsMinimumShipLevel.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | 'Applications may implement the MeetsMinimumShipLevel (MSL) decorator on an 3 | object in the inventory namespace to denote that the item does or does not 4 | meet an implementation defined minimum level for shipment requirement. 5 | 6 | There are no requirements on how implementations react to inventory items 7 | that do or do not meet the MSL. Typical reactions might be to prevent a 8 | system from powering on or logging events.' 9 | 10 | properties: 11 | - name: MeetsMinimumShipLevel 12 | type: boolean 13 | description: > 14 | 'The inventory item meets the implementation defined minimum ship 15 | level requirements when MeetsMinimumShipLevel is true.' 16 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Decorator/Replaceable.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide item replacement attributes. 3 | properties: 4 | - name: FieldReplaceable 5 | type: boolean 6 | description: > 7 | Whether or not the item is field replaceable. 8 | - name: HotPluggable 9 | type: boolean 10 | description: > 11 | Whether or not the item supports hotplug. 12 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Decorator/Revision.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide item versioning attributes. 3 | properties: 4 | - name: Version 5 | type: string 6 | description: > 7 | The item version. 8 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Decorator/Slot.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide a slot number for an inventory item. 3 | properties: 4 | - name: SlotNumber 5 | type: size 6 | description: > 7 | The slot number 8 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Decorator/UniqueIdentifier.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide a unique identifier for an inventory item. 3 | properties: 4 | - name: UniqueIdentifier 5 | type: string 6 | description: > 7 | A free form, implementation defined string which uniquely and 8 | permanently identifies a specific inventory item. This is 9 | complementary to the item's serial number. This field should not be 10 | used for programmatic interrogation of an object. 11 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Decorator/VendorInformation.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide custom properties added to an item by the item vendor. 3 | properties: 4 | - name: CustomField1 5 | type: string 6 | description: > 7 | The custom field 1 of the item. 8 | - name: CustomField2 9 | type: string 10 | description: > 11 | The custom field 2 of the item. 12 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Decorator/VoltageControl.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to enable voltage configuration for the item. 3 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/Accelerator.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide hardware accelerator attributes. A hardware accelerator 3 | used to perform some functions more efficiently than is possible in software 4 | running on a general-purpose CPU. Examples of possible hardware accelerators 5 | include: GPUs, FPGAs, and ASICs. 6 | 7 | properties: 8 | - name: Type 9 | type: enum[self.AcceleratorType] 10 | default: "Unknown" 11 | description: > 12 | The type of accelerator. 13 | 14 | enumerations: 15 | - name: AcceleratorType 16 | description: > 17 | Possible accelerator type 18 | values: 19 | - name: "ASIC" 20 | description: > 21 | An ASIC. 22 | - name: "FPGA" 23 | description: > 24 | An FPGA. 25 | - name: "GPU" 26 | description: > 27 | A GPU. 28 | - name: "Unknown" 29 | description: > 30 | An unknown type. 31 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/Battery.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Battery interface should be implemented on those objects which represent a 3 | Battery. For example, this interface can be implemented by a battery 4 | inventory item that provides backup for a Real Time Clock (RTC). 5 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/Bmc.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide BMC attributes. Example attributes are the resource 3 | utilization of the BMC itself (BMC's CPU and memory, etc). 4 | 5 | associations: 6 | - name: monitored_by 7 | description: > 8 | Objects that implement Bmc can implement the 'monitored_by' 9 | association to link to utilization sensors for indicating the 10 | utilization sensors are for the BMC and not the host. 11 | reverse_names: monitoring 12 | required_endpoint_interfaces: 13 | - xyz.openbmc_project.Sensor.Value 14 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/Board.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide board attributes. 3 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/Board/IOBoard.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide IO board attributes. 3 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/Board/Motherboard.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide motherboard attributes. 3 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/Connector.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide connector attributes. A connector is typically an 3 | external port or a slot into which cables are plugged. 4 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/CpuCore.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide CPU core attributes. 3 | properties: 4 | - name: Microcode 5 | type: uint32 6 | description: > 7 | The microcode information for this processor 8 | default: 0 9 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/Dimm/MemoryLocation.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide Memory connection information to sockets and memory 3 | controllers. 4 | properties: 5 | - name: Socket 6 | type: byte 7 | description: > 8 | CPU socket. 9 | - name: MemoryController 10 | type: byte 11 | description: > 12 | Memory controller number of given socket. 13 | - name: Channel 14 | type: byte 15 | description: > 16 | Channel number of given memory controller. 17 | - name: Slot 18 | type: byte 19 | description: > 20 | Slot of given channel. 21 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/DiskBackplane.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide disk backplane attributes. A disk backplane is a card 3 | that typically houses storage disks such as hard drives and SSDs. 4 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/Ethernet.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide Ethernet card attributes. 3 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/FabricAdapter.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide fabric adapter attributes. A physical fabric adapter 3 | capable of connecting to an interconnect fabric. Examples include but are 4 | not limited to Ethernet, NVMe over Fabrics, etc. 5 | 6 | associations: 7 | name: connecting 8 | description: > 9 | Objects that implement FabricAdapter can optionally implement the 10 | connecting association to provide links to one or more Ports. 11 | reverse_name: connected_to 12 | required_endpoint_interfaces: 13 | - xyz.openbmc_project.Inventory.Connector.Port 14 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/Fan.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide Fan attributes. 3 | 4 | associations: 5 | - name: cooling 6 | description: > 7 | Objects that implement Fan can optionally implement the 'cooling' 8 | association to provide a link back to a Item. 9 | reverse_name: cooled_by 10 | required_endpoint_interfaces: 11 | - xyz.openbmc_project.Inventory.Item 12 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/Global.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide global attributes. 3 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/NetworkInterface.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide network interface attributes. 3 | properties: 4 | - name: MACAddress 5 | type: string 6 | description: > 7 | MAC address of the item 8 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/PCIeSwitch.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide PCIe Switch attributes. PCIe switches enable the 3 | expansion of the system's Input/Output capabilities. 4 | 5 | associations: 6 | name: connecting 7 | description: > 8 | Objects that implement Switch interface can optionally implement the 9 | connecting association to provide links to one or more Slots. 10 | reverse_name: connected_to 11 | required_endpoint_interfaces: 12 | - xyz.openbmc_project.Inventory.Item.PCIeSlot 13 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/Panel.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide Panel FRU attributes. A panel is typically found on the 3 | chassis of a system and can be used to physically control the system and/or 4 | display system status. 5 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/PersistentMemory/Partition.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide memory partition attributes. 3 | properties: 4 | - name: PartitionId 5 | type: string 6 | description: > 7 | Unique region ID representing a specific region within the Memory. 8 | - name: SizeInKiB 9 | type: uint64 10 | description: > 11 | Size of this memory region in kibibytes (KiB). 12 | - name: MemoryClassification 13 | type: string 14 | description: > 15 | Classification of memory occupied by the given memory region. 16 | - name: OffsetInKiB 17 | type: uint64 18 | description: > 19 | Offset with in the Memory that corresponds to the starting of this 20 | memory region in KiB. 21 | - name: PassphraseState 22 | type: boolean 23 | description: > 24 | An indication of whether the state of the passphrase for this region 25 | is enabled. 26 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/PersistentMemory/PowerManagementPolicy.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide the power management policy for the current resource. 3 | properties: 4 | - name: PolicyEnabled 5 | type: boolean 6 | description: > 7 | Power management policy enabled status. 8 | - name: MaxTDPmW 9 | type: uint32 10 | description: > 11 | Maximum TDP in milliwatts. 12 | - name: PeakPowerBudgetmW 13 | type: uint32 14 | description: > 15 | Peak power budget in milliwatts. 16 | - name: AveragePowerBudgetmW 17 | type: uint32 18 | description: > 19 | Average power budget in milliwatts. 20 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/PersistentMemory/SecurityCapabilities.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide security capability attributes. 3 | properties: 4 | - name: MaxPassphraseCount 5 | type: uint32 6 | description: > 7 | Maximum number of passphrases supported for this Memory. 8 | - name: PassphraseCapable 9 | type: boolean 10 | description: > 11 | Memory passphrase set capability. 12 | - name: ConfigurationLockCapable 13 | type: boolean 14 | description: > 15 | An indication of whether this memory supports the locking. 16 | - name: DataLockCapable 17 | type: boolean 18 | description: > 19 | An indication of whether this memory supports data locking. 20 | - name: PassphraseLockLimit 21 | type: uint32 22 | description: > 23 | The maximum number of incorrect passphrase attempts allowed before 24 | memory is locked. 25 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/PowerSupply.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide PowerSupply attributes. 3 | 4 | associations: 5 | - name: powering 6 | description: > 7 | Objects that implement PowerSupply can optionally implement the 8 | 'powering' association to provide a link back to a Item. 9 | reverse_name: powered_by 10 | required_endpoint_interfaces: 11 | - xyz.openbmc_project.Inventory.Item 12 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/Rotor.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide Rotor attributes. This interface should be at the same 3 | object path as a Fan for single-rotor fans or as a set of sub-path for 4 | multi-rotor fan design. 5 | 6 | properties: 7 | - name: NominalVoltage 8 | type: double 9 | description: > 10 | The nominal voltage of the fan in mV. 11 | 12 | - name: NominalCurrent 13 | type: double 14 | description: > 15 | The nominal maximum current of the fan in mA. 16 | 17 | - name: NominalRPM 18 | type: double 19 | description: > 20 | The nominal speed of the fan in RPMs. 21 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/Storage.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide storage attributes. 3 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/StorageController.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide storage controller attributes. 3 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/System.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | xyz.openbmc_project.Inventory.Item.System should be implemented on objects 3 | that represent a computer system. Implementing System does not provide any 4 | additional API but instead adds type context to objects implementing other 5 | inventory related DBus interfaces. 6 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/Tpm.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide Trusted Platform Module(TPM) attributes. 3 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Item/Vrm.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide VRM FRU attributes. A VRM is a voltage regulator 3 | module. 4 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Manager.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide inventory management features. 3 | 4 | An OpenBMC implementation providing inventory functions may provide zero or 5 | one implementation on the inventory namespace root. An implementing service 6 | should additionally implement org.freedesktop.DBus.ObjectManager on the 7 | inventory namespace root. 8 | methods: 9 | - name: Notify 10 | description: > 11 | Signal the implementing service that an item is ready to have its 12 | state managed. 13 | parameters: 14 | - name: object 15 | type: dict[object_path,dict[string,dict[string,variant[boolean,size,int64,uint16,string,array[byte],array[string]]]]] 16 | description: > 17 | A dictionary of fully enumerated items to be managed. 18 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Inventory/Source/DevicePresence.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Information for a daemon to expose if hardware has been detected based on 3 | xyz.openbmc_project.Configuration.GPIODeviceDetect interface 4 | 5 | properties: 6 | - name: Name 7 | type: string 8 | description: > 9 | Used by entity-manager to identify which hw was detected. For internal 10 | use by entity-manager. 11 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Ipmi/SESSION_README.md: -------------------------------------------------------------------------------- 1 | # Session Management 2 | 3 | ## Overview 4 | 5 | IPMI RMCP+ sessions are created and maintained by phosphor-ipmi-net daemon, 6 | whereas we need to provide details about the same using phosphor-ipmi-host. 7 | Hence IPMI RMCP+ session details has to be exposed through D-Bus interface, so 8 | that both phosphor-ipmi-host & phosphr-ipmi-net will be in sync. 9 | 10 | ### xyz.openbmc_project.Ipmi.SessionInfo interface 11 | 12 | #### properties 13 | 14 | - SessionHandle - SessionHandle,unique one-byte number to locate the session. 15 | - Channel - Session created channel. 16 | - SessionPrivilege - Privilege of the session. 17 | - RemoteIPAddr – Remote IP address. 18 | - RemotePort - Remote port address. 19 | - RemoteMACAddress -Remote MAC Address. 20 | - UserID - Session created by given user id. 21 | 22 | ### xyz.openbmc_project.Object.Delete 23 | 24 | #### methods 25 | 26 | - Delete - To delete the session object in the system. 27 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Led/Group.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Interface to control LED groups. 3 | properties: 4 | - name: Asserted 5 | type: boolean 6 | description: > 7 | Whether or not the group is currently asserted. To assert a group, set 8 | to True. To de-assert a group, set to False. 9 | 10 | associations: 11 | - name: identifying 12 | description: > 13 | Objects that implement LED group can optionally implement the 14 | 'identifying' association to provide a link back to a Item. 15 | reverse_name: identified_by 16 | required_endpoint_interfaces: 17 | - xyz.openbmc_project.Inventory.Item 18 | - name: fault_identifying 19 | description: > 20 | Objects that implement LED group can optionally implement the 21 | 'fault_identifying' association to provide a link back to a Item. 22 | reverse_name: fault_identified_by 23 | required_endpoint_interfaces: 24 | - xyz.openbmc_project.Inventory.Item 25 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Logging.events.yaml: -------------------------------------------------------------------------------- 1 | version: 1.0.1 2 | 3 | events: 4 | - name: Cleared 5 | en: 6 | description: Indicate the user cleared all logs. 7 | message: Event log cleared by user. 8 | metadata: 9 | - name: NumberOfLogs 10 | description: The number of logs present before clearing. 11 | type: uint64 12 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Logging/ErrorBlocksTransition.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Empty interface to indicate that the associated `Logging.Entry` should 3 | prevent a state transition of the associated managed element while the 4 | `Logging.Entry` is not `Resolved` or been deleted. 5 | 6 | The specific state transition(s) to prevent are left to the implementation. 7 | A typical use of this would be to prevent the power-on of a managed host 8 | while a critical error is open. The managed host, via systemd transitions, 9 | might start the power-on sequence and then wait for any object with this 10 | `ErrorBlocksTransition` interface to no longer be instantiated. Causal 11 | ordering of D-Bus operations can prove that no critical error needs 12 | servicing and the power-on sequence may safely continue. 13 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Logging/SEL.errors.yaml: -------------------------------------------------------------------------------- 1 | # xyz.openbmc_project.Logging.SEL.Error.Created 2 | - name: Created 3 | description: A System Event Log is created 4 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Logging/SEL.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: Created 2 | level: INFO 3 | meta: 4 | - str: "RECORD_TYPE=%u" 5 | type: uint8 6 | - str: "GENERATOR_ID=%u" 7 | type: uint16 8 | - str: "SENSOR_DATA=%s" 9 | type: string 10 | - str: "EVENT_DIR=%u" 11 | type: uint8 12 | - str: "SENSOR_PATH=%s" 13 | type: string 14 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Logging/Settings.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to control different behaviors on the Logging service. See 3 | properties below for more information. 4 | properties: 5 | - name: QuiesceOnHwError 6 | type: boolean 7 | default: false 8 | description: > 9 | If true, a hardware failure within the system will result in a Quiesce 10 | of the BMC state. If false, no action is taken. 11 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Logging/Syslog/Destination/Mail.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Interface to control sending syslog messages via e-mail. 3 | 4 | properties: 5 | - name: From 6 | type: string 7 | description: > 8 | Specifies e-mail address from which mails would be sent. 9 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Logging/Syslog/Destination/Mail/Entry.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Interface representing an e-mail destination for syslog messages. 3 | 4 | The object which implements this interface must implement 5 | xyz.openbmc_project.Object.Delete. 6 | 7 | properties: 8 | - name: Mailto 9 | type: string 10 | flags: 11 | - readonly 12 | description: > 13 | Specifies the mailto: URI (RFC6068) to send events to. 14 | - name: Level 15 | type: enum[xyz.openbmc_project.Logging.Entry.Level] 16 | description: > 17 | Specifies the maximum level for the log events to be sent. 18 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Memory/MemoryECC.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: isLoggingLimitReached 2 | description: ECC collection limit is reached. 3 | 4 | - name: ceCount 5 | description: Correctable ECC/other correctable memory error. 6 | 7 | - name: ueCount 8 | description: Uncorrectable ECC/other uncorrectable memory error. 9 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Metric/Reset.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | This interface allows to reset persistent metric counters. 3 | 4 | methods: 5 | - name: Reset 6 | description: > 7 | Resets the persistent count for the metric. 8 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Network/Client/Create.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | methods: 3 | - name: Client 4 | description: > 5 | Create network client endpoint. 6 | parameters: 7 | - name: Address 8 | type: string 9 | description: > 10 | IP Address/Hostname 11 | - name: Port 12 | type: uint16 13 | description: > 14 | Network port. 15 | errors: 16 | - xyz.openbmc_project.Common.Error.InvalidArgument 17 | returns: 18 | - name: path 19 | type: string 20 | description: > 21 | Path of the object which has been created. 22 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Network/MACAddress.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | This defines a MAC address of ethernet interface. 3 | 4 | properties: 5 | - name: MACAddress 6 | type: string 7 | description: > 8 | MAC address of the ethernet interface in six groups of two hexadecimal 9 | digits separated by colons. Example: 01:23:45:67:89:AB 10 | errors: 11 | - xyz.openbmc_project.Common.Error.InvalidArgument 12 | - xyz.openbmc_project.Common.Error.InternalFailure 13 | - xyz.openbmc_project.Common.Error.NotAllowed 14 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Network/StaticGateway.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | This interface defines network static gateway 3 | 4 | properties: 5 | - name: Gateway 6 | type: string 7 | description: > 8 | The value of this property shall be a next hop address assigned to the 9 | ethernet interface to reach destination address. 10 | errors: 11 | - xyz.openbmc_project.Common.Error.NotAllowed 12 | 13 | - name: ProtocolType 14 | type: enum[xyz.openbmc_project.Network.IP.Protocol] 15 | description: > 16 | Protocol type can be IPv4 or IPv6 etc. 17 | errors: 18 | - xyz.openbmc_project.Common.Error.NotAllowed 19 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Network/StaticGateway/Create.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | methods: 3 | - name: StaticGateway 4 | description: > 5 | Create a static gateway entry. 6 | parameters: 7 | - name: Gateway 8 | type: string 9 | description: > 10 | Static gateway address 11 | - name: ProtocolType 12 | type: enum[xyz.openbmc_project.Network.IP.Protocol] 13 | description: > 14 | protocol type can be IPv4 or IPv6 etc. 15 | returns: 16 | - name: Path 17 | type: object_path 18 | description: > 19 | The path for the created static gateway object. 20 | errors: 21 | - xyz.openbmc_project.Common.Error.InvalidArgument 22 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Network/SystemConfiguration.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide system specific network configuration features. 3 | properties: 4 | - name: HostName 5 | type: string 6 | description: > 7 | The value of this property shall be host name of the system. 8 | errors: 9 | - xyz.openbmc_project.Common.Error.InvalidArgument 10 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Network/VLAN.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | This defines VLAN specific parameters. 3 | 4 | # TODO Fix it through https://github.com/openbmc/openbmc/issues/1438 5 | # creatable: true 6 | 7 | properties: 8 | - name: Id 9 | type: uint32 10 | flags: 11 | - const 12 | description: > 13 | VLAN Identifier. 14 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Nvme/Status.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: CapacityFault 2 | description: The available spare capacity has fallen below the threshold 3 | 4 | - name: TemperatureFault 5 | description: 6 | A temperature is above an over temperature threshold or below an under 7 | temperature threshold 8 | 9 | - name: DegradesFault 10 | description: 11 | The NVM subsystem reliability has been degraded due to significant media 12 | related errors or any internal error that degrades NVM subsystem 13 | reliability. 14 | 15 | - name: MediaFault 16 | description: The media has been placed in read only mode. 17 | 18 | - name: BackupDeviceFault 19 | description: The volatile memory backup device has failed. 20 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Object/Delete.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide object removal. 3 | methods: 4 | - name: Delete 5 | description: > 6 | Delete the object implementing Delete. 7 | errors: 8 | - xyz.openbmc_project.Common.Error.InternalFailure 9 | - xyz.openbmc_project.Common.Error.NotAllowed 10 | - xyz.openbmc_project.Common.Error.Unavailable 11 | - xyz.openbmc_project.Common.Error.InsufficientPermission 12 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/PFR/Attributes.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Provides the object attributes needed for resiliency of platform firmware, 3 | recommended by NIST SP 800-193. 4 | 5 | properties: 6 | - name: Provisioned 7 | type: boolean 8 | description: > 9 | Indicates platform firmware provisioned state. Provisioned platform 10 | may provide resiliency features. 11 | errors: 12 | - xyz.openbmc_project.Common.Error.InternalFailure 13 | 14 | - name: Locked 15 | type: boolean 16 | description: > 17 | Indicates the platform firmware provisioning locked state. Once the 18 | provisioning is locked, it can't be re-provisioned. 19 | errors: 20 | - xyz.openbmc_project.Common.Error.InternalFailure 21 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/PLDM/Provider/Certs/Authority/CSR.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement this interface to pass CSR string to PLDM to get CSR signed by 3 | host. 4 | 5 | xyz.openbmc_project.Certs.ca.authority.Manager object implements this 6 | interface which is added in the below commit 7 | https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/31808 8 | 9 | properties: 10 | - name: CSR 11 | type: string 12 | description: > 13 | Certificate signing request content. Should be a valid PEM encoded CSR 14 | string. It's a const property. 15 | flags: 16 | - const 17 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/ScheduledTime.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: InvalidTime 2 | description: Scheduled time is in the past 3 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/ScheduledTime.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: InvalidTime 2 | level: ERR 3 | meta: 4 | - str: "REASON=%s" 5 | type: string 6 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Sensor/Accuracy.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide accuracy for sensor readings. 3 | 4 | properties: 5 | - name: Accuracy 6 | type: double 7 | default: NaN 8 | description: > 9 | The accuracy range (+/-) of the sensor Value as a percentage, with a 10 | value between 0 and 100. This is NOT a percentage of the sensor value 11 | ranges. A value of 0.25 would be 0.25%, a value of 2 would represent 12 | 2%. A value of 2 for 2% would mean that a reading of 10 would have an 13 | actual value of 9.8 to 10.2. 14 | flags: 15 | - readonly 16 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Sensor/Device.errors.yaml: -------------------------------------------------------------------------------- 1 | # xyz.openbmc_project.Sensor.Device.ReadFailure 2 | - name: ReadFailure 3 | description: Failed to read from device. 4 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Sensor/Device.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: ReadFailure 2 | inherits: 3 | - xyz.openbmc_project.Common.Callout.Device 4 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Sensor/Threshold.errors.yaml: -------------------------------------------------------------------------------- 1 | # xyz.openbmc_project.Sensor.Threshold.CriticalHigh 2 | - name: CriticalHigh 3 | description: Sensor device has exceeded its upper bound. 4 | 5 | # xyz.openbmc_project.Sensor.Threshold.CriticalLow 6 | - name: CriticalLow 7 | description: Sensor device has exceeded its lower bound. 8 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Sensor/Threshold.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: CriticalHigh 2 | level: ERR 3 | meta: 4 | - str: "SENSOR_DATA=%s" 5 | type: string 6 | - name: CriticalLow 7 | level: ERR 8 | meta: 9 | - str: "SENSOR_DATA=%s" 10 | type: string 11 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Sensor/ValueMutability.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide sensor value mutability. 3 | properties: 4 | - name: Mutable 5 | type: boolean 6 | default: false 7 | description: > 8 | A hint to a server that provides sensor access to external users, such 9 | as an IPMI server, as to whether or not to allow external users to 10 | modify the value, via "set sensor value" commands or similar. True to 11 | allow modification (read-write). False to disallow modification 12 | (read-only). 13 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Smbios/MDR_V2.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: InvalidParameter 2 | description: > 3 | An invalid parameter is attempted. 4 | - name: UpdateInProgress 5 | description: > 6 | Update is in progress. 7 | - name: InvalidId 8 | description: > 9 | An invalid Id is attempted. 10 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Smbios/README.md: -------------------------------------------------------------------------------- 1 | # SMBIOS MDR V2 2 | 3 | ## Overview 4 | 5 | SMBIOS MDR V2 service exposes D-Bus methods for SMBIOS Version 2 operations. 6 | 7 | ### SMBIOS MDR V2 Interface 8 | 9 | SMBIOS MDR V2 interface `xyz.openbmc_project.Smbios.MDR_V2` provides following 10 | methods. 11 | 12 | #### methods 13 | 14 | - GetDirectoryInformation - Get the directory with directory index. 15 | - GetDataInformation - Get the data information with id index and data set ID. 16 | - SendDirectoryInformation - Send directory information to SMBIOS directory. 17 | - GetDataOffer - Get data set ID. 18 | - SendDataInformation - Send data information with directory index. 19 | - FindIdIndex - Find id index by data info. 20 | - SynchronizeDirectoryCommonData - Synchronize directory common data before 21 | SMBIOS data start to transfer. 22 | - AgentSynchronizeData - Synchronize SMBIOS data from file after data transfer 23 | complete. 24 | 25 | #### properties 26 | 27 | - DirEntries - Numbers of directory entries. Default: 0 28 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Software/ActivationBlocksTransition.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Empty interface to indicate that the associated `Software.Version` should 3 | prevent a state transition of the associated managed element while the 4 | `Software.Version` is in `Activating` state. 5 | 6 | The specific state transition(s) to prevent are left to the implementation. 7 | A typical use of this would be to prevent (delay) the power-on of a managed 8 | host while the BIOS is being updated. The managed host, via systemd 9 | transitions, might start the power-on sequence and then wait for any object 10 | with this `ActivationBlocksTransition` interface to no longer be in 11 | `Activating` state. Causal ordering of dbus operations can prove that no 12 | update is currently being performed and the power-on sequence may safely 13 | continue. 14 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Software/ActivationProgress.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Progress for current step of an associated 3 | xyz.openbmc_project.Software.Version. 4 | properties: 5 | - name: Progress 6 | type: byte 7 | description: > 8 | An integer between 0 and 100 representing the percentage complete of 9 | the current step in software update. 10 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Software/ApplyOptions.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | To implement the Activation apply options for a newly uploaded firmware 3 | image. The apply options property is specific to each firmware update and is 4 | used during firmware activation. ApplyOptions usage during firmware 5 | activation is implementation specific, not all firmware targets need 6 | ApplyOptions. This property is removed after activation of the firmware is 7 | done and when the firmware goes to Active state. The default value of this 8 | property is false. 9 | properties: 10 | - name: ClearConfig 11 | type: boolean 12 | default: false 13 | description: > 14 | This property indicates whether to clear the software configurations 15 | when the firmware image update is getting applied. A value of true 16 | indicates the firmware configurations should be cleared along with 17 | firmware image activation. 18 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Software/ApplyTime.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | To implement the apply time of a newly updated software image. The apply 3 | time property is global to all firmware update packages and the default 4 | value of the property is OnReset. 5 | properties: 6 | - name: RequestedApplyTime 7 | type: enum[self.RequestedApplyTimes] 8 | description: > 9 | This property indicates when the software image update should be 10 | applied. 11 | enumerations: 12 | - name: RequestedApplyTimes 13 | description: > 14 | The possible values of this property indicate when the newly updated 15 | software image will be activated. 16 | values: 17 | - name: Immediate 18 | description: > 19 | Apply immediately. 20 | - name: OnReset 21 | description: > 22 | Apply on a reset. 23 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Software/ExtendedVersion.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | An extended version string for a xyz.openbmc_project.Software.Version. 3 | properties: 4 | - name: ExtendedVersion 5 | type: string 6 | description: > 7 | Extended version of the level. 8 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Software/Image.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: UnTarFailure 2 | description: An error occurred during untar. 3 | - name: ManifestFileFailure 4 | description: An error when reading the Manifest file. 5 | - name: InternalFailure 6 | description: The operation failed internally during processing the image. 7 | - name: ImageFailure 8 | description: An error occurred processing the image. 9 | - name: BusyFailure 10 | description: The device is busy during the update. 11 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Software/Image.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: UnTarFailure 2 | level: ERR 3 | meta: 4 | - str: "PATH=%s" 5 | type: string 6 | - name: ManifestFileFailure 7 | level: ERR 8 | meta: 9 | - str: "PATH=%s" 10 | type: string 11 | - name: InternalFailure 12 | level: ERR 13 | meta: 14 | - str: "FAIL=%s" 15 | type: string 16 | - name: ImageFailure 17 | level: ERR 18 | meta: 19 | - str: "FAIL=%s" 20 | type: string 21 | - str: "PATH=%s" 22 | type: string 23 | - name: BusyFailure 24 | level: ERR 25 | meta: 26 | - str: "PATH=%s" 27 | type: string 28 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Software/MinimumVersion.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | The minimum version string for a xyz.openbmc_project.Software.Version. 3 | properties: 4 | - name: MinimumVersion 5 | type: string 6 | description: > 7 | The minimum software version that a component must have to operate. 8 | The string format should be the same format used for the Version 9 | property of the component. 10 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Software/RequestedRedundancyPriority.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | The requested priority, for redundancy purposes, of the associated 3 | `xyz.openbmc_project.Software.Version` prior to its activation. 4 | properties: 5 | - name: Priority 6 | type: byte 7 | default: 0 8 | description: > 9 | Upon Activation of the software Version, the *ItemUpdater* should 10 | attempt to activate the software version such that the resulting 11 | `Software.RedundancyPriority.Priority` is Priority. 12 | 13 | See `Software.RedundancyPriority.Priority` for valid values and 14 | definitions. 15 | 16 | By default, any Activation should be done to the highest priority. 17 | Some *ItemUpdater* implementations may be unable to apply this 18 | `RequestedRedundancyPriority.Priority`, resulting in an 19 | `ActivationState` which is either `Failed` or `Active` with `Priority` 20 | of `0 (High)`. 21 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Software/Settings.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide software settings management. 3 | 4 | properties: 5 | - name: WriteProtected 6 | type: boolean 7 | default: false 8 | description: > 9 | This property shall indicate whether the software image can be 10 | overwritten, where a value `true` shall indicate that the software 11 | cannot be altered or overwritten. 12 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Software/Update.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: Incompatible 2 | description: > 3 | The system component has a software version which is incompatible with the 4 | new image or the image is not meant for the system component. 5 | - name: InvalidSignature 6 | description: > 7 | Signature Validation failed for the supplied firmware image. 8 | - name: InvalidImage 9 | description: > 10 | The supplied firmware image is invalid or corrupt. 11 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Software/Version.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: Incompatible 2 | description: > 3 | A system component has a software version that is incompatible as 4 | determined by the implementation and needs to be updated. Some usage 5 | examples for this error include creating logging events and providing 6 | information on implementation reactions such as when the system is 7 | prevented from powering on if a minimum version level is not met. 8 | - name: AlreadyExists 9 | description: > 10 | This image version already exists on the device 11 | - name: InvalidSignature 12 | description: > 13 | Signature Validation failed for image version. 14 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Software/Version.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: Incompatible 2 | level: ERR 3 | meta: 4 | - str: "MIN_VERSION=%s" 5 | type: string 6 | - str: "ACTUAL_VERSION=%s" 7 | type: string 8 | - str: "VERSION_PURPOSE=%s" 9 | type: string 10 | - name: AlreadyExists 11 | level: ERR 12 | meta: 13 | - str: "IMAGE_VERSION=%s" 14 | type: string 15 | - name: InvalidSignature 16 | level: ERR 17 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/State/BMC.errors.yaml: -------------------------------------------------------------------------------- 1 | # xyz.openbmc_project.State.BMC.Error.MultiUserTargetFailure 2 | - name: MultiUserTargetFailure 3 | description: The systemd multi-user.target failed to complete 4 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/State/BMC.events.yaml: -------------------------------------------------------------------------------- 1 | version: 1.0.0 2 | 3 | events: 4 | - name: RebootCause 5 | metadata: 6 | - name: Cause 7 | type: enum[xyz.openbmc_project.State.BMC.RebootCause] 8 | primary: true 9 | description: The detected cause of the last BMC reboot. 10 | en: 11 | description: The BMC reboot and the cause was identified. 12 | message: The last BMC reboot was caused by '{Cause}'. 13 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/State/BMC.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: MultiUserTargetFailure 2 | inherits: 3 | - xyz.openbmc_project.State.SystemdTarget.Failure 4 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/State/BMCRedundancy.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | An interface to describe the primary BMC within a multi-BMC environment. 3 | properties: 4 | - name: ActivePrimaryBMC 5 | type: object_path 6 | description: > 7 | indicates the active-primary BMC object path, looks like: 8 | "/xyz/openbmc_project/inventory/system/chassis0/bmc0" 9 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/State/Boot/Raw.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide the Power-On Self Test codes from the host. 3 | 4 | properties: 5 | - name: Value 6 | type: struct[array[byte],array[byte]] 7 | description: > 8 | The POST code value. 9 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/State/Cable.events.yaml: -------------------------------------------------------------------------------- 1 | version: 1.0.0 2 | 3 | errors: 4 | - name: CableDisconnected 5 | severity: warning 6 | metadata: 7 | - name: PortId 8 | type: string 9 | primary: true 10 | description: The port where an expected cable is not connected. 11 | en: 12 | description: An expected cable is not connected. 13 | message: An expected cable on port {PortId} is not connected. 14 | resolution: Check and fix cable connections. 15 | errno: ENODEV 16 | 17 | events: 18 | - name: CableConnected 19 | metadata: 20 | - name: PortId 21 | type: string 22 | primary: true 23 | description: The port where an expected cable is connected. 24 | en: 25 | description: An expected cable is connected. 26 | message: An expected cable on port {PortId} is connected. 27 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/State/Chassis.errors.yaml: -------------------------------------------------------------------------------- 1 | # xyz.openbmc_project.State.Chassis.Error.PowerOnFailure 2 | - name: PowerOnFailure 3 | description: The systemd obmc-chassis-poweron.target failed to complete 4 | # xyz.openbmc_project.State.Chassis.Error.PowerOffFailure 5 | - name: PowerOffFailure 6 | description: The systemd obmc-chassis-poweroff.target failed to complete 7 | # xyz.openbmc_project.State.Chassis.Error.PowerCycleFailure 8 | - name: PowerCycleFailure 9 | description: The systemd obmc-chassis-powercycle.target failed to complete 10 | # xyz.openbmc_project.State.Chassis.Error.BMCNotReady 11 | - name: BMCNotReady 12 | description: The BMC is not in a Ready state, no power operations allowed 13 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/State/Chassis.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: PowerOnFailure 2 | inherits: 3 | - xyz.openbmc_project.State.SystemdTarget.Failure 4 | - name: PowerOffFailure 5 | inherits: 6 | - xyz.openbmc_project.State.SystemdTarget.Failure 7 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/State/Decorator/Availability.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to indicate the availability status of the object 3 | properties: 4 | - name: Available 5 | type: boolean 6 | description: > 7 | True if the object can be accessed. 8 | default: true 9 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/State/Decorator/OperationalStatus.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to indicate the operational status of the object 3 | properties: 4 | - name: Functional 5 | type: boolean 6 | description: > 7 | The object is functional or not. 8 | default: false 9 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/State/Decorator/PowerState.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to indicate the power state of the object 3 | properties: 4 | - name: PowerState 5 | type: enum[self.State] 6 | default: Unknown 7 | description: > 8 | The current power status of the object. 9 | 10 | enumerations: 11 | - name: State 12 | description: > 13 | Power state enum. 14 | values: 15 | - name: "On" 16 | description: > 17 | The state of the object is powered on. 18 | - name: "Off" 19 | description: > 20 | The state of the object is powered off. 21 | - name: PoweringOn 22 | description: > 23 | The object is in a temporary state between off and on. 24 | - name: PoweringOff 25 | description: > 26 | The object is in a temporary state between on and off. 27 | - name: Unknown 28 | description: > 29 | The power state is unknown. 30 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/State/Host.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: SoftOffTimeout 2 | inherits: 3 | - xyz.openbmc_project.Common.Timeout 4 | - name: HostStartFailure 5 | inherits: 6 | - xyz.openbmc_project.State.SystemdTarget.Failure 7 | - name: HostMinStartFailure 8 | inherits: 9 | - xyz.openbmc_project.State.SystemdTarget.Failure 10 | - name: HostShutdownFailure 11 | inherits: 12 | - xyz.openbmc_project.State.SystemdTarget.Failure 13 | - name: HostStopFailure 14 | inherits: 15 | - xyz.openbmc_project.State.SystemdTarget.Failure 16 | - name: HostRebootFailure 17 | inherits: 18 | - xyz.openbmc_project.State.SystemdTarget.Failure 19 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/State/Leak/Detector.events.yaml: -------------------------------------------------------------------------------- 1 | version: 2.0.0 2 | 3 | errors: 4 | - name: LeakDetectedCritical 5 | severity: critical 6 | metadata: 7 | - name: DetectorName 8 | type: object_path 9 | primary: true 10 | description: The name or identifier of the leak detector. 11 | errno: EPIPE 12 | redfish-mapping: Environmental.LeakDetectedCritical 13 | 14 | - name: LeakDetectedWarning 15 | severity: warning 16 | metadata: 17 | - name: DetectorName 18 | type: object_path 19 | primary: true 20 | description: The name or identifier of the leak detector. 21 | errno: EPIPE 22 | redfish-mapping: Environmental.LeakDetectedWarning 23 | 24 | events: 25 | - name: LeakDetectedNormal 26 | metadata: 27 | - name: DetectorName 28 | type: object_path 29 | primary: true 30 | description: The name or identifier of the leak detector. 31 | redfish-mapping: Environmental.LeakDetectedNormal 32 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/State/LockOut.events.yaml: -------------------------------------------------------------------------------- 1 | version: 1.0.0 2 | 3 | events: 4 | - name: LockOutEnabled 5 | metadata: 6 | - name: Identifier 7 | type: object_path 8 | primary: true 9 | description: The name or identifier of the Lock Out device. 10 | en: 11 | description: A Lock Out device has been enabled. 12 | message: The Lock Out device '{Identifier}' has been enabled. 13 | - name: LockOutDisabled 14 | metadata: 15 | - name: Identifier 16 | type: object_path 17 | primary: true 18 | description: The name or identifier of the Lock Out device. 19 | en: 20 | description: A Lock Out device has been disabled. 21 | message: The Lock Out device '{Identifier}' has been disabled. 22 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/State/PowerOnHours.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to provide the POH(Power-On-Hours) counter. 3 | properties: 4 | - name: POHCounter 5 | type: uint32 6 | description: > 7 | This counter shows how many hours the system has been running. The 8 | value is a cumulative one and includes all working hours since 9 | production. 10 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/State/Shutdown/Inventory.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: Fan 2 | description: The system shut down due to not enough functional fans. 3 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/State/Shutdown/Power.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: Fault 2 | description: The system was shut down because a power fault was detected. 3 | 4 | - name: Blackout 5 | description: The system suffered a power blackout. 6 | 7 | - name: Regulator 8 | description: A voltage regulator fault was detected. 9 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/State/Shutdown/ThermalEvent.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: Processor 2 | description: The system shut down due to processor overtemp. 3 | 4 | - name: GPU 5 | description: The system shut down due to a GPU overtemp. 6 | 7 | - name: Ambient 8 | description: System shutdown due to a high ambient temperature. 9 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/State/SystemdTarget.errors.yaml: -------------------------------------------------------------------------------- 1 | # xyz.openbmc_project.State.SystemdTarget.Error.Failure 2 | - name: Failure 3 | description: A systemd target has failed 4 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/State/SystemdTarget.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: Failure 2 | level: ERR 3 | meta: 4 | - str: "SYSTEMD_RESULT=%s" 5 | type: string 6 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Time.errors.yaml: -------------------------------------------------------------------------------- 1 | - name: NotAllowed 2 | description: The operation is not allowed 3 | - name: Failed 4 | description: The operation failed 5 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Time.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: NotAllowed 2 | inherits: 3 | - xyz.openbmc_project.Common.NotAllowed 4 | meta: 5 | - str: "OWNER=%s" 6 | type: string 7 | - str: "SYNC_METHOD=%s" 8 | type: string 9 | - name: Failed 10 | inherits: 11 | - xyz.openbmc_project.Common.InternalFailure 12 | meta: 13 | - str: "REASON=%s" 14 | type: string 15 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Time/EpochTime.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to control system time. 3 | properties: 4 | - name: Elapsed 5 | type: uint64 6 | description: > 7 | Time elpased since the Epoch(1 Jan 1970 00:00:00 UTC), in 8 | microseconds. 9 | 10 | On setting this property, errors may be thrown. InternalFailure means 11 | BMC fails to set the time. InsufficientPermission means it is not 12 | allowed to set time depend on the time settings. 13 | errors: 14 | - xyz.openbmc_project.Time.Error.NotAllowed 15 | - xyz.openbmc_project.Time.Error.Failed 16 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/Time/Synchronization.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Implement to set time synchronization method. 3 | 4 | properties: 5 | - name: TimeSyncMethod 6 | type: enum[self.Method] 7 | description: > 8 | The method of time synchronization. 9 | 10 | enumerations: 11 | - name: Method 12 | description: > 13 | Possible methods of time synchronization. 14 | values: 15 | - name: NTP 16 | description: > 17 | Sync by using the Network Time Protocol. 18 | - name: Manual 19 | description: > 20 | Sync time manually. 21 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/User/Common.metadata.yaml: -------------------------------------------------------------------------------- 1 | - name: UserNameExists 2 | level: ERR 3 | - name: UserNameDoesNotExist 4 | level: ERR 5 | - name: UserNameGroupFail 6 | level: ERR 7 | meta: 8 | - str: "REASON=%s" 9 | type: string 10 | - name: UserNamePrivFail 11 | level: ERR 12 | meta: 13 | - str: "REASON=%s" 14 | type: string 15 | - name: NoResource 16 | level: ERR 17 | meta: 18 | - str: "REASON=%s" 19 | type: string 20 | - name: GroupNameExists 21 | level: ERR 22 | - name: GroupNameDoesNotExist 23 | level: ERR 24 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/VirtualMedia/Process.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Provides general information about the object status. 3 | 4 | properties: 5 | - name: Active 6 | type: boolean 7 | description: > 8 | `True`, if object is occupied by active process, `False` otherwise. 9 | flags: 10 | - const 11 | errors: 12 | - xyz.openbmc_project.Common.Error.InternalFailure 13 | 14 | - name: ExitCode 15 | type: int32 16 | description: > 17 | If process terminates this property will contain returned exit code. 18 | flags: 19 | - const 20 | errors: 21 | - xyz.openbmc_project.Common.Error.InternalFailure 22 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/VirtualMedia/README.md: -------------------------------------------------------------------------------- 1 | # Virtual Media 2 | 3 | All exposed objects, their paths and interfaces are described in 4 | [openbmc/docs/designs/VirtualMedia.md][design]. 5 | 6 | [design]: https://github.com/openbmc/docs/blob/master/designs/VirtualMedia.md 7 | -------------------------------------------------------------------------------- /yaml/xyz/openbmc_project/VirtualMedia/Stats.interface.yaml: -------------------------------------------------------------------------------- 1 | description: > 2 | Provides statistic information about object. 3 | 4 | properties: 5 | - name: ReadIO 6 | type: uint64 7 | description: Number of read IOs since image mounting. 8 | flags: 9 | - const 10 | errors: 11 | - xyz.openbmc_project.Common.Error.InternalFailure 12 | 13 | - name: WriteIO 14 | type: uint64 15 | description: Number of write IOs since image mounting. 16 | flags: 17 | - const 18 | errors: 19 | - xyz.openbmc_project.Common.Error.InternalFailure 20 | --------------------------------------------------------------------------------