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

Method NewTunnel

src/python/openvpn3/SessionManager.py:560–563  ·  view source on GitHub ↗
(self, cfgobj)

Source from the content-addressed store, hash-verified

558 # @return Returns a Session object of the imported configuration
559 #
560 def NewTunnel(self, cfgobj):
561 self.__ping()
562 path = self.__manager_intf.NewTunnel(cfgobj.GetPath())
563 return Session(self.__dbuscon, path)
564
565
566 ##

Callers

nothing calls this directly

Calls 3

__pingMethod · 0.95
SessionClass · 0.70
GetPathMethod · 0.45

Tested by

no test coverage detected