Open
Conversation
…nis#437) The Redfish Chassis schema (v1.27.0) defines the NetworkAdapters property as an optional link to a collection of network adapters physically located in the chassis. It is perfectly valid for this property to be omitted when no adapters are present. However, the current implementation of (*Chassis).NetworkAdapters() calls ListReferencedNetworkAdapter even when the link is empty, potentially resulting in 404 errors or misleading failures on otherwise valid systems. This patch introduces an early return when the networkAdapters link is not defined, aligning the behavior with other optional properties such as Power(), Thermal(), and PCIeSlots(). This is particularly relevant for minimal chassis configurations like backplanes or storage components (e.g., ChassisType: "Component" or "Module"), which often appear in the Chassis collection but do not expose network hardware. Reference: https://redfish.dmtf.org/schemas/v1/Chassis.v1_27_0.json
To allow insecure (unverified TLS) connections, we need to set a flag allowing it. When using the default http client, or if a supplied client has not been fully configured, the struct containing this flag is not initialized and set to nil in the http client transport. This makes sure the config property is initialized if we are configured to set the flag to avoid nil pointer errors. Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Improved handling of fan and temperature sensors data OEM extensions support for vendor-specific implementations Co-authored-by: Maxim Kovshov <m.kovshov@yadro.com>
* Allow non standard transports to reuse connections. * Fix whitespace.
…ower.v1_7_3.json (stmcginnis#445) added pointers for thresholds as this solves the problem of false triggering of thresholds Co-authored-by: Maxim Kovshov <m.kovshov@yadro.com>
There is a lot of duplication in the Update calls that doesn't need to be there. This refactors the update logic to centralize more of the code and reduce the code duplication. Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
…ensor.v1_11_0.json (stmcginnis#447) added pointers for thresholds as this solves the problem of false triggering of thresholds added tests that show the problem Co-authored-by: Maxim Kovshov <m.kovshov@yadro.com>
Gb200's have LocationOrdinalValue as "3" This creates a custom unmarshal to handle it. Co-authored-by: Jimmy Spagnola <jspagnola@crusoe.ai>
https://redfish.dmtf.org/schemas/v1/VirtualMedia.v1_6_5.json once again I solved the problem with the fact that there are so-called imaginary data "" which in fact are absent Co-authored-by: Maxim Kovshov <m.kovshov@yadro.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…nnis#423) Embed Entity and ODataEtag like other types, same for the Oem field set it as json.RawMessage instead of string. Looks like this type isn't used by any other type so this should be ok.
…SourceOverrideValues to the Boot object (stmcginnis#456)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5 to 6. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](actions/setup-go@v5...v6) --- updated-dependencies: - dependency-name: actions/setup-go dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Return Task if 202 and Location header present for SPDMGetSignedMeasurements
3b177c3 to
da13cef
Compare
da13cef to
4bc792d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.