Mitesh Kanjariya
c0e519d32d
zebra: json support for show evpn specific next-hop command
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:06 -08:00
Mitesh Kanjariya
9187f600a9
zebra: json support for show evpn next-hop l3vni <vni>
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:06 -08:00
Mitesh Kanjariya
3279896516
zebra: json support for show evpn next-hop vni all
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:06 -08:00
Mitesh Kanjariya
b2ee5a130b
zebra: json support for show evpn l3vni vni command
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:06 -08:00
Mitesh Kanjariya
51d8de8f96
zebra: json support for show evpn l3vni
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:06 -08:00
Mitesh Kanjariya
35be5542dd
zebra: json support for show vrf vni command
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:06 -08:00
Mitesh Kanjariya
ceb9a9210b
bgpd: json support for show bgp vrf <> l3vni info
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:06 -08:00
Mitesh Kanjariya
181c08c6fc
bgpd: json support for show bgp l2vpn evpn vrf-import-rt
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:06 -08:00
Mitesh Kanjariya
55aabf6f72
zebra: free host_list while deleting rmac/nh entry
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:06 -08:00
Mitesh Kanjariya
01740ff487
bgpd: set type-2 route flag if necessary in bgp_zebra_witgdraw
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:06 -08:00
Mitesh Kanjariya
9aa741eae8
zebra: show commands for specific rmac/nh entries
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:06 -08:00
mitesh
6134fd82a0
zebra: proper refcounting for rmac/nh entries
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.comy>
2017-12-14 10:57:06 -08:00
Mitesh Kanjariya
a89b49cc4e
bgpd: do not send label to zebra route add for evpn routes
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:06 -08:00
Mitesh Kanjariya
30a30f5727
bgpd: only install mac_ip routes in vrf
...
Signed-off-by: Mitesh Kanjariya<mitesh@cumulusnetworks.com>
2017-12-14 10:57:06 -08:00
Mitesh Kanjariya
1eb8800250
bgpd: use bgp_process while processing evpn routes in vrf
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:06 -08:00
Mitesh Kanjariya
19a847a9cd
bgpd: set evpn rvtep nexthops as active by default
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:05 -08:00
Mitesh Kanjariya
5ba238b74a
bgpd: import/unimport vrf routes upon l3vni change
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:05 -08:00
mitesh
2dbad57fc6
bgpd: program nh/rmac entries
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:05 -08:00
mitesh
d3135ba31d
bgpd: program mac-ip routes in matching vrfs
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:05 -08:00
Mitesh Kanjariya
10ebe1ab54
bgpd: import rt to vrf mapping
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:05 -08:00
Mitesh Kanjariya
bc59a6720c
bgpd: rmac ext comm
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:05 -08:00
Mitesh Kanjariya
23a06e1170
zebra: don't get rmac in remote macip delete
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:05 -08:00
Mitesh Kanjariya
f1f8b53c51
bgpd: handle export rt change for vrf
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:05 -08:00
Mitesh Kanjariya
7a3e76f119
bgpd: add VRF export RTs to mac-ip routes
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:05 -08:00
Mitesh Kanjariya
6d8c58b7e1
bgpd: bgpevpn APIs to get l3vni/rmac and import/export RT list
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:05 -08:00
Mitesh Kanjariya
6a8657d0f0
bgpd: link l2vnis(bgpevpn) to l3vni(vrf)
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:05 -08:00
Mitesh Kanjariya
b80320d778
zebra: don't get rmac in remote macip add
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:05 -08:00
Mitesh Kanjariya
c581d8b0f4
bgpd: import/export rt for BGP vrf
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:05 -08:00
Mitesh Kanjariya
fe1dc5a374
bgpd: l3vni/rmac association with bgp vrf
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:05 -08:00
Mitesh Kanjariya
29c539221f
bgpd: Bgpevpn tenant vrf association
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:57:05 -08:00
Mitesh Kanjariya
b7cfce934f
zebra, lib: zebra changes for symmetric routing support
...
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-12-14 10:56:44 -08:00
Donald Sharp
fe15e7a61d
Merge pull request #1554 from opensourcerouting/cover-fix1
...
bgpd: fix some coverity scan issues
2017-12-14 12:24:52 -05:00
Donald Sharp
b9bd264624
Merge pull request #1550 from opensourcerouting/missing-lintian-file
...
debianpkg: Add missing frr-dbg.lintian-overrides to Makefile
2017-12-14 11:05:29 -05:00
Rafael Zalamena
1ad057aed6
bgpd: handle argv_find_and_parse_afi return value
...
Handle the return value of argv_find_and_parse_afi() to avoid passing
along bad values.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2017-12-14 14:04:01 -02:00
Rafael Zalamena
a90b8cb58a
bgpd: use buffer size instead of hardcoded value
...
This is a possible buffer overflow.
We should always use the buffer size (whenever possible) to tell
functions what the size of the buffer is, instead of a hardcoded value.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2017-12-14 14:03:14 -02:00
Donald Sharp
a35bb96dee
ospf6d: Don't assign to values that are never read
...
offset and offsetlen are never used without reassigning
in the code. So comment out the assignments and
in case we want to start using the code for snmp
changes in the future.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-12-14 10:43:53 -05:00
Donald Sharp
b8ca17c230
pimd: Fix memory allocation error
...
When creating the pim_ifp, and we run out of memory there
existed a chance that we would dereference the failed memory
pointer.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-12-14 10:43:53 -05:00
Donald Sharp
070b4959fa
zebra: Remove possible NULL dereference in if_delete_connected
...
It is technically possible to attempt to use a NULL pointer.
Remove this from happening.
Additionally cleanup code indentation a small bit.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-12-14 10:43:53 -05:00
Donald Sharp
9b7e34ec42
Merge pull request #1546 from pguibert6WIND/issue__1537
...
Issue 1537
2017-12-14 10:23:54 -05:00
Donald Sharp
2ce9299493
doc: Cleanup the doc Makefile some
...
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-12-14 09:49:43 -05:00
Donald Sharp
42642babdd
doc: Add some PIM documentation
...
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-12-14 09:49:43 -05:00
Donald Sharp
0efb5e9b4b
zebra: Display if a taged route is being used as a realm
...
When displaying a specific route and if it has a tag
and if we have turned on realm support notify the user
that a tag value of (1-255) is installed into the kernel
with the realm set.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-12-14 09:49:43 -05:00
Donald Sharp
6347ca161f
doc: Add documentation for the tag/realm commands
...
Add some documentation for the tag and realm commands.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-12-14 09:44:44 -05:00
Kaloyan Kovachev
4e40b6d615
zebra: Add ability to support tags -> realms in linux
...
Linux has the ability to support a concept of 'realms'.
This concept allows you to mark routes with a realm id
value of 1-255. If you have marked the realm
of a route then you can use the tc program to
apply policy to the routes.
This commit adds the ability of FRR to interpret
a tag from (1-255) as a realm when installing into
the kernel. Please note that at this point in time
there is no way to set policy from within FRR. This
must be done outside of it.
The normal methodology for setting tags is valid here
via a route-map.
Finally this is only applied if the --enable-realms configure
option is applied.
Signed-off-by: Kaloyan Kovachev <kkovachev@varna.net>
2017-12-14 09:44:44 -05:00
Donald Sharp
23b2a7ef52
bgpd: Speedup vtysh handling of 'show bgp afi safi json' display
...
When bgp has a metric butt-load of routes w/ ecmp, this command
can take an inordinate amount of time to run and complete via
vtysh.
Converting the bgp route output in this case back to not
using the json pretty-print drops ~2 minutes of runtime
off.
It is assumed that if users would like pretty output they
can run it through an appropriate tool via a pipe command.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-12-14 09:31:26 -05:00
Renato Westphal
cb9cef73bd
Merge pull request #1527 from donaldsharp/zserv_thread
...
Zserv.h modifications
2017-12-14 12:23:37 -02:00
Lou Berger
0d0268a6ba
bgpd: minor performance enhancement
...
Signed-off-by: Lou Berger <lberger@labn.net>
2017-12-14 08:32:50 -05:00
Rafael Zalamena
beab6ff7f2
Merge pull request #1521 from donaldsharp/bufsiz
...
Cleanup Some Code Issues
2017-12-14 11:21:40 -02:00
Donald Sharp
478becd9ae
Merge pull request #1536 from opensourcerouting/isis-l2conv
...
Fix ISIS L2 formations
2017-12-14 07:40:23 -05:00
Martin Winter
1ec43e95fc
debianpkg: Add missing frr-dbg.lintian-overrides to Makefile
...
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-12-13 18:58:33 -08:00