summaryrefslogtreecommitdiff
path: root/pimd/pim6_cmd.c
AgeCommit message (Collapse)Author
2024-05-08pimd: fix dr-priority rangeDavid Lamparter
0 is a valid DR priority. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2024-02-04*: use af-specific autocompletion for prefix-lists when possibleIgor Ryzhov
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2023-06-11pim6d: Correcting the help stringAbhishek N R
Max response time in the code is being used as decisecond but the user input is taken in millisecond. Also yang expects the field to be in decisecond. The below condition in yang is failing due to the mismatch in units. ``` units deciseconds; must ". <= ../query-interval * 10"; ``` Issue: #11892 Signed-off-by: Abhishek N R <abnr@vmware.com>
2023-04-03pim6d: Fixing ipv6 mld join cli errorAbhishek N R
frr(config-if)# ipv6 mld join ffaa::1 Invalid Multicast Address Cli was not accepting valid addresses. Issue: #12822 Signed-off-by: Abhishek N R <abnr@vmware.com>
2023-03-16pim6d: Custom error-message for non-multicast groupsSai Gomathi N
While configuring global or non-multicast address for IPv6 mld join command, displaying a custom error-message "invalid multicast address" Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2023-02-09*: auto-convert to SPDX License IDsDavid Lamparter
Done with a combination of regex'ing and banging my head against a wall. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2022-10-26build, vtysh: extract vtysh commands from .xrefDavid Lamparter
Rather than running selected source files through the preprocessor and a bunch of perl regex'ing to get the list of all DEFUNs, use the data collected in frr.xref. This not only eliminates issues we've been having with preprocessor failures due to nonexistent header files, but is also much faster. Where extract.pl would take 5s, this now finishes in 0.2s. And since this is a non-parallelizable build step towards the end of the build (dependent on a lot of other things being done already), the speedup is actually noticeable. Also files containing CLI no longer need to be listed in `vtysh_scan` since the .xref data covers everything. `#ifndef VTYSH_EXTRACT_PL` checks are equally obsolete. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2022-10-20pim6d: Add "show ipv6 pim bsrp-info [vrf NAME] [json]" cliSarita Patra
Signed-off-by: Sarita Patra <saritap@vmware.com>
2022-10-20pim6d: Add "[no] debug pimv6 bsm" cliSarita Patra
The cli "[no] debug pimv6 bsm" is used to enable/ disable bsm debugs for PIMV6 Signed-off-by: Sarita Patra <saritap@vmware.com>
2022-10-20pim6d: Add "show ipv6 show ip pim bsm-database [vrf NAME] [json]" cliSarita Patra
Signed-off-by: Sarita Patra <saritap@vmware.com>
2022-10-20pim6d: Add "show ipv6 pim bsr [vrf NAME] [json] cmd"Sarita Patra
Signed-off-by: Sarita Patra <saritap@vmware.com>
2022-10-20pim6d: Add [no] ipv6 pim unicast-bsm" commandSarita Patra
Introduced common api pim_process_unicast_bsm_cmd, pim_process_no_unicast_bsm_cmd which will process both "[no] ip pim unicast-bsm" command and "[no] ipv6 pim unicast-bsm" command. Signed-off-by: Sarita Patra <saritap@vmware.com>
2022-10-20pim6d: Add [no] ipv6 pim bsm" commandSarita Patra
Introduced common api pim_process_bsm_cmd, pim_process_no_bsm_cmd which will process both "[no] ip pim bsm" command and "[no] ipv6 pim bsm" command. Signed-off-by: Sarita Patra <saritap@vmware.com>
2022-10-07*: Create and use infrastructure to show debugs in libDonald Sharp
There are lib debugs being set but never show up in `show debug` commands because there was no way to show that they were being used. Add a bit of infrastructure to allow this and then use it for `debug route-map` Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2022-09-25pim6d: Add 'debug mld trace detail'Sai Gomathi N
Implementing debug mld trace detail for MLD activity. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-09-25pim6d: Add 'debug mld trace'Sai Gomathi N
Implementing mld trace for MLD protocol activity. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-09-25pim6d: Add 'debug mld packets'Sai Gomathi N
Implementing mld packets debug to information about packet generation for sending and about packet handling from a received packet. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-09-25pim6d: Add 'debug mld events'Sai Gomathi N
Implementing debug mld events command for debugging MLD system events. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-09-25pim6d: Add 'debug mld'Sai Gomathi N
Implementing debug mld command for MLD protocol activity. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-08-16pim6d: Add debug mroute6 and detail commandsMobashshera Rasool
Adding below debug CLIs: debug mroute6 debug mroute6 detail Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
2022-08-08Merge pull request #11720 from SaiGomathiN/pimv6debugfixDonatas Abraitis
pim6d: Add 'show debugging [pimv6]' CLI and some fixes
2022-08-02pim6d: Add 'show debugging [pimv6]' CLISai Gomathi N
Adding show debugging CLI for pimv6 debugs. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-08-01pim6d: Implementing "clear ipv6 pim interface traffic" command.Abhishek N R
Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-07-19pim6d: Implementing "clear ipv6 pim interfaces" command.Abhishek N R
Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-07-08pim6d: add `clear ipv6 pim bsr-data`David Lamparter
This is needed for ANVL between testruns, and already in IPv4 too. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2022-07-07pim6d: Fix description for "clear ipv6 mroute" cmdSarita Patra
Signed-off-by: Sarita Patra <saritap@vmware.com>
2022-07-06Merge pull request #11521 from patrasar/pimv6_drpriorityDavid Lamparter
pim6d: Fix [no] ipv6 pim drpriority command
2022-07-06Merge pull request #9307 from SaiGomathiN/sai-nhtDonatas Abraitis
pimd: json support for nexthop
2022-07-03pim6d: fix no ipv6 pim drprioritySarita Patra
Signed-off-by: Sarita Patra <saritap@vmware.com>
2022-06-30pimd, pim6d: Adding json support for show ipv6 nexthopSai Gomathi N
Moving the reusable code of pim_show_nexthop apis to common file pim_cmd_common.c file and adding the json support for show ipv6 pim nexthop Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-06-30pim6d: Implementing mld watermark-warn CLI completelySai Gomathi N
Implementing the TBD of watermark-warn CLI for IPv6 MLD This command can be use to warn the user when more than the desired limit of groups gets configured. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-06-30pimd: Modifying member of pim_instance to accomodate IPv6 changesSai Gomathi N
Modifying igmp_watermark_limit of struct pim_instance to gm_watermark_limit which is to be used for both IGMP and MLD. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-06-12pim6d: Implement show ipv6 pim interface trafficMobashshera Rasool
This CLI shows the number of PIM protocol packets sent/received on each interface. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
2022-06-12Merge pull request #11385 from AbhishekNR/show_cliDonald Sharp
pimd, pim6d: Moving reusable code to common api for show CLI's.
2022-06-09pim6d: Moving the reusable code of pim_show_join cliSai Gomathi N
Moving the common lines of pim_show_join_vrf and pim_show_join_vrf_all cli in pim_cmd.c and pim6_cmd.c to pim_cmd_common.c file Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-06-09pim6d: Moving reusable code to common api for "show mroute summary" commandAbhishek N R
Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-06-09pim6d: Moving reusable code to common api for "show ip/ipv6 mroute count" ↵Abhishek N R
command Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-06-09pim6d: Moving reusable code to common api for "show ip/ipv6 mroute" commandAbhishek N R
Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-06-09pim6d: Moving the common lines of pim_show_nexthop_lookup cliSai Gomathi N
Moving the common lines of pim_show_nexthop_lookup cli in pim_cmd.c and pim6_cmd.c to pim_cmd_common.c file Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-06-09pim6d: Moving reusable code to common api for "show ip/ipv6 multicast count" ↵Abhishek N R
command Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-06-09pim6d: Moving reusable code to common api for "show ip/ipv6 multicast" commandAbhishek N R
Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-06-09pim6d: Moving reusable code to common api for "show pim state" commandAbhishek N R
Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-06-09pim6d: Moving the common lines of pim_show_nexthop cliSai Gomathi N
Moving the common lines of pim_show_nexthop cli in pim_cmd.c and pim6_cmd.c to pim_cmd_common.c file Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-06-09pim6d: Moving reusable code to common api for "show pim upstream rpf" commandAbhishek N R
Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-06-09pim6d: Moving reusable code to common api for "show pim upstream join ↵Abhishek N R
desired" command Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-06-09pim6d: Moving reusable code to common api for "show pim upstream" commandAbhishek N R
Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-06-09pim6d: Moving the common lines of pim_show_neighbors_vrf_all cliSai Gomathi N
Moving the common lines of pim_show_neighbors_vrf_all cli in pim_cmd.c and pim6_cmd.c to pim_cmd_common.c file Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-06-09pim6d: Moving reusable code to common api for "show pim statistics" commandAbhishek N R
Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-06-09pim6d: Moving the common lines of pim_show_neighbors cliSai Gomathi N
Moving the common lines of pim_show_neighbors cli in pim_cmd.c and pim6_cmd.c to pim_cmd_common.c file Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-06-09pim6d: Moving reusable code to common api for "show pim secondary" commandAbhishek N R
Signed-off-by: Abhishek N R <abnr@vmware.com>