Mailinglist Archive: yast-commit (213 mails)

< Previous Next >
[yast-commit] r61993 - in /branches/SuSE-Code-11-SP1-Branch/iscsi-client: VERSION package/yast2-iscsi-client.changes src/widgets.ycp
  • From: mzugec@xxxxxxxxxxxxxxxx
  • Date: Tue, 11 May 2010 12:54:19 -0000
  • Message-id: <E1OBoyZ-0003V9-Ky@xxxxxxxxxxxxxxxx>
Author: mzugec
Date: Tue May 11 14:54:19 2010
New Revision: 61993

URL: http://svn.opensuse.org/viewcvs/yast?rev=61993&view=rev
Log:
delete discovered targets (bnc#602108)

Modified:
branches/SuSE-Code-11-SP1-Branch/iscsi-client/VERSION

branches/SuSE-Code-11-SP1-Branch/iscsi-client/package/yast2-iscsi-client.changes
branches/SuSE-Code-11-SP1-Branch/iscsi-client/src/widgets.ycp

Modified: branches/SuSE-Code-11-SP1-Branch/iscsi-client/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/iscsi-client/VERSION?rev=61993&r1=61992&r2=61993&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP1-Branch/iscsi-client/VERSION (original)
+++ branches/SuSE-Code-11-SP1-Branch/iscsi-client/VERSION Tue May 11 14:54:19
2010
@@ -1 +1 @@
-2.17.20
+2.17.21

Modified:
branches/SuSE-Code-11-SP1-Branch/iscsi-client/package/yast2-iscsi-client.changes
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/iscsi-client/package/yast2-iscsi-client.changes?rev=61993&r1=61992&r2=61993&view=diff
==============================================================================
---
branches/SuSE-Code-11-SP1-Branch/iscsi-client/package/yast2-iscsi-client.changes
(original)
+++
branches/SuSE-Code-11-SP1-Branch/iscsi-client/package/yast2-iscsi-client.changes
Tue May 11 14:54:19 2010
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue May 11 14:54:04 CEST 2010 - mzugec@xxxxxxx
+
+- delete discovered targets (bnc#602108)
+- 2.17.21
+
+-------------------------------------------------------------------
Tue Apr 13 11:56:43 CEST 2010 - mzugec@xxxxxxx

- run iscsid in foreground (bnc#589064)

Modified: branches/SuSE-Code-11-SP1-Branch/iscsi-client/src/widgets.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/iscsi-client/src/widgets.ycp?rev=61993&r1=61992&r2=61993&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP1-Branch/iscsi-client/src/widgets.ycp (original)
+++ branches/SuSE-Code-11-SP1-Branch/iscsi-client/src/widgets.ycp Tue May 11
14:54:19 2010
@@ -505,7 +505,7 @@
if (selected != nil) { params = splitstring(
IscsiClientLib::discovered[tointeger(selected)]:"", " " ); }
else { params = []; }
IscsiClientLib::currentRecord = [ splitstring(params[0]:"", ",")[0]:"",
params[1]:"" ] ;
- params = curr_rec;
+// params = curr_rec;
if ( event["EventReason"]:"" == "Activated" ){
// connect new target
if ( event["ID"]:nil == `connect) {
@@ -524,7 +524,8 @@
// delete connected item
if ( event["ID"]:nil == `delete) {
if ((params == [])||(!IscsiClientLib::connected( true ))){
- SCR::Execute (.target.bash_output,sformat("iscsiadm -m node -T %1 -p
%2 --op=delete", params[1]:"", params[0]:""), $[] );
+ string cmd = sformat("iscsiadm -m node -T %1 -p %2 --op=delete",
params[1]:"", params[0]:"");
+ y2milestone("%1 : %2", cmd, SCR::Execute (.target.bash_output,cmd,
$[] ));
IscsiClientLib::readSessions();
initDiscoveredTable("");
if (selected != nil) { params = splitstring(
IscsiClientLib::discovered[tointeger(selected)]:"", " " ); }

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages