diff options
author | Asmitha Karunanithi <asmitk01@in.ibm.com> | 2020-09-21 18:34:02 +0300 |
---|---|---|
committer | Asmitha Karunanithi <asmitk01@in.ibm.com> | 2020-09-27 11:15:45 +0300 |
commit | d337bb7249e6791d7fc3769e3d8e1ed64c563608 (patch) | |
tree | cce6fc703d768cc65a628be6e6ba58e795e2247d /scripts | |
parent | 50626f4f1aaa02daae058617ce0c603874277322 (diff) | |
download | bmcweb-d337bb7249e6791d7fc3769e3d8e1ed64c563608.tar.xz |
Remove OEM schemas and related code for Dump LogServices
In this commit, Oem schemas for Dump LogServices are removed
as per the latest Redfish schemas. Also, the code is changed
w.r.t the latest schema changes.
Redfish Validator Passed.
Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com>
Change-Id: I12c8d283cd54c32e71a2b11857e7c4cce89b9f0a
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/update_schemas.py | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/scripts/update_schemas.py b/scripts/update_schemas.py index 17b98d080c..517fd92904 100755 --- a/scripts/update_schemas.py +++ b/scripts/update_schemas.py @@ -103,7 +103,7 @@ with open(metadata_index_path, 'w') as metadata_index: </edmx:DataServices> """) # TODO:Issue#32 There's a bug in the script that currently deletes this - # schema (because it's an OEM schema). Because it's the only eight, and we + # schema (because it's an OEM schema). Because it's the only six, and we # don't update schemas very often, we just manually fix it. Need a # permanent fix to the script. metadata_index.write( @@ -134,18 +134,6 @@ with open(metadata_index_path, 'w') as metadata_index: metadata_index.write(" </edmx:Reference>\n") metadata_index.write( - " <edmx:Reference Uri=\"/redfish/v1/schema/OemLogService_v1.xml\">\n") - metadata_index.write(" <edmx:Include Namespace=\"OemLogService\"/>\n") - metadata_index.write(" <edmx:Include Namespace=\"OemLogService.v1_0_0\"/>\n") - metadata_index.write(" </edmx:Reference>\n") - - metadata_index.write( - " <edmx:Reference Uri=\"/redfish/v1/schema/OemLogEntry_v1.xml\">\n") - metadata_index.write(" <edmx:Include Namespace=\"OemLogEntry\"/>\n") - metadata_index.write(" <edmx:Include Namespace=\"OemLogEntry.v1_0_0\"/>\n") - metadata_index.write(" </edmx:Reference>\n") - - metadata_index.write( " <edmx:Reference Uri=\"/redfish/v1/schema/OemSession_v1.xml\">\n") metadata_index.write(" <edmx:Include Namespace=\"OemSession\"/>\n") metadata_index.write(" <edmx:Include Namespace=\"OemSession.v1_0_0\"/>\n") |