1#!/usr/bin/env bash 2# Copyright 2024 Nordic Semiconductor 3# SPDX-License-Identifier: Apache-2.0 4 5source $(dirname "${BASH_SOURCE[0]}")/../../_mesh_test.sh 6 7# Test verifies that an entry is removed from the bridging table when the NetKey is removed 8# 9# Test procedure: 10# 1. Tester configures itself and creates subnets equal to number of non-bridge nodes. 11# 2. Tester provisions and configures Subnet Bridge node. 12# 3. Tester provisions and configures non-bridge nodes for each subnet. 13# 4. Tester sends DATA and GET messages to the device 1 encrypted with primary key and verifies that 14# device 1 sends a STATUS message with the content of the DATA message. 15# 5. Tester removes the NetKey from Subnet Bridge node. 16# 6. Tester sends a GET message and verifies that no response is received. 17# 7. Tester retrieves entries from the bridging table and verifies that the entry with NetKeyIndex2 18# set to the removed NetKey is removed. 19 20RunTest mesh_brg_net_key_remove \ 21 brg_tester_net_key_remove brg_bridge_simple brg_device_simple brg_device_simple 22 23overlay=overlay_psa_conf 24RunTest mesh_brg_net_key_remove_psa \ 25 brg_tester_net_key_remove brg_bridge_simple brg_device_simple brg_device_simple 26