mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Add junos_command module unit test (#23819)
* Add junos_command module unit test
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
<rpc-reply message-id="urn:uuid:aefb88cb-c296-4925-b298-ec69a6d61897">
|
||||
{
|
||||
"software-information" : [
|
||||
{
|
||||
"host-name" : [
|
||||
{
|
||||
"data" : "vsrx01"
|
||||
}
|
||||
],
|
||||
"product-model" : [
|
||||
{
|
||||
"data" : "vSRX"
|
||||
}
|
||||
],
|
||||
"product-name" : [
|
||||
{
|
||||
"data" : "vsrx"
|
||||
}
|
||||
],
|
||||
"junos-version" : [
|
||||
{
|
||||
"data" : "15.1X49-D15.4"
|
||||
}
|
||||
],
|
||||
"package-information" : [
|
||||
{
|
||||
"name" : [
|
||||
{
|
||||
"data" : "junos"
|
||||
}
|
||||
],
|
||||
"comment" : [
|
||||
{
|
||||
"data" : "JUNOS Software Release [15.1X49-D15.4]"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
</rpc-reply>
|
||||
@@ -0,0 +1,8 @@
|
||||
<rpc-reply message-id="urn:uuid:0693e4e3-4208-4912-a51e-2e509be7d2d0">
|
||||
<output>
|
||||
Hostname: vsrx01
|
||||
Model: vSRX
|
||||
Junos: 15.1X49-D15.4
|
||||
JUNOS Software Release [15.1X49-D15.4]
|
||||
</output>
|
||||
</rpc-reply>
|
||||
@@ -0,0 +1,12 @@
|
||||
<rpc-reply message-id="urn:uuid:b7ee75e1-e043-4284-a4d5-8e2e8028dbc7">
|
||||
<software-information>
|
||||
<host-name>vsrx01</host-name>
|
||||
<product-model>vSRX</product-model>
|
||||
<product-name>vsrx</product-name>
|
||||
<junos-version>15.1X49-D15.4</junos-version>
|
||||
<package-information>
|
||||
<name>junos</name>
|
||||
<comment>JUNOS Software Release [15.1X49-D15.4]</comment>
|
||||
</package-information>
|
||||
</software-information>
|
||||
</rpc-reply>
|
||||
Reference in New Issue
Block a user