From c0e9441e79b63ea09d5b282910d104960d45026d Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Tue, 28 Apr 2020 01:12:04 -0400 Subject: 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 --- src/plugins/map/map.api | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/map') diff --git a/src/plugins/map/map.api b/src/plugins/map/map.api index badf76db2dc..79deac86f8f 100644 --- a/src/plugins/map/map.api +++ b/src/plugins/map/map.api @@ -27,7 +27,7 @@ import "vnet/interface_types.api"; @param ea_bits_len - Embedded Address bits length @param psid_offset - Port Set Identifier (PSID) offset @param psid_length - PSID length - @param mtu - MTU + @param mtu - MTU. default 1280 @param tag - A user field stored with the MAP */ define map_add_domain @@ -40,7 +40,7 @@ define map_add_domain u8 ea_bits_len; u8 psid_offset; u8 psid_length; - u16 mtu; + u16 mtu [default=1280]; string tag[64]; }; -- cgit 1.2.3-korg