summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSunitha Harish <sunithaharish04@gmail.com>2020-05-11 08:10:20 +0300
committerSunitha Harish <sunithaharish04@gmail.com>2020-06-10 10:46:23 +0300
commit9dc5074146a5d909c198d6e66f7ec9a0beae2d43 (patch)
tree0d2f5e983a28e006e851ae9b4269249678eaee73 /scripts
parent4eaf2ee36116b4d2be4269df106d37d7d437a711 (diff)
downloadbmcweb-9dc5074146a5d909c198d6e66f7ec9a0beae2d43.tar.xz
New OpenBMC OEM schema for Session
This commit defines the OemSession schema for storing - the clients unique identifier - the IP Address from where the session is created. Signed-off-by: Sunitha Harish <sunithaharish04@gmail.com> Change-Id: I759cda25dbb2dadd9b3d14cca9076e6412b41287
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update_schemas.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/update_schemas.py b/scripts/update_schemas.py
index 3bca686c59..6fd2920368 100755
--- a/scripts/update_schemas.py
+++ b/scripts/update_schemas.py
@@ -145,6 +145,12 @@ with open(metadata_index_path, 'w') as metadata_index:
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")
+ metadata_index.write(" </edmx:Reference>\n")
+
metadata_index.write("</edmx:Edmx>\n")
schema_files = {}