Author: gs Date: Tue May 31 14:17:28 2011 New Revision: 64173 URL: http://svn.opensuse.org/viewcvs/yast?rev=64173&view=rev Log: add ResetNetworkCards() Modified: branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/FcoeClient.ycp branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/inst_fcoe-client.ycp Modified: branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/FcoeClient.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/FcoeClient.ycp?rev=64173&r1=64172&r2=64173&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/FcoeClient.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/FcoeClient.ycp Tue May 31 14:17:28 2011 @@ -572,6 +572,11 @@ network_interfaces[row] = card; } +global void ResetNetworkCards() +{ + network_interfaces = []; +} + // // Read /etc/fcoe/config // Modified: branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/inst_fcoe-client.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/inst_fcoe-client.ycp?rev=64173&r1=64172&r2=64173&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/inst_fcoe-client.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/inst_fcoe-client.ycp Tue May 31 14:17:28 2011 @@ -41,20 +41,22 @@ // create /etc/fcoe SCR::Execute(.target.bash, "mkdir -p /etc/fcoe" ); - // TODO: check what is additional needed // - load any modules ? // // FcoeClient::CheckInstalledPackages() not needed in inst-sys // FcoeClient::DetectStartStatus() doesn't make sense in inst-sys -// TODO: check for running network - makes sense here ??? +// check for running network if( !NetworkService::RunningNetworkPopup() ) { y2error( "Network NOT set up" ); return nil; } +// reset global values +FcoeClient::ResetNetworkCards(); + // start services fcoe and lldpad success = FcoeClient::ServiceStatus(); if ( !success ) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org