MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3-linux / GetStatus

Method GetStatus

src/python/openvpn3/SessionManager.py:240–245  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

238 # The Status message is a plain string.
239 @__delete_check
240 def GetStatus(self):
241 status = self.__prop_intf.Get('net.openvpn.v3.sessions',
242 'status')
243 return {"major": StatusMajor(status[0]),
244 "minor": StatusMinor(status[1]),
245 "message": status[2]}
246
247
248 ##

Callers 4

get-last-status.pyFile · 0.80
start-tunnel2.pyFile · 0.80
ovpncli.pyFile · 0.80

Calls 2

StatusMajorEnum · 0.90
StatusMinorEnum · 0.90

Tested by

no test coverage detected