From 51cd34da47416003dda9ee2c10297a58cd2ed098 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Sat, 26 Jan 2019 21:42:58 +0100 Subject: T113: add a MAC address option for 802.1q and 802.1ad VLANs. --- templates/interfaces/bonding/node.tag/vif-s/node.tag/mac/node.def | 4 ++++ .../bonding/node.tag/vif-s/node.tag/vif-c/node.tag/mac/node.def | 4 ++++ templates/interfaces/bonding/node.tag/vif/node.tag/mac/node.def | 4 ++++ templates/interfaces/ethernet/node.tag/vif-s/node.tag/mac/node.def | 4 ++++ .../ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mac/node.def | 4 ++++ templates/interfaces/ethernet/node.tag/vif/node.tag/mac/node.def | 4 ++++ .../interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/mac/node.def | 4 ++++ .../node.tag/vif-s/node.tag/vif-c/node.tag/mac/node.def | 4 ++++ .../interfaces/pseudo-ethernet/node.tag/vif/node.tag/mac/node.def | 4 ++++ 9 files changed, 36 insertions(+) create mode 100644 templates/interfaces/bonding/node.tag/vif-s/node.tag/mac/node.def create mode 100644 templates/interfaces/bonding/node.tag/vif-s/node.tag/vif-c/node.tag/mac/node.def create mode 100644 templates/interfaces/bonding/node.tag/vif/node.tag/mac/node.def create mode 100644 templates/interfaces/ethernet/node.tag/vif-s/node.tag/mac/node.def create mode 100644 templates/interfaces/ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mac/node.def create mode 100644 templates/interfaces/ethernet/node.tag/vif/node.tag/mac/node.def create mode 100644 templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/mac/node.def create mode 100644 templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/mac/node.def create mode 100644 templates/interfaces/pseudo-ethernet/node.tag/vif/node.tag/mac/node.def (limited to 'templates') 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(@) -- cgit v1.2.3