Age | Commit message (Collapse) | Author | Files | Lines |
|
When bmcweb is built with devtool, the B directory includes the trailing
slash, when it isn't devtooled (ie built normally) the B variable
doesn't include the slash. This causes issues when enabling the bmcweb
ptest targets.
This commit adds the slash, to make it build in both cases
Tested:
built with:
DISTRO_FEATURES_append = " ptest"
CORE_IMAGE_EXTRA_INSTALL += "bmcweb-ptest"
in local.conf, with both:
devtool modify bmcweb
and
devtool reset bmcweb
and verified code now builds both ways.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: Ie8bbe598b3d165f038c1e4df09ca97e02aeb539a
|
|
AppaRao Puli (1):
Move SystemBus init to early stage
Ed Tanous (2):
Add common error for imprecise matching
Move requestRoutes to asyncResp
Wludzik, Jozef (1):
Add POST and DELETE in MetricReportDefinitions
Change-Id: I4e6ab5913265850d6bf4c9c96f75df739c1814e1
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ed Tanous (2):
Make redfish namespace consistent
Add OData-version header
George Liu (1):
log-services: Error return 500(internal error)
Jason M. Bills (1):
Update Crashdump to the latest LogService and LogEntry schemas
Wludzik, Jozef (1):
Sync ReadingUnit with Redfish Sensor Schema
Change-Id: If37af58edf9f7a21161d7608b7fc7c0ee3310f69
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Yocto implements ptest classes for recipes. In general OpenBMC doesn't
implement ptest for any of its recipes. This is the first in an attempt
to change that, specifically, this enables ptest for the bmcweb recipe.
Examples for ptest + meson recipes are pulled from here:
http://layers.openembedded.org/layerindex/branch/master/recipes/?q=inherits%3Aptest+inherits%3Ameson
This commit implements the base ptest functionalityrequired to be able
to install and run the unit tests already present in bmcweb. The
specific changes are:
1. bmcweb recipe now inherits from ptest
2. When ptest is enabled, bmcweb now requires gtest and gmock
dependencies. This is done by updating DEPENDS. We also now require
bash at runtime, so that dependency is added, as that seems to be what
the upstream recipes do.
3. The meta-layer now includes a "run-ptest" script. This seems to be
the common convention in the upstream yocto recipes to include in the
meta layer so we should do the same thing here for consistency, even if
it is a little unconventional or odd.
To enable this and try it out, insert the following into your local.conf
DISTRO_FEATURES_append = " ptest"
CORE_IMAGE_EXTRA_INSTALL += "bmcweb-ptest"
This will add bmcweb ptests to your build. Keep in mind, this takes a
lot of flash space, so qemu is likely the best target, unless you're on
a system with eMMC, or a lot of SPI flash free. Once your system has
booted, you can run the tests by executing ptest_runner.
https://wiki.yoctoproject.org/wiki/Ptest
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I8c45c98afb941953c1855de2f3db10deea465b2a
|
|
Jayaprakash Mutyala (1):
ethernet: Fix for MAC address patch response
Jonathan Doman (1):
Refactor Processor object lookup
Ravi Teja (1):
Fix hypervisor IPv4StaticAddresses property patch
Change-Id: I9f0d08c56a678697dd34f952d26e445ba1702c49
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Gunnar Mills (3):
Remove duplicate entry in array
Add SameSite=Strict on Set-Cookie
Fix Power Restore Policy not valid enum error
Manojkiran Eda (1):
Change PostCode property signature
Change-Id: I48431eed0f68b159bf14dbccade304729271c1b5
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Johnathan Mantey (1):
Force HostName property to be read-only per the schema
Ravi Teja (1):
Fix IPv6DefaultGateway validator warnings
Xiaochao Ma (1):
Redfish: Implement new event log propety Resolved
Change-Id: I3133ced053bad67106461feffe6a42cc41942697
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ed Tanous (2):
Make missing static files directory non-fatal
Remove default.css from the image
Change-Id: Idc8e87c499f5fa604794114309250bcf65a8eb32
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jayaprakash Mutyala (1):
led: Fix for Chassis IndicatorLED patch response
P Dheeraj Srujan Kumar (1):
Initialize Event Service Config on bmcweb restart
Change-Id: Idb7a7930363971e65e2755f42d311eebc3f716e6
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
AppaRao Puli (1):
bmcweb build issue fix
Ed Tanous (1):
Disable nbd proxy from the build
Sunitha Harish (1):
Redfish Session : Fix clientIp getting mapped to clientId
Change-Id: Ia19e7f859ee2138b1cc744523bf83d72bb2d73aa
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Gunnar Mills (1):
Remove IBM copyright
Change-Id: I971011ebc4b0dfab84b6d6f5bd2914f8eba6b868
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Arun P. Mohanan (1):
Fix KVM issue on DISABLE_XSS_PREVENTION
Change-Id: I39698715d0ac8c870fe95196bb97704e26c1fd15
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Sunitha Harish (1):
EventService : Support async_resolve for subscribers
SunnySrivastava1984 (1):
Chassis Location property on bmcweb
Change-Id: Ie3cf589ea08b6d7c52bbaf11c2eebf9f1bf58284
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Geissler (2):
hypervisor: add state support
hypervisor: add support to turn on
Jonathan Doman (1):
log_services: Update PostCode D-Bus names
Change-Id: I1410b2903b00e1e8350b21c4ebe8529196cbbb1d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
When IPMI is removed from the build (like happens in QEMU images) the
mapper gets removed as well. bmcweb relies on phosphor-mapper, so add
an RDEPEND to that effect to make sure it gets installed properly.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I699c62225c9862c91a9d670b8c170e32f03e787d
|
|
DEPENDS and RDEPENDS statements were tabbed in a little weird. This
fixes that.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: Ib0b1acdc62bdec6dfcf21d54a5007f8751ee7e6e
|
|
Ed Tanous (2):
Fix the build on clang-11
Fix XSS regressions
Patrick Williams (1):
clang-format-11: reformat
Change-Id: I1f6fb0a45f4ce86bc2aa4b8c509d3e2a92acdef9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ed Tanous (6):
Start using sdbusplus::message::filename()
Add issue templates
Fix nlohmann::json::dump calls
Fix compile issue on DISABLE_XSS_PREVENTION
Remove permessage deflate from the build
Change config file name to bmcweb_config.h
Manojkiran Eda (1):
Enable Parallel Linking for LTO builds
SunnySrivastava1984 (1):
Add additional Redfish Memory properties
Change-Id: I6882ba320b1d0c9b208b14e9cdcfaecc05b2d912
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ed Tanous (1):
Add back rtti
George Liu (1):
Replace rfind method in sensors.hpp
SunnySrivastava1984 (2):
Add additional Redfish Manager properties
Add additional Redfish Processor properties
Change-Id: I51882c6c1fc8783323351a3af11de8ab4969aefb
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Geissler (1):
hypervisor: rename source file to be more general
Ed Tanous (1):
Bind dev server to ipv4 only
Sunitha Harish (3):
Validate the path during ConfigFile upload
IBM Management Console: Replacing crow::Response with bmcweb::AsyncResp
IBM ConfigFile upload : Fix content-type validation
Change-Id: I9afcc1b9bf1c5cee7343bc5036d7499d44fc4235
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Adriana Kobylak (1):
log_services: Improve error handling for DBus Log Entry
Ed Tanous (1):
Add 404 handling to COMMON_ERRORS.md
Change-Id: I1475edfe0b79e51c6ae60e92b2521ade473db6ab
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ed Tanous (1):
Add OWNERS file to repo
Wludzik, Jozef (2):
Redfish TelemetryService schema implementation
Remove LogService from TelemetryService
Change-Id: I3fb8e6ce8e8e9b252f8ad891fd950593265775bf
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ed Tanous (4):
Remove management console special check
Add chrono include to http/utility.hpp
Number the common errors
Re-enable dead code elimination
Jonathan Doman (1):
Remove unnecessary error responses for LDAP certs
Change-Id: Ide6c6d1c17f21c6b98ad16e1d4dcf05df503ecae
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Adriana Kobylak (1):
http: utility: Add base64encode
Change-Id: I42e56c437a53e981667b3c2557639e40e12cecf5
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
AppaRao Puli (1):
Fix wrong check in EventService events
Change-Id: I483627faac08a474dd00e4d565b42ce70118fe3a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Albert Zhang (1):
Tasks for TFTP upload
Gunnar Mills (2):
Move to 2020.4
Exclude not used schemas
Change-Id: I486f255d3d4733d8aa7b9a93e8a60f0aec686bb8
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ed Tanous (1):
Add missing nullptr check
(From meta-phosphor rev: 8039a77fd09fdb7946c8779b6ad11f58135e4380)
Change-Id: I7e1bc3fd432ed85ea355ddf8fda97a25e5f943fa
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Ed Tanous (1):
Remove boost warnings
(From meta-phosphor rev: be1df8c964d895124cf58c8d864f7a9c8f154e08)
Change-Id: Ib6d15cb37be6f6858357046b9db84a07d1f35d04
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Ed Tanous (1):
Document Redfish OEM resource policy
(From meta-phosphor rev: d2c8ddd8cd4d1fac480974b1bf501dd72fb2a33f)
Change-Id: I1488681aa5de8c4685a6b5304f747fbad304b063
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Andrew Geissler (1):
transition support for system state
Ed Tanous (2):
Move network protocol to a constexpr struct
Omit using subscripting operator in json utils
(From meta-phosphor rev: 23d8d1a368f5f6dd564d68917a6648180fc52dd5)
Change-Id: I1492019f27b55fb8ca6e2d8fed7f294b105bee83
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Ed Tanous (1):
Remove unused files
Gunnar Mills (1):
Fix Power Restore Policy to match D-Bus
(From meta-phosphor rev: 07e0d8707a876ea8f899033290e005dc04f4989a)
Change-Id: I65f68c16ecb8c35a0760bf5bf6a38fbf76736dfb
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
George Liu (2):
Fix the MessageArgs parameter type
Implement PercentComplete for code update
Gunnar Mills (1):
Look for Version Already Exists Error
(From meta-phosphor rev: 33c8c119851b44d5c4e4de068e3d95afac9029e7)
Change-Id: I971d2544e71cbf845983e2983df95c729db62d8f
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Ed Tanous (1):
Fix .clang-tidy
(From meta-phosphor rev: 7befc72da6d7528b05322d4ea80cfeaa43d8af2a)
Change-Id: I299d7109b19e62328d512dc442fd58ccc8256356
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Alan Kuo (2):
Add hostname listener for generating self-signed HTTPS certificate
Add meson options for all authentication methods.
Gunnar Mills (1):
IndicatorLED: Add a deprecated warning header
Karthick Sundarrajan (1):
Flush the timer queue at each timer cancellation
(From meta-phosphor rev: 04b9cfdee6c0faf0f6693c0823b7d68d5e0ac191)
Change-Id: I7a23e285424589c6ee77c6d240167273c51ccd2b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Anna Platash (1):
VirtualMedia doesn't propagate information to WebUI
Jonathan Doman (3):
Refactor getCollectionMembers
Refactor getProcessorData
Add support for Redfish OperatingConfig resources
(From meta-phosphor rev: 419ea0fa027985c46bf9b887f5351abf93966d68)
Change-Id: Iff636d741d47dbe5ab2ae90d05a08c079e039460
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Chicago Duan (1):
Redfish: Manager: Implement Manufacturer,PartNumber and SerialNumber
Sathish V (1):
Adding sdbusplus missing dependency for test module
(From meta-phosphor rev: ea2d015bd150e7a22bf67a7d299258ae6190da36)
Change-Id: I8f252591c525e5d1c63f4226d12bcf2c40ae1496
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Andrew Geissler (1):
boot-progress: support LastState property
Gunnar Mills (3):
MAINTAINERS: Remove Vernon
MAINTAINERS: Stylize GunnarM Discord Username
Replace IRC with Discord
(From meta-phosphor rev: 4a6971db24e53b5c4d8c6d93f87738ae1e17a810)
Change-Id: I642857b7fe7906f2473e990a8236523a3ac162a4
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Asmitha Karunanithi (1):
Pointing to the latest Message schema in JSON error response
Gunnar Mills (1):
Memory: Remove if (*memorySize == 0)
Jason M. Bills (2):
Add SYSLOG_IDENTIFIER to the BMC journal Message
Fix build with rest option disabled
(From meta-phosphor rev: f07d124d89657ca9ff184df1357c4198a5e8cd1a)
Change-Id: I54d558b3f12a945bfd3fb8fd32fabb8e1aa97dc7
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Tim Lee (1):
systems: fix Members@odata.count is incorrect even Members have contents
(From meta-phosphor rev: 252f672ab13cec82edf0cda575cd1d5243db3e59)
Change-Id: Ie086ffa60238eff51ef2b934c328b3150b25c455
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
AppaRao Puli (1):
fix bmcweb crash during sol communication
Jonathan Doman (1):
Avoid std::filesystem exception on trust store
(From meta-phosphor rev: 9b1150b1d6b96e9291ecce4ffb671f2b9b4de749)
Change-Id: If02599fd16b64b02b8064b261bffde93763dc6c4
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Gunnar Mills (1):
Common Errors: Fix list formatting
(From meta-phosphor rev: 6760371c5526e60496414caa3995b18c1b8d66cf)
Change-Id: If642641b87310057431f7df2d394655ca6238be4
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Gunnar Mills (1):
Call applySessionTimeouts before writing data
Tim Lee (1):
update_service: fix segmentation violation when updating images
(From meta-phosphor rev: 94b488399224e110d000e422c5f9efa22a6f2b97)
Change-Id: Iba5a625085e17104ad4123ede5aa228547c70e0d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Gunnar Mills (3):
AssetTag: Add PATCH support
Manager: LOG: Remove __LINE__
Add new Location Indicator property
Sunitha Harish (1):
Redfish Session : Support ClientOriginIPAddress
(From meta-phosphor rev: 18ab88bf85c1ed1b36f636180d4b2a88679a62df)
Change-Id: I5afa90fd2670a6afce1c5fabc4302fa5d4b73415
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Gunnar Mills (1):
Redfish: getComputerSystem: Fix Doxygen
Przemyslaw Czarnowski (1):
Fix Image and ImageName values in schema
Stanley Chu (1):
log_services: Fix redundant AsyncResp objects when deleting dump entries
(From meta-phosphor rev: 16b15485b5f7027192c7304a3bc132f15a522117)
Change-Id: I58884284d52cc6e2adea4398bf99b02e7c5d4be5
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Manojkiran Eda (3):
Improve loops & fix cpp check warning
Remove Unnecessary Include Headers
Fix a possible null pointer dereference
(From meta-phosphor rev: 376d0b5fab4f29de5db77f80b5cae420dae41bfe)
Change-Id: I3215b857c4edfe4b6ac06998afe5c596705969bd
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Brad Bishop (1):
clang-tidy: fix typo
Ed Tanous (1):
Revert "Redfish Session : Support ClientOriginIPAddress"
Gunnar Mills (2):
log_services: Remove odata.context
Memory: Fix potential validator error
Jonathan Doman (1):
Restore missing/broken Processor fields
Manojkiran Eda (1):
Fix Release Lock API
SunnySrivastava1984 (1):
SubModel property under ComputerSystem Schema.
(From meta-phosphor rev: 5afbb0d7a389a3adf2e874daa0de2e8644f450c3)
Change-Id: Idf55b017679ab6262fd413fc2557fe725879dc6e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Ed Tanous (1):
Turn on ALL perf checks
(From meta-phosphor rev: 4778214bf479fb0d7f3f9341597d43d08f98b4cf)
Change-Id: If8ffa9801bdcce89af8abd6b25b7ca10408fdfe3
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Ed Tanous (2):
Timeout is not per-session
fix include names
Wludzik, Jozef (1):
Avoid using deleted Connection in Response
(From meta-phosphor rev: 096a0e1e4c1bff59072a5926635a688e8933a381)
Change-Id: Icc046d8efcf458e05c1afb60912dd0083a7d2b9a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Gunnar Mills (6):
Rename getCpuData -> getProcessorData
Move getResourceList to Util class
cpudimm.hpp: Separate Memory and Processor functionality
Fix up Function to Populate collection Members
Chassis Collection: Use getCollectionMembers
Processors: Remove / at end of odata.id
Ravi Teja (1):
Fix meson dump logService build option
(From meta-phosphor rev: 2726667fc46c74cc9d8cee9c1ff9bdca926cf075)
Change-Id: I3ccbf5296b326a14aeb11f6f9664433f149c69d6
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Ed Tanous (1):
Lots of performance improvements
Vijay Khemka (1):
Update Chassis power cycle support
Wludzik, Jozef (1):
Update gitignore with meson paths
(From meta-phosphor rev: 41ac9e7c97934643fcd39888f3189719f4985896)
Change-Id: Ib5d69cfe7fa72dd0dbaad2237b49b8a898e1a97e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|