We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4487e4a + 73757de commit 2c05852Copy full SHA for 2c05852
2 files changed
emulator.py
@@ -1,7 +1,7 @@
1
#!/usr/bin/env python2
2
#
3
# Copyright Notice:
4
-# Copyright 2016-2019 DMTF. All rights reserved.
+# Copyright 2016-2021 DMTF. All rights reserved.
5
# License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/Redfish-Interface-Emulator/blob/master/LICENSE.md
6
7
# Redfish Interface Emulator - main
@@ -337,6 +337,10 @@ def reset():
337
def index():
338
return render_template('index.html')
339
340
+@g.app.route('/redfish')
341
+def serviceInfo():
342
+ return render_template('service.json')
343
+
344
@g.app.route('/browse.html')
345
def browse():
346
return render_template('browse.html')
templates/service.json
@@ -0,0 +1,3 @@
+{
+ "v1": "/redfish/v1/"
+}
0 commit comments