mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Merge branch '4.10'
This commit is contained in:
commit
ccf2f52041
@ -663,6 +663,12 @@ class CsRemoteAccessVpn(CsDataBag):
|
||||
#Enable remote access vpn
|
||||
if vpnconfig['create']:
|
||||
logging.debug("Enabling remote access vpn on "+ public_ip)
|
||||
|
||||
dev = CsHelper.get_device(public_ip)
|
||||
if dev == "":
|
||||
logging.error("Request for ipsec to %s not possible because ip is not configured", public_ip)
|
||||
continue
|
||||
|
||||
CsHelper.start_if_stopped("ipsec")
|
||||
self.configure_l2tpIpsec(public_ip, self.dbag[public_ip])
|
||||
logging.debug("Remote accessvpn data bag %s", self.dbag)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user