Commit 024b51c
committed
statd: add support for ip forwarding operational state
This patch unlocks "routing interfaces" support in the ietf-routing yang
model. An array of interface with IP forwarding enabled.
Note, because of #515 we skip IPv6 forwarding for now. This will in the
near future be handled by a per-interface force_forwarding sysctl flag.
The 'show interface [ifname]' admin-exec command has been extended with
a Flags field for a quick overview of which interfaces have forwarding
currently enabled.
Fixes #647
Signed-off-by: Joachim Wiberg <[email protected]>1 parent 1cbc9a4 commit 024b51c
File tree
4 files changed
+70
-8
lines changed- src
- confd/yang/confd
- show
- statd/python
- cli_pretty
- yanger
4 files changed
+70
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | 114 | | |
119 | 115 | | |
120 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
98 | 104 | | |
99 | 105 | | |
100 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| |||
803 | 804 | | |
804 | 805 | | |
805 | 806 | | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
806 | 810 | | |
807 | 811 | | |
808 | 812 | | |
| |||
915 | 919 | | |
916 | 920 | | |
917 | 921 | | |
| 922 | + | |
| 923 | + | |
918 | 924 | | |
919 | 925 | | |
920 | 926 | | |
921 | 927 | | |
922 | 928 | | |
923 | 929 | | |
924 | | - | |
| 930 | + | |
| 931 | + | |
925 | 932 | | |
926 | 933 | | |
927 | 934 | | |
| |||
930 | 937 | | |
931 | 938 | | |
932 | 939 | | |
933 | | - | |
| 940 | + | |
| 941 | + | |
934 | 942 | | |
935 | 943 | | |
936 | 944 | | |
937 | 945 | | |
938 | 946 | | |
939 | 947 | | |
940 | 948 | | |
941 | | - | |
| 949 | + | |
| 950 | + | |
942 | 951 | | |
943 | 952 | | |
944 | 953 | | |
| |||
1184 | 1193 | | |
1185 | 1194 | | |
1186 | 1195 | | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
1187 | 1201 | | |
1188 | 1202 | | |
1189 | 1203 | | |
| |||
1204 | 1218 | | |
1205 | 1219 | | |
1206 | 1220 | | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
1207 | 1224 | | |
1208 | 1225 | | |
1209 | 1226 | | |
| |||
1407 | 1424 | | |
1408 | 1425 | | |
1409 | 1426 | | |
1410 | | - | |
| 1427 | + | |
| 1428 | + | |
1411 | 1429 | | |
1412 | 1430 | | |
1413 | 1431 | | |
1414 | 1432 | | |
1415 | 1433 | | |
1416 | 1434 | | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
1417 | 1442 | | |
1418 | 1443 | | |
1419 | 1444 | | |
| |||
1472 | 1497 | | |
1473 | 1498 | | |
1474 | 1499 | | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
1475 | 1507 | | |
1476 | 1508 | | |
1477 | 1509 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
127 | 152 | | |
128 | 153 | | |
129 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
130 | 158 | | |
131 | 159 | | |
132 | 160 | | |
| |||
0 commit comments