From 6b44aa0692653493b8d0e0c639a4369860ec603f Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sun, 12 Nov 2023 18:30:15 +0100 Subject: pim: T5733: add missing FRR PIM related features Migrate CLI configuration retrival to common get_config_dict(). In addition add new functionality to VyOS that is PIM related and already available in FRR. (cherry picked from commit 9abc02edcc237760f1f8aa1b3f08d7f4d18f866c) # Conflicts: # python/vyos/frr.py # src/op_mode/restart_frr.py --- op-mode-definitions/show-ip-pim.xml.in | 114 ++++++++++++++++++++++++++++----- 1 file changed, 99 insertions(+), 15 deletions(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/show-ip-pim.xml.in b/op-mode-definitions/show-ip-pim.xml.in index fa317a944..3e0bff064 100644 --- a/op-mode-definitions/show-ip-pim.xml.in +++ b/op-mode-definitions/show-ip-pim.xml.in @@ -9,59 +9,143 @@ Show PIM (Protocol Independent Multicast) information + + + PIM interfaces assert + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + PIM interface internal assert state + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + PIM interface assert metric + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + PIM interface assert winner metric + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + PIM cached bsm packets information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + PIM boot-strap router information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + PIM cached group-rp mappings information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + PIM downstream channel info + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + PIM multicast group type + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + PIM interfaces information - vtysh -c "show ip pim interface" + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ PIM join information - vtysh -c "show ip pim join" + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + PIM interface local-membership + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ PIM neighbor information - vtysh -c "show ip pim neighbor" + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ PIM cached nexthop rpf information - vtysh -c "show ip pim nexthop" + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + PIM rendezvous point information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + PIM reverse path forwarding information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + PIM neighbor addresses + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ PIM state information - vtysh -c "show ip pim state" + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ PIM statistics - vtysh -c "show ip pim statistics" + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + PIM upstream information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - + - PIM RP (Rendevous Point) information + PIM upstream join-desired - vtysh -c "show ip pim rp-info" + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - + - PIM cached source rpf information + PIM upstream source reverse path forwarding - vtysh -c "show ip pim rpf" + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - + - PIM upstream information + VXLAN BUM groups - vtysh -c "show ip pim upstream" + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ -- cgit v1.2.3