summaryrefslogtreecommitdiff
path: root/pimd/pim_cmd_common.h
AgeCommit message (Collapse)Author
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>
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 [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-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" CLIAbhishek N R
Adding new show CLI to display pim upstream information. Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-03-28pim6d: Implementing "show ipv6 pim rpf" CLIAbhishek N R
Adding new show CLI to display pim RPF information. Also corrected ipv4 json object. Signed-off-by: Abhishek N R <abnr@vmware.com>
2022-03-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-03-08pimd: Modify "ip pim rp <> prefix-list <>" commandMobashshera Rasool
1. Moving the processing of the above command to an api. 2. Change DEFUN to DEPFY 3. Make the api common for pimv4 and pimv6 processing. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
2022-03-08pimd: Moving processing of "ip pim rp <grp>" cmd to a common apiMobashshera Rasool
1. Moving the processing of the command to a common api. 2. Changing the DEFUN to DEFPY. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
2022-03-01pim6d: Adding ipv6 mroute INTERFACE X:X::X:X [X:X::X:X]" clisarita patra
This cli is used to add multicast route on interface Signed-off-by: sarita patra <saritap@vmware.com>
2022-03-01pim6d: Adding "ipv6 multicast boundary oil WORD" clisarita patra
This cli is used to define multicast boundary on interface. Signed-off-by: sarita patra <saritap@vmware.com>
2022-03-01pim6d: Adding "[no] ipv6 pim active-active" clisarita patra
This cli used to mark the interface as active-active. Signed-off-by: sarita patra <saritap@vmware.com>
2022-03-01pim6d: Adding "ipv6 pim hello (1-65535) [(1-65535)]" CLIsarita patra
This cli used to configure PIMV6 hello and hold timer on interface. Signed-off-by: sarita patra <saritap@vmware.com>
2022-03-01pim6d: Adding "ipv6 pim dr-priority" CLIsarita patra
This cli used to configure PIMV6 dr-priority on interface. Signed-off-by: sarita patra <saritap@vmware.com>
2022-03-01pim6d: Adding "ipv6 pim" CLIsarita patra
This cli used to enable PIMV6 on interface. Signed-off-by: sarita patra <saritap@vmware.com>
2022-02-28pim6d: Add ipv6 pim register-suppress-time CLIMobashshera Rasool
Adding below CLI for pim6d [no] ipv6 pim register-suppress-time (1-65535) Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
2022-02-28pim6d: Adding ipv6 pim rp keep-alive-timerMobashshera Rasool
Adding below CLI for pim6d daemon [no] ipv6 pim rp keep-alive-timer [(1-65535)] Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
2022-02-28pim6d: Adding ipv6 pim keep-alive-timerMobashshera Rasool
Adding the below CLI for pim6d daemon: ipv6 pim keep-alive-timer (1-65535) Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
2022-02-28pim6d: Adding ipv6 pim packet CLIMobashshera Rasool
Adding below CLI for pim6d daemon: [no] ipv6 pim packet (1-255) Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
2022-02-28pim6d: Adding ipv6 pim spt-switchover CLIMobashshera Rasool
Adding the below CLIs for ipv6: [no] ipv6 pim spt-switchover infinity-and-beyond [no] ipv6 pim spt-switchover infinity-and-beyond prefix-list WORD Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
2022-02-28pim6d: Implementing join-prune interval CLIMobashshera Rasool
Adding "ipv6 pim join-prune interval (1-65535) Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
2022-02-28pimd: Moving pim_cli_get_vrf_name function to common fileMobashshera Rasool
Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
2022-02-28pimd: Adding pim_cmd_common.h and .cMobashshera Rasool
This is to keep the cmd changes common to v4 and v6 in this file. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>