blob: ad83b7402f89fdc949fc662730d0210678896936 [file] [log] [blame]
Neale Ranns976b2592019-12-04 06:11:00 +00001/* Hey Emacs use -*- mode: C -*- */
2/*
3 * Copyright (c) 2018 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
17option version = "1.0.0";
18
19import "vnet/fib/fib_types.api";
20
21typedef fib_source
22{
23 u8 priority;
24 u8 id;
25 string name[64];
26};
27
28define fib_source_add
29{
30 u32 client_index;
31 u32 context;
32 vl_api_fib_source_t src;
33};
34
35define fib_source_add_reply
36{
37 u32 context;
38 i32 retval;
39 u8 id;
40};
41
42define fib_source_dump
43{
44 u32 client_index;
45 u32 context;
46};
47
48define fib_source_details
49{
50 u32 context;
51 vl_api_fib_source_t src;
52};