This repository has been archived by the owner on Jan 16, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #214 from napalm-automation/develop
napalm-ios release 0.8.1
- Loading branch information
Showing
25 changed files
with
678 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
napalm_base>=0.25.0 | ||
netmiko>=1.4.2 | ||
netmiko>=1.4.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
test/unit/mocked_data/test_get_environment/normal/show_env_temperature_status.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
System Temperature Value: 42 Degree Celsius | ||
System Temperature State: GREEN | ||
Yellow Threshold : 88 Degree Celsius | ||
Red Threshold : 93 Degree Celsius |
30 changes: 30 additions & 0 deletions
30
test/unit/mocked_data/test_get_environment/temp_cmd_fail/expected_result.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"fans": { | ||
"invalid": { | ||
"status": true | ||
} | ||
}, | ||
"temperature": { | ||
"invalid": { | ||
"is_alert": false, | ||
"temperature": -1.0, | ||
"is_critical": false | ||
} | ||
}, | ||
"cpu": { | ||
"0": { | ||
"%usage": 6.0 | ||
} | ||
}, | ||
"power": { | ||
"invalid": { | ||
"status": true, | ||
"output": -1.0, | ||
"capacity": -1.0 | ||
} | ||
}, | ||
"memory": { | ||
"available_ram": 4826256, | ||
"used_ram": 20873476 | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
test/unit/mocked_data/test_get_environment/temp_cmd_fail/show_env_temperature_status.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
^ | ||
% Invalid input detected at '^' marker. | ||
|
4 changes: 4 additions & 0 deletions
4
test/unit/mocked_data/test_get_environment/temp_cmd_fail/show_memory_statistics.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Head Total(b) Used(b) Free(b) Lowest(b) Largest(b) | ||
Processor 277B88C 21505428 18498044 3007384 2136352 2061756 | ||
I/O 2C00000 4194304 2375432 1818872 1581372 1817552 | ||
Driver te 18C0000 1048576 44 1048532 1048532 1048532 |
Oops, something went wrong.