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>
This commit is contained in:
Paul Vinciguerra
2020-04-28 01:12:04 -04:00
parent f5445bf36f
commit c0e9441e79
12 changed files with 35 additions and 50 deletions

View File

@@ -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];
};