| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
bgpd: support evpn nd ext community
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
EVPN ND ext community support NA flag R-bit, to have proxy ND.
Set R-bit in EVPN NA if a given router is default gateway or there is a
local
router attached, which can be determine based on local neighbor entry.
Implement BGP ext community attribute to generate and parse R-bit and
pass along zebra to program neigh entry in kernel.
Upon receiving MAC/IP update with community type 0x06 and sub_type 0x08,
pass the R-bit to zebra to program neigh entry.
Set NTF_ROUTER in neigh entry and inform kernel to do proxy NA for EVPN.
Ref:
https://tools.ietf.org/html/draft-ietf-bess-evpn-na-flags-01
Ticket:CM-21712, CM-21711
Reviewed By:
Testing Done:
Configure Local vni enabled L3 Gateway, which would act as router,
checked
show evpn arp-cache vni x ip <ip of svi> on originated and remote VTEPs.
"Router" flag is set.
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
|
| |
| |
| |
| |
| |
| |
| | |
Use 'const prefix *' in route-map apply apis; led to some
corresponding changes in several daemons.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
|
|\ \
| | |
| | | |
Simplify deprecation check
|
| | |
| | |
| | |
| | | |
Signed-off-by: Lou Berger <lberger@labn.net>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
On old compilers CPP_NOTICE should be a macro evaluating to an empty
statement, instead of being undefined.
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
|
|\ \ \
| |_|/
|/| | |
eigrpd lib pimd zebra: dead code (PVS-Studio)
|
| | |
| | |
| | |
| | | |
Signed-off-by: F. Aragon <paco@voltanet.io>
|
|\ \ \
| | | |
| | | | |
zebra: upon RTM_NEWROUTE/DELROUTE, find appropriate interface
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
This function should be called with a known vrf_id. All other cases, the
other API should be called.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add 'const' to prefix args to several zebra route update,
redistribution, and route owner notification apis.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
|
|/ /
| |
| |
| |
| |
| | |
Because sometimes we have a pointer to a nexthop_group.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
|
|\ \
| | |
| | | |
revert hash_walk/iterate optimizations
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add some documentation to hash_walk/iterate to tell people
to not do something stupid.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
| | |
| | |
| | |
| | | |
This reverts commit fc61644e440c875eefa222ab34d726c6281ca806.
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Sometimes, the file under /var/run/netns may not be authorised to be
read ( because it is not read permission for frr user, for instance).
so it is good to know what happened.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
|
|/
|
|
| |
Signed-off-by: F. Aragon <paco@voltanet.io>
|
|\
| |
| |
| |
| | |
LabNConsulting/working/master/no_vrf_socket_4l3mdev
Don't open per vrf sockets when net.ipv4.tcp|udp_l3mdev_accept != 0
|
| |
| |
| |
| | |
Signed-off-by: Lou Berger <lberger@labn.net>
|
|\ \
| | |
| | | |
Flowspec support other options
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some values for icmp type/code can not be encoded like port source or
port destination. This is the case of 0 value that is authorized for
icmp.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The flowspec fragment attribute is taken into account to be pushed in
BGP policy routing entries. Valid values are enumerate list of 1, 2, 4,
or 8 values. no combined value is supported yet.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The packet length can be injected from fs entry with an enumerate list;
the negation of the value is also taken into account.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Only one dscp value is accepted as filtering option.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Those flags can be shared between BGP and Zebra. That is why
those flags are moved to common pbr.h header file.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Ability to handle flowspec tcp flags.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
|
|\ \ \
| | | |
| | | | |
Redistribution and some extra developer debug code
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
When in a dev build add a bit of code to track max
depth of a fifo and to allow zebra to report on it.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|/ /
| |
| |
| | |
Signed-off-by: F. Aragon <paco@voltanet.io>
|
|\ \
| | |
| | |
| | |
| | | |
pacovn/Coverity_1448386_Untrusted_value_as_argument
lib: untrusted argument (Coverity 1448386)
|
| | |
| | |
| | |
| | | |
Signed-off-by: F. Aragon <paco@voltanet.io>
|
|/ /
| |
| |
| |
| |
| | |
Additional correction to fa3016309b33395c02cf10e7e198517c5b81e55a
Signed-off-by: F. Aragon <paco@voltanet.io>
|
|\ \
| | |
| | | |
lib ospfd: dead code (Coverity 1302503 1302502)
|
| | |
| | |
| | |
| | | |
Signed-off-by: F. Aragon <paco@voltanet.io>
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
pacovn/Coverity_1469898_Uninitialized_scalar_variable
lib: uninitialized variable (2) (Coverity 1469898)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previous correction (2c2d5cb397c140c05ad81e8c79273bd3af13b595) was not enough,
so now it is ensured that the argument shift is not negative nor zero.
Signed-off-by: F. Aragon <paco@voltanet.io>
|
|\ \ \ \
| |_|/ /
|/| | | |
lib: out-of-bounds access (Coverity 1452539)
|
| | |/
| |/|
| | |
| | | |
Signed-off-by: F. Aragon <paco@voltanet.io>
|
|\ \ \
| | | |
| | | | |
Remove DEFUN_DEPRECATED
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
pacovn/Coverity_1453456_Unchecked_return_value_from_library
lib: check return value (Coverity 1453456)
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: F. Aragon <paco@voltanet.io>
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: F. Aragon <paco@voltanet.io>
|
|\ \ \
| | | |
| | | | |
lib: Fix privs when using HAVE_CAPABILITIES
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If your daemon does not need any special privileges
and you are compiling with HAVE_CAPABILIES, the
zprivs->change pointer will end up NULL due
to the way zprivs_caps_init. So as a check
let's add a NULL check for zprivs->change
and set it to a function that will do nothing.
This change prevents a crash if you raise privileges
when your daemon needs no special privileges.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|\ \ \ \
| | | | |
| | | | | |
Lib delayed read
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add the ability to specify the designated log level at startup.
--log-level <emergencies|alerts|critical|errors|warnings|notifications|informational|debugging>
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Remove the special case code to use syslog for Cumulus.
They can specify this via startup now instead of having
a special compile flag for this option.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When we are starting a daemon, allow the user to specify:
--log <stdout|syslog|file:file_name>
This can be used on early startup to put the log files
where the end user wants them to show up.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|