Mailinglist Archive: yast-commit (759 mails)
| < Previous | Next > |
[yast-commit] r45262 - in /branches/SuSE-SLE-10-SP2-Branch/network: package/yast2-network.changes src/lan/address.ycp
- From: mzugec@xxxxxxxxxxxxxxxx
- Date: Thu, 06 Mar 2008 12:00:10 -0000
- Message-id: <20080306120010.BBD2A17678@xxxxxxxxxxxxxxxx>
Author: mzugec
Date: Thu Mar 6 13:00:10 2008
New Revision: 45262
URL: http://svn.opensuse.org/viewcvs/yast?rev=45262&view=rev
Log:
allow using vlan also with bond and bridge devices (bnc#367093)
Modified:
branches/SuSE-SLE-10-SP2-Branch/network/package/yast2-network.changes
branches/SuSE-SLE-10-SP2-Branch/network/src/lan/address.ycp
Modified: branches/SuSE-SLE-10-SP2-Branch/network/package/yast2-network.changes
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/network/package/yast2-network.changes?rev=45262&r1=45261&r2=45262&view=diff
==============================================================================
--- branches/SuSE-SLE-10-SP2-Branch/network/package/yast2-network.changes
(original)
+++ branches/SuSE-SLE-10-SP2-Branch/network/package/yast2-network.changes Thu
Mar 6 13:00:10 2008
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Thu Mar 6 13:03:02 CET 2008 - mzugec@xxxxxxx
+
+- allow using vlan also with bond and bridge devices (bnc#367093)
+- 2.13.111
+
+-------------------------------------------------------------------
Tue Feb 19 14:37:51 CET 2008 - mzugec@xxxxxxx
- exception for PPC (bnc#361063) - some drivers are built-in
Modified: branches/SuSE-SLE-10-SP2-Branch/network/src/lan/address.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/network/src/lan/address.ycp?rev=45262&r1=45261&r2=45262&view=diff
==============================================================================
--- branches/SuSE-SLE-10-SP2-Branch/network/src/lan/address.ycp (original)
+++ branches/SuSE-SLE-10-SP2-Branch/network/src/lan/address.ycp Thu Mar 6
13:00:10 2008
@@ -133,10 +133,15 @@
void InitVLANSlave(string key)
{
list items = [];
+ // unconfigured devices with proposal ifcfg-names
settings["ETHERDEVICE"] = NetworkDevices::Current["ETHERDEVICE"]:"";
foreach(string dev_name, Lan::getUnconfiguredDevices(),{
items = add(items, `item(`id(dev_name), dev_name,
(dev_name==settings["ETHERDEVICE"]:"")?true:false));
});
+ // also bond and bridge devices included
+ foreach(string dev_name, NetworkDevices::List("br|bond"),{
+ items = add(items, `item(`id(dev_name), dev_name,
(dev_name==settings["ETHERDEVICE"]:"")?true:false));
+ });
UI::ChangeWidget(`id(key), `Items, items);
}
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
Date: Thu Mar 6 13:00:10 2008
New Revision: 45262
URL: http://svn.opensuse.org/viewcvs/yast?rev=45262&view=rev
Log:
allow using vlan also with bond and bridge devices (bnc#367093)
Modified:
branches/SuSE-SLE-10-SP2-Branch/network/package/yast2-network.changes
branches/SuSE-SLE-10-SP2-Branch/network/src/lan/address.ycp
Modified: branches/SuSE-SLE-10-SP2-Branch/network/package/yast2-network.changes
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/network/package/yast2-network.changes?rev=45262&r1=45261&r2=45262&view=diff
==============================================================================
--- branches/SuSE-SLE-10-SP2-Branch/network/package/yast2-network.changes
(original)
+++ branches/SuSE-SLE-10-SP2-Branch/network/package/yast2-network.changes Thu
Mar 6 13:00:10 2008
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Thu Mar 6 13:03:02 CET 2008 - mzugec@xxxxxxx
+
+- allow using vlan also with bond and bridge devices (bnc#367093)
+- 2.13.111
+
+-------------------------------------------------------------------
Tue Feb 19 14:37:51 CET 2008 - mzugec@xxxxxxx
- exception for PPC (bnc#361063) - some drivers are built-in
Modified: branches/SuSE-SLE-10-SP2-Branch/network/src/lan/address.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/network/src/lan/address.ycp?rev=45262&r1=45261&r2=45262&view=diff
==============================================================================
--- branches/SuSE-SLE-10-SP2-Branch/network/src/lan/address.ycp (original)
+++ branches/SuSE-SLE-10-SP2-Branch/network/src/lan/address.ycp Thu Mar 6
13:00:10 2008
@@ -133,10 +133,15 @@
void InitVLANSlave(string key)
{
list items = [];
+ // unconfigured devices with proposal ifcfg-names
settings["ETHERDEVICE"] = NetworkDevices::Current["ETHERDEVICE"]:"";
foreach(string dev_name, Lan::getUnconfiguredDevices(),{
items = add(items, `item(`id(dev_name), dev_name,
(dev_name==settings["ETHERDEVICE"]:"")?true:false));
});
+ // also bond and bridge devices included
+ foreach(string dev_name, NetworkDevices::List("br|bond"),{
+ items = add(items, `item(`id(dev_name), dev_name,
(dev_name==settings["ETHERDEVICE"]:"")?true:false));
+ });
UI::ChangeWidget(`id(key), `Items, items);
}
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
| < Previous | Next > |