Skip to content

Commit 7f79f99

Browse files
Adding chapdata properties support for fileio operation (#88)
Adding ChapName and ChapSecret properties in PLDM to transfer ChapData information between PLDM and Host as part of 1KW line item. This Chap data is a information of encrypted password which would be set by GUI into Dbus properties via redfish. PLDM is hosting these properties into the Dbus path and when GUI changes properties values then PLDM will collect that data and sends that data to Host using FILEIO operation. Signed-off-by: Kamalkumar Patel <[email protected]>
1 parent f55273c commit 7f79f99

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Generated file; do not modify.
2+
generated_sources += custom_target(
3+
'com/ibm/PLDM/ChapData__cpp'.underscorify(),
4+
input: [ '../../../../../yaml/com/ibm/PLDM/ChapData.interface.yaml', ],
5+
output: [ 'common.hpp', 'server.cpp', 'server.hpp', 'client.hpp', ],
6+
depend_files: sdbusplusplus_depfiles,
7+
command: [
8+
sdbuspp_gen_meson_prog, '--command', 'cpp',
9+
'--output', meson.current_build_dir(),
10+
'--tool', sdbusplusplus_prog,
11+
'--directory', meson.current_source_dir() / '../../../../../yaml',
12+
'com/ibm/PLDM/ChapData',
13+
],
14+
)
15+

gen/com/ibm/PLDM/meson.build

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
# Generated file; do not modify.
2+
subdir('ChapData')
3+
generated_others += custom_target(
4+
'com/ibm/PLDM/ChapData__markdown'.underscorify(),
5+
input: [ '../../../../yaml/com/ibm/PLDM/ChapData.interface.yaml', ],
6+
output: [ 'ChapData.md' ],
7+
depend_files: sdbusplusplus_depfiles,
8+
command: [
9+
sdbuspp_gen_meson_prog, '--command', 'markdown',
10+
'--output', meson.current_build_dir(),
11+
'--tool', sdbusplusplus_prog,
12+
'--directory', meson.current_source_dir() / '../../../../yaml',
13+
'com/ibm/PLDM/ChapData',
14+
],
15+
)
16+
217
subdir('PCIeTopology')
318
generated_others += custom_target(
419
'com/ibm/PLDM/PCIeTopology__markdown'.underscorify(),
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
description: >
2+
Implement this interface to pass Chap data details to Host which are set by
3+
the user.
4+
5+
com.ibm.PLDM.ChapData object implements this interface.
6+
7+
properties:
8+
- name: ChapName
9+
type: string
10+
description: >
11+
ChapName is a user selected name associated with each of the chap
12+
secret password.
13+
14+
- name: ChapSecret
15+
type: string
16+
description: >
17+
ChapSecret is an encrypted secret password transferred to the Host for
18+
the respective ChapName.

0 commit comments

Comments
 (0)