From: Patrick Venture <venture@google.com>
To: Lei YU <mine260309@gmail.com>
Cc: OpenBMC Maillist <openbmc@lists.ozlabs.org>,
Benjamin Fair <benjaminfair@google.com>
Subject: psu code mgmt
Date: Wed, 21 Aug 2019 15:47:28 -0700 [thread overview]
Message-ID: <CAO=notwjUWqOjBt7oRQpr7F95yANHT_SicGz-XVSXDPYNywKfw@mail.gmail.com> (raw)
Lei Yu;
I wanted to ask about the psu-code-mgmt, will it be exposing dbus
interfaces similarly to bmc-code-mgmt (I think I see that it is). I
wanted to confirm that we could write a simple handler or type for
talking to psu-code-mgmt from phosphor-ipmi-flash. Today I wrote a
guide on how to do part of that --
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-ipmi-flash/+/24606
We'd add something like:
[{
"blob": "/flash/psu",
"handler": { "type": "file", "path": "/tmp/psu-firmware" },
"actions": {
"preparation": {
"type": "systemd",
"unit": "phosphor-ipmi-flash-psu-prepare.target"
},
"verification": { "type": "psuSystemdVerification" },
"update": { "type": "psuSystemdActivation" }
}
}]
So then if we implement a psuSystemdVerification and
psuSystemdActivation, those can all the things you expect and stage
the file where you expect, etc.
Patrick
next reply other threads:[~2019-08-21 22:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-21 22:47 Patrick Venture [this message]
2019-08-26 7:02 ` psu code mgmt Lei YU
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAO=notwjUWqOjBt7oRQpr7F95yANHT_SicGz-XVSXDPYNywKfw@mail.gmail.com' \
--to=venture@google.com \
--cc=benjaminfair@google.com \
--cc=mine260309@gmail.com \
--cc=openbmc@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.