Skip to content

Commit e41f902

Browse files
committed
Add additional test for device version
Signed-off-by: Dinesh Dutt <[email protected]>
1 parent 35021a7 commit e41f902

File tree

1 file changed

+21
-0
lines changed
  • tests/integration/sqcmds/common-samples

1 file changed

+21
-0
lines changed

tests/integration/sqcmds/common-samples/not.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102769,3 +102769,24 @@ tests:
102769102769
["ae1", "ae2", "ge-0/0/0"], "vlan": 10, "timestamp": 1631009089744}, {"namespace":
102770102770
"vmx", "hostname": "CRP-DIS-SW01", "vlanName": "vl20", "state": "active", "interfaces":
102771102771
["ae1", "ae2", "ge-0/0/0"], "vlan": 20, "timestamp": 1631009089744}]'
102772+
- command: device show --version="!9.3(4)" --namespace=nxos --format=json
102773+
data-directory: tests/data/parquet/
102774+
marks: device show negate
102775+
output: '[{"namespace": "nxos", "hostname": "server101", "model": "vm", "version":
102776+
"18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive",
102777+
"address": "10.255.2.204", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256203},
102778+
{"namespace": "nxos", "hostname": "server102", "model": "vm", "version": "18.04.3
102779+
LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address":
102780+
"10.255.2.39", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256290}, {"namespace":
102781+
"nxos", "hostname": "server301", "model": "vm", "version": "18.04.3 LTS", "vendor":
102782+
"Ubuntu", "architecture": "x86-64", "status": "alive", "address": "10.255.2.140",
102783+
"bootupTimestamp": 1619182381.0, "timestamp": 1619275256319}, {"namespace": "nxos",
102784+
"hostname": "server302", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu",
102785+
"architecture": "x86-64", "status": "alive", "address": "10.255.2.114", "bootupTimestamp":
102786+
1619182381.0, "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01",
102787+
"model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64",
102788+
"status": "alive", "address": "10.255.2.249", "bootupTimestamp": 1619013132.0,
102789+
"timestamp": 1619275256497}, {"namespace": "nxos", "hostname": "dcedge01", "model":
102790+
"vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "",
102791+
"status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1619013129.329,
102792+
"timestamp": 1619275258329}]'

0 commit comments

Comments
 (0)