Home
last modified time | relevance | path

Searched +full:backbone +full:- +full:router (Results 1 – 25 of 67) sorted by relevance

123

/openthread-latest/src/core/backbone_router/
Dbbr_local.hpp31 * This file includes definitions for local Backbone Router service.
37 #include "openthread-core-config.h"
71 * Implements the definitions for local Backbone Router service.
81 * Represents Backbone Router state.
85 kStateDisabled = OT_BACKBONE_ROUTER_STATE_DISABLED, ///< Backbone function is disabled.
86 kStateSecondary = OT_BACKBONE_ROUTER_STATE_SECONDARY, ///< Secondary Backbone Router.
87 kStatePrimary = OT_BACKBONE_ROUTER_STATE_PRIMARY, ///< The Primary Backbone Router.
100 * Initializes the local Backbone Router.
107 * Enables/disables Backbone function.
109 * @param[in] aEnable TRUE to enable the backbone function, FALSE otherwise.
[all …]
Dbbr_leader.hpp31 …* This file includes definitions for Primary Backbone Router service management in the Thread Ne…
37 #include "openthread-core-config.h"
82 * Implements the basic Primary Backbone Router service operations.
87 // Primary Backbone Router Service state or state change.
90 kStateNone = 0, ///< Not exist (trigger Backbone Router register its service).
92 kStateRemoved, ///< Newly removed (trigger Backbone Router register its service).
93 … kStateToTriggerRereg, ///< Short address or sequence number changes (trigger re-registration).
96 … kStateUnchanged, ///< No change on Primary Backbone Router information (only for logging).
107 * Resets the cached Primary Backbone Router.
112 * Updates the cached Primary Backbone Router if any when new network data is available.
[all …]
Dbbr_manager.hpp31 * This file includes definitions for Backbone Router management.
37 #include "openthread-core-config.h"
59 * Implements the definitions for Backbone Router management.
69 * Initializes the Backbone Router manager.
120 … Returns if messages destined to a given Domain Unicast Address should be forwarded to the Backbone
125 …TRUE If messages destined to the Domain Unicast Address should be forwarded to the Backbone link.
126 …E If messages destined to the Domain Unicast Address should not be forwarded to the Backbone link.
131 * Returns a reference to the Backbone TMF agent.
133 * @returns A reference to the Backbone TMF agent.
138 * Sends BB.qry on the Backbone link.
[all …]
Dbbr_local.cpp31 * This file implements local Backbone Router service.
58 // Primary Backbone Router Aloc in Local()
62 // All Network Backbone Routers Multicast Address. in Local()
69 // All Domain Backbone Routers Multicast Address. in Local()
215 … // Update All Network Backbone Routers Multicast Address for both Secondary and Primary state. in SetState()
227 // Add Primary Backbone Router ALOC for Primary Backbone Router. in SetState()
265 // Here original PBBR restores its Backbone Router Service from Thread Network, in HandleBackboneRouterPrimaryUpdate()
285 // Delay registration while router role transition is pending in HandleTimeTick()
286 // (i.e., device may soon switch from REED to router role). in HandleTimeTick()
292 mRegistrationTimeout--; in HandleTimeTick()
/openthread-latest/include/openthread/
Dbackbone_router_ftd.h32 * This file defines the OpenThread Backbone Router API (for Thread 1.2 FTD with
48 * @addtogroup api-backbone-router
54 * Represents the Backbone Router Status.
58 OT_BACKBONE_ROUTER_STATE_DISABLED = 0, ///< Backbone function is disabled.
59 OT_BACKBONE_ROUTER_STATE_SECONDARY = 1, ///< Secondary Backbone Router.
60 OT_BACKBONE_ROUTER_STATE_PRIMARY = 2, ///< The Primary Backbone Router.
64 * Enables or disables Backbone functionality.
67 * device if there is no Backbone Router Service in the Thread Network Data.
69 * If disabled, `SRV_DATA.ntf` is triggered if the Backbone Router is in the Primary state.
74 * @param[in] aEnable TRUE to enable Backbone functionality, FALSE otherwise.
[all …]
Dbackbone_router.h32 * This file defines the OpenThread Backbone Router API (Thread 1.2)
45 * @addtogroup api-backbone-router
48 * This module includes functions for the OpenThread Backbone Router Service.
54 * Represents Backbone Router configuration.
58 …uint16_t mServer16; ///< Only used when get Primary Backbone Router information in the …
65 * Gets the Primary Backbone Router information in the Thread Network.
68 * @param[out] aConfig A pointer to where to put Primary Backbone Router information.
70 * @retval OT_ERROR_NONE Successfully got Primary Backbone Router information.
71 * @retval OT_ERROR_NOT_FOUND No Primary Backbone Router exists.
/openthread-latest/src/core/config/
Dbackbone_router.h31 * This file includes compile-time configurations for Backbone Router services.
38 * @addtogroup config-backbone-router
41 * This module includes configuration variables for Backbone Router services.
49 * Define to 1 to enable Backbone Router support.
58 * Define to 1 to enable Backbone Router ND Proxying for Thread 1.2 DUA feature.
59 * It's turned on by default for Thread 1.2 Backbone Router.
73 * Define to 1 to enable Backbone Router Multicast Routing for Thread 1.2 MLR feature.
74 * It's turned on by default for Thread 1.2 Backbone Router.
96 * This setting configures the maximum number of Multicast Listeners on a Backbone Router.
98 …* Note: According to Thread Conformance v1.2.0, a Thread Border Router MUST be able to hold a Mult…
[all …]
/openthread-latest/tests/scripts/thread-cert/
Dv1_2_test_backbone_router_service.py46 LEADER_1_1 --- BBR_1
52 1) Bring up Leader_1_1 and then BBR_1, BBR_1 becomes Primary Backbone Router.
53 2) Reset BBR_1, if bring back soon, it could restore the Backbone Router Service
55 Backbone Router Service to the Leader and become Primary.
57 choose a random sequence number, register its Backbone Router Service to
64 Backbone Router Service in Thread Network.
99 # 1) First Backbone Router would become the Primary.
106 self.assertEqual(self.nodes[BBR_1].get_state(), 'router')
127 self.assertEqual(self.nodes[BBR_1].get_state(), 'router')
133 # 3) Reset BBR_1 and bring it back after its original router id is released
[all …]
/openthread-latest/tests/scripts/thread-cert/backbone/
Dtest_mlr_multicast_routing.py40 ROUTER = 3 variable
63 # --------(eth)---------
65 # PBBR---SBBR HOST
68 # ROUTER--LEADER
74 # PBBR---LEADER
79 'allowlist': [SBBR, ROUTER, LEADER],
86 'allowlist': [PBBR, ROUTER, LEADER],
91 ROUTER: {
92 'name': 'ROUTER',
98 'allowlist': [PBBR, SBBR, ROUTER],
[all …]
Dtest_mlr_multicast_routing_commissioner_timeout.py36 from test_mlr_multicast_routing_timeout import ROUTER, HOST
47 # --------(eth)---------
51 # ROUTER
58 self.assertFalse(self.nodes[HOST].ping(MA1, backbone=True, ttl=10))
60 # Router starts Commissioner
61 self.nodes[ROUTER].commissioner_start()
63 self.assertEqual('active', self.nodes[ROUTER].commissioner_state())
65 # Router (Commissioner) registers MA1
66 self.nodes[ROUTER].register_multicast_listener(MA1, timeout=COMMISSIONER_MLR_TIMEOUT)
70 self.nodes[HOST].ping(MA1, backbone=True, ttl=10)
[all …]
Dtest_mlr_multicast_routing_timeout.py38 ROUTER = 2 variable
53 # --------(eth)---------
57 # ROUTER
62 'allowlist': [ROUTER],
67 ROUTER: {
68 'name': 'ROUTER',
93 # Bring up Router
94 self.nodes[ROUTER].start()
96 self.assertEqual('router', self.nodes[ROUTER].get_state())
103 self.assertFalse(self.nodes[HOST].ping(MA1, backbone=True, ttl=10))
[all …]
Dtest_bmlr.py32 # ---- -(eth)-------
34 # PBBR----SBBR
36 # Router1---Commissioner
97 self.wait_node_state(SBBR, 'router', 5)
104 self.wait_node_state(ROUTER1, 'router', 5)
107 self.wait_node_state(COMMISSIONER, 'router', 5)
145 # Verify PBBR sends `/b/bmr` on the Backbone link for MA1 with default timeout.
152 # Router registers MA2 with default timeout
157 # Verify PBBR sends `/b/bmr` on the Backbone link for MA2 with default timeout.
169 # Verify PBBR sends `/b/bmr` on the Backbone link for MA3 with default timeout.
[all …]
Dtest_mlr_multicast_routing_across_thread_pans.py57 # --------(eth)-----------
101 self.nodes[HOST].add_ipmaddr(MA2, backbone=True)
118 self.assertEqual('router', self.nodes[ROUTER1].get_state())
138 self.assertEqual('router', self.nodes[ROUTER1].get_state())
147 self.assertTrue(self.nodes[HOST].ping(MA1, backbone=True, ttl=5))
158 # ping MA2 from R1's MLE-ID shouldn't generate a reply from Host or R2
189 # Host should send ping MA1 in the Backbone link
193 # PBBR1 should forward ping reply to the Backbone link
197 # PBBR2 should forward ping reply to the Backbone link
209 # PBBR1 should forward the multicast ping request to the Backbone link
[all …]
Dbbr_5_11_01.py34 # Test description: Here is the test case `5.11.1 DUA-TC-04: DUA re-registration`
37 # -----------(eth)----------------
39 # Router_1----BR_1---HOST
89 self.assertEqual('router', self.nodes[ROUTER2].get_state())
98 self.assertEqual('router', self.nodes[BR_1].get_state())
120 # BR_1 and Host can ping each other on the Backbone link
122 backbone=True))
124 backbone=True))
127 self.assertTrue(self.nodes[HOST].ping(Dg, backbone=True))
164 # Step 16: Host: Queries DUA, Dg, with ND-NS
/openthread-latest/tests/scripts/thread-cert/border_router/
Dtest_single_border_router.py37 # This test verifies bi-directional connectivity between Thread end device
41 # ----------------(eth)--------------------
45 # ROUTER
49 ROUTER = 2 variable
52 # The two prefixes are set small enough that a random-generated OMR prefix is
53 # very likely greater than them. So that the BR will remove the random-generated one.
64 'allowlist': [ROUTER],
68 ROUTER: {
69 'name': 'Router',
81 router = self.nodes[ROUTER]
[all …]
Dtest_radvd_coexist.py38 # This test verifies that the Border Router will use the same RA parameters
42 # ----------------(eth)--------------------
46 # ROUTER
50 ROUTER = 2 variable
62 'allowlist': [ROUTER],
66 ROUTER: {
67 'name': 'Router',
79 router = self.nodes[ROUTER]
92 router.start()
94 self.assertEqual('router', router.get_state())
[all …]
/openthread-latest/src/core/thread/
Dmlr_manager.hpp37 #include "openthread-core-config.h"
61 * @addtogroup core-mlr
68 * @defgroup core-mlr Mlr
92 * Notifies Primary Backbone Router status.
94 * @param[in] aState The state or state change of Primary Backbone Router.
95 * @param[in] aConfig The Primary Backbone Router service.
100 …static constexpr uint16_t kMaxMlrAddresses = OPENTHREAD_CONFIG_MLE_IP_ADDRS_PER_CHILD - 1; ///< Ma…
115 * Registers Multicast Listeners to Primary Backbone Router.
132 * started, Primary Backbone Router not found).
Dnetwork_data_service.hpp37 #include "openthread-core-config.h"
61 …t mSequenceNumber; ///< Sequence number used to notify SRP client if they need to re-register.
214 * Adds a Backbone Router Service entry to the local Thread Network Data.
216 * @param[in] aSequenceNumber The sequence number of Backbone Router.
217 * @param[in] aReregistrationDelay The Registration Delay (in seconds) of Backbone Router.
218 …m[in] aMlrTimeout The multicast listener report timeout (in seconds) of Backbone Router.
230 * Removes the Backbone Router Service entry from the local Thread Network Data.
242 * Gets the Primary Backbone Router (PBBR) in the Thread Network Data.
244 * @param[out] aConfig The Primary Backbone Router configuration.
249 * Gets the Service ID of Backbone Router service from Thread Network Data.
[all …]
/openthread-latest/.github/workflows/
Dotbr.yml29 name: Border Router
33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
48 backbone-router:
49 runs-on: ubuntu-22.04
65 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
68 - name: Build OTBR Docker
[all …]
/openthread-latest/src/cli/
Dcli_bbr.cpp31 * This file implements CLI for Backbone Router.
115 * @cparam bbr mgmt mlr listener add @ca{ipaddress} [@ca{timeout-seconds}] in Process()
140 * @cparam bbr mgmt mlr response @ca{status-code} in Process()
141 * For `status-code`, use: in Process()
188 * @cparam bbr mgmt dua @ca{status|coap-code} [@ca{meshLocalIid}] in Process()
189 * For `status` or `coap-code`, use: in Process()
201 * DUA.req with the specified `status` or `coap-code`. in Process()
285 * Gets or sets jitter (in seconds) for Backbone Router registration.
379 // Set local Backbone Router configuration. in Process()
388 * `bbr register` should be issued explicitly to register Backbone Router service to Leader in Process()
[all …]
DREADME.md24 - [attachtime](#attachtime)
25 - [ba](#ba)
26 - [bbr](#bbr)
27 - [br](README_BR.md)
28 - [bufferinfo](#bufferinfo)
29 - [ccathreshold](#ccathreshold)
30 - [channel](#channel)
31 - [child](#child-list)
32 - [childip](#childip)
33 - [childmax](#childmax)
[all …]
/openthread-latest/tests/scripts/thread-cert/border_router/MATN/
DMATN_04_MulticastListenerTimeout.py46 # ----------------(eth)------------------
48 # BR1 (Leader) ----- BR2 HOST
51 # Router_1------------+
92 router = self.nodes[ROUTER_1]
101 router.start()
103 self.assertEqual('router', router.get_state())
107 self.assertEqual('router', br2.get_state())
114 router.add_ipmaddr(MA1)
119 …host.ping(MA1, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
124 router.del_ipmaddr(MA1)
[all …]
DMATN_02_MLRFirstUse.py42 # notify devices on the backbone link of the multicast address. The test also
43 # verifies that an IPv6 multicast packet originating from the backbone is
48 # ----------------(eth)------------------
50 # BR1 (Leader) ----- BR2 HOST
53 # TD --------(when TD is router)
106 self.assertEqual('router', td.get_state())
110 self.assertEqual('router', br2.get_state())
122 …host.ping(MA1, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
128 …host.ping(MA2, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
134 …host.ping(MA1g, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_U…
[all …]
DMATN_03_InvalidCommissionerDeregistration.py45 # ----------------(eth)------------------
47 # BR1 (Leader) ----- BR2 HOST
50 # Router_1------------+
89 router = self.nodes[ROUTER_1]
97 router.start()
99 self.assertEqual('router', router.get_state())
103 self.assertEqual('router', router.get_state())
109 router.add_ipmaddr(MA1)
112 # Ensure that router can receive a multicast ping packet sent to MA1.
114 …host.ping(MA1, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
[all …]
/openthread-latest/doc/
Dot_config_doc.h42 * @defgroup config-announce-sender Announce Sender
43 * @defgroup config-backbone-router Backbone Router Services
44 * @defgroup config-border-agent Border Agent
45 * @defgroup config-border-router Border Router
46 * @defgroup config-border-routing Border Routing Manager
47 * @defgroup config-channel-manager Channel Manager
48 * @defgroup config-channel-monitor Channel Monitor
49 * @defgroup config-child-supervision Child Supervision
50 * @defgroup config-coap CoAP
51 * @defgroup config-commissioner Commissioner
[all …]

123