Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Move some DNOS detection to PowerConnect #6150 #6206

Merged
merged 1 commit into from Mar 24, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 0 additions & 17 deletions includes/definitions/dnos.yaml
Expand Up @@ -12,20 +12,3 @@ over:
discovery:
- sysObjectId:
- .1.3.6.1.4.1.6027.1.
- .1.3.6.1.4.1.674.10895.3042
- .1.3.6.1.4.1.674.10895.3044
- .1.3.6.1.4.1.674.10895.3045
- .1.3.6.1.4.1.674.10895.3046
- .1.3.6.1.4.1.674.10895.3053
- .1.3.6.1.4.1.674.10895.3054
- .1.3.6.1.4.1.674.10895.3055
- .1.3.6.1.4.1.674.10895.3056
- .1.3.6.1.4.1.674.10895.3057
- .1.3.6.1.4.1.674.10895.3058
- .1.3.6.1.4.1.674.10895.3059
- .1.3.6.1.4.1.674.10895.3060
- .1.3.6.1.4.1.674.10895.3061
- .1.3.6.1.4.1.674.10895.3062
- .1.3.6.1.4.1.674.10895.3063
- .1.3.6.1.4.1.674.10895.3066
- .1.3.6.1.4.1.674.10895.3073
5 changes: 2 additions & 3 deletions includes/definitions/powerconnect.yaml
Expand Up @@ -10,6 +10,5 @@ over:
mib_dir:
- dell
discovery:
- sysObjectId_regex:
- '/^.1.3.6.1.4.1.674.10895.30[0-3][0-9]/'
- '/^.1.3.6.1.4.1.674.10895.3041/'
- sysObjectId:
- .1.3.6.1.4.1.674.10895
26 changes: 13 additions & 13 deletions tests/OSDiscoveryTest.php
Expand Up @@ -575,19 +575,6 @@ public function testDlink()
public function testDnos()
{
$this->checkOS('dnos');
$this->checkOS('dnos', 'dnos1');
$this->checkOS('dnos', 'dnos2');
$this->checkOS('dnos', 'dnos3');
$this->checkOS('dnos', 'dnos4');
$this->checkOS('dnos', 'dnos5');
$this->checkOS('dnos', 'dnos6');
$this->checkOS('dnos', 'dnos7');
$this->checkOS('dnos', 'dnos8');
$this->checkOS('dnos', 'dnos9');
$this->checkOS('dnos', 'dnos10');
$this->checkOS('dnos', 'dnos11');
$this->checkOS('dnos', 'dnos12');
$this->checkOS('dnos', 'dnos13');
}

public function testDrac()
Expand Down Expand Up @@ -1360,6 +1347,19 @@ public function testPowerconnect()
$this->checkOS('powerconnect', 'powerconnect-3019');
$this->checkOS('powerconnect', 'powerconnect-3031');
$this->checkOS('powerconnect', 'powerconnect-3041');
$this->checkOS('powerconnect', 'powerconnect1');
$this->checkOS('powerconnect', 'powerconnect2');
$this->checkOS('powerconnect', 'powerconnect3');
$this->checkOS('powerconnect', 'powerconnect4');
$this->checkOS('powerconnect', 'powerconnect5');
$this->checkOS('powerconnect', 'powerconnect6');
$this->checkOS('powerconnect', 'powerconnect7');
$this->checkOS('powerconnect', 'powerconnect8');
$this->checkOS('powerconnect', 'powerconnect9');
$this->checkOS('powerconnect', 'powerconnect10');
$this->checkOS('powerconnect', 'powerconnect11');
$this->checkOS('powerconnect', 'powerconnect12');
$this->checkOS('powerconnect', 'powerconnect13');
}

public function testPowervault()
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.