mirror of https://git.48k.eu/ogclient
Add Virtual status
Since version 1.2.0, OpenGnsys supports ogVDI hypervisor OS. This commit a new status which indicates that clients are running ogVDImore_events
parent
93f1b35fcd
commit
de129f7449
|
@ -364,7 +364,10 @@ class ogRest():
|
|||
json_body = jsonBody()
|
||||
|
||||
if self.state != ThreadState.BUSY:
|
||||
json_body.add_element('status', 'OPG')
|
||||
if self.mode == 'live':
|
||||
json_body.add_element('status', 'OPG')
|
||||
elif self.mode == 'virtual':
|
||||
json_body.add_element('status', 'VDI')
|
||||
response = restResponse(ogResponses.OK, json_body)
|
||||
else:
|
||||
json_body.add_element('status', 'BSY')
|
||||
|
|
Loading…
Reference in New Issue