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/units/modules/network/junos/fixtures
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
..
get_configuration_rpc_reply.txt Add junos_config unit test (#24005) 2017-04-27 20:37:15 +05:30
get_configuration_rpc_reply_diff.txt Add junos_config unit test (#24005) 2017-04-27 20:37:15 +05:30
junos_config.json Add junos_config unit test (#24005) 2017-04-27 20:37:15 +05:30
junos_config.set Add junos_config unit test (#24005) 2017-04-27 20:37:15 +05:30
junos_config.text Add junos_config unit test (#24005) 2017-04-27 20:37:15 +05:30
junos_config.xml Add junos_config unit test (#24005) 2017-04-27 20:37:15 +05:30
show_chassis_hardware_xml.txt Add junos unit test case (#24249) 2017-05-03 22:36:23 +05:30
show_chassis_routing-engine_xml.txt junos_facts: Add Hardware facts. (#30304) 2017-09-20 12:43:07 +05:30
show_interfaces_details_xml.txt Add junos unit test case (#24249) 2017-05-03 22:36:23 +05:30
show_system_memory_xml.txt Add junos unit test case (#24249) 2017-05-03 22:36:23 +05:30
show_system_storage_xml.txt Add junos unit test case (#24249) 2017-05-03 22:36:23 +05:30
show_version_json.txt Add junos_command module unit test (#23819) 2017-04-21 18:23:40 +05:30
show_version_text.txt Add junos_command module unit test (#23819) 2017-04-21 18:23:40 +05:30
show_version_xml.txt Add junos_command module unit test (#23819) 2017-04-21 18:23:40 +05:30