summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-02-14 19:09:09 +0100
committerChristian Poessinger <christian@poessinger.com>2022-02-14 19:09:34 +0100
commit3ecdcc69401bddaa4b07fe024da149d6edb5da2d (patch)
tree4487abd95f825ee96b266e5964bf3d80a20e1b0d
parent1ad47b7a0aa2a073149fa047878d52e7ca8889c1 (diff)
downloadvyos-1x-3ecdcc69401bddaa4b07fe024da149d6edb5da2d.tar.gz
vyos-1x-3ecdcc69401bddaa4b07fe024da149d6edb5da2d.zip
tunnel: T4154: import cleanup
(cherry picked from commit 122c7a53575f67759f157e02eca776f799658dc1)
-rwxr-xr-xsrc/conf_mode/interfaces-tunnel.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/conf_mode/interfaces-tunnel.py b/src/conf_mode/interfaces-tunnel.py
index 6cdaa463f..ada39a249 100755
--- a/src/conf_mode/interfaces-tunnel.py
+++ b/src/conf_mode/interfaces-tunnel.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
-# Copyright (C) 2018-2021 VyOS maintainers and contributors
+# Copyright (C) 2018-2022 yOS maintainers and contributors
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 or later as
@@ -21,9 +21,7 @@ from netifaces import interfaces
from ipaddress import IPv4Address
from vyos.config import Config
-from vyos.configdict import dict_merge
from vyos.configdict import get_interface_dict
-from vyos.configdict import node_changed
from vyos.configdict import leaf_node_changed
from vyos.configverify import verify_address
from vyos.configverify import verify_bridge_delete
@@ -34,8 +32,6 @@ from vyos.configverify import verify_tunnel
from vyos.ifconfig import Interface
from vyos.ifconfig import Section
from vyos.ifconfig import TunnelIf
-from vyos.template import is_ipv4
-from vyos.template import is_ipv6
from vyos.util import get_interface_config
from vyos.util import dict_search
from vyos import ConfigError