From 69614d7d501811164010a83441ea807716903cf1 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 20 Jul 2021 20:58:05 +0200 Subject: ipsec: T1210: add op-mode command for macOS and iOS profile generation generate ipsec mac-ios-profile remote will generate a matching IPSec profile which can be loaded on an iOS device. --- python/vyos/template.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'python') diff --git a/python/vyos/template.py b/python/vyos/template.py index f03fd7ee7..0d2bd39e7 100644 --- a/python/vyos/template.py +++ b/python/vyos/template.py @@ -433,3 +433,9 @@ def get_esp_ike_cipher(group_config): ciphers.append(tmp) return ciphers + +@register_filter('get_uuid') +def get_uuid(interface): + """ Get interface IP addresses""" + from uuid import uuid1 + return uuid1() -- cgit v1.2.3