summaryrefslogtreecommitdiffstats
path: root/staticd/static_main.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: require semicolon after FRR_DAEMON_INFO & co.David Lamparter2021-03-171-1/+1
| | | | | | ... again ... Signed-off-by: David Lamparter <equinox@diac24.net>
* lib: register dependency between control plane protocol and vrf nb nodesIgor Ryzhov2021-02-221-0/+2
| | | | | | | | | | | | | | | | When the control plane protocol is created, the vrf structure is allocated, and its address is stored in the northbound node. The vrf structure may later be deleted by the user, which will lead to a stale pointer stored in this node. Instead of this, allow daemons that use the vrf pointer to register the dependency between the control plane protocol and vrf nodes. This will guarantee that the nodes will always be created and deleted together, and there won't be any stale pointers. Add such registration to staticd and pimd. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
* staticd,vtysh: no access list commandsRafael Zalamena2020-08-041-1/+0
| | | | | | Don't send access list commands to `staticd` since it doesn't use them. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
* staticd : Configuration northbound implementationvdhingra2020-07-161-0/+10
| | | | | | | | | 1. Modifies the data structs to make the distance, tag and table-id property of a route, i.e created a hireachical data struct to save route and nexthop information. 2. Backend northbound implementation Signed-off-by: VishalDhingra <vdhingra@vmware.com>
* *: have daemons call frr_fini() at terminationMark Stapp2020-06-111-0/+3
| | | | | | | | Fix a number of library and daemon issues so that daemons can call frr_fini() during normal termination. Without this, temporary logging files are left behind in /var/tmp/frr/. Signed-off-by: Mark Stapp <mjs@voltanet.io>
* *: add filter northbound supportRafael Zalamena2020-06-051-0/+1
| | | | | | Allow all daemons to work with filter northbound. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
* *: include vrf northbound module in initChirag Shah2020-04-161-0/+1
| | | | Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
* staticd: Fixing memory leak issuergirada2020-03-081-0/+2
| | | | | | | Memory allotted for staticd specific vrf structers is not being deallocated when the corresponding vrf is destroyed. Signed-off-by: Rajesh Girada <rgirada@vmware.com>
* staticd: add debug supportMark Stapp2020-01-091-0/+2
| | | | | | | Add initial debug support to staticd, using the lib/debug form of debug support. Signed-off-by: Mark Stapp <mjs@voltanet.io>
* *: make frr_yang_module_info constDavid Lamparter2019-11-301-1/+1
| | | | Signed-off-by: David Lamparter <equinox@diac24.net>
* *: add empty array of YANG modulesRenato Westphal2018-10-271-1/+5
| | | | | | | | | | FRR_DAEMON_INFO should now contain an array of 'frr_yang_module_info' structures describing the YANG modules implemented by the daemon. This array will be used by frr_init() function to load all YANG modules and initialize the northbound callbacks during the daemon initialization. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* sharpd, staticd: Add access_list_initDonald Sharp2018-08-161-0/+2
| | | | | | | Add ability for sharpd and staticd to ignore access_list cli for the moment. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* staticd: fix tiny whitespace issueDavid Lamparter2018-08-081-1/+2
| | | | | | Just add a linebreak. Signed-off-by: David Lamparter <equinox@diac24.net>
* staticd: Code review comments fixesDonald Sharp2018-07-291-8/+8
| | | | | | | 1) Conform staticd to proper gnu gpl file format. 2) Fix a spelling mistake found. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* staticd: Enable backup configDonald Sharp2018-07-291-0/+6
| | | | | | | | | | When the user is not using the integrated config and has upgraded to a version of FRR with staticd, that probably means that static routes are stored in zebra.conf. Take advantage of the backup backup config option and read those in. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* staticd: Start the addition of a staticdDonald Sharp2018-07-291-0/+145
This is the start of separating out the static handling code from zebra -> staticd. This will help simplify the zebra code and isolate static route handling to it's own code base. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>