diff options
author | Ole Troan <ot@cisco.com> | 2020-09-15 10:53:34 +0200 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-09-18 15:24:52 +0000 |
commit | 3d81267945a732753b0dbd0a83a50ab0625b448a (patch) | |
tree | c00b5e6a5e798cbb29c9c450eb37d43f9303cb85 /src/vnet/geneve/geneve.api | |
parent | 34262d4d56295b0872ad4e9a4a4791953f3fa444 (diff) |
vat: add infrastructure to align vnet test code and plugin test code
Split vat/api_format.c also for VNET features.
Use auto-generated VAT test code and support dynamic message ID allocation as for plugins.
The arp and geneve features as Guinea pigs.
Type: improvement
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I461591496766bdf10c5f950fd30f1a0ae05909da
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vnet/geneve/geneve.api')
-rw-r--r-- | src/vnet/geneve/geneve.api | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/geneve/geneve.api b/src/vnet/geneve/geneve.api index ef2cd5ed8ae..fd871733fb9 100644 --- a/src/vnet/geneve/geneve.api +++ b/src/vnet/geneve/geneve.api @@ -31,6 +31,7 @@ define geneve_add_del_tunnel u32 encap_vrf_id; u32 decap_next_index; u32 vni; + option vat_help="src <ip-addr> { dst <ip-addr> | group <mcast-ip-addr> { <intfc> | mcast_sw_if_index <nn> } } vni <vni> [encap-vrf-id <nn>] [decap-next <l2|nn>] [del]"; }; define geneve_add_del_tunnel_reply @@ -66,6 +67,7 @@ define geneve_tunnel_dump u32 client_index; u32 context; vl_api_interface_index_t sw_if_index; + option vat_help="[<intfc> | sw_if_index <nn>]"; }; define geneve_tunnel_details @@ -94,4 +96,5 @@ autoreply define sw_interface_set_geneve_bypass vl_api_interface_index_t sw_if_index; bool is_ipv6; bool enable; + option vat_help="<intfc> | sw_if_index <id> [ip4 | ip6] [enable | disable]"; }; |