summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJae Hyun Yoo <jae.hyun.yoo@linux.intel.com>2019-10-02 13:01:27 -0700
committerEd Tanous <ed.tanous@intel.com>2019-10-07 17:33:45 +0000
commit704fae6c7c4f657720a370ae82b3f0cd80173894 (patch)
tree931af027b2d13829dbf3e1b74d6829781a09c1d6
parent749dad7d539cd05fb636473929af20acaf35b30b (diff)
downloadbmcweb-704fae6c7c4f657720a370ae82b3f0cd80173894.tar.gz
bmcweb-704fae6c7c4f657720a370ae82b3f0cd80173894.zip
Fix MaxConcurrentSessions property of GraphicalConsole
Now we support up to 4 concurrent KVM sessions so this commit fixes 'MaxConcurrentSessions' property of 'GraphicalConsole'. Change-Id: Id225247dcb2d0b884a8a41253863294385268585 Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
-rw-r--r--redfish-core/lib/managers.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/managers.hpp b/redfish-core/lib/managers.hpp
index 12ed177..459edad 100644
--- a/redfish-core/lib/managers.hpp
+++ b/redfish-core/lib/managers.hpp
@@ -1591,7 +1591,7 @@ class Manager : public Node
#ifdef BMCWEB_ENABLE_KVM
// Fill in GraphicalConsole info
res.jsonValue["GraphicalConsole"]["ServiceEnabled"] = true;
- res.jsonValue["GraphicalConsole"]["MaxConcurrentSessions"] = 1;
+ res.jsonValue["GraphicalConsole"]["MaxConcurrentSessions"] = 4;
res.jsonValue["GraphicalConsole"]["ConnectTypesSupported"] = {"KVMIP"};
#endif // BMCWEB_ENABLE_KVM
OpenPOWER on IntegriCloud