Home
last modified time | relevance | path

Searched refs:server (Results 1 – 25 of 47) sorted by relevance

12

/openthread-2.7.6/tests/scripts/thread-cert/
Dtest_srp_name_conflicts.py75 server = self.nodes[SERVER]
83 server.srp_server_set_enabled(True)
84 server.start()
86 self.assertEqual(server.get_state(), 'leader')
105 client_1.srp_client_start(server.get_addrs()[0], client_1.get_srp_server_port())
122 server_service = server.srp_server_get_services()[0]
131 server_host = server.srp_server_get_hosts()[0]
143 client_2.srp_client_start(server.get_addrs()[0], client_2.get_srp_server_port())
152 self.assertEqual(len(server.srp_server_get_services()), 1)
153 self.assertEqual(len(server.srp_server_get_hosts()), 1)
[all …]
Dtest_srp_lease.py71 server = self.nodes[SERVER]
78 server.srp_server_set_enabled(True)
79 server.srp_server_set_lease_range(LEASE, LEASE, KEY_LEASE, KEY_LEASE)
80 server.start()
82 self.assertEqual(server.get_state(), 'leader')
96 client.srp_client_start(server.get_addrs()[0], client.get_srp_server_port())
100 self.check_host_and_service(server, client)
111 self.assertEqual(server.srp_server_get_host('my-host')['deleted'], 'true')
112 … self.assertEqual(server.srp_server_get_service('my-service', '_ipps._tcp')['deleted'], 'true')
115 client.srp_client_start(server.get_addrs()[0], client.get_srp_server_port())
[all …]
Dtest_srp_server_reboot_port.py69 server = self.nodes[SERVER]
80 server.srp_server_set_enabled(True)
81 server.start()
83 self.assertEqual(server.get_state(), 'router')
94 self.assertTrue(server.has_ipaddr(client.srp_client_get_server_address()))
100 old_port = server.get_srp_server_port()
101 server.srp_server_set_enabled(False)
103 server.srp_server_set_enabled(True)
105 self.assertEqual(old_port, server.get_srp_server_port())
114 self.check_host_and_service(server, client, '2001::1')
[all …]
Dtest_srp_register_single_service.py69 server = self.nodes[SERVER]
76 server.srp_server_set_enabled(True)
77 server.start()
79 self.assertEqual(server.get_state(), 'leader')
93 client.srp_client_start(server.get_addrs()[0], client.get_srp_server_port())
97 self.check_host_and_service(server, client, '2001::1')
111 server_services = server.srp_server_get_services()
119 server_hosts = server.srp_server_get_hosts()
138 self.check_host_and_service(server, client, '2001::1')
147 self.check_host_and_service(server, client, '2001::2')
[all …]
Dtest_dnssd.py77 server = self.nodes[SERVER]
85 server.start()
87 self.assertEqual(server.get_state(), 'leader')
88 server.srp_server_set_enabled(True)
105 …self._config_srp_client_services(client1, server, 'ins1', 'host1', 11111, 1, 1, client1_addrs, ",_…
106 … self._config_srp_client_services(client2, server, 'ins2', 'host2', 22222, 2, 2, client2_addrs)
107 …self._config_srp_client_services(client3, server, 'ins3', 'host3', 33333, 3, 3, client3_addrs, ",_…
112 answers = client1.dns_resolve(f"host1.{DOMAIN}", server.get_mleid(), 53)
116 answers = client1.dns_resolve(f"host2.{DOMAIN}", server.get_mleid(), 53)
172 service_instances = client1.dns_browse(f'{SERVICE}.{DOMAIN}', server.get_mleid(), 53)
[all …]
Dtest_srp_client_remove_host.py67 server = self.nodes[SERVER]
73 server.start()
75 self.assertEqual(server.get_state(), 'leader')
81 server.srp_server_set_enabled(True)
103 server_hosts = server.srp_server_get_hosts()
111 server_services = server.srp_server_get_services()
134 server_services = server.srp_server_get_services()
149 server_hosts = server.srp_server_get_hosts()
155 server_services = server.srp_server_get_services()
170 self.assertEqual(len(server.srp_server_get_services()), 0)
[all …]
Dtest_srp_sub_type.py67 server = self.nodes[SERVER]
72 server.start()
74 self.assertEqual(server.get_state(), 'leader')
80 server.srp_server_set_enabled(True)
90 self.check_service_on_client_and_server(server, client)
99 server_services = server.srp_server_get_services()
111 self.check_service_on_client_and_server(server, client)
113 def check_service_on_client_and_server(self, server, client): argument
126 server_services = server.srp_server_get_services()
Dtest_network_data.py98 def convert_server_to_bytearray(server): argument
99 return struct.pack(">H", server.server_16) + server.server_data
1095 server = network_data.Server(server_16, any_server_data(), any_stable())
1098 actual_server_16 = server.server_16
1107 server = network_data.Server(any_server_16(), server_data, any_stable())
1110 actual_server_data = server.server_data
1119 server = network_data.Server(any_server_16(), any_server_data(), stable)
1122 actual_stable = server.stable
/openthread-2.7.6/src/cli/
DREADME_SRP_SERVER.md22 Usage: `srp server help`
24 Print SRP server help menu.
27 > srp server help
41 Usage: `srp server disable`
43 Disable the SRP server.
46 > srp server disable
52 Usage: `srp server domain [domain-name]`
57 > srp server domain
65 > srp server domain thread.service.arpa.
71 Usage: `srp server enable`
[all …]
DREADME_SRP_CLIENT.md13 - [server](#server)
152 Set host name (can be set when the host is removed or not yet registered with server).
199 - `Registered`: item is registered with server.
206 Remove host info and all services from server.
209 …boolean value indicating whether or not to send an update message to the server when host info is …
220 …o and all services on client (unlike `host remove`, with `host clear` no update is sent to server).
267 ### server subsection
269 Usage: `srp client server`
271 Print the server socket address (IPv6 address and port number).
274 > srp client server
[all …]
DREADME_SRP.md45 > srp server enable
120 Check the host & service on the server node:
123 > srp server host
128 > srp server service
151 Confirm on the server node that the service has been removed:
154 > srp server service
171 Confirm on the server node that no host or service entries are listed:
174 > srp server host
176 > srp server service
DREADME_COAP.md13 On node 1, setup CoAP server with resource `test-resource`.
95 - address: IPv6 address of the CoAP server.
107 - address: IPv6 address of the CoAP server.
125 - address: IPv6 address of the CoAP server.
173 - address: IPv6 address of the CoAP server.
190 - address: IPv6 address of the CoAP server.
/openthread-2.7.6/tests/scripts/thread-cert/border_router/
Dtest_advertising_proxy.py77 server = self.nodes[BR]
80 server.srp_server_set_enabled(False)
84 self.assertEqual(server.srp_server_get_state(), 'disabled')
85 server.srp_server_set_enabled(True)
86 server.srp_server_set_lease_range(LEASE, LEASE, KEY_LEASE, KEY_LEASE)
87 server.start()
89 self.assertEqual('leader', server.get_state())
90 self.assertEqual(server.srp_server_get_state(), 'running')
107 self.check_host_and_service(server, client, '2001::1', 'my-service')
108 self.check_host_and_service(server, client, '2001::1', 'my-service-1')
[all …]
Dtest_plat_udp_accessiblity.py92 def _testDhcp6ClientAfterReset(self, server, client, reset_device): argument
96 server.add_prefix(DHCP6_PREFIX, 'pdros')
98 server.register_netdata()
111 if reset_device == server:
113 server.add_prefix(DHCP6_PREFIX, 'pdros')
115 server.register_netdata()
Dtest_dnssd_server.py88 server = br1 = self.nodes[BR1]
99 server.srp_server_set_enabled(True)
112 server_addr = server.get_ip6_address(config.ADDRESS_TYPE.OMR)[0]
221 self._verify_discovery_proxy_meshcop(server_addr, server.get_network_name(), digger)
/openthread-2.7.6/third_party/mbedtls/repo/tests/suites/
Dtest_suite_ecjpake.data13 ECJPAKE round one: server, valid
184 ECJPAKE round two server: valid
187 ECJPAKE round two server: trailing byte
190 ECJPAKE round two server: no data
193 ECJPAKE round two server: length of forst point too small
196 ECJPAKE round two server: length of first point too big
199 ECJPAKE round two server: no first point data
202 ECJPAKE round two server: first point is zero
205 ECJPAKE round two server: unknown first point format
208 ECJPAKE round two server: nothing after first point
[all …]
Dtest_suite_ssl.function1555 * consisting of only 0x00 for the client and only 0xFF for the server.
1684 mbedtls_endpoint client, server;
1754 TEST_ASSERT( mbedtls_endpoint_init( &server, MBEDTLS_SSL_IS_SERVER,
1759 mbedtls_ssl_set_timer_cb( &server.ssl, &timer_server,
1766 TEST_ASSERT( mbedtls_endpoint_init( &server, MBEDTLS_SSL_IS_SERVER,
1770 mbedtls_ssl_conf_authmode( &server.conf, options->srv_auth_mode );
1774 mbedtls_ssl_conf_min_version( &server.conf, MBEDTLS_SSL_MAJOR_VERSION_3,
1780 mbedtls_ssl_conf_max_version( &server.conf, MBEDTLS_SSL_MAJOR_VERSION_3,
1785 TEST_ASSERT( mbedtls_ssl_conf_max_frag_len( &(server.conf),
1801 TEST_ASSERT( mbedtls_ssl_conf_psk( &server.conf, options->psk_str->x,
[all …]
/openthread-2.7.6/tools/otci/tests/
Dtest_otci.py339 def _test_otci_dns(self, client: OTCI, server: OTCI):
346 client.dns_set_config(server=(server.get_ipaddr_rloc(), 53),
352 'server': (server.get_ipaddr_rloc(), 53),
369 def _test_otci_srp(self, client: OTCI, server: OTCI):
370 self.assertEqual('disabled', server.srp_server_get_state())
371 self.assertEqual('default.service.arpa.', server.srp_server_get_domain())
372 server.srp_server_set_domain('example1.com')
373 self.assertEqual('example1.com.', server.srp_server_get_domain())
374 server.srp_server_set_domain('example2.com.')
375 self.assertEqual('example2.com.', server.srp_server_get_domain())
[all …]
/openthread-2.7.6/third_party/mbedtls/repo/programs/fuzz/
DREADME.md42 * client : simulates a client against (fuzzed) server traffic
43 * server : simulates a server against (fuzzed) client traffic
53 * Run a dummy python script to output either client or server corpus file like `python dummy.py tes…
56 Here is an example of dummy.py for extracting payload from client to server (if we used `tcp.dstpor…
65 # determine client or server based on port
/openthread-2.7.6/src/core/thread/
Dnetwork_data_leader_ftd.cpp550 const ServerTlv *server = static_cast<const ServerTlv *>(subCur); in ValidateService() local
555 VerifyOrExit(server->IsValid() && server->GetServer16() == aRloc16); in ValidateService()
641 const ServerTlv *server; in ContainsMatchingServer() local
644 while ((server = subTlvIterator.Iterate<ServerTlv>(aServer.IsStable())) != nullptr) in ContainsMatchingServer()
646 if (*server == aServer) in ContainsMatchingServer()
792 const ServerTlv *server; in AddService() local
808 server = NetworkDataTlv::Find<ServerTlv>(aService.GetSubTlvs(), aService.GetNext()); in AddService()
809 OT_ASSERT(server != nullptr); in AddService()
811 SuccessOrExit(error = AddServer(*server, *dstService, aChangedFlags)); in AddService()
1180 ServerTlv * server; in RemoveRlocInService() local
[all …]
Dnetwork_data.cpp245 const ServerTlv *server = static_cast<const ServerTlv *>(subCur); in Iterate() local
252 if ((aRloc16 == Mac::kShortAddrBroadcast) || (server->GetServer16() == aRloc16)) in Iterate()
256 aConfig.mService->SetFrom(*service, *server); in Iterate()
522 ServerTlv *server = static_cast<ServerTlv *>(cur); in RemoveTemporaryData() local
523 server->SetServer16(Mle::Mle::ServiceAlocFromId(aService.GetServiceId())); in RemoveTemporaryData()
/openthread-2.7.6/third_party/mbedtls/repo/programs/
DREADME.md47 …y/dh_server.c`](pkey/dh_server.c): secure channel demonstrators (client, server). This pair of pro…
70 …client.c): a simple DTLS client program, which sends one datagram to the server and reads one data…
72 * [`ssl/dtls_server.c`](ssl/dtls_server.c): a simple DTLS server program, which expects one datagra…
78 * [`ssl/ssl_fork_server.c`](ssl/ssl_fork_server.c): a simple HTTPS server using one process per cli…
82 * [`ssl/ssl_pthread_server.c`](ssl/ssl_pthread_server.c): a simple HTTPS server using one thread pe…
84 * [`ssl/ssl_server.c`](ssl/ssl_server.c): a simple HTTPS server that sends a fixed response. It ser…
92 * [`ssl/ssl_server2.c`](ssl/ssl_server2.c): an HTTPS server that sends a fixed response, with optio…
94server. For example, there are options to select ciphersuites, or to force a renegotiation. These …
114 * [`x509/cert_app.c`](x509/cert_app.c): connects to a TLS server and verifies its certificate chain.
/openthread-2.7.6/third_party/mbedtls/repo/tests/data_files/
Dserver1.cert_type.crt.openssl.v3_ext5 nsCertType=server
/openthread-2.7.6/examples/
DREADME.md24 …e this switch on a device that is supposed to request networking parameters from the DHCP server. |
25 …OT_DHCP6_SERVER | Enables support for the DHCP6 server. The device is able to act as typical DHCP
34 …_DNSSD_SERVER | Enables support for DNS-SD server. DNS-SD server use service information from loca…
64 | SRP_SERVER | OT_SRP_SERVER | Enable support for SRP server. |
/openthread-2.7.6/third_party/mbedtls/repo/tests/
DDescriptions.txt15 version, both ways (client/server), using client authentication or not.

12