pldm: Remove Requester interface definition
This interface is no-longer required as all OpenBMC applications have
been migrated to exploit libpldm's allocator.
Change-Id: I367b18ad84d02ceb28452185a19821effd4d4a0d
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/gen/xyz/openbmc_project/PLDM/Requester/meson.build b/gen/xyz/openbmc_project/PLDM/Requester/meson.build
deleted file mode 100644
index 96d137d..0000000
--- a/gen/xyz/openbmc_project/PLDM/Requester/meson.build
+++ /dev/null
@@ -1,40 +0,0 @@
-# Generated file; do not modify.
-
-sdbusplus_current_path = 'xyz/openbmc_project/PLDM/Requester'
-
-generated_sources += custom_target(
- 'xyz/openbmc_project/PLDM/Requester__cpp'.underscorify(),
- input: [
- '../../../../../yaml/xyz/openbmc_project/PLDM/Requester.interface.yaml',
- ],
- output: [
- 'common.hpp',
- 'server.hpp',
- 'server.cpp',
- 'aserver.hpp',
- 'client.hpp',
- ],
- depend_files: sdbusplusplus_depfiles,
- command: [
- sdbuspp_gen_meson_prog,
- '--command',
- 'cpp',
- '--output',
- meson.current_build_dir(),
- '--tool',
- sdbusplusplus_prog,
- '--directory',
- meson.current_source_dir() / '../../../../../yaml',
- 'xyz/openbmc_project/PLDM/Requester',
- ],
- install: should_generate_cpp,
- install_dir: [
- get_option('includedir') / sdbusplus_current_path,
- get_option('includedir') / sdbusplus_current_path,
- false,
- get_option('includedir') / sdbusplus_current_path,
- get_option('includedir') / sdbusplus_current_path,
- ],
- build_by_default: should_generate_cpp,
-)
-
diff --git a/gen/xyz/openbmc_project/PLDM/meson.build b/gen/xyz/openbmc_project/PLDM/meson.build
index 61787e0..26c2eff 100644
--- a/gen/xyz/openbmc_project/PLDM/meson.build
+++ b/gen/xyz/openbmc_project/PLDM/meson.build
@@ -2,7 +2,6 @@
subdir('Event')
subdir('PDR')
subdir('Provider')
-subdir('Requester')
sdbusplus_current_path = 'xyz/openbmc_project/PLDM'
@@ -50,27 +49,3 @@
build_by_default: should_generate_markdown,
)
-generated_markdown += custom_target(
- 'xyz/openbmc_project/PLDM/Requester__markdown'.underscorify(),
- input: [
- '../../../../yaml/xyz/openbmc_project/PLDM/Requester.interface.yaml',
- ],
- output: ['Requester.md'],
- depend_files: sdbusplusplus_depfiles,
- command: [
- sdbuspp_gen_meson_prog,
- '--command',
- 'markdown',
- '--output',
- meson.current_build_dir(),
- '--tool',
- sdbusplusplus_prog,
- '--directory',
- meson.current_source_dir() / '../../../../yaml',
- 'xyz/openbmc_project/PLDM/Requester',
- ],
- install: should_generate_markdown,
- install_dir: [inst_markdown_dir / sdbusplus_current_path],
- build_by_default: should_generate_markdown,
-)
-
diff --git a/yaml/xyz/openbmc_project/PLDM/Requester.interface.yaml b/yaml/xyz/openbmc_project/PLDM/Requester.interface.yaml
deleted file mode 100644
index 928f7b8..0000000
--- a/yaml/xyz/openbmc_project/PLDM/Requester.interface.yaml
+++ /dev/null
@@ -1,51 +0,0 @@
-description: >
- Implement to provide features needed to build a PLDM Request message. This
- API would be used by PLDM requester apps on the BMC.
-
- Any OpenBMC implementation must provide exactly one implementation of
- xyz.openbmc_project.PLDM.Requester on /xyz/openbmc_project/pldm.
-
- PLDM stands for Platform Level Data Model. More information about PLDM (and
- MCTP) can be found at https://www.dmtf.org/standards/pmci.
-
-methods:
- - name: GetInstanceId
- description: >
- Obtain a new PLDM instance id, for the input MCTP EID, to be used in a
- PLDM request message. Instance ids help distinguish PLDM response
- messages when a PLDM requester sends out multiple request messages,
- without waiting for a response message. Refer the PLDM specification
- DSP0240 version 1.0.0. Also refer
- https://github.com/openbmc/docs/blob/master/designs/pldm-stack.md#Requester.
-
- The instance id starts at 0 and can go upto 31 (5 bits), for each MCTP
- EID that a PLDM requester is communicating with. An implementation of
- this API should track instance ids in terms of whether they're in use
- (request message with that instance id has been sent out, and the
- corresponding response message hasn't been received yet) or not, and
- grant unused ids via this method. An implementation may also
- optionally implement the instance id expiry, as per the spec DSP0240
- v1.0.0. The spec recommends implementing the same.
-
- If there's a call to this method when all 32 ids have already been
- granted to the input eid, then the
- xyz.openbmc_project.Common.Error.TooManyResources exception will be
- thrown. The recommendation for the caller upon receiving this
- exception is to retry calling this method, at least once, after a time
- period equal to the maximum instance id expiration interval, which is
- 6 seconds as per DSP0240 v1.0.0. If the exception persists post this
- interval, the way of handling the same (further retries, report an
- error, etc) is left to the user.
- parameters:
- - name: eid
- type: byte
- description: >
- The MCTP endpoint, specified by 'eid' (endpoint id), for which
- the new PLDM instance id needs to be generated.
- returns:
- - name: instanceid
- type: byte
- description: >
- PLDM instance id.
- errors:
- - xyz.openbmc_project.Common.Error.TooManyResources