- def __init__(self, vpn_src, vpn_dst, vpn_src_ip, vpn_src_mask,
- pub_key=None, priv_key=None):
- self.vpn_src = vpn_src
- self.vpn_dst = vpn_dst
- self.vpn_src_ip = vpn_src_ip
- self.vpn_src_mask = vpn_src_mask
- self.pub_key = pub_key
- self.priv_key = priv_key
+ def __init__(self, name, connect_to, local_ip, mask,
+ public_key=None, private_key=None):
+ self.name = name
+ self.connect_to = connect_to
+ self.local_ip = local_ip
+ self.mask = mask
+ self.public_key = public_key
+ self.private_key = private_key