Skip to content

Conversation

abiasojo
Copy link

@abiasojo abiasojo commented Sep 8, 2025

Add support for ReadyToRemove interface.

@jenkins-openbmc-ibm
Copy link

Can one of the admins verify this patch?

Copy link
Contributor

@jeaaustx jeaaustx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add detail to PR description and to the commit message itself.

For upstream will probably need commit message to describe why this option is being added and what it would be used for.

@@ -0,0 +1,9 @@
description: >
An indication of whether the inventory is prepared by the system for
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Seems like more common term would be "inventory item".

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have updated this.

@@ -0,0 +1,9 @@
description: >
An indication of whether the inventory is prepared by the system for
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Interface description seems like it is usually termed as "Implement to..."
(this description reads more like the actual property description).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have updated this

- name: ReadyToRemove
type: boolean
description: >
An indication of whether the item is prepared by the system for
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: Is this readonly? If not, then I'm wondering about this description. If the property is set to false versus set to true by something?

(The description as written seems to be about what a query of this property would indicate.)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be ReadWrite

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noted

@gtmills
Copy link
Contributor

gtmills commented Sep 8, 2025

add to approvelist

Copy link
Contributor

@baemyung baemyung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good to me

@gtmills
Copy link
Contributor

gtmills commented Sep 11, 2025

Let's give this a week or two upstream before we take it downstream

@baemyung
Copy link
Contributor

baemyung commented Oct 1, 2025

Please add

  1. Change-Id to the commit msg to indicate the upstream commit.
    Change-Id: I5c50f8792d968e3427e64ebf99a2fc5f32aaa87a

--
Upstream: https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/83617

This new D-Bus interface is implemented to indicate whether the
item is prepared by the system for removal.
This property shall indicate whether the system is prepared for
the removal of the item.
This matches the Redfish ReadyToRemove interface. It will be on
other devices.

Change-Id: I5c50f8792d968e3427e64ebf99a2fc5f32aaa87a
Signed-off-by: Abiola Asojo <[email protected]>
@sunharis
Copy link

sunharis commented Oct 8, 2025

I would suggest to wait on this until we conclude the Concurrent Maintenance backend design. Is there anything else at bmcweb which needs this dbus interface early?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants