aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/map/map.api
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-05-24 06:36:26 -0400
committerOle Trøan <otroan@employees.org>2019-05-29 07:41:53 +0000
commit4d376f67a6e259e747dbbd4551578657663840f7 (patch)
tree0ba6280d658017295c90be343d12f5ad6c7ce1c0 /src/plugins/map/map.api
parent68b24e2c9ae80839d15f680959cce31ca3ec2123 (diff)
map: Use vl_api_string macros.
* Add optional tag to api call in tests * Add test for map_domain_dump() for api code coverage. Type: fix Change-Id: I2f7784aecdca4bf9e94de3319f959786e3d2c607 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/plugins/map/map.api')
-rw-r--r--src/plugins/map/map.api8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/map/map.api b/src/plugins/map/map.api
index 74133c9df23..f751f5c9ef7 100644
--- a/src/plugins/map/map.api
+++ b/src/plugins/map/map.api
@@ -24,7 +24,7 @@ import "vnet/ip/ip_types.api";
@param ip4_prefix - Rule IPv4 prefix
@param ip6_src - MAP domain IPv6 BR address / Tunnel source
@param ea_bits_len - Embedded Address bits length
- @param psid_offset - Port Set Identifider (PSID) offset
+ @param psid_offset - Port Set Identifier (PSID) offset
@param psid_length - PSID length
@param mtu - MTU
@param tag - A user field stored with the MAP
@@ -40,7 +40,7 @@ define map_add_domain
u8 psid_offset;
u8 psid_length;
u16 mtu;
- string tag;
+ string tag[limit=64];
};
/** \brief Reply for MAP domain add
@@ -103,7 +103,7 @@ define map_domain_dump
@param ip4_prefix - Rule IPv4 prefix
@param ip6_src - MAP domain IPv6 BR address / Tunnel source
@param ea_bits_len - Embedded Address bits length
- @param psid_offset - Port Set Identifider (PSID) offset
+ @param psid_offset - Port Set Identifier (PSID) offset
@param psid_length - PSID length
@param flags -
@param mtu - MTU
@@ -121,7 +121,7 @@ define map_domain_details
u8 psid_length;
u8 flags;
u16 mtu;
- string tag;
+ string tag[limit=64];
};
define map_rule_dump