1 /* Hey Emacs use -*- mode: C -*- */
3 * Copyright (c) 2016 Cisco and/or its affiliates.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at:
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 /** \brief iOAM Over VxLAN-GPE - Set iOAM transport for VxLAN-GPE
19 @param client_index - opaque cookie to identify the sender
20 @param context - sender context, to match reply w/ request
21 @param id - profile id
22 @param trace_ppc - Trace PPC (none/encap/decap)
23 @param pow_enable - Proof of Work enabled or not flag
24 @param trace_enable - iOAM Trace enabled or not flag
27 autoreply define vxlan_gpe_ioam_enable {
36 /** \brief iOAM for VxLAN-GPE disable
37 @param client_index - opaque cookie to identify the sender
38 @param context - sender context, to match reply w/ request
39 @param id - profile id
41 autoreply define vxlan_gpe_ioam_disable
48 /** \brief Enable iOAM for a VNI (VXLAN-GPE)
49 @param client_index - opaque cookie to identify the sender
50 @param context - sender context, to match reply w/ request
51 @param vni - VXLAN-GPE VNI
52 @param local - IPv4/6 Address of the local VTEP
53 @param remote - IPv4/6 Address of the remote VTEP
56 autoreply define vxlan_gpe_ioam_vni_enable {
65 /** \brief Disable iOAM for a VNI (VXLAN-GPE)
66 @param client_index - opaque cookie to identify the sender
67 @param context - sender context, to match reply w/ request
68 @param vni - VXLAN-GPE VNI
69 @param local - IPv4/6 Address of the local VTEP
70 @param remote - IPv4/6 Address of the remote VTEP
73 autoreply define vxlan_gpe_ioam_vni_disable {
82 /** \brief Enable iOAM for a VXLAN-GPE transit
83 @param client_index - opaque cookie to identify the sender
84 @param context - sender context, to match reply w/ request
85 @param dst_addr - IPv4/6 Address of the local VTEP
86 @param outer_fib_index- FIB index
89 autoreply define vxlan_gpe_ioam_transit_enable {
97 /** \brief Disable iOAM for VXLAN-GPE transit
98 @param client_index - opaque cookie to identify the sender
99 @param context - sender context, to match reply w/ request
100 @param dst_addr - IPv4/6 Address of the local VTEP
101 @param outer_fib_index- FIB index
104 autoreply define vxlan_gpe_ioam_transit_disable {