diff options
author | Carson Labrado <clabrado@google.com> | 2023-01-03 20:30:47 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2023-04-07 01:16:56 +0300 |
commit | 8fd333d664f87c73757e0c5e58c611dc0c3e76d7 (patch) | |
tree | 0babf511e86ce1980f42a8dab157f92ad5939a17 /Redfish.md | |
parent | e628df8658c57f6943b6d3612e1077618e5a168a (diff) | |
download | bmcweb-8fd333d664f87c73757e0c5e58c611dc0c3e76d7.tar.xz |
Aggregation: Check for subordinate collection
Adds a search function which is able to determine if a passed URI is a
top level collection, is uptree from a top level collection, or both.
The type being searched for depends on a second argument passed to the
function.
Each of these searches are used to add links to top level collections
which are only supported by a satellite BMC. They all use similar steps
so rolling them into a single function cuts down on redundant code.
Adds test cases to verify the implementation is correct.
Tested:
New test cases pass
Signed-off-by: Carson Labrado <clabrado@google.com>
Change-Id: I72ae7442d5f314656b57a73aee544bca516fa7c2
Diffstat (limited to 'Redfish.md')
0 files changed, 0 insertions, 0 deletions