Commit fa966d7
SwitchState: MySid FRR backup next-hop-set fields
Summary:
SwitchState schema for SRv6 midpoint FRR. Add to `MySidFields` and expose via `MySid` accessors:
- `backupResolvedNextHopsId`: the resolved backup (standby) next-hop set id.
- `backupUnresolveNextHopsId`: the requested (unresolved) backup set id set by the addAdjacencyFrr thrift API; the RIB resolves it into `backupResolvedNextHopsId`, symmetric to `unresolveNextHopsId` -> `resolvedNextHopsId` for the primary.
- `monitoredAggPortId`: the LAG the HW protection group monitors for failover.
Additive schema change, no behavior. Regenerated `fsdb_model_thriftpath.h` (generated).
Unit test: `MySidTest.BackupAndMonitoredAggAccessors` round-trips the new backup/monitored accessors (set / get / reset).
Foundation of the SRv6 midpoint FRR stack (diffs 1/8..8/8); additive and dormant until the SAI / RIB / thrift / observer diffs above it are in effect.
Reviewed By: jasmeetbagga
Differential Revision: D110984229
fbshipit-source-id: e39e1e1cdb0e28862d70433036de0780793a59281 parent 64cceb4 commit fa966d7
4 files changed
Lines changed: 67 additions & 0 deletions
File tree
- fboss
- agent
- state
- tests
- fsdb/if/oss
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
131 | 163 | | |
132 | 164 | | |
133 | 165 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
692 | 702 | | |
693 | 703 | | |
694 | 704 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7589 | 7589 | | |
7590 | 7590 | | |
7591 | 7591 | | |
| 7592 | + | |
| 7593 | + | |
7592 | 7594 | | |
7593 | 7595 | | |
7594 | 7596 | | |
| |||
0 commit comments