mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	-Fix bug where an empty blade bay could confuse the discovery process.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5411 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -209,6 +209,8 @@ sub fillresps { | ||||
|   my $response = shift; | ||||
|   my $mac = $response->{node}->[0]->{data}->[0]->{contents}->[0]; | ||||
|   my $node = $response->{node}->[0]->{name}->[0]; | ||||
|   unless ($mac) { return; } #The event that a bay is empty should not confuse  | ||||
| #xcat into having an odd mapping | ||||
|   $mac = uc($mac); #Make sure it is uppercase, the MM people seem to change their mind on this.. | ||||
|   if ($mac =~ /->/) { #The new and 'improved' syntax for pBlades | ||||
|       $mac =~ /(\w+):(\w+):(\w+):(\w+):(\w+):(\w+)\s*->\s*(\w+):(\w+):(\w+):(\w+):(\w+):(\w+)/; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user