summaryrefslogtreecommitdiff
path: root/src/op_mode/image_manager.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-27 11:23:22 +0100
committerChristian Breunig <christian@breunig.cc>2023-11-27 11:28:06 +0100
commite02546655adefe1a6fb3660402e697f872d3ffe7 (patch)
tree562c3eed41cd3d603ee12ad4fe02a6a43b1c6ce7 /src/op_mode/image_manager.py
parentb1a6d770e2d391119b318bcd7fa7ae438555440b (diff)
downloadvyos-1x-e02546655adefe1a6fb3660402e697f872d3ffe7.tar.gz
vyos-1x-e02546655adefe1a6fb3660402e697f872d3ffe7.zip
vyos.utils: T5749: fix get_vrf_members() call to iproute2
The iproute2 master argument is used for both a VRF and a bridge device. Using this in the VRF context would retrieve and report back the wrong interfaces: Old implementation: =================== >>> from vyos.utils.network import get_vrf_members >>> get_vrf_members('br1') ['eth1', 'eth2', 'vxlan1'] >>> get_vrf_members('black') ['br1.3002', 'br1.4000', 'pim6reg10200'] The new implementation: ======================= >>> from vyos.utils.network import get_vrf_members >>> get_vrf_members('br1') [] >>> get_vrf_members('black') ['br1.3002', 'br1.4000', 'pim6reg10200']
Diffstat (limited to 'src/op_mode/image_manager.py')
0 files changed, 0 insertions, 0 deletions