[yast-commit] r65060 - in /branches/SuSE-Code-11-SP2-Branch/iscsi-client: VERSION package/yast2-iscsi-client.changes src/IscsiClientLib.ycp
Author: fehr
Date: Thu Jul 28 12:18:43 2011
New Revision: 65060
URL: http://svn.opensuse.org/viewcvs/yast?rev=65060&view=rev
Log:
- adapt to work with iscsi_offload script in open-iscsi
- 2.17.26
Modified:
branches/SuSE-Code-11-SP2-Branch/iscsi-client/VERSION
branches/SuSE-Code-11-SP2-Branch/iscsi-client/package/yast2-iscsi-client.changes
branches/SuSE-Code-11-SP2-Branch/iscsi-client/src/IscsiClientLib.ycp
Modified: branches/SuSE-Code-11-SP2-Branch/iscsi-client/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/iscsi-client/VERSION?rev=65060&r1=65059&r2=65060&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP2-Branch/iscsi-client/VERSION (original)
+++ branches/SuSE-Code-11-SP2-Branch/iscsi-client/VERSION Thu Jul 28 12:18:43 2011
@@ -1 +1 @@
-2.17.25
+2.17.26
Modified: branches/SuSE-Code-11-SP2-Branch/iscsi-client/package/yast2-iscsi-client.changes
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/iscsi-client/package/yast2-iscsi-client.changes?rev=65060&r1=65059&r2=65060&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP2-Branch/iscsi-client/package/yast2-iscsi-client.changes (original)
+++ branches/SuSE-Code-11-SP2-Branch/iscsi-client/package/yast2-iscsi-client.changes Thu Jul 28 12:18:43 2011
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Thu Jul 28 12:17:34 CEST 2011 - fehr@suse.de
+
+- adapt to work with iscsi_offload script in open-iscsi
+- 2.17.26
+
+-------------------------------------------------------------------
Tue Jul 12 18:13:53 CEST 2011 - fehr@suse.de
- delay offload initialisation into init function
Modified: branches/SuSE-Code-11-SP2-Branch/iscsi-client/src/IscsiClientLib.ycp
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/iscsi-client/src/IscsiClientLib.ycp?rev=65060&r1=65059&r2=65060&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP2-Branch/iscsi-client/src/IscsiClientLib.ycp (original)
+++ branches/SuSE-Code-11-SP2-Branch/iscsi-client/src/IscsiClientLib.ycp Thu Jul 28 12:18:43 2011
@@ -31,6 +31,8 @@
// interface type for hardware offloading
string offload_card = "default";
+string offboard_script = "iscsi_offload";
+
void CallConfigScript();
global string GetOffloadCard()
@@ -697,23 +699,63 @@
//if( size(multiset::intersection(mod,(list<string>)sort(hw["modules"]:[])))>0 )
if( size(mod)+size(hw["modules"]:[])>size(union(mod,hw["modules"]:[])))
offload_valid[idx] = add( offload_valid[idx]:[],
- [ hw["iface"]:"", hw["macaddr"]:""] );
+ [ hw["iface"]:"", hw["macaddr"]:"", hw["iface"]:""+"-"+hw["modules",0]:""] );
});
}
idx = idx+1;
});
+ map
participants (1)
-
fehr@svn2.opensuse.org