-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bgpd: add 'mpls label dynamic-block' command
Sometimes, a manually configured label value on services like BGP may not be available, as the label value is used by other CP daemons. The below configuration steps show that the BGP configuration remains valid until the next reboot. 1. bgp is configured with l3vpn to get label 60. The manual label [60] is reserved in the zebra label manager. 2. ldp is configured: the dynamic label range [61;189] is reserved in the zebra label manager. 3. the configuration is saved, and a restart happens. The bgp label could not be obtained, because the ldp configuration has obtained first the [16;80] label range. The BGP request failed. The new command 'mpls label dynamic-block' configures the range where the dynamic label values can be picked up. The user can configure a BGP label value outside the range of that dynamic block, and will be guaranteed to not conflict with other CP daemons requesting dynamic chunks of memory. This command introduces the new command. Each label chunk is said to be dynamic, when no base is given in the request. The assign algorithm is modified. Signed-off-by: Philippe Guibert <[email protected]>
- Loading branch information
1 parent
bcc05ad
commit 7eef99d
Showing
4 changed files
with
160 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters