Mailinglist Archive: yast-commit (500 mails)

< Previous Next >
[yast-commit] r66614 - /branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/FcoeClient.ycp
Author: gs
Date: Thu Oct 27 11:27:10 2011
New Revision: 66614

URL: http://svn.opensuse.org/viewcvs/yast?rev=66614&view=rev
Log:
set interface NOT_CONFIGURED if configuration
isn't available

Modified:
branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/FcoeClient.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=66614&r1=66613&r2=66614&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 Thu Oct 27
11:27:10 2011
@@ -443,7 +443,9 @@
if ( !FileUtils::Exists( file_name ) )
{
y2warning( "Cannot read config file for %1 in /etc/fcoe",
vlan_device_name );
- Popup::Warning( sformat(_("Cannot read config file for %1"),
vlan_device_name) );
+ Popup::Warning( sformat(_("Cannot read config file for %1.
+You may edit the settings and recreate the FCoE
+VLAN interface to get a valid configuration."), vlan_device_name) );
return status_map;
}
device = device_name;
@@ -667,6 +669,11 @@
if ( fcoe_vlan_interface != "" )
{
status_map = GetFcoeStatus( fcoe_vlan_interface,
card["dev_name"]:"" );
+ if ( status_map == $[] )
+ {
+ // the interface isn't configured correctly
+ fcoe_vlan_interface = NOT_CONFIGURED;
+ }
}
else
{

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

< Previous Next >
This Thread
  • No further messages