示例#1
0
 def port_del(self, port):
     """Remove interface from the bridge."""
     brctl(['delif', self.name, port])
示例#2
0
 def port_add(self, port):
     """Add another interface to the bridge."""
     brctl(['addif', self.name, port])