1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test
dteach ca56a248d8 junos_facts: Add Hardware facts. (#30304)
* Add Routing Engine Facts

 - Map routing engine output information to routing_engines facts dict.
 - Add fact 'has_2RE', which is a quick way to determine how many REs
   the chassis has.

* Fix a typo

* Fix more typos

* Add slot number to routing_engine dict

* Add facts about the installed chassis modules

* Fix typo

* Fixed another typo

* Fix Path

* Change path again.

* More Typos

* Add some deubgging

* Add additional information for hardware components.

 - Return information about the Routing Engines.
 - Return a fact to easily determine if the device
   has two routing engines.
 - Return information about the hardware modules.

* Addressed pep8 stardard failures.

* Add unit test fixtures.

* Rename fixture.

* Fix unit test failures.

 - Rename the fixture file to what the unit test expects.
 - Strip out junos namespace attributes.
Rename file to match what the unit test expects.

* Scrubbed the routing engine serial numbers.

* Add unit test facts for new tests.

 - Add unit test for ansible_net_routing_engines fact
 - Add unit test for ansible_net_modules fact
 - Add unit test for ansible_net_has_2RE

* Fixed spacing.
2017-09-20 12:43:07 +05:30
..
compile Docs how to test (2nd) (#24094) 2017-04-28 09:08:26 +01:00
integration Allow AWS image and snapshot creation/deletion 2017-09-19 23:12:50 -07:00
legacy Add a code-smell test for smart quotes and remove smart quotes from all files 2017-09-18 16:49:16 -07:00
results Collect data from integration test runs. (#28650) 2017-08-25 18:14:47 -04:00
runner Fix docker error handling for cs/vcenter tests. 2017-09-15 16:49:46 -07:00
sanity Enable more pylint rules and fix reported issues. (#30543) 2017-09-19 00:45:35 -07:00
units junos_facts: Add Hardware facts. (#30304) 2017-09-20 12:43:07 +05:30
utils Run all Windows tests if change detection disabled (#30320) 2017-09-13 22:21:19 -07:00