diff options
| author | Louis Scalbert <louis.scalbert@6wind.com> | 2024-07-25 09:34:10 +0200 |
|---|---|---|
| committer | Louis Scalbert <louis.scalbert@6wind.com> | 2024-07-26 11:28:00 +0200 |
| commit | ae27101e6ff8b636f02254ba0aa2217239d896e1 (patch) | |
| tree | 312e23525322a6fd26e19d59c88538cb50a86b47 /lib/filter_cli.c | |
| parent | 9c0e668050b2ae77257cdcb780d444edb78c036b (diff) | |
isisd: fix building asla at first flex-algo config
When an color affinity is set on an interface before configuring the
flex-algorithm, the ASLA (Application Specific Link-Attribute) sub-TLV
is not build. Flex-algo fails to build the paths when a affinity
constraint is required because of the lacking of information contained
in ASLA. There are no problems when the configuration order is reversed.
For example:
> affinity-map red bit-position 1
>
> interface eth2
> link-params
> affinity red
>
> router isis 1
> mpls-te on
> flex-algo 129
> dataplane sr-mpls
> advertise-definition
> affinity include-any green
In isis_link_params_update_asla(), the ASLA sub-TLV is not build when
the list of flex-algos is empty.
Update ASLA when the first flex-algorithm is configured.
Fixes: 893882ee20 ("isisd: add isis flex-algo configuration backend")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'lib/filter_cli.c')
0 files changed, 0 insertions, 0 deletions
