Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/p/2/P2PEM-0.1/P2PEM/manager/shaping.py   P2PEM(Download)
 
        ip_addr = self.get_ip_address(identif)
        executor.execute_as_root('ip addr add %s/24 dev %s' % (ip_addr, self.peer_dev))
 
 
 
        ip_addr = self.get_ip_address(identif)
        executor.execute_as_root('ip addr del %s/24 dev %s' % (ip_addr, str(self.peer_dev)))
 
    def tear_down(self):