summaryrefslogtreecommitdiff
path: root/pimd/pim6_cmd.c
AgeCommit message (Collapse)Author
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: Adding 'debug node' initializationSai Gomathi N
Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-05-18pim6d: Add 'debug pimv6 zebra'Sai Gomathi N
Implementing debug pimv6 zebra command for debugging about the events from zebra that come up through the ZAPI. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-05-18pim6d: Add 'debug pimv6 trace' and 'debug pimv6 trace detail'Sai Gomathi N
Implementing debugs pimv6 trace and trace detail for tracing pim code and how it is running. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-05-18pim6d: Add 'debug_pimv6_packetdump_send_cmd' and ↵Sai Gomathi N
'debug_pimv6_packetdump_recv_cmd' Implementing debug pimv6 packetdump send and recv coomands for debugging of pimv6 packet sent and received which are dumped. Signed-off-by: Sai Gomathi N <nsaigomathi@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-18pim6d: Add 'debug pimv6 events'Sai Gomathi N
Implementing debug pimv6 events command for debugging PIMv6 system events. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-05-18pim6d: Add 'debug pimv6 nht' and 'debug pimv6 nht detial'Sai Gomathi N
Implementing debug pimv6 nht command for PIMv6 nexthop tracking. It will display information about RPF lookups and information about when a nexthop changes. debug pimv6 nht detial for for PIMv6 nexthop in detail.This is not enabled by default. 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-17Merge pull request #11037 from SaiGomathiN/clearcliDavid Lamparter
2022-05-17Merge pull request #10775 from opensourcerouting/pim6-mld-prDonald Sharp
pim6d: MLD code
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-17pim6d: Add 'clear ipv6 pim [vrf NAME] oil' commandSai Gomathi N
Adding clear ipv6 pim [vrf NAME] oil CLI for resetting PIMv6 output interface list. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-05-16pim6d: Add 'clear ipv6 mroute [vrf NAME]' commandSai Gomathi N
Adding clear ipv6 mroute cli for resetting the PIMv6 mroutes. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-05-16pim6d: Adding 'clear ipv6 pim statistics [vrf NAME]' cmdSai Gomathi N
Adding clear ipv6 pim statistics cli for resetting pimv6 statistics 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-12pim6d: introduce ipv6 pim passive commandsarita patra
Added a new cli command "ip pim passive" in the interface context, to disable sending of pim control packets on the interface. Signed-off-by: sarita patra <saritap@vmware.com>
2022-05-06pim6d: add fresh MLD implementationDavid Lamparter
Fresh ground-up MLD implementation with subscriber-tracking for MLDv2. Intended to be adapted for IPv4 and replace the IGMP implementation at a later point. Tested in ANVL, currently at 94/116. Some issues/TODOs are left in the code as CPP_NOTICE markers, but the code is very much good enough to proceed since otherwise we're blocked on overall PIM v6 progress. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
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-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-26Merge pull request #10712 from patrasar/pim_nexthop_prefix_to_pimaddrDavid Lamparter
2022-04-24pim6d: Modifying the mld group watermark command nameSai Gomathi N
Modifying the "mld_group_watermark_cmd" to "ipv6_mld_group_watermark_cmd" and "igmp_group_watermark_cmd" to "ip_igmp_group_watermark_cmd" for consistency. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
2022-04-18pim6d: Correct the spelling of RendezvousMobashshera Rasool
Rendevous --> Rendezvous Signed-off-by: Mobashshera Rasool <mrasool@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 watermark-warn CLISai Gomathi N
Adding the config mode command ipv6 mld watermark-warn <1-65535> 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-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 pim nexthop and nexthop-lookup commandsSai Gomathi N
Adding new show commands to display pim nexthops and pim nexthop lookups received from zebra. 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>