David Lamparter
acddc0ed3c
*: auto-convert to SPDX License IDs
...
Done with a combination of regex'ing and banging my head against a wall.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2023-02-09 14:09:11 +01:00
David Lamparter
0f9de11a11
*: apply proper format string attributes
...
So that we get warnings about broken format strings.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2023-01-27 12:01:17 +01:00
whichbug
ac3133450d
isisd: fix #10505 using base64 encoding
...
Using base64 instead of the raw string to encode
the binary data.
Signed-off-by: whichbug <whichbug@github.com>
2022-02-22 15:27:30 -05:00
Chirag Shah
47cd223441
lib: yang wrapper for getting empty type
...
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
2020-08-11 17:06:23 -07:00
vdhingra
755100ac89
zebra: Moving afi-safi identity to lib
...
afi-safi identity handling should be in the common place.
Signed-off-by: VishalDhingra <vdhingra@vmware.com>
2020-07-16 08:40:42 -07:00
Rafael Zalamena
98dc08cdda
Merge pull request #6249 from chiragshah6/yang_nb5
...
lib: yang wrapper for date-and-time
2020-04-24 10:17:55 -03:00
Renato Westphal
17e38209a5
lib, zebra: add missing extern "C" {} blocks to new header files
...
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2020-04-22 23:49:22 -03:00
Chirag Shah
8d0c8ff55a
lib: yang wrapper for date-and-time
...
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
2020-04-22 08:55:07 -07:00
Chirag Shah
cad46cfdc9
lib: yang wrapper nexthop type to str
...
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
2020-04-16 08:24:02 -07:00
Chirag Shah
b71df6891c
lib: add yang wrapper for type empty
...
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
2020-04-16 08:18:00 -07:00
Chirag Shah
dd9ef518bf
lib:api to convert mac to yang object
...
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
2020-04-16 08:13:15 -07:00
Rafael Zalamena
46fcb2df90
lib: use prefix
for yang get prefix wrapper
...
This change fixes a static analyzer warning and should also make us
safer when using this function. At the moment the code that triggered
the warning is the only one that uses this function.
Passing anything other than `struct prefix` to `str2prefix` function is
dangerous, because the structure might be smaller than expected and we
might have an buffer overflow.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2019-10-11 22:41:17 -03:00
Renato Westphal
eed84494b4
lib: add yang wrappers for IP prefixes
...
We had wrappers for IPv4 and IPv6 prefixes, but not for IP (version
agnostic) prefixes. This commit addresses this issue.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2019-09-18 13:38:28 -03:00
Quentin Young
b0584ad3c6
yang: add user type for ip-address
...
Convert ietf-inet-types:ip-address to struct ipaddr.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2019-09-12 21:39:43 +00:00
Renato Westphal
70065793bb
lib: use prefixconstptr instead of const prefixptr
...
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2018-11-26 17:35:58 -02:00
Renato Westphal
1c2facd12d
lib: introduce new northbound API
...
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2018-10-27 16:16:12 -02:00