Properly query the KVM owner slot number
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@933 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
aa91350577
commit
071172a47a
@ -482,7 +482,7 @@ sub switchblade {
|
||||
if ($args[0] eq "list" or $args[0] eq "stat") {
|
||||
$data = $session->get(["1.3.6.1.4.1.2.3.51.2.22.1.1.0"]);
|
||||
push @rettext,"Media Tray slot: $data";
|
||||
$data = $session->get(["1.3.6.1.4.1.2.3.51.2.22.1.1.0"]);
|
||||
$data = $session->get(["1.3.6.1.4.1.2.3.51.2.22.1.2.0"]);
|
||||
push @rettext,"KVM slot: $data";
|
||||
} elsif ($args[0] eq "both") {
|
||||
$domt=1;
|
||||
@ -499,7 +499,7 @@ sub switchblade {
|
||||
}
|
||||
if ($dokvm) {
|
||||
setoid("1.3.6.1.4.1.2.3.51.2.22.1.2",0,$targnum);
|
||||
$data = $session->get(["1.3.6.1.4.1.2.3.51.2.22.1.1.0"]);
|
||||
$data = $session->get(["1.3.6.1.4.1.2.3.51.2.22.1.2.0"]);
|
||||
push @rettext,"KVM slot: $data";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user