[MARVIN] Add forceencap field to VpnCustomerGateway class in marvin base

This commit is contained in:
Michael Andersen 2015-12-23 21:13:40 +01:00
parent 6da3bc1237
commit 0b54871fa3

View File

@ -3572,6 +3572,8 @@ class VpnCustomerGateway:
cmd.esplifetime = services["esplifetime"]
if "dpd" in services:
cmd.dpd = services["dpd"]
if "forceencap" in services:
cmd.forceencap = services["forceencap"]
if account:
cmd.account = account
if domainid:
@ -3599,6 +3601,8 @@ class VpnCustomerGateway:
cmd.esplifetime = services["esplifetime"]
if "dpd" in services:
cmd.dpd = services["dpd"]
if "forceencap" in services:
cmd.forceencap = services["forceencap"]
return(apiclient.updateVpnCustomerGateway(cmd))
def delete(self, apiclient):