summaryrefslogtreecommitdiffstats
path: root/yang/frr-route-types.yang
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-01-05 00:32:43 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-11-01 22:13:06 +0100
commitd4aa24ba7df066ee8a9f4bab5c1b4e9ff8474392 (patch)
tree250831364f85b54568614167d4b6bf118348c632 /yang/frr-route-types.yang
parentMerge pull request #14546 from adrianomarto/ospf6-point-to-multipoint (diff)
downloadfrr-d4aa24ba7df066ee8a9f4bab5c1b4e9ff8474392.tar.xz
frr-d4aa24ba7df066ee8a9f4bab5c1b4e9ff8474392.zip
*: Introduce Local Host Routes to FRR
Create Local routes in FRR: S 0.0.0.0/0 [1/0] via 192.168.119.1, enp39s0, weight 1, 00:03:46 K>* 0.0.0.0/0 [0/100] via 192.168.119.1, enp39s0, 00:03:51 O 192.168.119.0/24 [110/100] is directly connected, enp39s0, weight 1, 00:03:46 C>* 192.168.119.0/24 is directly connected, enp39s0, 00:03:51 L>* 192.168.119.224/32 is directly connected, enp39s0, 00:03:51 O 192.168.119.229/32 [110/100] via 0.0.0.0, enp39s0 inactive, weight 1, 00:03:46 C>* 192.168.119.229/32 is directly connected, enp39s0, 00:03:46 Create ability to redistribute local routes. Modify tests to support this change. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'yang/frr-route-types.yang')
-rw-r--r--yang/frr-route-types.yang56
1 files changed, 31 insertions, 25 deletions
diff --git a/yang/frr-route-types.yang b/yang/frr-route-types.yang
index 728607cab..aa676cebc 100644
--- a/yang/frr-route-types.yang
+++ b/yang/frr-route-types.yang
@@ -54,44 +54,47 @@ module frr-route-types {
enum connected {
value 2;
}
- enum static {
+ enum local {
value 3;
}
- enum rip {
+ enum static {
value 4;
}
+ enum rip {
+ value 5;
+ }
enum ospf {
- value 6;
+ value 7;
}
enum isis {
- value 8;
+ value 9;
}
enum bgp {
- value 9;
+ value 10;
}
enum eigrp {
- value 11;
+ value 12;
}
enum nhrp {
- value 12;
+ value 13;
}
enum table {
- value 15;
+ value 16;
}
enum vnc {
- value 17;
+ value 18;
}
enum vnc-direct {
- value 18;
+ value 19;
}
enum babel {
- value 22;
+ value 23;
}
enum sharp {
- value 23;
+ value 24;
}
enum openfabric {
- value 26;
+ value 27;
}
}
}
@@ -104,41 +107,44 @@ module frr-route-types {
enum connected {
value 2;
}
- enum static {
+ enum local {
value 3;
}
+ enum static {
+ value 4;
+ }
enum ripng {
- value 5;
+ value 6;
}
enum ospf6 {
- value 7;
+ value 8;
}
enum isis {
- value 8;
+ value 9;
}
enum bgp {
- value 9;
+ value 10;
}
enum nhrp {
- value 12;
+ value 13;
}
enum table {
- value 15;
+ value 16;
}
enum vnc {
- value 17;
+ value 18;
}
enum vnc-direct {
- value 18;
+ value 19;
}
enum babel {
- value 22;
+ value 23;
}
enum sharp {
- value 23;
+ value 24;
}
enum openfabric {
- value 26;
+ value 27;
}
}
}