ansible/test/units/modules/network/junos
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
..
fixtures junos_facts: Add Hardware facts. (#30304) 2017-09-20 12:43:07 +05:30
__init__.py
junos_module.py Fix junos unit test failures (#26676) 2017-07-12 08:36:16 -07:00
test_junos_command.py Fix junos unit test failures (#26676) 2017-07-12 08:36:16 -07:00
test_junos_config.py
test_junos_facts.py junos_facts: Add Hardware facts. (#30304) 2017-09-20 12:43:07 +05:30
test_junos_netconf.py Fix junos unit test failures (#26676) 2017-07-12 08:36:16 -07:00
test_junos_package.py Fix junos unit test failures (#26676) 2017-07-12 08:36:16 -07:00
test_junos_rpc.py Fix junos unit test failures (#26676) 2017-07-12 08:36:16 -07:00