diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-06-15 10:14:03 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-06-15 10:14:03 -0700 |
commit | 85b19a9b420d0ee0682b4376c9a0428d52866473 (patch) | |
tree | bdcdc9e5afaaba3e134d411e6c66dd3184a7a57e /templates/interfaces/bridge | |
parent | e24523cda77d3277844bfe638c086bcf85348f7d (diff) | |
download | vyatta-cfg-system-85b19a9b420d0ee0682b4376c9a0428d52866473.tar.gz vyatta-cfg-system-85b19a9b420d0ee0682b4376c9a0428d52866473.zip |
Remove unnecessary :expression: syntax
Several templates can use simplified non-expression syntax
Diffstat (limited to 'templates/interfaces/bridge')
4 files changed, 8 insertions, 8 deletions
diff --git a/templates/interfaces/bridge/node.tag/aging/node.def b/templates/interfaces/bridge/node.tag/aging/node.def index 533a8ed5..b78f53bf 100644 --- a/templates/interfaces/bridge/node.tag/aging/node.def +++ b/templates/interfaces/bridge/node.tag/aging/node.def @@ -1,7 +1,7 @@ type: u32 help: Set the number of seconds a MAC address will be kept in the forwarding database default: 300 -update:expression: "sudo brctl setageing $VAR(../@) $VAR(@)" -delete:expression: "sudo brctl setageing $VAR(../@) 300" +update: sudo brctl setageing $VAR(../@) $VAR(@) +delete: sudo brctl setageing $VAR(../@) 300 comp_help: possible completions: <number> Set the number of seconds for ageing (default 300) diff --git a/templates/interfaces/bridge/node.tag/hello-time/node.def b/templates/interfaces/bridge/node.tag/hello-time/node.def index 19324a65..a2472720 100644 --- a/templates/interfaces/bridge/node.tag/hello-time/node.def +++ b/templates/interfaces/bridge/node.tag/hello-time/node.def @@ -1,8 +1,8 @@ type: u32 help: Set the hello packet advertisment interval default: 2 -update:expression: "sudo brctl sethello $VAR(../@) $VAR(@)" -delete:expression: "sudo brctl sethello $VAR(../@) 2" +update: sudo brctl sethello $VAR(../@) $VAR(@) +delete: sudo brctl sethello $VAR(../@) 2 comp_help: possible completions: <number> Set the hello packet advertisment interval (default 2) diff --git a/templates/interfaces/bridge/node.tag/max-age/node.def b/templates/interfaces/bridge/node.tag/max-age/node.def index ddfdf129..e69b273c 100644 --- a/templates/interfaces/bridge/node.tag/max-age/node.def +++ b/templates/interfaces/bridge/node.tag/max-age/node.def @@ -1,8 +1,8 @@ type: u32 help: Set the interval at which neighbor bridges are removed default: 20 -update:expression: "sudo brctl setmaxage $VAR(../@) $VAR(@)" -delete:expression: "sudo brctl setmaxage $VAR(../@) 20" +update: sudo brctl setmaxage $VAR(../@) $VAR(@) +delete: sudo brctl setmaxage $VAR(../@) 20 comp_help: possible completions: <number> Set the max age (default 20) diff --git a/templates/interfaces/bridge/node.tag/priority/node.def b/templates/interfaces/bridge/node.tag/priority/node.def index 1084dbf3..d731f49a 100644 --- a/templates/interfaces/bridge/node.tag/priority/node.def +++ b/templates/interfaces/bridge/node.tag/priority/node.def @@ -1,7 +1,7 @@ type: u32 help: Set the priority for this bridge default: 0 -update:expression: "sudo brctl setbridgeprio $VAR(../@) $VAR(@)" -delete:expression: "sudo brctl setbridgeprio $VAR(../@) 0" +update: sudo brctl setbridgeprio $VAR(../@) $VAR(@) +delete: sudo brctl setbridgeprio $VAR(../@) 0 comp_help: possible completions: <number> Set bridge priority (default 0) |