diff options
author | vdhingra <vdhingra@vmware.com> | 2020-07-02 07:36:51 +0200 |
---|---|---|
committer | vdhingra <vdhingra@vmware.com> | 2020-07-16 17:40:42 +0200 |
commit | 755100ac8983324e02cca9e1ab50bca1ab2da4da (patch) | |
tree | 82f051868e1d186b7164788774ffe57858c34c5a /lib/yang_wrappers.h | |
parent | staticd : Configuration northbound implementation (diff) | |
download | frr-755100ac8983324e02cca9e1ab50bca1ab2da4da.tar.xz frr-755100ac8983324e02cca9e1ab50bca1ab2da4da.zip |
zebra: Moving afi-safi identity to lib
afi-safi identity handling should be in the common place.
Signed-off-by: VishalDhingra <vdhingra@vmware.com>
Diffstat (limited to 'lib/yang_wrappers.h')
-rw-r--r-- | lib/yang_wrappers.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/yang_wrappers.h b/lib/yang_wrappers.h index ba2cf5139..335ff319d 100644 --- a/lib/yang_wrappers.h +++ b/lib/yang_wrappers.h @@ -191,6 +191,9 @@ extern struct yang_data *yang_data_new_date_and_time(const char *xpath, /* nexthop enum2str */ extern const char *yang_nexthop_type2str(uint32_t ntype); +const char *yang_afi_safi_value2identity(afi_t afi, safi_t safi); +void yang_afi_safi_identity2value(const char *key, afi_t *afi, safi_t *safi); + #ifdef __cplusplus } #endif |