From 0b54871fa3273219910a573fef5e22ce7ac4caaa Mon Sep 17 00:00:00 2001 From: Michael Andersen Date: Wed, 23 Dec 2015 21:13:40 +0100 Subject: [PATCH] [MARVIN] Add forceencap field to VpnCustomerGateway class in marvin base --- tools/marvin/marvin/lib/base.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/marvin/marvin/lib/base.py b/tools/marvin/marvin/lib/base.py index ab15a78c4ea..4e04ba82496 100755 --- a/tools/marvin/marvin/lib/base.py +++ b/tools/marvin/marvin/lib/base.py @@ -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):