Releases: network-analytics/udp-notif-c-collector
Releases · network-analytics/udp-notif-c-collector
v0.6.1
v0.6.0
Changes
- Utils function to create a socket bound directly to the interface
- Examples for interface bound socket
- API changes to align library terms with the new draft-ietf-netconf-udp-notif-06 draft:
- Getters:
unyte_udp_get_generator_id(unyte_seg_met_t *msg)
->unyte_udp_get_observation_domain_id(unyte_seg_met_t *msg)
unyte_udp_get_encoding_type(unyte_seg_met_t *msg)
->unyte_udp_get_media_type(unyte_seg_met_t *msg)
unyte_message_t
struct, changed attribute names:encoding_type
->media_type
generator_id
->observation_domain_id
unyte_header_t
struct, changed attribute names:encoding_type
->media_type
generator_id
->observation_domain_id
- Constants name changed:
UNYTE_ENCODING_RESERVED
->UNYTE_MEDIATYPE_RESERVED
UNYTE_ENCODING_JSON
->UNYTE_MEDIATYPE_YANG_JSON
UNYTE_ENCODING_XML
->UNYTE_MEDIATYPE_YANG_XML
UNYTE_ENCODING_CBOR
->UNYTE_MEDIATYPE_YANG_CBOR
- Getters:
v0.5.2
Changes
- Custom options supported (only in new UDP-notif protocol)
- publisher can generate a UDP-notif with custom options and private encodings
- collector can parse and get a linked list with the multiple custom options
- Add globalised header with all defaults values
- Parsed destination IP became optional for performance issues. Activate
options.msg_dst_ip
if needed. - IPv6 support on sender now uses getaddrinfo
- Support legacy protocol: draft-ietf-netconf-udp-pub-channel-05
- Add CBOR publisher example
v0.5.1
Changes
- Add a client example for a custom socket with an eBPF load balancer
- API change:
- first need to initialise socket using
unyte_udp_create_socket()
and then initialise collector passing it as options usingunyte_udp_start_collector()
. - Starting directly a collector from an IP/port is deprecated
- first need to initialise socket using
v0.5.0 Stable
Changes
- Monitoring thread: packets statistics every X seconds if activated
- Prepend unyte_udp to some functions to avoid conflict with other libraries
- Prepend unyte_udp to all getters to avoid conflicts
- Major api changes to avoid conflicts with https-notif upcoming library:
- Rename
queue.h
tounyte_udp_queue.h
- Rename
unyte_utils.h
tounyte_udp_utils.h
- Rename
unyte_collector.h
tounyte_udp_collector.h
- Rename struct
unyte_collector_t
tounyte_udp_collector_t
- Rename struct
unyte_options_t
tounyte_udp_options_t
to avoid conflict with https-notif collector - Rename api
unyte_start_collector()
tounyte_udp_start_collector()
- Rename
queue_t
tounyte_udp_queue_t
- Rename
- Usage of autotools to package and install
- Support of IPv6
- Collector options: port type changed to
char *
- Add new api, message returns sockaddr_storage instead of IP/port
struct sockaddr_storage *unyte_udp_get_src(unyte_seg_met_t *message);
struct sockaddr_storage *unyte_udp_get_dest_addr(unyte_seg_met_t *message)
- Add new api, creating a collector from a existing socket:
unyte_udp_collector_t *unyte_udp_start_collector_sk(unyte_udp_sk_options_t *options);
v0.4.1
Changes
- Use of autotools for packaging and install
- Monitoring queue
- Install documentation improved
- Prepend
unyte_udp_
on the API to avoid conflict with incoming https-notif library
v0.4.0 Stable
Changes
- Install goal in makefile : build of a shared library and install in local
- Uninstall scripts
- Library parameters changeable from instantiation
- UDP-notif sender: UDP-notif protocol generator api
- Version api to get version