summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp_oad/test_bgp_oad.py
diff options
context:
space:
mode:
authorfmihoub6WIND <farid.mihoub@yandex.com>2022-11-25 11:17:07 +0100
committerFarid Mihoub <farid.mihoub@6wind.com>2023-09-29 08:24:18 +0200
commita4b3f0310855bcc7d834c5f069841a2dbb716feb (patch)
tree7ff201650b69cd33511c470b02ecd81b8eb5b49a /tests/topotests/bgp_oad/test_bgp_oad.py
parent2b8e22f264cc0529847ad640e8df90d62e751ee4 (diff)
zebra: delete label chunk upon release
In zebra/label_manager.c the releasing of the label chunk is done by disowning the chunk to the system. The presence of this system label chunk will cause label assignment to fail for this use case example: label chunk ospf: 300-320 label chunk system: 510-520 label chunk isis: 1200-1300 Then we try to allocate the chunk 500-530, we get this error: "Allocation of mpls label chunk [500/530] failed" The error is raised when the below condition is true: /* if chunk is used, cannot honor request */ if (lmc->proto != NO_PROTO) return NULL; Delete the label chunk instead of disowning it when the label releasing is done. Signed-off-by: Farid MIHOUB <farid.mihoub@6wind.com>
Diffstat (limited to 'tests/topotests/bgp_oad/test_bgp_oad.py')
0 files changed, 0 insertions, 0 deletions