summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2022-09-22 02:30:48 +0300
committerEd Tanous <ed@tanous.net>2022-11-07 22:38:47 +0300
commite9f716722249d776b88e28bec0f2b2d9fa60c4fa (patch)
tree493bef4ddc081c1897a5aef0fe0629799b7540ef /scripts
parent6c7d53a54ac436b4e9a18ec59b9e3833ad16c6a5 (diff)
downloadbmcweb-e9f716722249d776b88e28bec0f2b2d9fa60c4fa.tar.xz
Implement links and HEAD for NetworkProtocol
Along the lines of changes we've made elsewhere, add Links, and a HEAD handler for bmc NetworkProcotol instances. Tested: ``` curl -vvvv --insecure --user root:0penBmc https://192.168.7.2/redfish/v1/JsonSchemas/NetworkProtocol/NetworkProtocol.json ``` Returns a links header as part of the response. Adding -X HEAD to the curl request results in the same header being included. Redfish service validator passes. Redfish PROTOCOL VALIDATOR PASSES ! ! ! ! ! with zero failures. Summary - PASS: 392, WARN: 0, FAIL: 0, NOT_TESTED: 32 Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: Ib96f7c8d5d8d960000a1bb77065fc06d2829e4b8
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions