From c2314cf506a4e37a0b23de46a2e245b088a14389 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 2 Nov 2010 13:05:27 -0700 Subject: Remove non-functional commit test on mtu of vif The syntax of parent MTU was wrong. The underlying driver already checks for MTU so the commit check is not needed. --- templates/interfaces/ethernet/node.tag/vif/node.tag/mtu/node.def | 2 -- 1 file changed, 2 deletions(-) (limited to 'templates/interfaces/ethernet') 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 b824b017..647e5352 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 @@ -2,8 +2,6 @@ type: u32 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" -commit:expression: $VAR(../../mtu) >= $VAR(@); \ - "MTU of VIF must be not be greater than MTU of underlying device" update: ip link set $VAR(../../@).$VAR(../@) mtu $VAR(@) delete: [ -d /sys/class/net/$VAR(../../@).$VAR(../@) ] || exit 0 -- cgit v1.2.3