Searched refs:net_interface (Results 1 – 3 of 3) sorted by relevance
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/ |
D | ip.py | 36 def get_ipv4_addresses(self, net_interface): argument 47 results = self._runner.run('ip addr show dev %s' % net_interface) 74 def add_ipv4_address(self, net_interface, address, broadcast=None): argument 87 (address, broadcast, net_interface)) 90 (address, net_interface)) 92 def remove_ipv4_address(self, net_interface, address, ignore_status=False): argument 107 'ip addr del %s dev %s' % (address, net_interface), 110 def set_ipv4_address(self, net_interface, address, broadcast=None): argument 124 self.clear_ipv4_addresses(net_interface) 125 self.add_ipv4_address(net_interface, address, broadcast) [all …]
|
D | route.py | 42 def add_route(self, net_interface, address): argument 62 (address, net_interface)) 71 def get_routes(self, net_interface=None): argument 128 if net_interface: 131 if pair[1] == net_interface: 137 def is_route(self, address, net_interface=None): argument 149 for route, _ in self.get_routes(net_interface): 155 def remove_route(self, address, net_interface=None): argument 169 if net_interface: 171 (address, net_interface)) [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | access_point.py | 337 self._route_cmd.clear_routes(net_interface=interface) 354 self._route_cmd.clear_routes(net_interface=str(bss))
|