2 * Copyright (c) 2015-2016 Cisco and/or its affiliates.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
16 /** \brief GPE locator structure
17 @param is_ip4 - whether addr is IPv4 or v6
18 @param weight - locator weight
19 @param addr - IPv4/6 address
21 typeonly manual_print manual_endian define gpe_locator
28 /** \brief add or delete GPE tunnel
29 @param client_index - opaque cookie to identify the sender
30 @param context - sender context, to match reply w/ request
31 @param is_add - add address if non-zero, else delete
36 @param rmt_eid - remote eid
37 @param lcl_eid - local eid
38 @param rmt_len - remote prefix len
39 @param lcl_len - local prefix len
40 @param vni - virtual network identifier
41 @param dp_table - vrf/bridge domain id
42 @param action - negative action when 0 locators configured
43 @param loc_num - number of locators
44 @param locs - array of remote locators
46 autoreply manual_print manual_endian define gpe_add_del_fwd_entry
60 vl_api_gpe_locator_t locs[loc_num];
63 /** \brief enable or disable gpe protocol
64 @param client_index - opaque cookie to identify the sender
65 @param context - sender context, to match reply w/ request
66 @param is_en - enable protocol if non-zero, else disable
68 autoreply define gpe_enable_disable
75 /** \brief add or delete gpe_iface
76 @param client_index - opaque cookie to identify the sender
77 @param context - sender context, to match reply w/ request
78 @param is_add - add address if non-zero, else delete
80 autoreply define gpe_add_del_iface
90 define gpe_fwd_entries_get
97 typeonly manual_print manual_endian define gpe_fwd_entry
108 manual_print manual_endian define gpe_fwd_entries_get_reply
113 vl_api_gpe_fwd_entry_t entries[count];
116 define gpe_fwd_entry_path_dump
123 manual_endian manual_print define gpe_fwd_entry_path_details
127 vl_api_gpe_locator_t lcl_loc;
128 vl_api_gpe_locator_t rmt_loc;
131 /** \brief Set GPE encapsulation mode
132 @param client_index - opaque cookie to identify the sender
133 @param context - sender context, to match reply w/ request
134 @param mode - LISP (value 0) or VXLAN (value 1)
136 autoreply define gpe_set_encap_mode
143 /** \brief get GPE encapsulation mode
144 @param client_index - opaque cookie to identify the sender
145 @param context - sender context, to match reply w/ request
146 @param mode - LISP (value 0) or VXLAN (value 1)
148 define gpe_get_encap_mode
154 /** \brief Reply for set_encap_mode
155 @param context - returned sender context, to match reply w/ request
156 @param retval - return code
157 @param encap_mode - GPE encapsulation mode
159 define gpe_get_encap_mode_reply
168 * eval: (c-set-style "gnu")