diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-12-20 10:34:01 +0100 | 
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2021-04-30 10:33:18 +0200 | 
| commit | 632d83067c034609c3507e5c0e3d53c71d9c7fc7 (patch) | |
| tree | 0bd1d305a70ec84e36e7522301437f5467a92506 /lib/zclient.h | |
| parent | 077c07cc58be1fbbe28a2df71cd884af87b121a7 (diff) | |
zebra: add 3 new gre commands, and enforce synchro mecanism
3 new gre commands are available:
- GRE_GET to permit a daemon to retrieve gre information.
- GRE_UPDATe is the reply message from zebra to the daemon. as it is a
  syncronous request, the GRE_GET expected will have to match the vrf id
  where the gre information is wished. this has an impact on label
  manager with change in APIs.
- SET_GRE_SOURCE. this command will be stubbed for now, assuming that
  the gre interface is set accordingly by external script.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/zclient.h')
| -rw-r--r-- | lib/zclient.h | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h index e8fff4b881..f9e1bdc370 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -232,6 +232,9 @@ typedef enum {  	ZEBRA_NEIGH_IP_ADD,  	ZEBRA_NEIGH_IP_DEL,  	ZEBRA_CONFIGURE_ARP, +	ZEBRA_GRE_GET, +	ZEBRA_GRE_UPDATE, +	ZEBRA_GRE_SOURCE_SET,  } zebra_message_types_t;  enum zebra_error_types {  | 
