From d2cc59cfc7c7601d87f210acd66d32aeed9cc5af Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 18 Oct 2020 10:21:45 +0200 Subject: 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. --- python/vyos/ifconfig/bridge.py | 1 - python/vyos/ifconfig/interface.py | 1 - 2 files changed, 2 deletions(-) (limited to 'python') 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 -- cgit v1.2.3