Implement odata endpoint
As part of the Redfish standard, the /redfish/v1/odata endpoint is
required to be implemented, to provide intial provisioning. At one
point it was thought to be optional.
Tested By:
Reading /redfish/v1/odata and verifying the correct response is
returned, as well as attempting running the interop tool from the DMTF
website, which originally exposed the issue.
Change-Id: I4775e4f23be0d6e76bc5da503f455f23f10d1364
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
diff --git a/static/redfish/v1/odata/index.json b/static/redfish/v1/odata/index.json
new file mode 100644
index 0000000..60c92ec
--- /dev/null
+++ b/static/redfish/v1/odata/index.json
@@ -0,0 +1,55 @@
+{
+ "@odata.context": "/redfish/v1/$metadata",
+ "value": [
+ {
+ "kind": "Singleton",
+ "name": "$metadata",
+ "url": "/redfish/v1/$metadata"
+ },
+ {
+ "kind": "Singleton",
+ "name": "odata",
+ "url": "/redfish/v1/odata"
+ },
+ {
+ "kind": "Singleton",
+ "name": "Service",
+ "url": "/redfish/v1/"
+ },
+ {
+ "kind": "Singleton",
+ "name": "ServiceRoot",
+ "url": "/redfish/v1/ServiceRoot"
+ },
+ {
+ "kind": "Singleton",
+ "name": "Systems",
+ "url": "/redfish/v1/Systems"
+ },
+ {
+ "kind": "Singleton",
+ "name": "Chassis",
+ "url": "/redfish/v1/Chassis"
+ },
+ {
+ "kind": "Singleton",
+ "name": "Managers",
+ "url": "/redfish/v1/Managers"
+ },
+ {
+ "kind": "Singleton",
+ "name": "SessionService",
+ "url": "/redfish/v1/SessionService"
+ },
+ {
+ "kind": "Singleton",
+ "name": "AccountService",
+ "url": "/redfish/v1/AccountService"
+ },
+ {
+ "kind": "Singleton",
+ "name": "UpdateService",
+ "url": "/redfish/v1/UpdateService"
+ }
+ ]
+}
\ No newline at end of file