]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: add label chunk range in log when label manager request fails
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 12 Oct 2023 15:44:47 +0000 (17:44 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 13 Oct 2023 12:01:56 +0000 (14:01 +0200)
commit1cedcf7b15ee72fe859189bf772081a141fb50e6
treef88832827cb565ede378bb7798c5e34dcc9341ac
parent69886228326443941a65f87e7ee6fb42323f825b
zebra: add label chunk range in log when label manager request fails

When the label manager is unable to provide a label chunk to
a routing service, an error message is displayed:

> Oct 11 11:47:27 vsr zebra[163745]: [YMY6E-K9JYD][EC 4043309085] Unable to assign Label Chunk to bgp instance 0

There is missing information on the range that was requested.
Add this information in the log message.

> Oct 11 11:47:27 vsr zebra[163745]: [YMY6E-K9JYD][EC 4043309085] Unable to assign Label Chunk 60 - 60 to bgp instance 0

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
zebra/label_manager.c