From af1b037bfc37ac9f0ed55c8e71aa59cc7c216995 Mon Sep 17 00:00:00 2001 From: Alex Harpin Date: Thu, 26 Feb 2015 10:27:26 +0000 Subject: vyatta-cfg-system: adjust mtu node priority to set mtu after parent Adjusting the mtu node prority from 381 to 382 so child interfaces set their MTU after the parent interface. This was reported for multiple vifs when setting the MTU to 9000 for jumbo frames, although it only exhibited it when more than one vif was configured. Bug #473 http://bugzilla.vyos.net/show_bug.cgi?id=473 --- templates/interfaces/bonding/node.tag/vif-s/node.tag/mtu/node.def | 2 +- .../bonding/node.tag/vif-s/node.tag/vif-c/node.tag/mtu/node.def | 2 +- templates/interfaces/bonding/node.tag/vif/node.tag/mtu/node.def | 2 +- templates/interfaces/ethernet/node.tag/vif-s/node.tag/mtu/node.def | 2 +- .../ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mtu/node.def | 2 +- templates/interfaces/ethernet/node.tag/vif/node.tag/mtu/node.def | 2 +- .../interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/mtu/node.def | 2 +- .../pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mtu/node.def | 2 +- templates/interfaces/pseudo-ethernet/node.tag/vif/node.tag/mtu/node.def | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/templates/interfaces/bonding/node.tag/vif-s/node.tag/mtu/node.def b/templates/interfaces/bonding/node.tag/vif-s/node.tag/mtu/node.def index e0d3c3f9..d6151dcb 100644 --- a/templates/interfaces/bonding/node.tag/vif-s/node.tag/mtu/node.def +++ b/templates/interfaces/bonding/node.tag/vif-s/node.tag/mtu/node.def @@ -1,5 +1,5 @@ type: u32 -priority: 381 +priority: 382 help: Maximum Transmission Unit (MTU) val_help: u32:68-9000; Maximum Transmission Unit (MTU) syntax:expression: $VAR(@) >= 68 && $VAR(@) <= 9000; "MTU must be between 68 and 9000" diff --git a/templates/interfaces/bonding/node.tag/vif-s/node.tag/vif-c/node.tag/mtu/node.def b/templates/interfaces/bonding/node.tag/vif-s/node.tag/vif-c/node.tag/mtu/node.def index eea81e2a..ca8795ee 100644 --- a/templates/interfaces/bonding/node.tag/vif-s/node.tag/vif-c/node.tag/mtu/node.def +++ b/templates/interfaces/bonding/node.tag/vif-s/node.tag/vif-c/node.tag/mtu/node.def @@ -1,5 +1,5 @@ type: u32 -priority: 381 +priority: 382 help: Maximum Transmission Unit (MTU) val_help: u32:68-9000; Maximum Transmission Unit (MTU) syntax:expression: $VAR(@) >= 68 && $VAR(@) <= 9000; "MTU must be between 68 and 9000" diff --git a/templates/interfaces/bonding/node.tag/vif/node.tag/mtu/node.def b/templates/interfaces/bonding/node.tag/vif/node.tag/mtu/node.def index e0d3c3f9..d6151dcb 100644 --- a/templates/interfaces/bonding/node.tag/vif/node.tag/mtu/node.def +++ b/templates/interfaces/bonding/node.tag/vif/node.tag/mtu/node.def @@ -1,5 +1,5 @@ type: u32 -priority: 381 +priority: 382 help: Maximum Transmission Unit (MTU) val_help: u32:68-9000; Maximum Transmission Unit (MTU) syntax:expression: $VAR(@) >= 68 && $VAR(@) <= 9000; "MTU must be between 68 and 9000" diff --git a/templates/interfaces/ethernet/node.tag/vif-s/node.tag/mtu/node.def b/templates/interfaces/ethernet/node.tag/vif-s/node.tag/mtu/node.def index e0d3c3f9..d6151dcb 100644 --- a/templates/interfaces/ethernet/node.tag/vif-s/node.tag/mtu/node.def +++ b/templates/interfaces/ethernet/node.tag/vif-s/node.tag/mtu/node.def @@ -1,5 +1,5 @@ type: u32 -priority: 381 +priority: 382 help: Maximum Transmission Unit (MTU) val_help: u32:68-9000; Maximum Transmission Unit (MTU) syntax:expression: $VAR(@) >= 68 && $VAR(@) <= 9000; "MTU must be between 68 and 9000" diff --git a/templates/interfaces/ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mtu/node.def b/templates/interfaces/ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mtu/node.def index eea81e2a..ca8795ee 100644 --- a/templates/interfaces/ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mtu/node.def +++ b/templates/interfaces/ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mtu/node.def @@ -1,5 +1,5 @@ type: u32 -priority: 381 +priority: 382 help: Maximum Transmission Unit (MTU) val_help: u32:68-9000; Maximum Transmission Unit (MTU) syntax:expression: $VAR(@) >= 68 && $VAR(@) <= 9000; "MTU must be between 68 and 9000" diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/mtu/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/mtu/node.def index e0d3c3f9..d6151dcb 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/mtu/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/mtu/node.def @@ -1,5 +1,5 @@ type: u32 -priority: 381 +priority: 382 help: Maximum Transmission Unit (MTU) val_help: u32:68-9000; Maximum Transmission Unit (MTU) syntax:expression: $VAR(@) >= 68 && $VAR(@) <= 9000; "MTU must be between 68 and 9000" diff --git a/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/mtu/node.def b/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/mtu/node.def index e0d3c3f9..d6151dcb 100644 --- a/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/mtu/node.def +++ b/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/mtu/node.def @@ -1,5 +1,5 @@ type: u32 -priority: 381 +priority: 382 help: Maximum Transmission Unit (MTU) val_help: u32:68-9000; Maximum Transmission Unit (MTU) syntax:expression: $VAR(@) >= 68 && $VAR(@) <= 9000; "MTU must be between 68 and 9000" diff --git a/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mtu/node.def b/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mtu/node.def index eea81e2a..ca8795ee 100644 --- a/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mtu/node.def +++ b/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mtu/node.def @@ -1,5 +1,5 @@ type: u32 -priority: 381 +priority: 382 help: Maximum Transmission Unit (MTU) val_help: u32:68-9000; Maximum Transmission Unit (MTU) syntax:expression: $VAR(@) >= 68 && $VAR(@) <= 9000; "MTU must be between 68 and 9000" diff --git a/templates/interfaces/pseudo-ethernet/node.tag/vif/node.tag/mtu/node.def b/templates/interfaces/pseudo-ethernet/node.tag/vif/node.tag/mtu/node.def index e0d3c3f9..d6151dcb 100644 --- a/templates/interfaces/pseudo-ethernet/node.tag/vif/node.tag/mtu/node.def +++ b/templates/interfaces/pseudo-ethernet/node.tag/vif/node.tag/mtu/node.def @@ -1,5 +1,5 @@ type: u32 -priority: 381 +priority: 382 help: Maximum Transmission Unit (MTU) val_help: u32:68-9000; Maximum Transmission Unit (MTU) syntax:expression: $VAR(@) >= 68 && $VAR(@) <= 9000; "MTU must be between 68 and 9000" -- cgit v1.2.3