mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-10-25 02:46:36 +00:00
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>
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| daemons.pl | ||
| Makefile | ||
| subdir.am | ||
| vtysh_config.c | ||
| vtysh_main.c | ||
| vtysh_user.c | ||
| vtysh_user.h | ||
| vtysh.c | ||
| vtysh.h | ||