mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 08:23:56 +00:00
lib: Always attempt to set mpls platform_labels
The code was not attempting to set the max platform_labels on a per router basis, leaving us w/ situations where mpls install would fail because platform_labels was 0. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
9aecc71d53
commit
a93eb16a51
@ -788,7 +788,7 @@ class Router(Node):
|
||||
self.hasmpls = True
|
||||
if self.hasmpls != True:
|
||||
return "LDP/MPLS Tests need mpls kernel modules"
|
||||
self.cmd('echo 100000 > /proc/sys/net/mpls/platform_labels')
|
||||
self.cmd('echo 100000 > /proc/sys/net/mpls/platform_labels')
|
||||
|
||||
if self.daemons['eigrpd'] == 1:
|
||||
eigrpd_path = os.path.join(self.daemondir, 'eigrpd')
|
||||
|
Loading…
Reference in New Issue
Block a user