mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Add junos unit test case (#24249)
* Add junos modules unit test case * Fix CI issues
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<rpc-reply>
|
||||
<chassis-inventory>
|
||||
<chassis>
|
||||
<name>Chassis</name>
|
||||
<serial-number>adc382ed18b0</serial-number>
|
||||
<description>VSRX</description>
|
||||
<chassis-module>
|
||||
<name>Midplane</name>
|
||||
</chassis-module>
|
||||
<chassis-module>
|
||||
<name>System IO</name>
|
||||
</chassis-module>
|
||||
<chassis-module>
|
||||
<name>Routing Engine</name>
|
||||
<description>VSRX RE</description>
|
||||
</chassis-module>
|
||||
<chassis-module>
|
||||
<name>FPC 0</name>
|
||||
<description>Virtual FPC</description>
|
||||
</chassis-module>
|
||||
<chassis-module>
|
||||
<name>Power Supply 0</name>
|
||||
</chassis-module>
|
||||
</chassis>
|
||||
</chassis-inventory>
|
||||
</rpc-reply>
|
||||
@@ -0,0 +1,25 @@
|
||||
<rpc-reply>
|
||||
<interface-information>
|
||||
<physical-interface>
|
||||
<name>em0</name>
|
||||
<admin-status>up</admin-status>
|
||||
<oper-status>up</oper-status>
|
||||
<local-index>8</local-index>
|
||||
<snmp-index>17</snmp-index>
|
||||
<generation>1</generation>
|
||||
<if-type>Ethernet</if-type>
|
||||
<link-level-type>Ethernet</link-level-type>
|
||||
<mtu>1514</mtu>
|
||||
<speed>1000mbps</speed>
|
||||
<clocking>Unspecified</clocking>
|
||||
<physical-information>Unspecified</physical-information>
|
||||
<up-hold-time>0</up-hold-time>
|
||||
<down-hold-time>0</down-hold-time>
|
||||
<current-physical-address>52:54:00:8a:af:30</current-physical-address>
|
||||
<hardware-physical-address>52:54:00:8a:af:30</hardware-physical-address>
|
||||
<alternate-physical-address>Unspecified</alternate-physical-address>
|
||||
<interface-flapped>Never</interface-flapped>
|
||||
<statistics-cleared>Never</statistics-cleared>
|
||||
</physical-interface>
|
||||
</interface-information>
|
||||
</rpc-reply>
|
||||
@@ -0,0 +1,20 @@
|
||||
<rpc-reply>
|
||||
<system-memory-information>
|
||||
<system-memory-summary-information>
|
||||
<system-memory-total> 983500</system-memory-total>
|
||||
<system-memory-total-percent>100%</system-memory-total-percent>
|
||||
<system-memory-reserved> 17844</system-memory-reserved>
|
||||
<system-memory-reserved-percent> 1%</system-memory-reserved-percent>
|
||||
<system-memory-wired> 67284</system-memory-wired>
|
||||
<system-memory-wired-percent> 6%</system-memory-wired-percent>
|
||||
<system-memory-active> 148268</system-memory-active>
|
||||
<system-memory-active-percent> 15%</system-memory-active-percent>
|
||||
<system-memory-inactive> 288908</system-memory-inactive>
|
||||
<system-memory-inactive-percent> 29%</system-memory-inactive-percent>
|
||||
<system-memory-cache> 260500</system-memory-cache>
|
||||
<system-memory-cache-percent> 26%</system-memory-cache-percent>
|
||||
<system-memory-free> 200684</system-memory-free>
|
||||
<system-memory-free-percent> 20%</system-memory-free-percent>
|
||||
</system-memory-summary-information>
|
||||
</system-memory-information>
|
||||
</rpc-reply>
|
||||
@@ -0,0 +1,20 @@
|
||||
<rpc-reply>
|
||||
<system-storage-information>
|
||||
<filesystem>
|
||||
<filesystem-name>/dev/vtbd0s1a</filesystem-name>
|
||||
<total-blocks>1025132</total-blocks>
|
||||
<used-blocks>583460</used-blocks>
|
||||
<available-blocks>359664</available-blocks>
|
||||
<used-percent> 62</used-percent>
|
||||
<mounted-on>/</mounted-on>
|
||||
</filesystem>
|
||||
<filesystem>
|
||||
<filesystem-name>devfs</filesystem-name>
|
||||
<total-blocks>2</total-blocks>
|
||||
<used-blocks>2</used-blocks>
|
||||
<available-blocks>0</available-blocks>
|
||||
<used-percent>100</used-percent>
|
||||
<mounted-on>/dev</mounted-on>
|
||||
</filesystem>
|
||||
</system-storage-information>
|
||||
</rpc-reply>
|
||||
Reference in New Issue
Block a user