Skip to content
Commit 2c9efc3c authored by Ed Tanous's avatar Ed Tanous Committed by Ed Tanous
Browse files

Make router take up less space for verbs



As is, the router designates routes for every possible boost verb, of
which there are 31.  In bmcweb, we only make use of 6 of those verbs, so
that ends up being quite a bit of wasted space and cache non-locality.

This commit invents a new enum class for declaring a subset of boost
verbs that we support, and a mapping between bmcweb verbs and boost
verbs.

Then it walks through and updates the router to support converting one
to another.

Tested:
Unit Tested
Redfish Service Validator performed on future commit

Signed-off-by: default avatarEd Tanous <edtanous@google.com>
Signed-off-by: default avatarEdward Lee <edwarddl@google.com>
Change-Id: I3c89e896c632a5d4134dbd08a30b313c12a60de6
parent ddfc6752
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment