summaryrefslogtreecommitdiffstats
path: root/src/plugins/map
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/plugins/map
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/plugins/map')
-rw-r--r--src/plugins/map/map.api4
1 files changed, 2 insertions, 2 deletions
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];
};