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:
@@ -146,9 +146,6 @@ class __Sysfs(IO, Requirements):
|
|||||||
# BRIDGE
|
# 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):
|
def bridge_get_stp(self, bridge):
|
||||||
stp_state_path = "/sys/class/net/%s/bridge/stp_state" % bridge
|
stp_state_path = "/sys/class/net/%s/bridge/stp_state" % bridge
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user