Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:FrontRunner
libnvme.26914
0007-python-add-missing-ctrl-attrs-to-Python-bi...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0007-python-add-missing-ctrl-attrs-to-Python-bindings.patch of Package libnvme.26914
From: Martin Belanger <martin.belanger@dell.com> Date: Tue, 19 Jul 2022 13:15:34 -0400 Subject: python: add missing ctrl attrs to Python bindings Git-commit: 31b18dc82b2df194581b0bf5ceb579554603f398 References: bsc#1201501 bsc#1201700 Some controller attributes were missing from the Python bindings. For example: dctype, cntrltype, etc. Signed-off-by: Martin Belanger <martin.belanger@dell.com> Acked-by: Daniel Wagner <dwagner@suse.de> --- libnvme/nvme.i | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) --- a/libnvme/nvme.i +++ b/libnvme/nvme.i @@ -300,10 +300,7 @@ struct nvme_subsystem { }; struct nvme_ctrl { - %immutable transport; - %immutable subsysnqn; - %immutable traddr; - %immutable trsvcid; + %immutable sysfs_dir; %immutable address; %immutable firmware; %immutable model; @@ -311,13 +308,17 @@ struct nvme_ctrl { %immutable queue_count; %immutable serial; %immutable sqsize; - %immutable persistent; + %immutable transport; + %immutable subsysnqn; + %immutable traddr; + %immutable trsvcid; + %immutable dhchap_key; + %immutable cntrltype; + %immutable dctype; %immutable discovery_ctrl; - char *transport; - char *subsysnqn; - char *traddr; - char *trsvcid; - char *dhchap_key; + %immutable discovered; + %immutable persistent; + char *sysfs_dir; char *address; char *firmware; char *model; @@ -325,8 +326,16 @@ struct nvme_ctrl { char *queue_count; char *serial; char *sqsize; - bool persistent; + char *transport; + char *subsysnqn; + char *traddr; + char *trsvcid; + char *dhchap_key; + char *cntrltype; + char *dctype; bool discovery_ctrl; + bool discovered; + bool persistent; }; struct nvme_ns {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor