diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2009-03-25 18:20:17 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2009-03-25 18:20:17 -0700 |
commit | 1ac2935ac9ae14eb63509fbd65a34623406646c9 (patch) | |
tree | 97f27ed5828169413e12bd836749b6bda5a78251 /templates | |
parent | 93c768ea260969f4b625bc864371a9bfc5a893b9 (diff) | |
download | vyatta-cfg-quagga-1ac2935ac9ae14eb63509fbd65a34623406646c9.tar.gz vyatta-cfg-quagga-1ac2935ac9ae14eb63509fbd65a34623406646c9.zip |
Add "interface ethernet <> bridge-group bridge" update tag in addition to create tag.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/interfaces/ethernet/node.tag/bridge-group/node.def | 2 | ||||
-rw-r--r-- | templates/interfaces/ethernet/node.tag/vif/node.tag/bridge-group/node.def | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/templates/interfaces/ethernet/node.tag/bridge-group/node.def b/templates/interfaces/ethernet/node.tag/bridge-group/node.def index 9309f683..fbff9acd 100644 --- a/templates/interfaces/ethernet/node.tag/bridge-group/node.def +++ b/templates/interfaces/ethernet/node.tag/bridge-group/node.def @@ -1,6 +1,8 @@ help: Add this interface to a bridge group create: sudo brctl addif $VAR(./bridge/@) $VAR(../@); +update:expression: "false"; \ + "Delete previous bridge group first" delete: touch /tmp/eth-$VAR(../@)-bridge.$PPID; diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/bridge-group/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/bridge-group/node.def index afd2fc84..7e33b9d5 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/bridge-group/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/bridge-group/node.def @@ -1,6 +1,8 @@ help: Add this interface to a bridge group create: sudo brctl addif $VAR(./bridge/@) $VAR(../../@).$VAR(../@); +update:expression: "false"; \ + "Delete previous bridge group first" delete: touch /tmp/eth-$VAR(../@)-bridge.$PPID; |