| Age | Commit message (Collapse) | Author |
|
This isn't a system or interface setting, it's a socket behavior. It is
both irrelevant and confusing to the user since it doesn't affect any
system behavior (but it sounds like it does). Whether it is enabled or
not is solely relevant to how the code is designed to work.
So, remove it from output.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
|
|
And filter by group for PIM.
```
exit1-debian-11# show ip pim rp-info
RP address group/prefix-list OIF I am RP Source Group-Type
192.168.10.17 238.0.0.0/24 eth2 no Static ASM
192.168.10.110 232.0.0.0/24 eth2 no Static SSM
exit1-debian-11# show ip pim rp-info 238.0.0.0/24
RP address group/prefix-list OIF I am RP Source Group-Type
192.168.10.17 238.0.0.0/24 eth2 no Static ASM
exit1-debian-11# show ip pim rp-info 238.0.0.0/24 json
{
"192.168.10.17":[
{
"rpAddress":"192.168.10.17",
"outboundInterface":"eth2",
"iAmRP":false,
"group":"238.0.0.0/24",
"source":"Static",
"groupType":"ASM"
}
]
}
exit1-debian-11#
```
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
|
|
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
|
|
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>
|
|
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>
|
|
Changes correct typo in JSON output for IGMP interface statistics show
command from "leaveV3" to "leaveV2".
Signed-off-by: David Schweizer <dschweizer@opensourcerouting.org>
|
|
Problem Statement:
=================
PIM Logs are coming at interval of 1 minute although pim
is not enabled.
Root Cause Analysis:
====================
By default, RCPM configures the PIM debugs when router comes up
via script. The product cannot disable PIM even though it is not required.
Hence moving these logs under a new debug option which will not be
enabled by default.
Fix:
====
Added a new option "detail" in the cli:
debug pim nht detail
Co-author: Mobashshera Rasool <mrasool@vmware.com>
Signed-off-by: Sai Gomathi <nsaigomathi@vmware.com>
|
|
This cli is used to add multicast route on interface
Signed-off-by: sarita patra <saritap@vmware.com>
|
|
This cli is used to define multicast boundary on interface.
Signed-off-by: sarita patra <saritap@vmware.com>
|
|
This cli used to enable PIMV6 on interface.
Signed-off-by: sarita patra <saritap@vmware.com>
|
|
This cli used to enable PIMV6 on interface.
Signed-off-by: sarita patra <saritap@vmware.com>
|
|
This cli used to mark the interface as active-active.
Signed-off-by: sarita patra <saritap@vmware.com>
|
|
This cli used to configure PIMV6 hello and hold timer on interface.
Signed-off-by: sarita patra <saritap@vmware.com>
|
|
This cli used to configure PIMV6 dr-priority on interface.
Signed-off-by: sarita patra <saritap@vmware.com>
|
|
This cli used to enable PIMV6 on interface.
Signed-off-by: sarita patra <saritap@vmware.com>
|
|
Adding below CLI for pim6d
[no] ipv6 pim register-suppress-time (1-65535)
Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
|
|
Adding below CLI for pim6d daemon
[no] ipv6 pim rp keep-alive-timer [(1-65535)]
Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
|
|
Adding the below CLI for pim6d daemon:
ipv6 pim keep-alive-timer (1-65535)
Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
|
|
Adding below CLI for pim6d daemon:
[no] ipv6 pim packet (1-255)
Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
|
|
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>
|
|
Adding "ipv6 pim join-prune interval (1-65535)
Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
|
|
Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
|
|
This is to keep the cmd changes common to v4 and v6 in this file.
Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
|
|
Since pim_cmd.c file is moved to pimv4 make file, therefore
removing #if PIM_IPV !=6.
Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
|
|
pim6d: get running with ipv6 types throughout
|
|
A recent merge caused this, fixing it.
Signed-off-by: Mobashshera Rasool <mrasool@gmail.com>
|
|
pimd: IGMP Query Generation
|
|
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
|
|
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
|
|
pimd: json support added
|
|
pimd: start tackling IPv6 address operations
|
|
`show ip pim assert` shows S,G ifchannel information even when
there is no information available about the assert process.
Fix the code to not dump non-interesting cases.
Fixes: 10462
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
|
|
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
|
|
|
|
Add JSON support in the show command
“show ip igmp sources” with proper formatting.
Signed-off-by: Sai Gomathi <nsaigomathi@vmware.com>
|
|
XPATH_MAXLEN denotes the maximum length of an XPATH. It does not make
sense to allocate a buffer intended to contain an XPATH with a size
larger than the maximum allowable size of an XPATH. Consequently this PR
removes buffers that do this. Prints into these buffers are now checked
for overflow.
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
|
|
|
|
Enable debug commands "debug pim packetdump send" and
"debug pim packetdump receive" in config mode.
Display "debug pim nht rp" in show running config.
Signed-off-by: sarita patra <saritap@vmware.com>
|
|
Only pim_sgaddr uses are covered by this since regular in_addr is still
used for singular addresses, so only a part of pim_inet4_dump calls are
gone with this.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
|
|
Renamed frr-igmp.yang to frr-gmp.yang, igmp to gmp container.
to support IGMP and MLD protocol.
frr-gmp.yang, created a list of address family under mgmd
container. For PIMV4 the key is IPV4, where as for PIMV6
the key is IPV6. This is done for PIMV6 development.
This commit will have all the northbound changes to support
IPV4 address family.
Signed-off-by: sarita patra <saritap@vmware.com>
|
|
Use _cmp/_hash/_match helpers for operations on pim_sgaddr to prepare
IPv6 support.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
|
|
Comparing `s_addr` isn't cutting it for IPv6 support.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
|
|
Replaces comparison against INADDR_ANY, so we can do IPv6 too.
(Renamed from "pim_is_addr_any" for "pim_addr_*" naming pattern, and
type fixed to bool.)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
|
|
... and replace with `%pSG` printfrr specifier. This actually used a
static buffer in the formatting function, so subsequent formatting would
overwrite earlier uses.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
|
|
|
|
There is no MSDP for IPv6, so drop this code out of pim6d.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
|
|
|
|
frr-pim.yang, created a list of address family under pim
container. For PIMV4 the key is IPV4, where as for PIMV6
the key is IPV6. This is done for PIMV6 development.
This commit will have all the northbound changes to support
IPV4 address family.
Signed-off-by: sarita patra <saritap@vmware.com>
|
|
Mostly just 2 sed calls:
- `sed -e 's%struct prefix_sg%pim_sgaddr%g'`
- `sed -e 's%memset(&sg, 0, sizeof(pim_sgaddr));%memset(\&sg, 0, sizeof(sg));%g'`
Plus a bunch of fixing whatever that broke.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
|