Home
last modified time | relevance | path

Searched full:backbone (Results 1 – 25 of 85) sorted by relevance

1234

/openthread-latest/src/core/backbone_router/
Dbbr_local.hpp31 * This file includes definitions for local Backbone Router service.
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.
114 * Retrieves the Backbone Router state.
[all …]
Dbbr_leader.hpp31 …* This file includes definitions for Primary Backbone Router service management in the Thread Ne…
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).
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.
117 * Gets the Primary Backbone Router in the Thread Network.
119 * @param[out] aConfig The Primary Backbone Router information.
[all …]
Dbackbone_tmf.hpp31 * This file includes definitions for Backbone TMF functionality.
47 constexpr uint16_t kBackboneUdpPort = 61631; ///< Backbone TMF UDP Port
50 * Implements functionality of the Backbone TMF agent.
63 * Starts the Backbone TMF agent.
66 * @retval kErrorFailed Failed to start the Backbone TMF agent.
71 * Returns whether @p aMessageInfo meets Backbone Thread Management Framework Addressing Rules.
79 * Subscribes the Backbone TMF socket to a given IPv6 multicast group on the Backbone network.
86 … * Unsubscribes the Backbone TMF socket from a given IPv6 multicast group on the Backbone network.
Dbbr_manager.hpp31 * This file includes definitions for Backbone Router management.
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.
144 * @retval kErrorNone Successfully sent BB.qry on backbone link.
[all …]
Dbackbone_tmf.cpp31 * This file implements Backbone Thread Management Framework (TMF) functionalities.
117 // A Backbone TMF message must comply with following rules: in IsBackboneTmfMessage()
121 // 3. A Backbone Link-Local address in IsBackboneTmfMessage()
122 // The source must be a Backbone Link-local address. in IsBackboneTmfMessage()
132 LogError("Backbone TMF subscribes", aAddress, error); in SubscribeMulticast()
139 LogError("Backbone TMF unsubscribes", aAddress, error); in UnsubscribeMulticast()
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()
/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.
110 * The maximum number of supported DUA that Backbone Router could proxy.
/openthread-latest/tests/scripts/thread-cert/
Dthread_cert.py114 # store all the backbone network names that are used in the test case,
115 # it keeps empty when there's no backbone traffic in the test (no otbr or host nodes)
164 logging.info("Backbone network: %s", backbone_network_name)
293 … # Stop Backbone sniffer before stopping nodes so that we don't capture Codecov Uploading traffic
457 'backbone': {
478 …Construct the name of the backbone network based on the given backbone network id from TOPOLOGY. I…
479 backbone_network_id is not defined in TOPOLOGY, use the default backbone network id.
547 … Creates one or more backbone networks (Docker bridge networks) based on the TOPOLOGY definition.
550 …* Network name: `backbone{PORT_OFFSET}.{backbone_network_id}` (e.g., "backbone0.0", "backbo…
551 …* Network prefix: `backbone{PORT_OFFSET}:{backbone_network_id}::/64` (e.g., "9100:0::/64", "9100:1…
[all …]
Dv1_2_test_backbone_router_service.py52 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.
162 # Bring up BBR_2, it becomes Router with backbone function disabled
175 # Enable Backbone function, it will stay at Secondary state as
176 # there is Primary Backbone Router already.
177 # Here removes the Domain Prefix before enabling backbone function
[all …]
Drun_cert_suite.py45 _BACKBONE_TESTS_DIR = 'tests/scripts/thread-cert/backbone'
97 logging.info("Cleaning up Backbone testing environment ...")
101 bash(f'docker network rm $(docker network ls -q -f "name=backbone") 2>/dev/null || true')
106 raise RuntimeError('Backbone tests do not work with THREAD_VERSION=1.1')
109 raise RuntimeError('Backbone tests only work with VIRTUAL_TIME=0')
119 parser.add_argument("scripts", nargs='+', type=str, help='specify Backbone test scripts')
202 logging.info('Has Backbone tests: %s', has_backbone_tests)
/openthread-latest/tests/scripts/thread-cert/border_router/
Dtest_multi_ail.py80 """This test ensures that the multiple backbone infra works as expected."""
120 self.assertFalse(br1.ping(br2_onlink_ula, backbone=True))
121 self.assertFalse(br1.ping(br3_onlink_ula, backbone=True))
122 self.assertFalse(br2.ping(br1_onlink_ula, backbone=True))
123 self.assertFalse(br3.ping(br1_onlink_ula, backbone=True))
124 self.assertTrue(br2.ping(br3_onlink_ula, backbone=True))
125 self.assertTrue(br3.ping(br2_onlink_ula, backbone=True))
Dtest_single_border_router.py124 … self.assertTrue(host.ping(router.get_ip6_address(config.ADDRESS_TYPE.OMR)[0], backbone=True))
157 … self.assertTrue(host.ping(router.get_ip6_address(config.ADDRESS_TYPE.OMR)[0], backbone=True))
158 … self.assertTrue(host.ping(router.get_ip6_address(config.ADDRESS_TYPE.OMR)[1], backbone=True))
191 … self.assertTrue(host.ping(router.get_ip6_address(config.ADDRESS_TYPE.OMR)[0], backbone=True))
243 … self.assertTrue(host.ping(router.get_ip6_address(config.ADDRESS_TYPE.OMR)[0], backbone=True))
294 … self.assertTrue(host.ping(router.get_ip6_address(config.ADDRESS_TYPE.OMR)[0], backbone=True))
307 … self.assertTrue(host.ping(router.get_ip6_address(config.ADDRESS_TYPE.OMR)[0], backbone=True))
322 … self.assertTrue(host.ping(router.get_ip6_address(config.ADDRESS_TYPE.OMR)[0], backbone=True))
/openthread-latest/tests/scripts/thread-cert/backbone/
Dtest_mlr_multicast_routing_across_thread_pans.py101 self.nodes[HOST].add_ipmaddr(MA2, backbone=True)
147 self.assertTrue(self.nodes[HOST].ping(MA1, backbone=True, ttl=5))
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
227 # Verify pinging MA2 from R1's MLE-ID will not be forwarded to the Backbone link
234 # PBBR1 shouldn't forward the multicast ping request to the Backbone link
238 # Verify pinging MA2 from R1's Link-Local address will not be forwarded to the Backbone link
245 # PBBR1 shouldn't forward the multicast ping request to the Backbone link
Dtest_mlr_multicast_routing.py178 self.assertFalse(self.nodes[HOST].ping(MA_scope2, backbone=True, ttl=10))
185 self.assertFalse(self.nodes[HOST].ping(MA_scope3, backbone=True, ttl=10))
192 self.assertTrue(self.nodes[HOST].ping(MA2, backbone=True, ttl=10))
193 self.assertTrue(self.nodes[HOST].ping(MA3, backbone=True, ttl=10))
201 self.assertFalse(self.nodes[HOST].ping(ma, backbone=True, ttl=10))
209 self.assertTrue(self.nodes[HOST].ping(ma, backbone=True, ttl=10))
Dtest_mlr_multicast_routing_commissioner_timeout.py58 self.assertFalse(self.nodes[HOST].ping(MA1, backbone=True, ttl=10))
70 self.nodes[HOST].ping(MA1, backbone=True, ttl=10)
75 self.nodes[HOST].ping(MA1, backbone=True, ttl=10)
80 self.assertFalse(self.nodes[HOST].ping(MA1, backbone=True, ttl=10))
Dtest_bmlr.py145 # Verify PBBR sends `/b/bmr` on the Backbone link for MA1 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.
181 # Verify PBBR sends `/b/bmr` on the Backbone link for MA4 with custom timeout.
193 # Verify PBBR sends `/b/bmr` on the Backbone link for MA5 with timeout equal to zero.
/openthread-latest/tests/scripts/thread-cert/border_router/MATN/
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
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…
139 …self.assertTrue(host.ping(br2.get_ip6_address(config.ADDRESS_TYPE.BACKBONE_GUA), backbone=True, tt…
183 # BR_1 multicasts a BMLR.ntf CoAP request to the Backbone Link including
DMATN_16_LargeNumberOfMulticastGroupSubscriptionsToBBR.py115 # MASi[ 3 * i - 1], on the backbone link.
117 backbone=True,
125 …host.ping(MA2, backbone=True, ttl=64, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
169 # BR_1 multicasts a BMLR.ntf CoAP request to the Backbone Link,
202 # MASi[ 3 * i - 1], on the backbone link.
DMATN_05_ReregistrationToSameMulticastGroup.py42 # The test also verifies the usage of UDP multicast packets across backbone and
120 …host.ping(MA1, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
136 # multicast address, MA1, on the backbone link.
139 …host.ping(MA1, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
227 # multicast address, MA1, on the backbone link.
/openthread-latest/src/core/thread/
Dmlr_manager.hpp92 * 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.
115 * Registers Multicast Listeners to Primary Backbone Router.
132 * started, Primary Backbone Router not found).
Dnetwork_data_service.hpp214 * 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.
/openthread-latest/.github/workflows/
Dotbr.yml48 backbone-router:
88 …sudo -E ./script/test cert_suite ./tests/scripts/thread-cert/backbone/*.py || (sudo chmod a+r ot_t…
91 name: cov-thread-1-3-backbone-docker
97 name: thread-1-3-backbone-results
109 name: cov-thread-1-3-backbone
237 - backbone-router
/openthread-latest/src/cli/
Dcli_bbr.cpp31 * This file implements CLI for Backbone Router.
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()
389 * for Secondary Backbone Router. in Process()
448 * Returns the current Primary Backbone Router information for the Thread device. in Process()

1234