mirror_frr/tests
Donald Sharp 1f32eb30d9 bgpd: Start abstraction of struct peer_connection
BGP tracks connections based upon the peer.  But the problem
with this is that the doppelganger structure for it is being
created.  This has introduced a bunch of fragileness in that
the peer exists independently of the connections to it.

The whole point of the doppelganger structure was to allow
BGP to both accept and initiate tcp connections and then
when we get one to a `good` state we collapse into the
appropriate one.  The problem with this is that having
2 peer structures for this creates a situation where
we have to make sure we are configing the `right` one
and also make sure that we collapse the two independent
peer structures into 1 acting peer.  This makes no sense
let's abstract out the peer into having 2 connection
one for incoming connections and one for outgoing connections
then we can easily collapse down without having to do crazy
stuff.  In addition people adding new features don't need
to have to go touch a million places in the code.

This is the start of this abstraction.  In this commit
we'll just pull out the fd and input/output buffers
into a connection data structure.  Future commits
will abstract further.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2023-08-18 09:29:04 -04:00
..
bgpd bgpd: Start abstraction of struct peer_connection 2023-08-18 09:29:04 -04:00
helpers lib: mgmtd: add manual vty server start option and use it 2023-05-30 02:10:20 -04:00
isisd isisd: add option to display isis routes as json 2023-04-18 11:33:15 +02:00
lib Merge pull request #14016 from mjstapp/event_exec_ptr 2023-08-15 11:52:49 -04:00
ospf6d ospf6d: Convert ospf6_lsa_unlock to a better api 2023-07-12 17:56:29 -04:00
ospfd *: Convert event.h to frrevent.h 2023-03-24 08:32:17 -04:00
topotests Merge pull request #14181 from opensourcerouting/fix/bgpd_labeled_unicast_set_explicit_null 2023-08-16 09:25:49 -04:00
zebra *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
.gitignore tests: Ignore test_darr for git 2023-07-08 22:41:34 +03:00
Makefile build: non-recursive tests 2018-09-08 21:26:54 +02:00
pytest.ini tests: Exclude topotests from consideration 2018-11-27 20:22:10 -05:00
runtests.py *: reformat python files 2020-10-07 17:22:26 -04:00
subdir.am build: break up tests/subdir.am 2021-11-11 14:40:03 +01:00