FD.io VPP
v17.07.01-10-g3be13f0
Vector Packet Processing
Main Page
Related Pages
Data Structures
Source
Files
Symbols
ioam_vxlan_gpe.api
Go to the documentation of this file.
1
/* Hey Emacs use -*- mode: C -*- */
2
/*
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:
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
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.
15
*/
16
17
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
25
26
*/
27
autoreply define
vxlan_gpe_ioam_enable
{
28
u32
client_index
;
29
u32
context
;
30
u16
id
;
31
u8
trace_ppc
;
32
u8
pow_enable
;
33
u8
trace_enable
;
34
};
35
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
40
*/
41
autoreply define
vxlan_gpe_ioam_disable
42
{
43
u32
client_index
;
44
u32
context
;
45
u16
id
;
46
};
47
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
54
55
*/
56
autoreply define vxlan_gpe_ioam_vni_enable {
57
u32
client_index
;
58
u32
context
;
59
u32
vni
;
60
u8
local[16];
61
u8
remote[16];
62
u8
is_ipv6
;
63
};
64
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
71
72
*/
73
autoreply define vxlan_gpe_ioam_vni_disable {
74
u32
client_index
;
75
u32
context
;
76
u32
vni
;
77
u8
local[16];
78
u8
remote[16];
79
u8
is_ipv6
;
80
};
81
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
87
88
*/
89
autoreply define vxlan_gpe_ioam_transit_enable {
90
u32
client_index
;
91
u32
context
;
92
u32
outer_fib_index
;
93
u8
dst_addr[16];
94
u8
is_ipv6
;
95
};
96
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
102
103
*/
104
autoreply define vxlan_gpe_ioam_transit_disable {
105
u32
client_index
;
106
u32
context
;
107
u32
outer_fib_index
;
108
u8
dst_addr[16];
109
u8
is_ipv6
;
110
};
111
vxlan_gpe_ioam_enable
clib_error_t * vxlan_gpe_ioam_enable(int has_trace_option, int has_pot_option, int has_ppc_option)
Definition:
vxlan_gpe_ioam.c:528
vl_api_vxlan_gpe_ioam_vni_enable_t::context
u32 context
Definition:
ioam_vxlan_gpe.api:58
vl_api_vxlan_gpe_ioam_vni_disable_t::vni
u32 vni
Definition:
ioam_vxlan_gpe.api:76
vl_api_vxlan_gpe_ioam_vni_enable_t::is_ipv6
u8 is_ipv6
Definition:
ioam_vxlan_gpe.api:62
vl_api_vxlan_gpe_ioam_vni_disable_t::context
u32 context
Definition:
ioam_vxlan_gpe.api:75
vl_api_vxlan_gpe_ioam_vni_disable_t::client_index
u32 client_index
Definition:
ioam_vxlan_gpe.api:74
vl_api_vxlan_gpe_ioam_transit_disable_t::outer_fib_index
u32 outer_fib_index
Definition:
ioam_vxlan_gpe.api:107
vl_api_vxlan_gpe_ioam_enable_t::context
u32 context
Definition:
ioam_vxlan_gpe.api:29
vxlan_gpe_ioam_disable
clib_error_t * vxlan_gpe_ioam_disable(int has_trace_option, int has_pot_option, int has_ppc_option)
Definition:
vxlan_gpe_ioam.c:544
vl_api_vxlan_gpe_ioam_transit_enable_t::context
u32 context
Definition:
ioam_vxlan_gpe.api:91
vl_api_vxlan_gpe_ioam_disable_t::id
u16 id
Definition:
ioam_vxlan_gpe.api:45
vl_api_vxlan_gpe_ioam_enable_t::client_index
u32 client_index
Definition:
ioam_vxlan_gpe.api:28
vl_api_vxlan_gpe_ioam_vni_enable_t::client_index
u32 client_index
Definition:
ioam_vxlan_gpe.api:57
vl_api_vxlan_gpe_ioam_enable_t::id
u16 id
Definition:
ioam_vxlan_gpe.api:30
u32
unsigned int u32
Definition:
types.h:88
vl_api_vxlan_gpe_ioam_transit_enable_t::outer_fib_index
u32 outer_fib_index
Definition:
ioam_vxlan_gpe.api:92
vl_api_vxlan_gpe_ioam_vni_enable_t::vni
u32 vni
Definition:
ioam_vxlan_gpe.api:59
vl_api_vxlan_gpe_ioam_enable_t::trace_ppc
u8 trace_ppc
Definition:
ioam_vxlan_gpe.api:31
vl_api_vxlan_gpe_ioam_enable_t::pow_enable
u8 pow_enable
Definition:
ioam_vxlan_gpe.api:32
vl_api_vxlan_gpe_ioam_vni_disable_t::is_ipv6
u8 is_ipv6
Definition:
ioam_vxlan_gpe.api:79
u16
unsigned short u16
Definition:
types.h:57
vl_api_vxlan_gpe_ioam_transit_enable_t::client_index
u32 client_index
Definition:
ioam_vxlan_gpe.api:90
u8
unsigned char u8
Definition:
types.h:56
vl_api_vxlan_gpe_ioam_transit_enable_t::is_ipv6
u8 is_ipv6
Definition:
ioam_vxlan_gpe.api:94
vl_api_vxlan_gpe_ioam_transit_disable_t::client_index
u32 client_index
Definition:
ioam_vxlan_gpe.api:105
vl_api_vxlan_gpe_ioam_transit_disable_t::context
u32 context
Definition:
ioam_vxlan_gpe.api:106
vl_api_vxlan_gpe_ioam_disable_t::context
u32 context
Definition:
ioam_vxlan_gpe.api:44
vl_api_vxlan_gpe_ioam_enable_t::trace_enable
u8 trace_enable
Definition:
ioam_vxlan_gpe.api:33
vl_api_vxlan_gpe_ioam_transit_disable_t::is_ipv6
u8 is_ipv6
Definition:
ioam_vxlan_gpe.api:109
vl_api_vxlan_gpe_ioam_disable_t::client_index
u32 client_index
Definition:
ioam_vxlan_gpe.api:43
src
plugins
ioam
lib-vxlan-gpe
ioam_vxlan_gpe.api
Generated on Tue Nov 7 2017 14:25:49 for FD.io VPP by
1.8.11