X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fsession%2Fsession.api;h=53e2834e839e2f630c22e6bb9c8c2a3e168ab687;hb=a5a9efd4d;hp=b897ae020ed34460ffcbe0ac9a2cacefa1ed3ea8;hpb=256779c85725c75de185f5cba9a4ec0c59b3151c;p=vpp.git diff --git a/src/vnet/session/session.api b/src/vnet/session/session.api index b897ae020ed..53e2834e839 100644 --- a/src/vnet/session/session.api +++ b/src/vnet/session/session.api @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015-2019 Cisco and/or its affiliates. + * Copyright (c) 2015-2020 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: @@ -13,7 +13,7 @@ * limitations under the License. */ -option version = "3.1.0"; +option version = "4.0.0"; import "vnet/interface_types.api"; import "vnet/ip/ip_types.api"; @@ -37,11 +37,11 @@ enum transport_proto : u8 define app_attach { u32 client_index; u32 context; - u64 options[17]; + u64 options[18]; string namespace_id[]; }; - /** \brief Application attach reply +/** \brief Application attach reply @param context - sender context, to match reply w/ request @param retval - return code for the request @param app_mq - app message queue @@ -70,7 +70,7 @@ define app_attach_reply { string segment_name[]; }; - /** \brief client->vpp, attach application to session layer +/** \brief Application detach from session layer @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request */ @@ -125,6 +125,7 @@ autoreply define app_del_cert_key_pair { @param cert - certificate as a string */ autoreply define application_tls_cert_add { + option deprecated="to be removed post 21.06"; u32 client_index; u32 context; u32 app_index; @@ -140,6 +141,7 @@ autoreply define application_tls_cert_add { @param key - PEM encoded key as a string */ autoreply define application_tls_key_add { + option deprecated="to be removed post 21.06"; u32 client_index; u32 context; u32 app_index; @@ -218,7 +220,7 @@ define app_namespace_add_del { u32 client_index; u32 context; u64 secret; - vl_api_interface_index_t sw_if_index; + vl_api_interface_index_t sw_if_index [default=0xffffffff]; u32 ip4_fib_id; u32 ip6_fib_id; string namespace_id[];