OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:net_interface
(Results
1 - 7
of
7
) sorted by null
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/
ip.py
36
def get_ipv4_addresses(self,
net_interface
):
40
net_interface
: string, The network interface to get info on
47
results = self._runner.run('ip addr show dev %s' %
net_interface
)
74
def add_ipv4_address(self,
net_interface
, address, broadcast=None):
75
"""Adds an ipv4 address to a
net_interface
.
78
net_interface
: string, The network interface
87
(address, broadcast,
net_interface
))
90
(address,
net_interface
))
92
def remove_ipv4_address(self,
net_interface
, address, ignore_status=False):
98
net_interface
: string, The network interface to remove th
[
all
...]
route.py
42
def add_route(self,
net_interface
, address):
48
net_interface
: string, Any packet that sends through this route
62
(address,
net_interface
))
71
def get_routes(self,
net_interface
=None):
75
net_interface
: string, If given, only retrive routes that have
79
Returns: An iterator that returns a tuple of (address,
net_interface
).
100
match = re.search('dev (?P<
net_interface
>.*)', line)
106
match.groupdict()['
net_interface
'])
110
'(?P<address>[^\s]*) dev (?P<
net_interface
>[^\s]*)', line)
122
pair = (address, d['
net_interface
'])
[
all
...]
/external/autotest/client/cros/cellular/pseudomodem/
bearer.py
12
from autotest_lib.client.cros.cellular import
net_interface
35
'Interface':
net_interface
.PseudoNetInterface.IFACE_NAME,
pseudomodem_context.py
29
from autotest_lib.client.cros.cellular import
net_interface
183
self._net_interface =
net_interface
.PseudoNetInterface()
modem.py
24
from autotest_lib.client.cros.cellular import
net_interface
114
[
net_interface
.PseudoNetInterface.IFACE_NAME,
/tools/test/connectivity/acts/framework/acts/controllers/
access_point.py
245
self._route_cmd.clear_routes(
net_interface
=interface)
263
self._route_cmd.clear_routes(
net_interface
=str(bss))
/external/autotest/client/cros/cellular/wardmodem/
wardmodem.py
24
from autotest_lib.client.cros.cellular import
net_interface
80
self._net_interface =
net_interface
.PseudoNetInterface()
578
net_interface
.PseudoNetInterface.IFACE_NAME + ' '
Completed in 898 milliseconds