summaryrefslogtreecommitdiff
path: root/python/makefile.py
diff options
context:
space:
mode:
authorHiroki Shirokura <hiroki.shirokura@linecorp.com>2022-01-04 08:15:56 +0000
committerLouis Scalbert <louis.scalbert@6wind.com>2023-04-18 10:11:53 +0200
commitbdaafbf8344debcb24498c69d9024f9fc7cff56a (patch)
tree67b43e5e3bd272611d2ea445039719b6791d6099 /python/makefile.py
parent484ab40511861136aa746d0936816f4380715431 (diff)
isisd: update struct isis_sr_psid_info with nh context
Prefix-SID nexthops and backup nexthops are stored respectively in isis_route_info->nexthops and isis_route_info->backup->nexthops. With Flex-Algo, there are multiple Prefix-SIDs for a single prefix in different algorithms. Each of these Prefix-SIDs performs SPF calculation with a separate contract and sets a nexthops, so it is necessary to store a different set nexthops for each Prefix-SID. Add a nexthops and backup nethops list into the Prefix-SID isis_sr_psid_info struct and use these lists instead of the when needed After this commit, the nexthops for each Prefix-SID is not taken from route_info, but the nexthop set inside the Prefix-SID is taken. This works for backup nexthops as well. Signed-off-by: Hiroki Shirokura <hiroki.shirokura@linecorp.com> Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'python/makefile.py')
0 files changed, 0 insertions, 0 deletions