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 /lib/northbound_cli.c | |
| parent | 9e7367db491b9c25a05b5d04ba6dbc0a7a0d90d8 (diff) | |
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 'lib/northbound_cli.c')
0 files changed, 0 insertions, 0 deletions
