summaryrefslogtreecommitdiffstats
path: root/pimd/subdir.am (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #12196 from opensourcerouting/xref-vtyshDonald Sharp2022-11-031-5/+0
|\ | | | | *: rewrite `extract.pl` using `xref` infra
| * build, vtysh: extract vtysh commands from .xrefDavid Lamparter2022-10-261-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than running selected source files through the preprocessor and a bunch of perl regex'ing to get the list of all DEFUNs, use the data collected in frr.xref. This not only eliminates issues we've been having with preprocessor failures due to nonexistent header files, but is also much faster. Where extract.pl would take 5s, this now finishes in 0.2s. And since this is a non-parallelizable build step towards the end of the build (dependent on a lot of other things being done already), the speedup is actually noticeable. Also files containing CLI no longer need to be listed in `vtysh_scan` since the .xref data covers everything. `#ifndef VTYSH_EXTRACT_PL` checks are equally obsolete. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* | pimd: Remove pim_br vestigesDonald Sharp2022-10-271-2/+0
|/ | | | | | | | | | If PIM had received a register packet with the Border Router bit set, pimd would have crashed. Since I wrote this code in 2015 and really have pretty much no memory of this and no-one has ever reported this crash, let's just remove this code. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
* Merge pull request #11461 from mobash-rasool/pimv6-enableMark Stapp2022-07-121-8/+2
|\ | | | | pim6d: Enable/disable pim6d daemons on different platforms based on flags
| * pim6d: Disable pim6d compilation by defaultMobashshera Rasool2022-07-071-8/+2
| | | | | | | | | | | | | | | | By default, disable pim6d compilation. If someone wants to enable the compilation, should use ./configure option with --enable-pim6d. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
* | pim6d: removed pim6_stubs.c filesarita patra2022-07-071-1/+0
| | | | | | | | | | | | pim6_stub.c file is no more needed. Signed-off-by: sarita patra <saritap@vmware.com>
* | pim6d: running pim_bsm.c for pimv6sarita patra2022-07-071-1/+1
|/ | | | Signed-off-by: sarita patra <saritap@vmware.com>
* Pim6d: Mroute file duplication removalplsaranya2022-06-231-2/+0
| | | | | | Mroute duplicate functions removed and made us hybrid for v4 and v6 Signed-off-by: plsaranya <Saranya_Panjarathina@dell.com>
* Merge pull request #10775 from opensourcerouting/pim6-mld-prDonald Sharp2022-05-171-0/+5
|\ | | | | pim6d: MLD code
| * pim6d: add fresh MLD implementationDavid Lamparter2022-05-061-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | pim6d: Register message send handlingplsaranya2022-04-291-1/+1
|/ | | | | | | | Register and Null register send handling In IPv6 PIM Null Register message if dummy PIM Header is included as data, this dummy PIM header checksum needs to be valuated Signed-off-by: plsaranya <Saranya_Panjarathina@dell.com>
* pim6d: implement/un-stub MRIB lookupDavid Lamparter2022-04-261-1/+1
| | | | Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* pim6d: send PIM packetsDavid Lamparter2022-03-281-1/+1
| | | | Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* pim6d: Mroute changesplsaranya2022-03-231-0/+2
| | | | | | Mroute and supporting changes Signed-off-by: plsaranya <Saranya_Panjarathina@dell.com>
* pimd: refactor/split IGMP integrationDavid Lamparter2022-03-121-0/+2
| | | | | | | | | Try to untangle some spaghetti... This is an 1:1 change that should not result in any functional difference. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* Merge pull request #10694 from opensourcerouting/pim6-nht-reenableDonald Sharp2022-03-091-1/+1
|\ | | | | pim6d: reenable NHT code
| * pim6d: reenable NHT codeDavid Lamparter2022-03-021-1/+1
| | | | | | | | Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* | pim6d: Stub BSM related APIs for compilationMobashshera Rasool2022-03-081-1/+1
|/ | | | | | | Have stubbed few of the BSM related APIs to keep PIMv6 compiling. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
* pimd: Adding pim_cmd_common.h and .cMobashshera Rasool2022-02-281-0/+2
| | | | | | This is to keep the cmd changes common to v4 and v6 in this file. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
* pim6d: Adding the base changesSai Gomathi N2022-02-281-4/+7
| | | | | | | | | | | | Adding the file pim6_cmd.h and pim6d_cmd.c as the base changes for implementing the CLI changes Removed the pim_cmd_init from the stub file. Co-authored-by: Sarita Patra <saritap@vmware.com> Co-authored-by: Abhishek N R <abnr@vmware.com> Co-authored-by: Sai Gomathi N <nsaigomathi@vmware.com> Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
* Merge pull request #10376 from patrasar/master_pimv6_vtyshDavid Lamparter2022-02-281-0/+7
|\
| * pim6d: Adding PIMV6 as VTYSH clientsarita patra2022-02-251-0/+7
| | | | | | | | | | Co-authored-by: Mobashshera Rasool <mrasool@vmware.com> Signed-off-by: sarita patra <saritap@vmware.com>
* | pim6d: remove `PIM_V6_TEMP_BREAK`David Lamparter2022-02-161-1/+1
| | | | | | | | | | | | It's no longer necessary, pim6d now compiles without this hack. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* | pim6d: isolate remaining TODOs into stubs fileDavid Lamparter2022-02-161-5/+6
| | | | | | | | | | | | | | | | | | | | This creates `pim6_stubs.c`, which is intended to temporarily provide stubbed-out definitions of some functions we don't have yet for IPv6. This makes pim6d compile without the `PIM_V6_TEMP_BREAK` hack, and is very important as an intermediate step to get a working environment for further work. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* | pim6d: drop off MLAG codeDavid Lamparter2022-02-161-2/+2
| |
* | pim6d: drop off IGMP codeDavid Lamparter2022-02-161-5/+5
|/ | | | Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* pim: Keeping list of address-family under gmp containersarita patra2022-01-171-1/+1
| | | | | | | | | | | | | | 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>
* pim6d: drop off MSDP codeDavid Lamparter2022-01-141-3/+3
| | | | | | There is no MSDP for IPv6, so drop this code out of pim6d. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* pimd: temporarily disable IPv6 typesDavid Lamparter2022-01-121-1/+1
| | | | | | | | | | | | | | | Just putting the infrastructure in place and having it disabled is actually good progress here; have the compiler make itself useful and tell us what we have to do to get the basics right. (The next commit will cause a *lot* of compile errors as soon as `PIM_V6_TEMP_BREAK` is set; but there is no reason to force everything into a single step here.) To enable `pim_addr = in6_addr`, run `make PIM_V6_TEMP_BREAK=1` (remove previous compile results with `rm pimd/pim6d-*.o`) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* pimd: abstract addresses for IPv4/IPv6 PIMDavid Lamparter2022-01-121-0/+2
| | | | | | | Depending on whether we're compiling pimd or pim6d, these types take on the appropriate AF being used. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* pim6d: add skeleton for IPv6 PIM daemonDavid Lamparter2022-01-121-3/+29
| | | | | | | | This newborn pim6d is essentially an empty husk, but it does build without warnings or errors and has the build system integration prepared and working. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* build: fix duplicate yang.c file inclusionsDavid Lamparter2021-11-111-6/+3
| | | | Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* build: remove some useless intermediate librariesDavid Lamparter2021-11-111-4/+3
| | | | | | | These really serve no purpose other than slowing our build down. If there's a benefit to any of these, they can be readded. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* *: remove *.conf.sample filesQuentin Young2021-04-091-1/+0
| | | | | | | | | | Most of these are many, many years out of date. All of them vary randomly in quality. They show up by default in packages where they aren't really useful now that we use integrated config. Remove them. The useful ones have been moved to the docs. Signed-off-by: Quentin Young <qlyoung@nvidia.com>
* pimd: Remove pim_version.c it is never usedDonald Sharp2020-12-011-2/+0
| | | | | | | | The pim_version.[c|h] files are never used and we are getting warnings about PIM_VERSION changing pointer sizes from newer versions of the compiler. I see no reason to keep this Signed-off-by: Donald Sharp <sharpd@nvidia.com>
* pimd: remove duplicate block from subdir.amMark Stapp2020-11-201-6/+0
| | | | Signed-off-by: Mark Stapp <mjs@voltanet.io>
* pimd: Northbound implementations for frr-pim, frr-igmp, frr-pim-rpSarita Patra2020-11-061-0/+12
| | | | Signed-off-by: Sarita Patra <saritap@vmware.com>
* vtysh: dynamically generate the list of daemons for commandsIgor Ryzhov2020-10-021-0/+1
| | | | | | | Some daemons were actually missing from the static definitions: nhrpd, babeld, eigrpd and bfdd. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
* *: pim igmp yang registery to appropriate makefileChirag Shah2020-07-231-0/+6
| | | | | | | | | | Move pim and igmp yang files registery to appropriate makefiles. In yang directory makefile move under `PIMD` Remove pimd yang files from library makefile instead move them to pimd makefile. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
* build: make clippy Makefile rules nicerDavid Lamparter2020-04-271-2/+3
| | | | | | | These are easy to get subtly wrong, and doing so can cause nondeterministic failures when racing in parallel builds. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* build: use VPATH for vtysh_scanDavid Lamparter2020-04-271-1/+1
| | | | | | No need to put $(top_srcdir) everywhere. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* pimd: Add accidently missed code during upstreaming processDonald Sharp2020-03-061-0/+1
| | | | | | | | | | There was some code missed during the upstreaming process due to code squash. Identify and put into a commit to keep code consistent and correct. Signed-off-by: Satheesh Kumar K <sathk@cumulusnetworks.com> Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com> Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* pimd: Put subdir.am into alphabetical orderDonald Sharp2020-03-061-2/+2
| | | | | | | The subdir.am had lost alphabetical order. Put this back for easy finding in the future. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* doc: rename man pages to frr-*David Lamparter2020-01-151-1/+1
| | | | | | | | The vrrpd one conflicts with the standalone vrrpd package; also we're installing daemons to /usr/lib/frr on some systems so they're not on PATH. Signed-off-by: David Lamparter <equinox@diac24.net>
* pimd : Add support for MLAG Register & Un-registerSatheesh Kumar K2019-11-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | when ever a FRR Client wants to send any data to another node using MLAG Channel, uses below mechanisam. 1. sends a MLAG Registration to zebra with interested messages that it is intended to receive from peer. 2. In response to this request, Zebra opens communication channel with MLAG. and also in Rx. diretion zebra forwards only those messages which client shown interest during registration 3. when client is no-longer interested in communicating with MLAG, client posts De-register to Zebra 4. if this is the last client which is interested for MLAG Communication, zebra closes the channel. why PIM Needs MLAG Communication ================================ 1. In general on LAN Networks elecetd DR will send the Join towards Multicast RP in case of a LHR and Register in case of FHR. 2. But in case DR Goes down, traffic will be re-converged only after the New DR is elected, but this can take time based on Hold Timer to detect the DR down. 3. this can be optimised by using MLAG Mecganisam. 4. and also Traffic can be forwarded more efficiently by knowing the cost towards RP using MLAG Signed-off-by: Satheesh Kumar K <sathk@cumulusnetworks.com>
* Revert "Merge pull request #4885 from satheeshkarra/pim_mlag"Quentin Young2019-10-141-2/+0
| | | | | This reverts commit d563896dada99f3474d428f928786cbfde936fee, reversing changes made to 09ea1a40386f02a13cdb0462cc55af0d03f0c277.
* pimd : Add support for MLAG Register & Un-registerSatheesh Kumar K2019-09-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | when ever a FRR Client wants to send any data to another node using MLAG Channel, uses below mechanisam. 1. sends a MLAG Registration to zebra with interested messages that it is intended to receive from peer. 2. In response to this request, Zebra opens communication channel with MLAG. and also in Rx. diretion zebra forwards only those messages which client shown interest during registration 3. when client is no-longer interested in communicating with MLAG, client posts De-register to Zebra 4. if this is the last client which is interested for MLAG Communication, zebra closes the channel. why PIM Needs MLAG Communication ================================ 1. In general on LAN Networks elecetd DR will send the Join towards Multicast RP in case of a LHR and Register in case of FHR. 2. But in case DR Goes down, traffic will be re-converged only after the New DR is elected, but this can take time based on Hold Timer to detect the DR down. 3. this can be optimised by using MLAG Mecganisam. 4. and also Traffic can be forwarded more efficiently by knowing the cost towards RP using MLAG Signed-off-by: Satheesh Kumar K <sathk@cumulusnetworks.com>
* pimd: PIM BSM Processing datastructure definition/initialization/deinitsaravanank2019-05-151-0/+2
| | | | | | | Apart from datastructure, bsm scope initialization and deinitialiation routines called during pim instance init and deinit. Also makefile changes. Signed-off-by: Saravanan K <saravanank@vmware.com>
* pimd: initial infrastructure to maintain VxLAN SG databaseAnuradha Karuppiah2019-04-201-0/+3
| | | | | | | | | | These entries will be used over the subsequent commits for 1. vxlan-tunnel-termination handling - setup MDT to rx VxLAN encapsulated BUM traffic. 2. vxlan-tunnel-origination handling - register local-vtep-ip as a multicast source. Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
* pimd: Add hidden 'ip pim active-active` commandDonald Sharp2019-01-311-0/+3
| | | | | | | | Add a command to track if an interface should be in active-active mode or not. This command is hidden at this time because it is not finished fully. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>