Home
last modified time | relevance | path

Searched +full:avahi +full:- +full:utils (Results 1 – 9 of 9) sorted by relevance

/external/autotest/client/common_lib/cros/
Davahi_utils.py3 # Use of this source code is governed by a BSD-style license that can be
13 from autotest_lib.client.bin import utils
17 BUS_NAME = 'org.freedesktop.Avahi'
18 INTERFACE_SERVER = 'org.freedesktop.Avahi.Server'
26 def avahi_config(options, src_file='/etc/avahi/avahi-daemon.conf', host=None):
27 """Creates a temporary avahi-daemon.conf file with the specified changes.
29 Avahi daemon uses a text configuration file with sections and values
42 run = utils.run if host is None else host.run
55 tmp_conf_file = run('mktemp -t avahi-conf.XXXX').stdout.strip()
66 """Returns True when the avahi-deamon's DBus interface is ready.
[all …]
/external/autotest/client/cros/
Dp2p_utils.py3 # Use of this source code is governed by a BSD-style license that can be
10 from autotest_lib.client.common_lib import error, utils
19 P2P_SHARE_BACKUP_PATH = '/var/cache/p2p-backup'
25 p2p-server shall not be running during backup or restore.
42 p2p-server shall not be running during backup or restore.
53 """Manage a p2p-server instance running over a TAP interface.
55 This class manages a p2p-server instance configured to run over a TAP
56 interface, useful for any test that needs to interact with the p2p-server
57 (and its p2p-http-server instance) on a controled network environment.
77 """Initializes avahi daemon on a new tap interface.
[all …]
/external/ot-br-posix/src/mdns/
DCMakeLists.txt29 if(OTBR_MDNS STREQUAL "avahi")
30 add_library(otbr-mdns
34 target_compile_definitions(otbr-mdns PUBLIC
37 target_link_libraries(otbr-mdns
39 otbr-common
41 otbr-utils
42 avahi-client
43 avahi-common
48 add_library(otbr-mdns
52 target_compile_definitions(otbr-mdns PUBLIC
[all …]
/external/ot-br-posix/script/
Dbootstrap36 NAT64_SERVICE="${NAT64_SERVICE:-openthread}"
38 FIREWALL="${FIREWALL:-1}"
40 OTBR_MDNS="${OTBR_MDNS:-mDNSResponder}"
41 OT_BACKBONE_CI="${OT_BACKBONE_CI:-0}"
42 REFERENCE_DEVICE="${REFERENCE_DEVICE:-0}"
46 sudo apt-get update
47 sudo apt-get install --no-install-recommends -y \
50 iputils-ping \
51 libreadline-dev \
52 libncurses-dev
[all …]
/external/ot-br-posix/tests/scripts/
Dbootstrap.sh30 set -euxo pipefail
33 [[ -d $TOOLS_HOME ]] || mkdir -p "$TOOLS_HOME"
41 if [[ -f ${OTBR_APT_CONF_FILE} ]] && grep Install-Recommends "${OTBR_APT_CONF_FILE}"; then
45 sudo tee -a /etc/apt/apt.conf <<EOF
46 APT::Get::Install-Recommends "false";
47 APT::Get::Install-Suggests "false";
54 sudo apt-get install --no-install-recommends -y \
55 libdbus-1-dev \
56 ninja-build \
59 net-tools \
[all …]
/external/ot-br-posix/tests/mdns/
Dtest_init31 # This script includes common utils for testing mdns
34 set -euxo pipefail
41 sudo service avahi-daemon stop || true
47 avahi)
49 sudo service avahi-daemon restart
65 [[ ! -e ${DNS_SD_RESULT} ]] || rm "${DNS_SD_RESULT}" || true
92 # dns-sd will not exit
93 dns-sd -L "$1" "$2" local >"${DNS_SD_RESULT}" 2>&1 &
116 # dns-sd will not exit
117 dns-sd -B "$2" local >"${DNS_SD_RESULT}" 2>&1 &
[all …]
/external/ot-br-posix/src/agent/
DCMakeLists.txt2 # Copyright (c) 2020-2021, The OpenThread Authors.
29 add_executable(otbr-agent
36 target_link_libraries(otbr-agent PRIVATE
37 $<$<BOOL:${OTBR_BORDER_AGENT}>:otbr-border-agent>
38 $<$<BOOL:${OTBR_BACKBONE_ROUTER}>:otbr-backbone-router>
39 $<$<BOOL:${OTBR_DBUS}>:otbr-dbus-server>
40 $<$<BOOL:${OTBR_MDNS}>:otbr-mdns>
41 $<$<BOOL:${OTBR_OPENWRT}>:otbr-ubus>
42 $<$<BOOL:${OTBR_REST}>:otbr-rest>
43 openthread-cli-ftd
[all …]
/external/autotest/server/
Dsite_linux_router.py3 # Use of this source code is governed by a BSD-style license that can be
20 from autotest_lib.client.common_lib import utils
71 @param enable_avahi: boolean True iff avahi should be started on the router.
86 # JetstreamHost assumes ap-daemons are running.
87 # Testbed routers run the testbed-ap profile with no ap-daemons.
88 # TODO(ecgh): crbug.com/757075 Fix testbed-ap JetstreamHost detection.
96 """Linux/mac80211-style WiFi Router support for WiFiTest class.
100 be pre-configured to enable ssh access and have a mac80211-based
102 and any necessary modules are pre-loaded.
112 HOSTAPD_CONF_FILE_PATTERN = 'hostapd-test-%s.conf'
[all …]
/external/openthread/.github/workflows/
Dsimulation-1.1.yml33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
48 packet-verification:
49 runs-on: ubuntu-24.04
57 - name: Harden Runner
58 uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
60 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
[all …]