summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-18 10:21:45 +0200
committerChristian Poessinger <christian@poessinger.com>2020-10-18 10:21:45 +0200
commitd2cc59cfc7c7601d87f210acd66d32aeed9cc5af (patch)
tree0002df9aafe0c14e5fa4166d3d1bb0cb3f1c42e6 /python
parent183130bcfa3c6bf5dbf73c38c1609c7b6bf21d3f (diff)
downloadvyos-1x-d2cc59cfc7c7601d87f210acd66d32aeed9cc5af.tar.gz
vyos-1x-d2cc59cfc7c7601d87f210acd66d32aeed9cc5af.zip
ifconfig: T2985: remove no longer available vyos.ifconfig.stp include
almost every interface can be part of a bridge thus the code for changing STP cost is best part of the Interface() base class itself. Commit b5ef10cf ("ifconfig: T2985: support on demand bridge creation") implemented this change but the STP file was not removed on the test devices causing tests to pass.
Diffstat (limited to 'python')
-rw-r--r--python/vyos/ifconfig/bridge.py1
-rw-r--r--python/vyos/ifconfig/interface.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/python/vyos/ifconfig/bridge.py b/python/vyos/ifconfig/bridge.py
index 7867a7387..bf78f8972 100644
--- a/python/vyos/ifconfig/bridge.py
+++ b/python/vyos/ifconfig/bridge.py
@@ -16,7 +16,6 @@
from netifaces import interfaces
from vyos.ifconfig.interface import Interface
-from vyos.ifconfig.stp import STP
from vyos.validate import assert_boolean
from vyos.validate import assert_positive
from vyos.util import cmd
diff --git a/python/vyos/ifconfig/interface.py b/python/vyos/ifconfig/interface.py
index c1f9d14af..ae747e87c 100644
--- a/python/vyos/ifconfig/interface.py
+++ b/python/vyos/ifconfig/interface.py
@@ -46,7 +46,6 @@ from vyos.validate import assert_positive
from vyos.validate import assert_range
from vyos.ifconfig.control import Control
-from vyos.ifconfig.stp import STP
from vyos.ifconfig.vrrp import VRRP
from vyos.ifconfig.operational import Operational
from vyos.ifconfig import Section