Merge "Define some abstract methods in VpnDriver class"
This commit is contained in:
commit
3276d100dd
@ -52,6 +52,19 @@ class VpnDriver(object):
|
|||||||
def delete_vpnservice(self, context, vpnservice):
|
def delete_vpnservice(self, context, vpnservice):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
@abc.abstractmethod
|
||||||
|
def create_ipsec_site_connection(self, context, ipsec_site_connection):
|
||||||
|
pass
|
||||||
|
|
||||||
|
@abc.abstractmethod
|
||||||
|
def update_ipsec_site_connection(self, context, old_ipsec_site_connection,
|
||||||
|
ipsec_site_connection):
|
||||||
|
pass
|
||||||
|
|
||||||
|
@abc.abstractmethod
|
||||||
|
def delete_ipsec_site_connection(self, context, ipsec_site_connection):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class BaseIPsecVpnAgentApi(n_rpc.RpcProxy):
|
class BaseIPsecVpnAgentApi(n_rpc.RpcProxy):
|
||||||
"""Base class for IPSec API to agent."""
|
"""Base class for IPSec API to agent."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user