mirror_frr/tests
Christian Hopps c10f8e6da6 mgmtd: KISS the locking code
Move away from things like "lock if not locked" type code, require the
user has locked prior to geting to that point.

For now we warn if we are taking a lock we already had; however, this
should really be a failure point.

New requirements:

SETCFG -
  not implicit commit - requires user has locked candidate DS and they
    must unlock after

  implicit commit - requires user has locked candidate and running DS
    both locks will be unlocked on reply to the SETCFG

COMMITCFG -
  requires user has locked candidate and running DS and they must unlock
  after

  rollback - this code now get both locks and then does an unlock and
  early return thing on the adapter side. It needs to be un-special
  cased in follow up work that would also include tests for this
  functionality.

Signed-off-by: Christian Hopps <chopps@labn.net>
2023-06-25 04:46:54 -04:00
..
bgpd bgpd: Treat withdraw variable as a bool 2023-04-06 17:41:32 -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 mgmtd: KISS the locking code 2023-06-25 04:46:54 -04:00
ospf6d *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
ospfd *: Convert event.h to frrevent.h 2023-03-24 08:32:17 -04:00
topotests Merge pull request #13834 from FRRouting/mergify/bp/dev/9.0/pr-13763 2023-06-22 21:09:24 -05:00
zebra *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
.gitignore tests: new grpc topotest 2022-03-14 11:14:12 -04: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