diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2018-05-18 16:22:23 +0200 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2018-05-25 15:49:38 +0200 |
| commit | 34d9d5be98858d094b766a3822ca2e151458fd3d (patch) | |
| tree | fcc400e742e3b5395e4c653806143add589b0d39 /lib/zclient.h | |
| parent | 77151b6f016c31a921b74c8244c3489dcfb7e447 (diff) | |
zebra: add pbr objects fail_remove value into notification
After PBR or BGP sends back a request for sending a rule/ipset/ipset
entry/iptable delete, there may be issue in deleting it. A notification
is sent back with a new value indicating that the removal failed.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/zclient.h')
| -rw-r--r-- | lib/zclient.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h index c5eaf9c0fd..2ec03acc44 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -408,6 +408,7 @@ enum zapi_rule_notify_owner { ZAPI_RULE_FAIL_INSTALL, ZAPI_RULE_INSTALLED, ZAPI_RULE_REMOVED, + ZAPI_RULE_FAIL_REMOVE, }; enum ipset_type { @@ -421,18 +422,21 @@ enum zapi_ipset_notify_owner { ZAPI_IPSET_FAIL_INSTALL, ZAPI_IPSET_INSTALLED, ZAPI_IPSET_REMOVED, + ZAPI_IPSET_FAIL_REMOVE, }; enum zapi_ipset_entry_notify_owner { ZAPI_IPSET_ENTRY_FAIL_INSTALL, ZAPI_IPSET_ENTRY_INSTALLED, ZAPI_IPSET_ENTRY_REMOVED, + ZAPI_IPSET_ENTRY_FAIL_REMOVE, }; enum zapi_iptable_notify_owner { ZAPI_IPTABLE_FAIL_INSTALL, ZAPI_IPTABLE_INSTALLED, ZAPI_IPTABLE_REMOVED, + ZAPI_IPTABLE_FAIL_REMOVE, }; /* Zebra MAC types */ |
