1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

lib: sysfs: remove unused 'bridge_port_pvids_get' api (fixes: #171)

Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
This commit is contained in:
Julien Fortin
2020-08-07 11:12:54 +02:00
parent c7a0cd032c
commit 44e3a3dafb

View File

@@ -146,9 +146,6 @@ class __Sysfs(IO, Requirements):
# BRIDGE
############################################################################
def bridge_port_pvids_get(self, bridge_port_name):
return self.read_file_oneline("/sys/class/net/%s/brport/pvid" % bridge_port_name)
def bridge_get_stp(self, bridge):
stp_state_path = "/sys/class/net/%s/bridge/stp_state" % bridge