Blame SOURCES/bz1902045-iface-vlan-vlan-not-unique.patch
|
|
6dc705 |
From 3dd051ed56418dc241417ea02e59db3982b7b92c Mon Sep 17 00:00:00 2001
|
|
|
6dc705 |
From: Oliver Freyermuth <o.freyermuth@googlemail.com>
|
|
|
6dc705 |
Date: Thu, 26 Nov 2020 10:25:01 +0100
|
|
|
6dc705 |
Subject: [PATCH] heartbeat/iface-vlan: vlan_{interface,id} do not have to be
|
|
|
6dc705 |
unique.
|
|
|
6dc705 |
|
|
|
6dc705 |
Machines commonly have several vlan_id attached to one interface,
|
|
|
6dc705 |
and may also have a vlan_id attached to several interfaces.
|
|
|
6dc705 |
|
|
|
6dc705 |
vlan_name will still be unique, usual names are:
|
|
|
6dc705 |
- bond_in.83@bond_in
|
|
|
6dc705 |
- bond_in.84@bond_in
|
|
|
6dc705 |
|
|
|
6dc705 |
fixes #1581
|
|
|
6dc705 |
---
|
|
|
6dc705 |
heartbeat/iface-vlan | 4 ++--
|
|
|
6dc705 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
6dc705 |
|
|
|
6dc705 |
diff --git a/heartbeat/iface-vlan b/heartbeat/iface-vlan
|
|
|
6dc705 |
index cbe7e86da..d0481373c 100755
|
|
|
6dc705 |
--- a/heartbeat/iface-vlan
|
|
|
6dc705 |
+++ b/heartbeat/iface-vlan
|
|
|
6dc705 |
@@ -89,7 +89,7 @@ vlan_meta_data() {
|
|
|
6dc705 |
</shortdesc>
|
|
|
6dc705 |
|
|
|
6dc705 |
<parameters>
|
|
|
6dc705 |
- <parameter name="vlan_interface" unique="1" required="1">
|
|
|
6dc705 |
+ <parameter name="vlan_interface" unique="0" required="1">
|
|
|
6dc705 |
<longdesc lang="en">
|
|
|
6dc705 |
Define the interface where VLAN should be attached.
|
|
|
6dc705 |
</longdesc>
|
|
|
6dc705 |
@@ -99,7 +99,7 @@ vlan_meta_data() {
|
|
|
6dc705 |
<content type="string"/>
|
|
|
6dc705 |
</parameter>
|
|
|
6dc705 |
|
|
|
6dc705 |
- <parameter name="vlan_id" unique="1" required="1">
|
|
|
6dc705 |
+ <parameter name="vlan_id" unique="0" required="1">
|
|
|
6dc705 |
<longdesc lang="en">
|
|
|
6dc705 |
Define the VLAN ID. It has to be a value between 0 and 4094.
|
|
|
6dc705 |
</longdesc>
|