]> git.proxmox.com Git - mirror_frr.git/log
mirror_frr.git
3 years agoMerge pull request #7911 from opensourcerouting/topotest-marker2
Donald Sharp [Fri, 22 Jan 2021 20:50:32 +0000 (15:50 -0500)]
Merge pull request #7911 from opensourcerouting/topotest-marker2

doc: fixed confusing examples in topotest marker doc

3 years agoMerge pull request #7906 from donaldsharp/sig_abrt
Mark Stapp [Fri, 22 Jan 2021 20:33:27 +0000 (15:33 -0500)]
Merge pull request #7906 from donaldsharp/sig_abrt

lib: Allow us to catch abort and do some small cleanup

3 years agodoc: fixed confusing statements in topotest marker doc
David Schweizer [Fri, 22 Jan 2021 14:14:18 +0000 (15:14 +0100)]
doc: fixed confusing statements in topotest marker doc

Signed-off-by: David Schweizer <dschweizer@opensourcerouting.org>
3 years agoMerge pull request #7899 from ton31337/fix/bgpd_blackhole_community
Donald Sharp [Fri, 22 Jan 2021 13:36:27 +0000 (08:36 -0500)]
Merge pull request #7899 from ton31337/fix/bgpd_blackhole_community

bgpd: Massage Blackhole community

3 years agoMerge pull request #7904 from volta-networks/fix_test_oid_walk
Donald Sharp [Fri, 22 Jan 2021 13:32:39 +0000 (08:32 -0500)]
Merge pull request #7904 from volta-networks/fix_test_oid_walk

tests: update snmp test infastructure api test_oid_walk

3 years agoMerge pull request #7909 from pjdruddy/snmp-skip-test
Donald Sharp [Fri, 22 Jan 2021 13:23:56 +0000 (08:23 -0500)]
Merge pull request #7909 from pjdruddy/snmp-skip-test

test: add snmp skip test

3 years agoMerge pull request #7902 from opensourcerouting/topotest-marker
Donald Sharp [Fri, 22 Jan 2021 13:23:02 +0000 (08:23 -0500)]
Merge pull request #7902 from opensourcerouting/topotest-marker

tests: Standardized Topotest PyTest Markers

3 years agoMerge pull request #7854 from patrasar/2606829
Mark Stapp [Fri, 22 Jan 2021 13:21:27 +0000 (08:21 -0500)]
Merge pull request #7854 from patrasar/2606829

bgpd : multiple memory leak fixes in show commands

3 years agotest: add snmp skip test
Pat Ruddy [Fri, 22 Jan 2021 10:11:22 +0000 (10:11 +0000)]
test: add snmp skip test

Since SNMP is a pain to install add a check which will be used
in all SNMP tests in future to silently skip SNMP tests if SNMP
has not been installed on the base system.

Signed-off-by: Pat Ruddy <pat@voltanet.io>
3 years agoMerge pull request #7903 from donaldsharp/bgp_8212_doc
Donatas Abraitis [Fri, 22 Jan 2021 07:24:35 +0000 (09:24 +0200)]
Merge pull request #7903 from donaldsharp/bgp_8212_doc

doc: Update bgp doc for more rfc-8212 talk

3 years agobgpd : multiple memory leak fixes in show commands
Sarita Patra [Tue, 12 Jan 2021 10:46:35 +0000 (02:46 -0800)]
bgpd : multiple memory leak fixes in show commands

Issue: bgpd got kill due to out of memory, when show bgp
neighbor json and show ip bgp neighbor <ip> routes json
commands executed multiple times in a setup having 320554
routes.

RCA: Heap allocated for bgpd keeps increasing. This is verified
using top command and show memory command.

Memleak Fix-1: show ip bgp route json command
When dumping a large bit of table data via bgp_show_route
and if there is no information to display for a particular
struct bgp_node *` the data allocated via json_object_new_array()
is not freed. This is resolved now.

Memleak Fix-2:
The function bgp_peer_counts() doesn't free the memory allocated for
json_loop when there is No such neighbor or address family. This is
fixed now.

Signed-off-by: Sarita Patra <saritap@vmware.com>
3 years agoMerge pull request #7765 from gpnaveen/ospf_chaos_test
Martin Winter [Thu, 21 Jan 2021 22:59:29 +0000 (23:59 +0100)]
Merge pull request #7765 from gpnaveen/ospf_chaos_test

tests : Adding 3 ospf chaos testcases.

3 years agolib: Allow us to catch abort and do some small cleanup
Donald Sharp [Thu, 21 Jan 2021 22:45:10 +0000 (17:45 -0500)]
lib: Allow us to catch abort and do some small cleanup

When FRR intentionally asserts currently, the assertion
stops program execution and any debug logs currently
in play may just be lost completely.

Attempt to grab the abort and cleanup the log file, maybe we'll have
something useful.  New behavior:

zebra: lib/plist.c:562: void trie_install_fn(struct prefix_list_entry *, struct prefix_list_entry **): Assertion `object->next_best == *updptr || !*updptr' failed.
ZEBRA: Received signal 6 at 1611269027 (si_addr 0x7700138569, PC 0x7fdb210cec81); aborting...
ZEBRA: zlog_signal+0xb3                   7fdb2140aa73     7ffdd8f67c90 /lib/libfrr.so.0 (mapped at 0x7fdb213af000)
ZEBRA: core_handler+0xd8                  7fdb21433e38     7ffdd8f67d90 /lib/libfrr.so.0 (mapped at 0x7fdb213af000)
ZEBRA: funlockfile+0x50                   7fdb2126c140     7ffdd8f67f00 /lib/x86_64-linux-gnu/libpthread.so.0 (mapped at 0x7fdb21258000)
ZEBRA:     ---- signal ----
ZEBRA: gsignal+0x141                      7fdb210cec81     7ffdd8f684b0 /lib/x86_64-linux-gnu/libc.so.6 (mapped at 0x7fdb21093000)
ZEBRA: abort+0x123                        7fdb210b8537     7ffdd8f685d0 /lib/x86_64-linux-gnu/libc.so.6 (mapped at 0x7fdb21093000)
ZEBRA: ?                                  7fdb210b840f     7ffdd8f68700 /lib/x86_64-linux-gnu/libc.so.6 (mapped at 0x7fdb21093000)
ZEBRA: __assert_fail+0x42                 7fdb210c7602     7ffdd8f68750 /lib/x86_64-linux-gnu/libc.so.6 (mapped at 0x7fdb21093000)
ZEBRA: trie_install_fn+0x131              7fdb214200c1     7ffdd8f68780 /lib/libfrr.so.0 (mapped at 0x7fdb213af000)
ZEBRA: trie_walk_affected+0x44            7fdb2141fe14     7ffdd8f687a0 /lib/libfrr.so.0 (mapped at 0x7fdb213af000)
ZEBRA: prefix_list_trie_add+0x12f         7fdb2141e8ff     7ffdd8f687e0 /lib/libfrr.so.0 (mapped at 0x7fdb213af000)
ZEBRA: prefix_list_entry_update_finish+0x192     7fdb2141e752     7ffdd8f68830 /lib/libfrr.so.0 (mapped at 0x7fdb213af000)
ZEBRA: lib_prefix_list_entry_prefix_modify+0xa4     7fdb213faea4     7ffdd8f68860 /lib/libfrr.so.0 (mapped at 0x7fdb213af000)
ZEBRA: lib_prefix_list_entry_ipv4_prefix_modify+0xf     7fdb213fa6af     7ffdd8f688c0 /lib/libfrr.so.0 (mapped at 0x7fdb213af000)
ZEBRA: nb_callback_configuration+0x422     7fdb214175c2     7ffdd8f688d0 /lib/libfrr.so.0 (mapped at 0x7fdb213af000)
ZEBRA: nb_candidate_commit_apply+0x66     7fdb21414d86     7ffdd8f68d60 /lib/libfrr.so.0 (mapped at 0x7fdb213af000)
ZEBRA: nb_candidate_commit+0x66           7fdb21415146     7ffdd8f691f0 /lib/libfrr.so.0 (mapped at 0x7fdb213af000)
ZEBRA: nb_cli_classic_commit+0x5f         7fdb2141784f     7ffdd8f69230 /lib/libfrr.so.0 (mapped at 0x7fdb213af000)
ZEBRA: nb_cli_apply_changes+0x4ec         7fdb21417e8c     7ffdd8f6b270 /lib/libfrr.so.0 (mapped at 0x7fdb213af000)
ZEBRA: ip_prefix_list+0x552               7fdb213f7bb2     7ffdd8f6d780 /lib/libfrr.so.0 (mapped at 0x7fdb213af000)
ZEBRA: cmd_execute_command_real+0x14c     7fdb213e554c     7ffdd8f6e0f0 /lib/libfrr.so.0 (mapped at 0x7fdb213af000)
ZEBRA: cmd_execute_command+0x5d           7fdb213e52bd     7ffdd8f6e130 /lib/libfrr.so.0 (mapped at 0x7fdb213af000)
ZEBRA: cmd_execute+0xa1                   7fdb213e5651     7ffdd8f6e180 /lib/libfrr.so.0 (mapped at 0x7fdb213af000)
ZEBRA: vty_execute+0x253                  7fdb2144b643     7ffdd8f6e1d0 /lib/libfrr.so.0 (mapped at 0x7fdb213af000)
ZEBRA: vtysh_read+0xf9                    7fdb214494d9     7ffdd8f70210 /lib/libfrr.so.0 (mapped at 0x7fdb213af000)
ZEBRA: thread_call+0x8f                   7fdb214419ef     7ffdd8f70450 /lib/libfrr.so.0 (mapped at 0x7fdb213af000)
ZEBRA: frr_run+0x298                      7fdb214091a8     7ffdd8f705d0 /lib/libfrr.so.0 (mapped at 0x7fdb213af000)
ZEBRA: main+0x300                               42e760     7ffdd8f70740 /usr/lib/frr/zebra (mapped at 0x400000)
ZEBRA: __libc_start_main+0xea             7fdb210b9d0a     7ffdd8f70820 /lib/x86_64-linux-gnu/libc.so.6 (mapped at 0x7fdb21093000)
ZEBRA: _start+0x2a                              42022a     7ffdd8f708f0 /usr/lib/frr/zebra (mapped at 0x400000)
ZEBRA: in thread vtysh_read scheduled from lib/vty.c:2688
core_handler: showing active allocations in memory group libfrr
core_handler: memstats:  Buffer                        :      2 *         24
core_handler: memstats:  Host config                   :      3 * (variably sized)
core_handler: memstats:  Command Tokens                :   4117 *         72
core_handler: memstats:  Command Token Text            :   2964 * (variably sized)
core_handler: memstats:  Command Token Help            :   2964 * (variably sized)
core_handler: memstats:  Command Argument              :      7 * (variably sized)
core_handler: memstats:  Command Argument Name         :   1083 * (variably sized)
core_handler: memstats:  RCU thread                    :      2 *        128
core_handler: memstats:  FRR POSIX Thread              :      4 * (variably sized)
core_handler: memstats:  POSIX sync primitives         :      4 * (variably sized)
core_handler: memstats:  Graph                         :     25 *          8
core_handler: memstats:  Graph Node                    :   4795 *         32
core_handler: memstats:  Hash                          :    104 * (variably sized)
core_handler: memstats:  Hash Bucket                   :  33272 *         32
core_handler: memstats:  Hash Index                    :     52 * (variably sized)
core_handler: memstats:  Interface                     :     11 *        272
core_handler: memstats:  Connected                     :     28 *         48
core_handler: memstats:  Link List                     :     83 *         40
core_handler: memstats:  Link Node                     :    127 *         24
core_handler: memstats:  Temporary memory              :  36903 * (variably sized)
core_handler: memstats:  Module loading name           :      1 *         13
core_handler: memstats:  Nexthop                       :      9 *        136
core_handler: memstats:  NetNS Context                 :      2 * (variably sized)
core_handler: memstats:  NetNS Name                    :      1 *         18
core_handler: memstats:  Northbound Node               :    640 *       1168
core_handler: memstats:  Northbound Configuration      :      2 *         16
core_handler: memstats:  Northbound Configuration Entry:  32398 *       1032
core_handler: memstats:  Prefix List                   :      1 *         80
core_handler: memstats:  Prefix List Str               :      1 *         26
core_handler: memstats:  Prefix List Entry             :  32397 *        128
core_handler: memstats:  Prefix List Trie Table        :    196 *       4096
core_handler: memstats:  Prefix                        :     28 *         48
core_handler: memstats:  Privilege information         :      3 * (variably sized)
core_handler: memstats:  Stream FIFO                   :      1 *         64
core_handler: memstats:  Route table                   :     22 *         56
core_handler: memstats:  Route node                    :     54 * (variably sized)
core_handler: memstats:  Thread                        :     25 *        168
core_handler: memstats:  Thread master                 :     12 * (variably sized)
core_handler: memstats:  Thread Poll Info              :      6 *       8192
core_handler: memstats:  Thread stats                  :     16 *         72
core_handler: memstats:  Typed-hash bucket             :     15 * (variably sized)
core_handler: memstats:  Typed-heap array              :      1 *        576
core_handler: memstats:  Vector                        :   9646 *         16
core_handler: memstats:  Vector index                  :   9646 * (variably sized)
core_handler: memstats:  VRF                           :      1 *        200
core_handler: memstats:  VTY                           :      2 * (variably sized)
core_handler: memstats:  Work queue                    :      3 * (variably sized)
core_handler: memstats:  Work queue name string        :      2 * (variably sized)
core_handler: memstats:  YANG module                   :      6 *         48
core_handler: memstats:  log thread-local buffer       :      3 *       9752
core_handler: showing active allocations in memory group logging subsystem
core_handler: memstats:  log file target               :      1 *         88
core_handler: showing active allocations in memory group Label Manager
core_handler: showing active allocations in memory group Table Manager
core_handler: showing active allocations in memory group zebra
core_handler: memstats:  Zebra Interface Information   :     11 *        488
core_handler: memstats:  Router Advertisement Prefix   :      2 *         48
core_handler: memstats:  Zebra DPlane Provider         :      1 *        232
core_handler: memstats:  Route Entry                   :     24 *         88
core_handler: memstats:  RIB destination               :     20 *         88
core_handler: memstats:  Nexthop Group Entry           :      9 *         88
core_handler: memstats:  Nexthop Group Connected       :      9 *         40
core_handler: memstats:  Zebra Name Space              :      5 * (variably sized)
core_handler: memstats:  RIB table info                :      4 *         16
core_handler: memstats:  ZEBRA VRF                     :      1 *       4744
core_handler: memstats:  MH global info                :      1 *        128
2021/01/21 17:43:47 ZEBRA: object->next_best: 0x0 updptr: 0x11b4ea0 *updptr: 0x11b5e10
2021/01/21 17:43:47 ZEBRA: object->next_best: 0x11b62b0 updptr: 0x11b4eb0 *updptr: 0x0
2021/01/21 17:43:47 ZEBRA: object->next_best: 0x0 updptr: 0x11b5818 *updptr: 0x11b7090
2021/01/21 17:43:47 ZEBRA: object->next_best: 0x0 updptr: 0x11b5888 *updptr: 0x0
2021/01/21 17:43:47 ZEBRA: object->next_best: 0x0 updptr: 0x11b5910 *updptr: 0x0
2021/01/21 17:43:47 ZEBRA: object->next_best: 0x0 updptr: 0x11b59a0 *updptr: 0x11b87b0
2021/01/21 17:43:47 ZEBRA: object->next_best: 0x0 updptr: 0x11b7100 *updptr: 0x11b87b0
2021/01/21 17:43:47 ZEBRA: object->next_best: 0x0 updptr: 0x11b75a0 *updptr: 0x11b87b0
2021/01/21 17:43:47 ZEBRA: object->next_best: 0x0 updptr: 0x11b7a40 *updptr: 0x11b87b0
2021/01/21 17:43:47 ZEBRA: object->next_best: 0x0 updptr: 0x11b7ee0 *updptr: 0x11b87b0
2021/01/21 17:43:47 ZEBRA: object->next_best: 0x11b8c50 updptr: 0x11b8380 *updptr: 0x11b8c50
2021/01/21 17:43:47 ZEBRA: object->next_best: 0x11b90f0 updptr: 0x11b8820 *updptr: 0x11b90f0
2021/01/21 17:43:47 ZEBRA: object->next_best: 0x11b9590 updptr: 0x11b8cc0 *updptr: 0x11b9590
2021/01/21 17:43:47 ZEBRA: object->next_best: 0x11b9a30 updptr: 0x11b9160 *updptr: 0x11b9a30
2021/01/21 17:43:47 ZEBRA: object->next_best: 0x11b9ed0 updptr: 0x11b9600 *updptr: 0x11b9ed0
2021/01/21 17:43:47 ZEBRA: object->next_best: 0x11ba370 updptr: 0x11b9aa0 *updptr: 0x11ba370
2021/01/21 17:43:47 ZEBRA: object->next_best: 0x11ba810 updptr: 0x11b9f40 *updptr: 0x11ba810
2021/01/21 17:43:47 ZEBRA: object->next_best: 0x11bacb0 updptr: 0x11ba3e0 *updptr: 0x11bacb0
2021/01/21 17:43:47 ZEBRA: object->next_best: 0x11bb150 updptr: 0x11b4e20 *updptr: 0x0
2021/01/21 17:43:47 ZEBRA: object->next_best: 0x11bb5f0 updptr: 0x11c2560 *updptr: 0x11c1710
fish: Job 2, “sudo /usr/lib/frr/zebra --log s…” terminated by signal SIGABRT (Abort)

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agoMerge pull request #7900 from donaldsharp/afi_route_map
Donatas Abraitis [Thu, 21 Jan 2021 17:25:58 +0000 (19:25 +0200)]
Merge pull request #7900 from donaldsharp/afi_route_map

bgpd: Add afi/safi info to debug processing data

3 years agotests: update snmp test infastructure api test_oid_walk
Karen Schoener [Thu, 21 Jan 2021 16:35:11 +0000 (11:35 -0500)]
tests: update snmp test infastructure api test_oid_walk

Update test_oid_walk to either validate specific oids or
to validate all rows walked.

Signed-off-by: Karen Schoener <karen@voltanet.io>
3 years agodoc: Update bgp doc for more rfc-8212 talk
Donald Sharp [Thu, 21 Jan 2021 16:17:17 +0000 (11:17 -0500)]
doc: Update bgp doc for more rfc-8212 talk

The RFC 8212 changes keep being questioned.  Update the documentation
a bit more to help the end user figure it out themselves?

At the very least I can just now quote the doc link for this section
when someone asks the question.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agotests: pytest markers in topotest templates
David Schweizer [Thu, 21 Jan 2021 16:06:58 +0000 (17:06 +0100)]
tests: pytest markers in topotest templates

Signed-off-by: David Schweizer <dschweizer@opensourcerouting.org>
3 years agotests: pytest marker registrations for all daemons
David Schweizer [Thu, 21 Jan 2021 15:24:02 +0000 (16:24 +0100)]
tests: pytest marker registrations for all daemons

Signed-off-by: David Schweizer <dschweizer@opensourcerouting.org>
3 years agodoc: developer documentation for pytest markers
David Schweizer [Thu, 21 Jan 2021 15:22:39 +0000 (16:22 +0100)]
doc: developer documentation for pytest markers

Signed-off-by: David Schweizer <dschweizer@opensourcerouting.org>
3 years agoMerge pull request #7668 from ranjanyash54/dev_6
Donald Sharp [Thu, 21 Jan 2021 15:00:36 +0000 (10:00 -0500)]
Merge pull request #7668 from ranjanyash54/dev_6

ospf6d: Json support added for command "show ipv6 ospf6 database [json]"

3 years agoMerge pull request #7782 from kuldeepkash/multicast_pim_sm_topo2
Donald Sharp [Thu, 21 Jan 2021 14:45:38 +0000 (09:45 -0500)]
Merge pull request #7782 from kuldeepkash/multicast_pim_sm_topo2

tests: Add new scenarios to test multicast-pim-sm

3 years agobgpd: Add afi/safi info to debug processing data
Donald Sharp [Thu, 21 Jan 2021 14:14:27 +0000 (09:14 -0500)]
bgpd: Add afi/safi info to debug processing data

When debugging in bgp is turned on for route-map processing
it would be awful nice to know what afi-safi we are working on
for the particular route-map.  Especially when using a route-map
across different peers and different afi/safi's

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agotests: Test if prefix is not re-advertised downstream with blackhole community
Donatas Abraitis [Thu, 21 Jan 2021 13:25:04 +0000 (15:25 +0200)]
tests: Test if prefix is not re-advertised downstream with blackhole community

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
3 years agodoc: Automatically set NO_ADVERTISE if BLACKHOLE community received
Donatas Abraitis [Thu, 21 Jan 2021 13:15:26 +0000 (15:15 +0200)]
doc: Automatically set NO_ADVERTISE if BLACKHOLE community received

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
3 years agobgpd: Set NO_ADVERTISE community if blackhole community received
Donatas Abraitis [Thu, 21 Jan 2021 13:03:40 +0000 (15:03 +0200)]
bgpd: Set NO_ADVERTISE community if blackhole community received

rfc7999:
A BGP speaker receiving an announcement tagged with the BLACKHOLE
community SHOULD add the NO_ADVERTISE or NO_EXPORT community as
defined in [RFC1997], or a similar community, to prevent propagation
of the prefix outside the local AS.  The community to prevent
propagation SHOULD be chosen according to the operator's routing
policy.

Sent:
```
router bgp 65534
 no bgp ebgp-requires-policy
 neighbor 192.168.0.2 remote-as 65030
 !
 address-family ipv4 unicast
  redistribute connected
  neighbor 192.168.0.2 route-map spine out
 exit-address-family
 !
!
ip prefix-list self seq 5 permit 192.168.100.1/32
!
route-map spine permit 10
 match ip address prefix-list self
 set community blackhole
!
```

Received:
```
spine1-debian-9# show ip bgp 192.168.100.1/32
BGP routing table entry for 192.168.100.1/32
Paths: (1 available, best #1, table default, inform peer to blackhole prefix)
  Not advertised to any peer
  65534
    192.168.0.1 from 192.168.0.1 (192.168.100.1)
      Origin incomplete, metric 0, valid, external, best (First path received)
      Community: blackhole no-advertise
      Last update: Thu Jan 21 12:56:39 2021
```

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
3 years agobgpd: Remove community_regexp_delete() function
Donatas Abraitis [Thu, 21 Jan 2021 13:02:41 +0000 (15:02 +0200)]
bgpd: Remove community_regexp_delete() function

Not used. Commented.

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
3 years agolib: List all possible well-known communities in CLI (COMMUNITY_VAL_STR)
Donatas Abraitis [Thu, 21 Jan 2021 13:00:26 +0000 (15:00 +0200)]
lib: List all possible well-known communities in CLI (COMMUNITY_VAL_STR)

```
exit1-debian-9(config-route-map)# set community
  AA:NN  Community number in AA:NN format (where AA and NN are (0-65535)) or local-AS|no-advertise|no-export|internet|graceful-shutdown|accept-own-nexthop|accept-own|route-filter-translated-v4|route-filter-v4|route-filter-translated-v6|route-filter-v6|llgr-stale|no-llgr|blackhole|no-peer or additive
  none   No community attribute
```

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
3 years agotests: Adding 3 ospf chaos testcases.
nguggarigoud [Fri, 18 Dec 2020 04:31:38 +0000 (10:01 +0530)]
tests: Adding 3 ospf chaos testcases.

This script involves Restart ospfd,
restart frr with ospf enabled,
staticd with redistribution inside ospf is enabled

Signed-off-by: nguggarigoud <nguggarigoud@vmware.com>
3 years agoMerge pull request #7891 from opensourcerouting/fr-bfd-prof
Donald Sharp [Wed, 20 Jan 2021 21:39:02 +0000 (16:39 -0500)]
Merge pull request #7891 from opensourcerouting/fr-bfd-prof

tools: fix frr-reload BFD profile support

3 years agotools: fix frr-reload BFD profile support
Rafael Zalamena [Tue, 19 Jan 2021 11:49:23 +0000 (08:49 -0300)]
tools: fix frr-reload BFD profile support

Fix the handling of multiple BFD profiles by adding the appropriated
code to push/pop contexts inside BFD configuration node.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
3 years agoMerge pull request #7832 from pjdruddy/snmp-test-infra
Donatas Abraitis [Wed, 20 Jan 2021 07:15:14 +0000 (09:15 +0200)]
Merge pull request #7832 from pjdruddy/snmp-test-infra

Snmp test infra

3 years agoMerge pull request #7436 from ckishimo/cosmetic
Donald Sharp [Wed, 20 Jan 2021 00:51:18 +0000 (19:51 -0500)]
Merge pull request #7436 from ckishimo/cosmetic

ospfd: cosmetic function names in debug

3 years agoMerge pull request #7550 from volta-networks/fix_bfd_isis
Donald Sharp [Wed, 20 Jan 2021 00:50:24 +0000 (19:50 -0500)]
Merge pull request #7550 from volta-networks/fix_bfd_isis

isisd: if IS-IS is configured for v6, prefer v6 bfd sessions

3 years agoMerge pull request #7856 from patrasar/2555301
Donald Sharp [Tue, 19 Jan 2021 19:48:06 +0000 (14:48 -0500)]
Merge pull request #7856 from patrasar/2555301

Fix leak in pim_jp_agg_single_upstream_send()

3 years agoMerge pull request #7233 from donaldsharp/route_map_optimizations
Mark Stapp [Tue, 19 Jan 2021 18:20:02 +0000 (13:20 -0500)]
Merge pull request #7233 from donaldsharp/route_map_optimizations

Route map optimizations

3 years agoMerge pull request #7888 from donaldsharp/1_19_coverity
Mark Stapp [Tue, 19 Jan 2021 17:42:49 +0000 (12:42 -0500)]
Merge pull request #7888 from donaldsharp/1_19_coverity

lib: Fix up str2prefix usage in lua code

3 years agoMerge pull request #7655 from ckishimo/area
Olivier Dugeon [Tue, 19 Jan 2021 16:29:39 +0000 (17:29 +0100)]
Merge pull request #7655 from ckishimo/area

ospfd: fix area removal at interface level

3 years agoMerge pull request #7723 from AnuradhaKaruppiah/fdb-ext-attrs
Patrick Ruddy [Tue, 19 Jan 2021 16:27:54 +0000 (16:27 +0000)]
Merge pull request #7723 from AnuradhaKaruppiah/fdb-ext-attrs

zebra: move from NDA_NOTIFY to NDA_FDB_EXT_ATTRS

3 years agoMerge pull request #7781 from chiragshah6/evpn_dev
Russ White [Tue, 19 Jan 2021 16:26:34 +0000 (11:26 -0500)]
Merge pull request #7781 from chiragshah6/evpn_dev

[yang,bgpd]  convert neighbor prefix-list and route-map to transactional clis

3 years agolib: Fix up str2prefix usage in lua code
Donald Sharp [Tue, 19 Jan 2021 14:29:50 +0000 (09:29 -0500)]
lib: Fix up str2prefix usage in lua code

Two new coverity issues from inclusion of new lua code.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agoMerge pull request #7886 from volta-networks/master
Donald Sharp [Tue, 19 Jan 2021 14:12:30 +0000 (09:12 -0500)]
Merge pull request #7886 from volta-networks/master

pathd: add meaningful names to threads

3 years agoMerge pull request #7840 from pguibert6WIND/bfd_misc_fixes_vrflite
Rafael Zalamena [Tue, 19 Jan 2021 13:10:04 +0000 (10:10 -0300)]
Merge pull request #7840 from pguibert6WIND/bfd_misc_fixes_vrflite

Bfd misc fixes

3 years agoMerge pull request #7863 from chiragshah6/mdev
Russ White [Tue, 19 Jan 2021 12:48:28 +0000 (07:48 -0500)]
Merge pull request #7863 from chiragshah6/mdev

[yang,staticd]: remove when condition from static nexthop om

3 years agoMerge pull request #7884 from donaldsharp/null_stuff
Russ White [Tue, 19 Jan 2021 12:44:21 +0000 (07:44 -0500)]
Merge pull request #7884 from donaldsharp/null_stuff

Null stuff

3 years agoMerge pull request #6455 from GalaxyGorilla/bfd_ospf_topotest
Russ White [Tue, 19 Jan 2021 12:39:05 +0000 (07:39 -0500)]
Merge pull request #6455 from GalaxyGorilla/bfd_ospf_topotest

tests: Introduce BFD OSPFv2/v3 topotests

3 years agoMerge pull request #7639 from qlyoung/frr-lua
Russ White [Tue, 19 Jan 2021 12:17:03 +0000 (07:17 -0500)]
Merge pull request #7639 from qlyoung/frr-lua

Scripting

3 years agopathd: add meaningful names to threads
Javier Garcia [Tue, 19 Jan 2021 10:42:48 +0000 (11:42 +0100)]
pathd: add meaningful names to threads

Signed-off-by: Javier Garcia <javier.garcia@voltanet.io>
3 years agotests: Add new scenarios to test multicast-pim-sm(different topology)
kuldeepkash [Tue, 5 Jan 2021 05:03:37 +0000 (05:03 +0000)]
tests: Add new scenarios to test multicast-pim-sm(different topology)

Add new scenarios to test multicast-pim-sm(different topology)

Signed-off-by: kuldeepkash <kashyapk@vmware.com>
3 years agotests: Add/enhance framework for multicast-pim-sm automation
kuldeepkash [Tue, 22 Dec 2020 07:28:32 +0000 (07:28 +0000)]
tests: Add/enhance framework for multicast-pim-sm automation

1. Add/enhance framework for multicast-pim-sm automation

Signed-off-by: kuldeepkash <kashyapk@vmware.com>
3 years agotests: Add new scenarios to test multicast-pim-sm
kuldeepkash [Tue, 22 Dec 2020 07:09:31 +0000 (07:09 +0000)]
tests: Add new scenarios to test multicast-pim-sm

1, Added new scenarios to test multicast-pim-sm

Signed-off-by: kuldeepkash <kashyapk@vmware.com>
3 years agolib: Correctly set temp file permissions
Donald Sharp [Mon, 18 Jan 2021 14:32:00 +0000 (09:32 -0500)]
lib: Correctly set temp file permissions

Set the temp file permissions to limit who can read
the file.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agobgpd: Use uint32_t for size value instead of int in ecommunity struct
Donald Sharp [Sun, 17 Jan 2021 21:08:03 +0000 (16:08 -0500)]
bgpd: Use uint32_t for size value instead of int in ecommunity struct

The `struct ecommunity` structure is using an int for a size value.
Let's switch it over to a uint32_t for size values since a size
value for data can never be negative.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agozebra: Tell SA that we are intentionally ignoring the return
Donald Sharp [Sun, 17 Jan 2021 12:51:09 +0000 (07:51 -0500)]
zebra: Tell SA that we are intentionally ignoring the return

Calling fpm_nl_enqueue we should expect a it fit or not
return value on the outgoing stream.  This is not necessary
to check here because the while loop where we are checking this
already has ensured that the data being written will fit.

CID -> 1499854
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agopbrd: Prevent possible NULL use
Donald Sharp [Sun, 17 Jan 2021 12:48:20 +0000 (07:48 -0500)]
pbrd: Prevent possible NULL use

the pnhi data structure can receive either a interface or a
nhr data structure.  Ensure that we don't crash.

CID -> 1500586
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agobgpd: attr is already derefed cannot be null here
Donald Sharp [Sun, 17 Jan 2021 12:43:44 +0000 (07:43 -0500)]
bgpd: attr is already derefed cannot be null here

In the function bgp_adj_out_set_subgroup, the attr pointer
is already derefed in all paths leading to a test for NULL.
You cannot pass a NULL attribute in since the whole function
would just immediately crash.

CID -> 1500604
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agoMerge pull request #7790 from mobash-rasool/ospfv3-max-path
Donald Sharp [Mon, 18 Jan 2021 11:44:18 +0000 (06:44 -0500)]
Merge pull request #7790 from mobash-rasool/ospfv3-max-path

ospfd: Clear ip ospf process and clear ip ospf neighbor

3 years agoMerge pull request #7874 from donaldsharp/more_pytest_mark
Donatas Abraitis [Mon, 18 Jan 2021 08:12:24 +0000 (10:12 +0200)]
Merge pull request #7874 from donaldsharp/more_pytest_mark

More pytest mark

3 years agoMerge pull request #7873 from donaldsharp/bgp_gtsm_peer_group_fix
Donatas Abraitis [Mon, 18 Jan 2021 08:10:51 +0000 (10:10 +0200)]
Merge pull request #7873 from donaldsharp/bgp_gtsm_peer_group_fix

bgpd: Allow peer-groups to have `ttl-security hops` configured

3 years agoMerge pull request #7882 from donaldsharp/keepalive_default
Martin Winter [Sun, 17 Jan 2021 19:49:51 +0000 (20:49 +0100)]
Merge pull request #7882 from donaldsharp/keepalive_default

tests: Set default timers to 3/10 for bgp using create_router_bgp

3 years agoMerge pull request #7881 from logbob0401/correct_sysrepo_lib_name
Donald Sharp [Sat, 16 Jan 2021 15:21:03 +0000 (10:21 -0500)]
Merge pull request #7881 from logbob0401/correct_sysrepo_lib_name

Correct sysrepo library name in configure.ac

3 years agotests: Set default timers to 3/10 for bgp using create_router_bgp
Donald Sharp [Sat, 16 Jan 2021 13:29:49 +0000 (08:29 -0500)]
tests: Set default timers to 3/10 for bgp using create_router_bgp

Tests were timing out in our test system due to lost packets and
flakiness of the lower end systems.  Just set the timers to 3/10
and give them plenty of time to converge.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agoconfigure.ac: Correct library name for sysrepo
Bo Zhang [Sat, 16 Jan 2021 05:38:18 +0000 (21:38 -0800)]
configure.ac: Correct library name for sysrepo

Northbound_sysrepo: Correct sysrepo library name in configure.ac

Signed-off-by: Bo Zhang <logbob0401@gmail.com>
3 years agozebra: A `zebra route-map delay-timer 0` command should still run the route-map
Donald Sharp [Fri, 15 Jan 2021 21:28:15 +0000 (16:28 -0500)]
zebra: A `zebra route-map delay-timer 0` command should still run the route-map

Setting `zebra route-map delay-timer 0` completely turns of any
route-map processing in zebra.  Which is completely wrong.  A timer
of 0 means `do it now`.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agotests: Modify zebra_rib tests to include some basic route-map tests
Donald Sharp [Thu, 1 Oct 2020 22:24:01 +0000 (18:24 -0400)]
tests: Modify zebra_rib tests to include some basic route-map tests

New test does this:
a) Ensures that we run the correct number of times given two
`ip protocol X` commands( ie we do not run the route-map application
against all routes, only those affected )
b) Ensure that when we modify the route-map the state ends up sane
this includes making a static route depend on a sharp route that
gets removed from the change of the sharp route-map
c) Ensure that the kernel routes are correct.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agozebra: Push timer out if another route-map change comes in for zebra
Donald Sharp [Fri, 9 Oct 2020 15:41:21 +0000 (11:41 -0400)]
zebra: Push timer out if another route-map change comes in for zebra

If we are running with a delayed timer to handle route-map changes
in zebra, if another route-map change is made to the cli, push
out the timer instead of not modifying the timer.  This will
allow a large set of route-maps to be possibly be read in by
the system and we don't have a state where new route-map
changes are being read in and having the timer pop in
the middle of it.

Additionally convert to use THREAD_OFF, preventing a possible
use after free as well as aligning the thread api usage
with what we consider correct.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agozebra: Limit routemap changes to reconsider only routes associated with that rm
Donald Sharp [Thu, 1 Oct 2020 15:18:45 +0000 (11:18 -0400)]
zebra: Limit routemap changes to reconsider only routes associated with that rm

Current code when a route map changes schedules a rerun of all routes in the
particular table.  So if you modify the `ip protocol XX route-map FOO`
route-map `FOO` all routes will be rechecked.  This is extremely expensive.

Modify zebra to only update the routes associated with the route-map.  So
if we have 800k bgp routes and 50 ospf routes and we are route-map'ing
the ospf routes we'll only look at 50 routes.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agozebra: Allow rib_update_table to receive a specified route type
Donald Sharp [Thu, 1 Oct 2020 13:54:53 +0000 (09:54 -0400)]
zebra: Allow rib_update_table to receive a specified route type

When we need to cause a reprocessing of data the code currently
marks all routes as needing to be looked at.  Modify the
rib_update_table code to allow us to specify a specific route
type we only want to reprocess.  At this point none
of the code is behaving differently this is just setup
for a future code change.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agozebra: remove unused function rib_update_vrf
Donald Sharp [Thu, 1 Oct 2020 15:19:49 +0000 (11:19 -0400)]
zebra: remove unused function rib_update_vrf

The function rib_update_vrf is never used.  Remove it.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agolib: Keep track of route-map applications per section
Donald Sharp [Fri, 2 Oct 2020 11:18:58 +0000 (07:18 -0400)]
lib: Keep track of route-map applications per section

When the routemap code was rewritten for performance the
code to track the number of times a particular section of
a route-map was applied was not correctly updated.  In
this case I found another sequence of events where the
number of times a section was invoked was not being correctly
kept.

Effectively in this case when route_map_get_index is called
and returns an index the route map has been applied( see that
skip_match_clause is set to true and then in the for loop
below the skip_match_clause is tested and index->applied is
incremented.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agodoc: Document the "zebra route-map delay-timer" functionality
Donald Sharp [Fri, 2 Oct 2020 11:46:00 +0000 (07:46 -0400)]
doc: Document the "zebra route-map delay-timer" functionality

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agoMerge pull request #7878 from opensourcerouting/ldpd-metric-issue
Donald Sharp [Fri, 15 Jan 2021 23:24:38 +0000 (18:24 -0500)]
Merge pull request #7878 from opensourcerouting/ldpd-metric-issue

ldpd: fix sporadic failures in the ldp-topo1 topotest

3 years agoMerge pull request #7875 from deastoe/fpm-nlmsg-pid
Mark Stapp [Fri, 15 Jan 2021 21:28:46 +0000 (16:28 -0500)]
Merge pull request #7875 from deastoe/fpm-nlmsg-pid

zebra: set nlmsg_pid in netlink msgs sent by 'fpm'

3 years agoldpd: fix sporadic failures in the ldp-topo1 topotest
Renato Westphal [Fri, 15 Jan 2021 15:04:24 +0000 (12:04 -0300)]
ldpd: fix sporadic failures in the ldp-topo1 topotest

Commit 220e848cc5 introduced an optimization that would prevent ldpd
from sending redundant label mappings when it receives notifications
from zebra about routes that didn't effectively change (such
notifications can happen under certain circumstances).

The problem is that that commit didn't take into account the metric
of the received routes, so it would dismiss a notification of a
route with a better metric taking the place of another route in the
RIB, preventing the newly selected route from receiving the label
mappings it needs.

Revert 220e848cc5 temporarily to fix sporadic failures in the CI
system until we have a better solution.

Debugged-by: Lynne Morrison lynne@voltanet.io
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
3 years agozebra: set nlmsg_pid in netlink msgs sent by 'fpm'
Duncan Eastoe [Fri, 15 Jan 2021 16:06:17 +0000 (16:06 +0000)]
zebra: set nlmsg_pid in netlink msgs sent by 'fpm'

Use nl_pid from the netlink socket used for programming the kernel
(netlink_dplane) in netlink route messages sent by the 'fpm' module.

This makes 'fpm' consistent with 'dplane_fpm_nl' which already
behaves this way, and allows FPM server implementations to determine
route origin via nlmsg_pid.

Signed-off-by: Duncan Eastoe <duncan.eastoe@att.com>
3 years agoMerge pull request #7844 from vishaldhingra/static
Mark Stapp [Fri, 15 Jan 2021 14:35:12 +0000 (09:35 -0500)]
Merge pull request #7844 from vishaldhingra/static

staticd: correct table-id handling for static routes.

3 years agotests: Add `pytest.mark.pbr`
Donald Sharp [Fri, 15 Jan 2021 14:18:59 +0000 (09:18 -0500)]
tests: Add `pytest.mark.pbr`

Add a mark to topotests that mark pbr tests

`pytest -k pbr`

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agotests: Add `pytest.mark.isis`
Donald Sharp [Fri, 15 Jan 2021 14:17:53 +0000 (09:17 -0500)]
tests: Add `pytest.mark.isis`

Add a mark to topotests that mark isis tests

`pytest -k isis`

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agotests: Add `pytest.mark.bfd`
Donald Sharp [Fri, 15 Jan 2021 13:58:24 +0000 (08:58 -0500)]
tests: Add `pytest.mark.bfd`

Add a mark to topotests that mark bfd tests.

`pytest -k bfd`

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agoMerge pull request #7870 from donaldsharp/pytest_marking
Mark Stapp [Fri, 15 Jan 2021 13:44:51 +0000 (08:44 -0500)]
Merge pull request #7870 from donaldsharp/pytest_marking

tests: Start the ability to mark tests

3 years agobgpd: Allow peer-groups to have `ttl-security hops` configured
Donald Sharp [Fri, 15 Jan 2021 13:14:49 +0000 (08:14 -0500)]
bgpd: Allow peer-groups to have `ttl-security hops` configured

The command `neighbor PGROUP ttl-security hops X` was being
accepted but ignored.  Allow it to be stored.  I am still
not sure that this is applied correctly, but that is another
problem.

Fixes: #7848
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agoMerge pull request #7872 from ton31337/feature/topotests_for_peer-groups
Donald Sharp [Fri, 15 Jan 2021 13:24:13 +0000 (08:24 -0500)]
Merge pull request #7872 from ton31337/feature/topotests_for_peer-groups

tests: Check if peer-group is working in topotests

3 years agoMerge pull request #7868 from mjstapp/fix_fpm_conn_up
Donald Sharp [Fri, 15 Jan 2021 11:55:29 +0000 (06:55 -0500)]
Merge pull request #7868 from mjstapp/fix_fpm_conn_up

zebra: don't set connection-up event pointer directly

3 years agotests: Check if peer-group is working in topotests
Donatas Abraitis [Tue, 12 Jan 2021 14:12:17 +0000 (16:12 +0200)]
tests: Check if peer-group is working in topotests

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
3 years agoMerge pull request #7867 from dewi-morgan/bgp-max-prefix-overflow-clear
Donatas Abraitis [Fri, 15 Jan 2021 07:30:56 +0000 (09:30 +0200)]
Merge pull request #7867 from dewi-morgan/bgp-max-prefix-overflow-clear

bgpd: clear max prefix overflow on de-config

3 years agoMerge pull request #7869 from donaldsharp/peer_group
Donatas Abraitis [Fri, 15 Jan 2021 07:19:15 +0000 (09:19 +0200)]
Merge pull request #7869 from donaldsharp/peer_group

bgpd: Temp fix to allow numbered peers to be part of a peer group

3 years agopimd: fix multiple memory leak
Sarita Patra [Tue, 12 Jan 2021 11:57:33 +0000 (03:57 -0800)]
pimd: fix multiple memory leak

Memleak: pim_jp_agg_single_upstream_send(), static variable are not
released.

Signed-off-by: Sarita Patra <saritap@vmware.com>
3 years agotests: Start the ability to mark tests
Donald Sharp [Fri, 15 Jan 2021 01:29:14 +0000 (20:29 -0500)]
tests: Start the ability to mark tests

Add the ability for our topotests to take advantage of pytest `mark`ing.
This effectively allows you to tell pytest to run against certain sets
of tests.  For a demonstration purpose I've added in marks for:
babel
eigrp
ldp
ospf
pim
rip

And setup tests to run against those tests that only test those protocols.

You can run against eigrp tests by running `pytest -k eigrp`
Other combinations are also available based upon simple boolean logic.
Just read the pytest.mark documentation.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agobgpd: Temp fix to allow numbered peers to be part of a peer group
Donald Sharp [Thu, 14 Jan 2021 20:51:39 +0000 (15:51 -0500)]
bgpd: Temp fix to allow numbered peers to be part of a peer group

Talking w/ Chirag and he indicated that we can just backout the command
to the original and things would `work` and they do( at least a quick test does )

Put this in place until a proper fix can be done.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agoisisd: if IS-IS is configured for v6, prefer v6 bfd sessions
Karen Schoener [Fri, 30 Oct 2020 21:46:32 +0000 (17:46 -0400)]
isisd: if IS-IS is configured for v6, prefer v6 bfd sessions

Signed-off-by: Lynne Morrison <lynne@voltanet.io>
Signed-off-by: Karen Schoener <karen@voltanet.io>
3 years agoMerge pull request #7866 from kishorekunal01/fpm_dump_issue
Mark Stapp [Thu, 14 Jan 2021 19:13:31 +0000 (14:13 -0500)]
Merge pull request #7866 from kishorekunal01/fpm_dump_issue

zebra: Scale setup RMAC is send multiple time to fpm

3 years agozebra: don't set connection-up event pointer directly
Mark Stapp [Thu, 14 Jan 2021 19:09:14 +0000 (14:09 -0500)]
zebra: don't set connection-up event pointer directly

Use thread_cancel to reset the connection-up processing timer.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
3 years agoMerge pull request #7821 from donaldsharp/evpn_flag_dump
Mark Stapp [Thu, 14 Jan 2021 18:02:21 +0000 (13:02 -0500)]
Merge pull request #7821 from donaldsharp/evpn_flag_dump

Evpn flag dump

3 years agozebra: Scale setup RMAC is send multiple time to fpm
Kishore Kunal [Wed, 13 Jan 2021 22:16:34 +0000 (22:16 +0000)]
zebra: Scale setup RMAC is send multiple time to fpm

Thread zfpm_conn_up_thread_cb can Yield and send RMAC multiple
times to FPM.

Signed-off-by: Kishore Kunal <kishorekunal01@broadcom.com>
3 years agoMerge pull request #7712 from dslicenc/frr-reload-prefix-list-acl
Mark Stapp [Thu, 14 Jan 2021 14:11:30 +0000 (09:11 -0500)]
Merge pull request #7712 from dslicenc/frr-reload-prefix-list-acl

tools: ignore missing seq nums in prefix and access lists in frr-relo…

3 years agobgpd: clear max prefix overflow on de-config
Dewi Morgan [Thu, 14 Jan 2021 14:01:26 +0000 (14:01 +0000)]
bgpd: clear max prefix overflow on de-config

A bgp neighbor remains in Idle state in the event that the number
of received prefixes exceeds the configured maximum prefix for the
neighbor. The neighbor remains in idle state even after de-configuring
the maximum prefix limit for the neighbor.

The fix is to clear the neighbor overflow state if set, after
de-configuring the neighbor maximum-prefix commnd.

This allows the neighbor to establish without having to perform a
clear operation. It also avoids the misleading neigbor summary
indicating that the neighbor is in prefix overflow state (PfxCt)
when no limit is configured for the neighbor.

Signed-off-by: Dewi Morgan <dewi.morgan@intl.att.com>
3 years agoMerge pull request #7746 from donaldsharp/eigrp_cleanup
Russ White [Wed, 13 Jan 2021 18:53:55 +0000 (13:53 -0500)]
Merge pull request #7746 from donaldsharp/eigrp_cleanup

Eigrp cleanup

3 years agoMerge pull request #7837 from ckishimo/tests_ospf
Donald Sharp [Wed, 13 Jan 2021 18:31:32 +0000 (13:31 -0500)]
Merge pull request #7837 from ckishimo/tests_ospf

tests: fix redistribute key in ospf tests

3 years agozebra: in zebra_evpn_mac.c use size_t for buffer length
Donald Sharp [Wed, 6 Jan 2021 13:40:16 +0000 (08:40 -0500)]
zebra: in zebra_evpn_mac.c use size_t for buffer length

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agozebra: Create a dump function for mac->flags and use it
Donald Sharp [Wed, 6 Jan 2021 13:37:52 +0000 (08:37 -0500)]
zebra: Create a dump function for mac->flags and use it

Create a function that can dump the mac->flags in human readable
output and convert all debugs to use it.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
3 years agozebra: Create function to dump MACIP flags
Donald Sharp [Tue, 5 Jan 2021 23:25:10 +0000 (18:25 -0500)]
zebra: Create function to dump MACIP flags

Create a function to dump MACIP flags and to use it.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>