<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/OpenBmc/bmcweb.git/scripts, branch master</title>
<subtitle>A do everything Redfish, KVM, GUI, and DBus webserver for OpenBMC (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/'/>
<updated>2026-11-16T19:28:00+00:00</updated>
<entry>
<title>parse_registries: add additional registries</title>
<updated>2026-11-16T19:28:00+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2026-09-11T16:17:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=e5036a38a1603976173704e4b5014edd3828eede'/>
<id>urn:sha1:e5036a38a1603976173704e4b5014edd3828eede</id>
<content type='text'>
Phosphor-dbus-interfaces has added support for events that map to
additional Redfish message registries not currently exposed.

```
$ rg redfish-mapping | sed "s#.*redfish-mapping: ##" | sed "s#\..*##" | sort | uniq
Base
Environmental
SensorEvent
Telemetry
Update
```

Add these to the exported list.

Tested:

```
$ curl -s -k https://localhost:18080/redfish/v1/Registries/ | jq '.Members | map(."@odata.id")'
[
  "/redfish/v1/Registries/Base",
  "/redfish/v1/Registries/Environmental",
  "/redfish/v1/Registries/HeartbeatEvent",
  "/redfish/v1/Registries/OpenBMC",
  "/redfish/v1/Registries/ResourceEvent",
  "/redfish/v1/Registries/SensorEvent",
  "/redfish/v1/Registries/TaskEvent",
  "/redfish/v1/Registries/Telemetry",
  "/redfish/v1/Registries/Update"
]
```

Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
Change-Id: I7dc0947f35128b214bac0d8b19c0ff16a3cbc630
</content>
</entry>
<entry>
<title>Fix typos using typos tool</title>
<updated>2026-11-13T23:39:39+00:00</updated>
<author>
<name>George Liu</name>
<email>liuxiwei@ieisystem.com</email>
</author>
<published>2026-11-05T06:32:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=c9ba80ef3d4ea680662af14856f333534a5ac56f'/>
<id>urn:sha1:c9ba80ef3d4ea680662af14856f333534a5ac56f</id>
<content type='text'>
Signed-off-by: George Liu &lt;liuxiwei@ieisystem.com&gt;
Change-Id: I554efb55a5ce4f11f231e41ad1dabb3169880f40
</content>
</entry>
<entry>
<title>registries: generate registries_selector.hpp</title>
<updated>2026-10-30T16:55:48+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2025-02-27T23:39:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=db9f4e381bfa672229e9e08a26bf1bc2a2c038da'/>
<id>urn:sha1:db9f4e381bfa672229e9e08a26bf1bc2a2c038da</id>
<content type='text'>
Enhance parse_registries.py to generate the registries_selector.hpp
so that it does not need to be generated by hand.

Note that as part of this, additional registries are now emitted for
Redfish.  These registries were already being generated but they were
missing the header hook that allowed them to be exposed.

Tested:
```
$ curl -s -k https://localhost:18080/redfish/v1/Registries/ | jq '.Members | map(."@odata.id")'
[
  "/redfish/v1/Registries/Base",
  "/redfish/v1/Registries/HeartbeatEvent",
  "/redfish/v1/Registries/OpenBMC",
  "/redfish/v1/Registries/ResourceEvent",
  "/redfish/v1/Registries/TaskEvent",
  "/redfish/v1/Registries/Telemetry"
]
```

Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
Change-Id: Ia243a7bfbb8873384b6679b462914ba8380bf5b3
</content>
</entry>
<entry>
<title>Move to Redfish 2026.2</title>
<updated>2026-10-22T00:08:08+00:00</updated>
<author>
<name>Gunnar Mills</name>
<email>gmills@us.ibm.com</email>
</author>
<published>2026-09-24T03:43:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=0128851e733fa2cdc8af2c20ba90ef272d96422a'/>
<id>urn:sha1:0128851e733fa2cdc8af2c20ba90ef272d96422a</id>
<content type='text'>
Like we do, one line change and rerun the script.

2026.2 includes new properties and schemas.

The overview is at [1].

[1]: https://www.dmtf.org/sites/default/files/Redfish_Release_2026.2_Overview.pdf

Tested: Inspection only.

Change-Id: I860c142a3685b5aa98dfe27b2c718f16b04bece7
Signed-off-by: Gunnar Mills &lt;gmills@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>generate_schema_enums: handle digit-leading identifiers</title>
<updated>2026-10-22T00:08:08+00:00</updated>
<author>
<name>Gunnar Mills</name>
<email>gunnar@gmills.xyz</email>
</author>
<published>2026-10-21T17:00:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=e44732f264b7f81dabff30a5a5c316eda4264ce7'/>
<id>urn:sha1:e44732f264b7f81dabff30a5a5c316eda4264ce7</id>
<content type='text'>
Redfish 2026.2 (Port.v1_20_0) introduces TypeDefinition member strings
such as "100G", "104G", "112G", etc. as part of this new
UALink128GExtendedSpeedMode property. [1]

After stripping non-identifier characters these values still start with
a digit, which is not a valid C++ identifier.

The existing check .isdigit() only caught purely-numeric strings.
Extend the logic to also prefix with the enum name when the sanitized
string starts with a digit.

Tested: Ran generate_schema_enums.py against the 2026.1 and nothing
changes. 2026.2 now passes on top. In 2026.2 can see LinkSpeed200G.

Change-Id: Ic55c9feae24ad9fb62e3a932b8a0aa1dcc2b3459
Signed-off-by: Gunnar Mills &lt;gunnar@gmills.xyz&gt;
</content>
</entry>
<entry>
<title>Update GenerateSecretKeyRequired response_code</title>
<updated>2026-07-17T04:38:58+00:00</updated>
<author>
<name>Jishnu CM</name>
<email>jishnunambiarcm@duck.com</email>
</author>
<published>2026-02-19T05:37:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=f9563f663e678f3b7b408dc11d75cc8b7c6af779'/>
<id>urn:sha1:f9563f663e678f3b7b408dc11d75cc8b7c6af779</id>
<content type='text'>
Currently, GenerateSecretKeyRequired is treated as 403 Forbidden, which
would incorrectly imply the session was not created, when it should be
treated as an informational message accompanying a successful session
creation (with 201 response code), exactly like PasswordChangeRequired.

According to the Redfish spec [1], page 202, 203 (Section 13.5.5):
* "Shall allow a session login without the Token property and include
  the @Message.ExtendedInfo in the response containing the
  GenerateSecretKeyRequired message. This indicates to the client
  that their session is restricted to performing only the
  GenerateSecretKey action on their ManagerAccount resource before
  access is granted."
* "Shall allow a POST operation on the VerifyTimeBasedOneTimePassword"
  action on the ManagerAccount resource associated with the account."
* "Shall allow a DELETE operation on Session resources representing
  open sessions associated with the account."
* "May allow GET operations on unauthenticated resources, such as
  the ServiceRoot resource."
* "For all other operations, the service shall respond with the HTTP
  403 Forbidden status code and an error response with the
  GenerateSecretKeyRequired message from the Base Message Registry."

Reference:
[1] https://www.dmtf.org/sites/default/files/standards/documents/DSP0266_1.24.0.pdf#page=202&amp;zoom=100,0,789

Tested By:
* Enabled Multi-Factor Authentication (system-wide option)
* When user tries to login with username and password, session is
  created (201 is returned), with GenerateSecretKeyRequired message
  in "@Message.ExtendedInfo"
* Any operations on restricted resources returned
  GenerateSecretKeyRequired with 403 Forbidden error code.

Change-Id: Iec6c925f04584b2cdd93aec743b04d6a8dbde4bc
Signed-off-by: Jishnu CM &lt;jishnunambiarcm@duck.com&gt;
</content>
</entry>
<entry>
<title>Change a few message responses as errors</title>
<updated>2026-06-25T18:51:59+00:00</updated>
<author>
<name>Myung Bae</name>
<email>myungbae@us.ibm.com</email>
</author>
<published>2026-04-29T12:40:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=8b0993927ede52f4a32228d955a8405805acedac'/>
<id>urn:sha1:8b0993927ede52f4a32228d955a8405805acedac</id>
<content type='text'>
Some of messages are not currently reported as errors, although they
are the results as Redfish request errors. Those include

- PropertyDuplicate
- ResourceAlreadyExists
- CreateFailedMissingReqProperties
- PropertyValueFormatError
- PropertyValueNotInList
- PropertyValueTypeError
- PropertyValueError
- PropertyNotWritable
- PropertyValueModified
- PropertyMissing

For example, PropertyValueFormatError is currently not treated as an
error. It shows like

```

curl -k -X PATCH "${bmc}/redfish/v1/AccountService/Accounts/admin" \
  -H "Content-Type: application/json" \
  -d '{ "Password": "" }'

  "Password@Message.ExtendedInfo": [
    {
      "@odata.type": "#Message.v1_1_1.Message",
      "Message": "The value 'null' for the property Password is not a format that the property can accept.",
      "MessageArgs": [
        "null",
        "Password"
      ],
      "MessageId": "Base.1.19.PropertyValueFormatError",
      "MessageSeverity": "Warning",
      "Resolution": "Correct the value for the property in the request body and resubmit the request if the operation failed."
    }
  ]
```

After making it as an error, it will be like
```
{
  "error": {
    "@Message.ExtendedInfo": [
      {
        "@odata.type": "#Message.v1_1_1.Message",
        "Message": "The value 'null' for the property Password is not a format that the property can accept.",
        "MessageArgs": [
          "null",
          "Password"
        ],
        "MessageId": "Base.1.19.PropertyValueFormatError",
        "MessageSeverity": "Warning",
        "Resolution": "Correct the value for the property in the request body and resubmit the request if the operation failed."
      }
    ],
    "code": "Base.1.19.PropertyValueFormatError",
    "message": "The value 'null' for the property Password is not a format that the property can accept."
  }
}
```

Tested:
- Check those response messages

Change-Id: I746c55e42e8f0cde205a3800e3da17cd78cf7e34
Signed-off-by: Myung Bae &lt;myungbae@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Move to Redfish 2026.1</title>
<updated>2026-05-19T19:16:28+00:00</updated>
<author>
<name>Gunnar Mills</name>
<email>gmills@us.ibm.com</email>
</author>
<published>2026-05-19T19:16:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=df2c4aac86d556cd3d618588ce819d63c3e01caf'/>
<id>urn:sha1:df2c4aac86d556cd3d618588ce819d63c3e01caf</id>
<content type='text'>
One line change and rerun the script. 2026.1 includes new properties.
The overview is at [1].

[1]: https://www.dmtf.org/sites/default/files/Redfish_Release_2026.1_Overview.pdf

Tested: Inspection only.

Change-Id: I007f074128e278fb267ee4de3b9cbab22d6336df
Signed-off-by: Gunnar Mills &lt;gmills@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Port update_schemas script to use git</title>
<updated>2026-05-19T16:47:29+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>etanous@nvidia.com</email>
</author>
<published>2026-04-29T22:24:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=7038a05f4ee20ae465d21901e6a73f11e9043ada'/>
<id>urn:sha1:7038a05f4ee20ae465d21901e6a73f11e9043ada</id>
<content type='text'>
DMTF released Redfish-Publications a while ago.  Recently, they've
started blocking scripts from accessing the website.

This is fully vibe coded with some review by me, but seems to produce
the same result we had previously, and if there were differences they'd
show up in review.

Change-Id: Ib3686b610ca6a60b1fae12b575042575b32f6ec5
Signed-off-by: Ed Tanous &lt;etanous@nvidia.com&gt;
</content>
</entry>
<entry>
<title>Fix PayloadTooLarge to return HTTP 413</title>
<updated>2026-05-12T15:52:23+00:00</updated>
<author>
<name>Rajeev Ranjan</name>
<email>ranjan.rajeev1609@gmail.com</email>
</author>
<published>2026-05-12T15:13:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=81dbaae64b3f5ec42d16f5642165dd639032cc6c'/>
<id>urn:sha1:81dbaae64b3f5ec42d16f5642165dd639032cc6c</id>
<content type='text'>
Previously, PayloadTooLarge errors incorrectly returned HTTP 400 Bad
Request. This change fixes the HTTP status to 413 Payload Too Large per
RFC 7231 so the response code matches the Base.PayloadTooLarge message
the service already emits.

Root cause: scripts/parse_registries.py is the generator that produces
redfish-core/src/error_messages.cpp. Its get_response_code() lookup
table did not list PayloadTooLarge, so the generator emitted the
default boost::beast::http::status::bad_request. Adding
"PayloadTooLarge": "payload_too_large" to the table fixes the
generator.

Change-Id: I6583b1156ffa4a6b4c99b8a5c82fdcb76ca3a13c
Signed-off-by: Rajeev Ranjan &lt;ranjan.rajeev1609@gmail.com&gt;
</content>
</entry>
</feed>
