summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-01-26 21:42:58 +0100
committerDaniil Baturin <daniil@baturin.org>2019-01-26 21:42:58 +0100
commit51cd34da47416003dda9ee2c10297a58cd2ed098 (patch)
tree41898c6037a5b29061e39033a0489bf4d13e9970 /templates
parent85dc32785d785eca5512ceec78b2058c0aaa6b67 (diff)
downloadvyatta-cfg-system-51cd34da47416003dda9ee2c10297a58cd2ed098.tar.gz
vyatta-cfg-system-51cd34da47416003dda9ee2c10297a58cd2ed098.zip
T113: add a MAC address option for 802.1q and 802.1ad VLANs.
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/bonding/node.tag/vif-s/node.tag/mac/node.def4
-rw-r--r--templates/interfaces/bonding/node.tag/vif-s/node.tag/vif-c/node.tag/mac/node.def4
-rw-r--r--templates/interfaces/bonding/node.tag/vif/node.tag/mac/node.def4
-rw-r--r--templates/interfaces/ethernet/node.tag/vif-s/node.tag/mac/node.def4
-rw-r--r--templates/interfaces/ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mac/node.def4
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/mac/node.def4
-rw-r--r--templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/mac/node.def4
-rw-r--r--templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mac/node.def4
-rw-r--r--templates/interfaces/pseudo-ethernet/node.tag/vif/node.tag/mac/node.def4
9 files changed, 36 insertions, 0 deletions
diff --git a/templates/interfaces/bonding/node.tag/vif-s/node.tag/mac/node.def b/templates/interfaces/bonding/node.tag/vif-s/node.tag/mac/node.def
new file mode 100644
index 00000000..750710ec
--- /dev/null
+++ b/templates/interfaces/bonding/node.tag/vif-s/node.tag/mac/node.def
@@ -0,0 +1,4 @@
+type: macaddr
+help: Media Access Control (MAC) address
+
+update: /opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(../../@).$VAR(../@) --set-mac $VAR(@)
diff --git a/templates/interfaces/bonding/node.tag/vif-s/node.tag/vif-c/node.tag/mac/node.def b/templates/interfaces/bonding/node.tag/vif-s/node.tag/vif-c/node.tag/mac/node.def
new file mode 100644
index 00000000..24b4b4d7
--- /dev/null
+++ b/templates/interfaces/bonding/node.tag/vif-s/node.tag/vif-c/node.tag/mac/node.def
@@ -0,0 +1,4 @@
+type: macaddr
+help: Media Access Control (MAC) address
+
+update: /opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(../../../@).$VAR(../../@).$VAR(../@) --set-mac $VAR(@)
diff --git a/templates/interfaces/bonding/node.tag/vif/node.tag/mac/node.def b/templates/interfaces/bonding/node.tag/vif/node.tag/mac/node.def
new file mode 100644
index 00000000..750710ec
--- /dev/null
+++ b/templates/interfaces/bonding/node.tag/vif/node.tag/mac/node.def
@@ -0,0 +1,4 @@
+type: macaddr
+help: Media Access Control (MAC) address
+
+update: /opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(../../@).$VAR(../@) --set-mac $VAR(@)
diff --git a/templates/interfaces/ethernet/node.tag/vif-s/node.tag/mac/node.def b/templates/interfaces/ethernet/node.tag/vif-s/node.tag/mac/node.def
new file mode 100644
index 00000000..750710ec
--- /dev/null
+++ b/templates/interfaces/ethernet/node.tag/vif-s/node.tag/mac/node.def
@@ -0,0 +1,4 @@
+type: macaddr
+help: Media Access Control (MAC) address
+
+update: /opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(../../@).$VAR(../@) --set-mac $VAR(@)
diff --git a/templates/interfaces/ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mac/node.def b/templates/interfaces/ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mac/node.def
new file mode 100644
index 00000000..24b4b4d7
--- /dev/null
+++ b/templates/interfaces/ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mac/node.def
@@ -0,0 +1,4 @@
+type: macaddr
+help: Media Access Control (MAC) address
+
+update: /opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(../../../@).$VAR(../../@).$VAR(../@) --set-mac $VAR(@)
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/mac/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/mac/node.def
new file mode 100644
index 00000000..750710ec
--- /dev/null
+++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/mac/node.def
@@ -0,0 +1,4 @@
+type: macaddr
+help: Media Access Control (MAC) address
+
+update: /opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(../../@).$VAR(../@) --set-mac $VAR(@)
diff --git a/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/mac/node.def b/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/mac/node.def
new file mode 100644
index 00000000..750710ec
--- /dev/null
+++ b/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/mac/node.def
@@ -0,0 +1,4 @@
+type: macaddr
+help: Media Access Control (MAC) address
+
+update: /opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(../../@).$VAR(../@) --set-mac $VAR(@)
diff --git a/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mac/node.def b/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mac/node.def
new file mode 100644
index 00000000..24b4b4d7
--- /dev/null
+++ b/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mac/node.def
@@ -0,0 +1,4 @@
+type: macaddr
+help: Media Access Control (MAC) address
+
+update: /opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(../../../@).$VAR(../../@).$VAR(../@) --set-mac $VAR(@)
diff --git a/templates/interfaces/pseudo-ethernet/node.tag/vif/node.tag/mac/node.def b/templates/interfaces/pseudo-ethernet/node.tag/vif/node.tag/mac/node.def
new file mode 100644
index 00000000..750710ec
--- /dev/null
+++ b/templates/interfaces/pseudo-ethernet/node.tag/vif/node.tag/mac/node.def
@@ -0,0 +1,4 @@
+type: macaddr
+help: Media Access Control (MAC) address
+
+update: /opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(../../@).$VAR(../@) --set-mac $VAR(@)