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
9b7e34ec42
Merge pull request #1546 from pguibert6WIND/issue__1537
...
Issue 1537
2017-12-14 10:23:54 -05:00
Renato Westphal
cb9cef73bd
Merge pull request #1527 from donaldsharp/zserv_thread
...
Zserv.h modifications
2017-12-14 12:23:37 -02: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
Rafael Zalamena
c60158ae6b
isisd: fix l2 neighbor formations
...
Add a timestamp information for level 2 circuits, otherwise if the
circuit is marked as already processed on level 1 we will not process
level 2 areas.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2017-12-13 22:57:15 -02:00
Philippe Guibert
8aa416a6f3
zebra: remove useless iotcl linux calls
...
As netlink is available for all linux systems ( old linux distributions
are not considered), this commit removes the ipv6 ioctl support for
linux.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2017-12-13 16:54:10 +01:00
Philippe Guibert
e86b71f142
zebra: ipv6 addressing uses netlink socket instead of standard ioctl
...
It is possible to configure IPv6 addresses from interfaces by using
netlink socket, intead of using standard sockets.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2017-12-13 16:54:10 +01:00
Donald Sharp
05f7f5db89
zebra: Make zserv.h the true api for zapi northbound
...
zserv.c had a grab bag of function declarations that
did not belong in it. Move those to where they better
belong.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-12-13 07:57:15 -05:00
Donald Sharp
c0d136aec2
zebra: Try to move non zapi cli commands from zserv.c
...
zserv.c has become a bit of a dumping ground for zebra cli.
I'd like to focus the zserv.c code into it's core functionality
which is handling the zapi interface.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-12-13 07:57:15 -05:00
Donald Sharp
5f145fb8bd
zebra: Move zebrad initialization outside of cli init
...
The zebrad initialization does not need to be part of cli
initialization and should be done separately.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-12-13 07:50:59 -05:00
Donald Sharp
db33b83b1d
Merge pull request #1478 from bingen/zeromq4
...
lib: Address ZMQ lib TODOs
2017-12-13 07:36:57 -05:00
Donald Sharp
0c08a0b87b
Merge pull request #1540 from opensourcerouting/isis-spfperf1
...
isisd: save a clock_gettime() call
2017-12-12 12:41:07 -05:00
Donald Sharp
dfd3b74b94
Merge pull request #1539 from LabNConsulting/working/master/community-decisions
...
COMMUNITY.md: add paragraph on use of development list and discussing…
2017-12-12 11:59:07 -05:00
Martin Winter
138ba09e13
Merge pull request #1514 from donaldsharp/watchfrr
...
tools, watchfrr: Modify timeout to 90 seconds
2017-12-12 08:51:25 -08:00