Commit 77edec52 authored by Benjamin Berg's avatar Benjamin Berg

tests: Allow creating VPNs in the NM test service

This is in preparation for adding VPN related tests.
parent 7c43f95e
......@@ -1126,7 +1126,7 @@ class Connection(ExportedObj):
if not verify_strict:
return;
t = s_con['type']
if t not in ['802-3-ethernet', '802-11-wireless', 'vlan', 'wimax']:
if t not in ['802-3-ethernet', '802-11-wireless', 'vlan', 'wimax', 'vpn']:
raise InvalidPropertyException('connection.type: unsupported connection type "%s"' % (t))
def update_connection(self, settings, verify_connection):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment