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