summaryrefslogtreecommitdiff
path: root/pimd/pim_cmd_common.h
AgeCommit message (Collapse)Author
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-12pimd: Remove pim_get_pim_instance defination in pim_cmd_common.hSarita 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-12pimd: Change to DEFPY and make the api commonMobashshera Rasool
For show ip pim interface traffic cli, doing the below changes 1. Changing DEFUN to DEFPY 2. Move the whole code to a common api and modify it so that can be reused for pimv6. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
2022-06-12pim6d: Moving show apis to common fileMobashshera Rasool
Moving pim_show_interface_traffic and pim_show_interface_traffic_single to pim_cmd_common.c from pim_cmd.c to make it common to pimd and pim6d. 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>
2022-06-09pim6d: Moving resuable code to common api for "show pim rp-info" commandAbhishek N R
Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-06-09pim6d: Moving the common lines of pim_local_membership cliSai Gomathi N
Moving the common lines of pim_local_membership 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 the common lines of pim_show_jp_agg cliSai Gomathi N
Moving the common lines of pim_show_jp_agg 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-08pim6d: Moving the common lines of pim_show_interface_vrf_all cliSai Gomathi N
Moving the common lines of pim_show_interface_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-08pim6d: Moving the common lines of pim_show_interface cliSai Gomathi N
Moving the common lines of pim_show_interface 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-08pim6d: Moving the common lines of pim_show_channel cliSai Gomathi N
Moving the common lines of pim_show_channel 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-08pim6d: Moving resuable code to common api for "show pim rpf" commandAbhishek N R
Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-05-18pim6d: Add 'debug pimv6 packets'Sai Gomathi N
Implementing pimv6 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-05-17pim6d: Add 'debug pimv6'Sai Gomathi N
Implementing debug pimv6 command for PIMv6 protocol activity. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-05-17pim6d: Add 'clear ipv6 mroute [vrf NAME] count' CLISai Gomathi N
Adding clear ipv6 mroute count command for resetting multicast routes and count. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-05-16pim6d: Adding pim_cmd_lookup api in pim_cmd_common fileSai Gomathi N
Adding pim_cmd_lookup function for clear CLIs Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-05-16pimd: Moving the common functions from pim_cmd.c fileSai Gomathi N
Moving the functions that are used by both IPV4 and IPV6 to a common file pim_cmd_common.c file. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-05-12pimd: Northbound support for pim passive enablesarita patra
Added nothbound callbacks for pim-passive-enable Signed-off-by: sarita patra <saritap@vmware.com>
2022-05-06pimd: un-dependency-hell `pim_instance.h`David Lamparter
This is causing build issues on BSD by including (transitively) `linux/mroute6.h` - try to address by disentangling the headers a bunch. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2022-04-29Merge pull request #10988 from AbhishekNR/ipv6_mroute_cliDavid Lamparter
2022-04-28pim6d: Implementing "show ipv6 mroute summary" CLIAbhishek N R
Adding new show CLI to display ipv6 mroute summary information. Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-04-28pim6d: Implementing "show ipv6 mroute count" CLIAbhishek N R
Adding new show CLI to display ipv6 mroute count information. Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-04-28pim6d: Implementing "show ipv6 mroute" CLIAbhishek N R
Adding new show CLI to display ipv6 mroute information. Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-04-28lib, zebra, pimd: clean up/fix VRF DECLVAR macrosDavid Lamparter
There's a common pattern of "get VRF context for CLI node" here, which first got a helper macro in zebra that then permeated into pimd. Unfortunately the pimd copy wasn't quite adjusted correctly and thus caused two coverity warnings (CID 1517453, CID 1517454). Fix the PIM one, and clean up by providing a common base macro in `lib/vty.h`. Also rename the macros (add `_VRF`) to make more clear what they do. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2022-04-28pimd: Moving the common functions from pim_cmd.cAbhishek N R
Moving the functions that are used by both IPV4 and IPV6 to a common file pim_cmd_common.c file Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-04-27pim6d: Implementing "show ipv6 multicast count" CLIAbhishek N R
Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-04-27pim6d: Implementing "show ipv6 multicast" CLIAbhishek N R
Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-04-26pimd: Moving the common functions from pim_cmd.cAbhishek N R
Moving the functions that are used by both IPV4 and IPV6 to a common file pim_cmd_common.c file Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-04-24pim6d: Removing duplicate PIM_DECLVAR_CONTEXT macroSai Gomathi N
Removing the duplicate PIM_DECLVAR_CONTEXT from pim_common_cmd.h file. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-04-12pim6d: Addition of ipv6 ssmpingd config commandsBalaji Gurudoss
Signed-off-by: Balaji Gurudoss <G_Balaji1@dell.com>
2022-04-05pimd: Moving the common function from pim_cmd.h fileSai Gomathi N
Moving the PIM_DECLVAR_CONTEXT function to the common file pim_cmd_common.h file Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-04-05pim6d: Adding "ipv6 mld last-member-query-interval" CLISai Gomathi N
Adding the Interface level config command ipv6 mld last-member-query-interval (1-65535) This command can be use to tune the response time for group specific queries. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>