diff options
author | Emanuele Di Pascale <emanuele@voltanet.io> | 2018-11-09 16:13:12 +0100 |
---|---|---|
committer | Emanuele Di Pascale <emanuele@voltanet.io> | 2018-12-18 15:15:26 +0100 |
commit | 625b70e3da7b1ec163607cc7354404904eacf36e (patch) | |
tree | 1f94af0d2bb967420a776f62b8fefb5d0bb2a05d /tools/fixup-deprecated.py | |
parent | Merge pull request #3500 from pguibert6WIND/missing_default_vrf_name (diff) | |
download | frr-625b70e3da7b1ec163607cc7354404904eacf36e.tar.xz frr-625b70e3da7b1ec163607cc7354404904eacf36e.zip |
lib: add NB phase-specific error codes
As suggested by Renato, add error codes that are specific
to the various phases of a northbound callback. These can
be used by the daemons when logging an error. The reasoning
is that validation errors typically mean that there is an
inconsistency in the configuration, a prepare error means
that we are running out of resources, and abort/apply errors
are bugs that need to be reported to the devs.
Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
Diffstat (limited to 'tools/fixup-deprecated.py')
0 files changed, 0 insertions, 0 deletions