]> git.proxmox.com Git - mirror_frr.git/blob - yang/frr-affinity-map.yang
ripd: Implement `allow-ecmp X` command
[mirror_frr.git] / yang / frr-affinity-map.yang
1 module frr-affinity-map {
2 yang-version 1.1;
3 namespace "http://frrouting.org/yang/affinity-map";
4 prefix frr-affinity-map;
5
6 import ietf-inet-types {
7 prefix inet;
8 }
9
10 import frr-filter {
11 prefix filter;
12 }
13
14 import frr-interface {
15 prefix frr-interface;
16 }
17
18 organization
19 "FRRouting";
20 contact
21 "FRR Users List: <mailto:frog@lists.frrouting.org>
22 FRR Development List: <mailto:dev@lists.frrouting.org>";
23 description
24 "This module defines route map settings
25
26 Copyright 2022 FRRouting
27
28 Redistribution and use in source and binary forms, with or without
29 modification, are permitted provided that the following conditions
30 are met:
31
32 1. Redistributions of source code must retain the above copyright notice,
33 this list of conditions and the following disclaimer.
34
35 2. Redistributions in binary form must reproduce the above copyright
36 notice, this list of conditions and the following disclaimer in the
37 documentation and/or other materials provided with the distribution.
38
39 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
40 \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
41 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
42 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
43 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
44 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
45 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
46 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
47 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
48 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
49 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.";
50
51 revision 2022-11-03 {
52 description
53 "Initial revision";
54 }
55
56 container lib {
57 container affinity-maps {
58 description
59 "Affinity Mapping Table";
60 list affinity-map {
61 key "name";
62 description
63 "Affinity Mapping configuration";
64 leaf name {
65 type string {
66 length "1..32";
67 }
68 description
69 "Affinity Name";
70 }
71 leaf value {
72 type uint16 {
73 range "0..1023";
74 }
75 description
76 "Bit position";
77 }
78 }
79 }
80 }
81 }