summaryrefslogtreecommitdiff
path: root/pimd/pim_cmd_common.c
AgeCommit message (Collapse)Author
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-06-08pimd: pim_addr_cmp returns 0 for same not -1 or 1Donald Sharp
The test for setting pimDesignatedRouterLocal was comparing the result of pim_addr_cmp to non zero to say that the pim_dr_addr and primary_address are the same. This is not correct in that pim_addr_cmp returns 0 for being the same, so the correct test is !pim_addr_cmp Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2022-05-24pim6d: Removed PIM_IPV == 4 flagAbhishek N R
PIM_IPV == 4 is removed form function pim_cmd_show_ip_multicast_helper as pim_zlookup.c is available for pimv6 aswell. 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-12pimd: display passive in show ip pim interface cmdsarita patra
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-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-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-26Merge pull request #10712 from patrasar/pim_nexthop_prefix_to_pimaddrDavid Lamparter
2022-04-20Merge pull request #11023 from AbhishekNR/igmp_flagDonald Sharp
pimd: Changing PIM_OIF_FLAG_PROTO_IGMP to PIM_OIF_FLAG_PROTO_GM
2022-04-13pimd: Changing PIM_OIF_FLAG_PROTO_IGMP to PIM_OIF_FLAG_PROTO_GMAbhishek N R
Modified marco name so that it can be reused in mld. Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-04-12pim6d: Addition of ipv6 ssmpingd config commandsBalaji Gurudoss
Signed-off-by: Balaji Gurudoss <G_Balaji1@dell.com>
2022-04-06pim6d: Display mrib_nexthop_addr with %pPAsarita patra
Signed-off-by: sarita patra <saritap@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>
2022-04-05pim6d: Adding ipv6 mld last-member-query-count CLISai Gomathi N
Adding the Interface level config command ipv6 mld last-member-query-count (1-255) This command can be use to tune the number of Multicast-Address- Specific Queries sent before the router assumes there are no remaining listeners for an address on a link. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-04-05pim6d: Adding "ipv6 mld query-max-response-time" CLISai Gomathi N
Adding the Interface level config command ipv6 mld query-max-response-time <1-65535> This command can be use to tune the max response time for general queries. The number of seconds represented by the [Query Response Interval] must be less than the [Query Interval] Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-04-04pim6d: Adding "show ipv6 [vrf|vrf ALL] pim neighbor" commandSai Gomathi N
Adding new show CLI to display regarding pim neighbors. Changing DEFUN to DEFPY for "show ip pim neighbor" command. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-04-04pim6d: Adding "show ipv6 pim local-membership"Sai Gomathi N
Adding the new cli to display pim local membership information. Changing DEFUN to DEPFY for "show ip pim local-membership" Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-04-04pim6d: Adding "show ipv6 pim jp-agg" commandSai Gomathi N
Adding new show CLI to display pim join prune aggregate information. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-04-04pim6d: Adding "show ipv6 pim [vrf|vrf all] join" commandSai Gomathi N
Adding show ipv6 pim join and show ipv6 pim vrf all join CLIs to display pim join related information and formatted the json output for "show ip pim join" and "show ip pim vrf all join" commands. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-04-04pim6d: Adding "show ipv6 pim [vrf|vrf all] interface" commandSai Gomathi N
Adding show ipv6 pim interface and show ipv6 pim vrf all interface CLIs to display pim enabled interface informations and formatted the json output for "show ip pim interface" and "show ip pim vrf all interface" commands. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-04-04pim6d: Adding "show ipv6 pim channel" commandSai Gomathi N
Adding new CLI to display pim channel informations. Changing DEFUN to DEPFY for ""show ip pim channel" Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-04-04pimd: 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-03-28pim6d: Implementing "show ipv6 pim state" CLIAbhishek N R
Adding new show CLI to display pim internal state related to groups. Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-03-28pim6d: Implementing "show ipv6 pim upstream-rpf" CLI.Abhishek N R
Adding new show CLI to display pim RPF for upstreams. Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-03-28pim6d: Implementing "show ipv6 pim upstream-join-desired" CLIAbhishek N R
Adding new show CLI to display group join desired status. Signed-off-by: Abhishek N R <abnr@vmware.com>