mirror of
https://github.com/espressif/openthread.git
synced 2026-06-06 05:24:51 +00:00
[test] verify state bitmap when runtime enable/disable EphemeralKey mode (#10503)
Meshcop ePSKc mode supported bitmap check.
This commit is contained in:
@@ -491,6 +491,16 @@ class OtbrDocker:
|
||||
raise ValueError("dns_upstream_query_state must be a bool")
|
||||
return self.set_dbus_property('DnsUpstreamQueryState', value)
|
||||
|
||||
@property
|
||||
def ephemeral_key_enabled(self):
|
||||
return bool(self.get_dbus_property('EphemeralKeyEnabled'))
|
||||
|
||||
@ephemeral_key_enabled.setter
|
||||
def ephemeral_key_enabled(self, value):
|
||||
if type(value) is not bool:
|
||||
raise ValueError("ephemeral_key_enabled must be a bool")
|
||||
return self.set_dbus_property('EphemeralKeyEnabled', value)
|
||||
|
||||
def read_border_routing_counters_delta(self):
|
||||
old_counters = self._border_routing_counters
|
||||
new_counters = self.get_border_routing_counters()
|
||||
|
||||
Reference in New Issue
Block a user