From 4d376f67a6e259e747dbbd4551578657663840f7 Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Fri, 24 May 2019 06:36:26 -0400 Subject: 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 --- src/plugins/map/map.api | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/plugins/map/map.api') 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 -- cgit 1.2.3-korg