aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/syslog/syslog.api
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2020-04-28 01:12:04 -0400
committerPaul Vinciguerra <pvinci@vinciconsulting.com>2020-04-28 01:12:04 -0400
commitc0e9441e79b63ea09d5b282910d104960d45026d (patch)
treee677ccc526c70a82cd2702be7c42864392b1279f /src/vnet/syslog/syslog.api
parentf5445bf36f3be001ca50881c66853718073771b8 (diff)
tests: move defaults from defaultmapping to .api files
facilitates use of papi beyond the tests. Type: improvement Change-Id: I3d502d9130b81a7fb65ee69bb06fe55802b28a27 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vnet/syslog/syslog.api')
-rw-r--r--src/vnet/syslog/syslog.api10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vnet/syslog/syslog.api b/src/vnet/syslog/syslog.api
index 3ba5d69cc41..556de61015d 100644
--- a/src/vnet/syslog/syslog.api
+++ b/src/vnet/syslog/syslog.api
@@ -33,9 +33,9 @@ enum syslog_severity
@param context - sender context, to match reply w/ request
@param src_address - IPv4 address of syslog sender (source)
@param collector_address - IPv4 address of syslog collector (destination)
- @param collector_port - UDP port of syslog colector (destination)
+ @param collector_port - UDP port of syslog collector (destination) Default: 514
@param vrf_id - VRF/FIB table ID
- @param max_msg_size - maximum message length
+ @param max_msg_size - maximum message length. Default: 480
*/
autoreply define syslog_set_sender
{
@@ -43,9 +43,9 @@ autoreply define syslog_set_sender
u32 context;
vl_api_ip4_address_t src_address;
vl_api_ip4_address_t collector_address;
- u16 collector_port;
+ u16 collector_port [default=514];
u32 vrf_id;
- u32 max_msg_size;
+ u32 max_msg_size [default=480];
};
/** \brief Get syslog sender configuration
@@ -63,7 +63,7 @@ define syslog_get_sender
@param retval - return code for the request
@param src_address - IPv4 address of syslog sender (source)
@param collector_address - IPv4 address of syslog collector (destination)
- @param collector_port - UDP port of syslog colector (destination)
+ @param collector_port - UDP port of syslog collector (destination)
@param vrf_id - VRF/FIB table ID
@param max_msg_size - maximum message length
*/