From 8514368b710d59ac7fc7dfc7885ae4147294239c Mon Sep 17 00:00:00 2001 From: AndryNick98 Date: Fri, 26 May 2023 12:07:19 +0200 Subject: [PATCH 01/20] modified device schema to show serial number Signed-off-by: AndryNick98 --- suzieq/config/schema/device.avsc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/suzieq/config/schema/device.avsc b/suzieq/config/schema/device.avsc index 4e63f1c517..e329448b8f 100644 --- a/suzieq/config/schema/device.avsc +++ b/suzieq/config/schema/device.avsc @@ -13,8 +13,7 @@ }, { "name": "architecture", - "type": "string", - "display": 5 + "type": "string" }, { "name": "memory", @@ -67,7 +66,8 @@ }, { "name": "serialNumber", - "type": "string" + "type": "string", + "display": 5 }, { "name": "deviceSession", From ab4484aa4029ff20216e6fe76c50c81491f6cf11 Mon Sep 17 00:00:00 2001 From: AndryNick98 Date: Fri, 26 May 2023 12:10:29 +0200 Subject: [PATCH 02/20] updated yml test file Signed-off-by: AndryNick98 --- .../integration/sqcmds/common-samples/all.yml | 557 +++--- .../sqcmds/common-samples/common-errors.yml | 150 +- .../sqcmds/common-samples/describe.yml | 4 +- .../integration/sqcmds/common-samples/not.yml | 1571 ++++++++--------- .../sqcmds/cumulus-samples/all.yml | 112 +- .../sqcmds/cumulus-samples/device.yml | 104 +- .../sqcmds/cumulus-samples/top.yml | 88 +- tests/integration/sqcmds/eos-samples/all.yml | 110 +- .../integration/sqcmds/eos-samples/device.yml | 114 +- tests/integration/sqcmds/eos-samples/top.yml | 34 +- .../integration/sqcmds/junos-samples/all.yml | 99 +- .../sqcmds/junos-samples/device.yml | 166 +- .../integration/sqcmds/junos-samples/top.yml | 44 +- .../integration/sqcmds/mixed-samples/all.yml | 65 +- tests/integration/sqcmds/nxos-samples/all.yml | 128 +- .../sqcmds/nxos-samples/device.yml | 605 +++---- tests/integration/sqcmds/nxos-samples/top.yml | 54 +- .../sqcmds/panos-samples/device.yml | 78 +- tests/integration/sqcmds/vmx-samples/all.yml | 37 +- 19 files changed, 2029 insertions(+), 2091 deletions(-) diff --git a/tests/integration/sqcmds/common-samples/all.yml b/tests/integration/sqcmds/common-samples/all.yml index 6c14674d11..03233a56b2 100644 --- a/tests/integration/sqcmds/common-samples/all.yml +++ b/tests/integration/sqcmds/common-samples/all.yml @@ -10422,360 +10422,353 @@ tests: data-directory: tests/data/parquet/ marks: device show all output: '[{"namespace": "ospf-single", "hostname": "server102", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.68", "bootupTimestamp": 1616351835.0, "timestamp": 1616352402600}, - {"namespace": "ospf-single", "hostname": "server103", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.182", "bootupTimestamp": 1616351788.0, "timestamp": 1616352402601}, - {"namespace": "ospf-single", "hostname": "server101", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.78", "bootupTimestamp": 1616351831.0, "timestamp": 1616352402606}, - {"namespace": "ospf-single", "hostname": "server104", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.219", "bootupTimestamp": 1616351815.0, "timestamp": 1616352402611}, - {"namespace": "ospf-single", "hostname": "edge01", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.109", "bootupTimestamp": 1616351812.0, "timestamp": 1616352402798}, - {"namespace": "ospf-single", "hostname": "leaf01", "model": "VX", "version": "4.3.0", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "10.255.2.23", - "bootupTimestamp": 1616351988.0, "timestamp": 1616352403833}, {"namespace": "ospf-single", - "hostname": "exit01", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.88", "bootupTimestamp": - 1616351989.0, "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": - "exit02", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "10.255.2.41", "bootupTimestamp": 1616351989.0, + "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.68", "bootupTimestamp": 1616351835.0, "timestamp": 1616352402600}, {"namespace": + "ospf-single", "hostname": "server103", "model": "vm", "version": "16.04.6 LTS", + "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.182", + "bootupTimestamp": 1616351788.0, "timestamp": 1616352402601}, {"namespace": "ospf-single", + "hostname": "server101", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.78", "bootupTimestamp": + 1616351831.0, "timestamp": 1616352402606}, {"namespace": "ospf-single", "hostname": + "server104", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.2.219", "bootupTimestamp": 1616351815.0, + "timestamp": 1616352402611}, {"namespace": "ospf-single", "hostname": "edge01", + "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "10.255.2.109", "bootupTimestamp": 1616351812.0, + "timestamp": 1616352402798}, {"namespace": "ospf-single", "hostname": "leaf01", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "10.255.2.23", "bootupTimestamp": 1616351988.0, + "timestamp": 1616352403833}, {"namespace": "ospf-single", "hostname": "exit01", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "10.255.2.88", "bootupTimestamp": 1616351989.0, + "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "exit02", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "10.255.2.41", "bootupTimestamp": 1616351989.0, "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "internet", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.239", "bootupTimestamp": 1616351807.0, "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "spine01", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.217", "bootupTimestamp": 1616351988.0, "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "spine02", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.60", "bootupTimestamp": 1616351988.0, "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "leaf04", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.10", "bootupTimestamp": 1616351988.0, "timestamp": 1616352403841}, {"namespace": "ospf-single", "hostname": "leaf02", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.203", "bootupTimestamp": 1616351988.0, "timestamp": 1616352403841}, {"namespace": "ospf-single", "hostname": "leaf03", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.254", "bootupTimestamp": 1616351988.0, "timestamp": 1616352403841}, {"namespace": "dual-bgp", "hostname": "server104", - "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.121.180", "bootupTimestamp": 1616638128.0, "timestamp": 1616638469368}, {"namespace": "dual-bgp", "hostname": "server102", - "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.121.254", "bootupTimestamp": 1616638127.0, "timestamp": 1616638469377}, {"namespace": "dual-bgp", "hostname": "edge01", "model": - "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "192.168.121.103", "bootupTimestamp": 1616638059.0, - "timestamp": 1616638469433}, {"namespace": "dual-bgp", "hostname": "server103", - "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "192.168.121.222", "bootupTimestamp": 1616638128.0, - "timestamp": 1616638469433}, {"namespace": "dual-bgp", "hostname": "server101", - "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "192.168.121.233", "bootupTimestamp": 1616638128.0, - "timestamp": 1616638469517}, {"namespace": "dual-bgp", "hostname": "spine01", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", - "status": "alive", "address": "192.168.121.51", "bootupTimestamp": 1616638065.0, - "timestamp": 1616638469730}, {"namespace": "dual-bgp", "hostname": "leaf01", "model": - "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", "status": - "alive", "address": "192.168.121.119", "bootupTimestamp": 1616638065.0, "timestamp": - 1616638469999}, {"namespace": "dual-bgp", "hostname": "internet", "model": "VX", - "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", - "address": "192.168.121.141", "bootupTimestamp": 1616638065.0, "timestamp": 1616638469999}, - {"namespace": "dual-bgp", "hostname": "exit01", "model": "VX", "version": "4.3.0", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "192.168.121.164", + "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "192.168.121.103", "bootupTimestamp": 1616638059.0, "timestamp": + 1616638469433}, {"namespace": "dual-bgp", "hostname": "server103", "model": "vm", + "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "192.168.121.222", "bootupTimestamp": 1616638128.0, "timestamp": 1616638469433}, + {"namespace": "dual-bgp", "hostname": "server101", "model": "vm", "version": "16.04.6 + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.121.233", + "bootupTimestamp": 1616638128.0, "timestamp": 1616638469517}, {"namespace": "dual-bgp", + "hostname": "spine01", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", + "serialNumber": "None", "status": "alive", "address": "192.168.121.51", "bootupTimestamp": + 1616638065.0, "timestamp": 1616638469730}, {"namespace": "dual-bgp", "hostname": + "leaf01", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": + "None", "status": "alive", "address": "192.168.121.119", "bootupTimestamp": 1616638065.0, + "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": "internet", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "192.168.121.141", "bootupTimestamp": 1616638065.0, + "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": "exit01", "model": + "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": + "alive", "address": "192.168.121.164", "bootupTimestamp": 1616638066.0, "timestamp": + 1616638469999}, {"namespace": "dual-bgp", "hostname": "leaf04", "model": "VX", + "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", + "address": "192.168.121.132", "bootupTimestamp": 1616638065.0, "timestamp": 1616638469999}, + {"namespace": "dual-bgp", "hostname": "exit02", "model": "VX", "version": "4.3.0", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.181", "bootupTimestamp": 1616638066.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", - "hostname": "leaf04", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "192.168.121.132", "bootupTimestamp": - 1616638065.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": - "exit02", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.181", "bootupTimestamp": + "hostname": "spine02", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", + "serialNumber": "None", "status": "alive", "address": "192.168.121.186", "bootupTimestamp": 1616638066.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": - "spine02", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.186", "bootupTimestamp": - 1616638066.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": - "leaf02", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.94", "bootupTimestamp": 1616638066.0, + "leaf02", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": + "None", "status": "alive", "address": "192.168.121.94", "bootupTimestamp": 1616638066.0, "timestamp": 1616638470010}, {"namespace": "dual-bgp", "hostname": "leaf03", "model": - "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", "status": + "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.33", "bootupTimestamp": 1616638067.0, "timestamp": 1616638471112}, {"namespace": "dual-evpn", "hostname": "edge01", "model": "vm", - "version": "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": - "alive", "address": "192.168.121.154", "bootupTimestamp": 1616644592.0, "timestamp": - 1616644822168}, {"namespace": "dual-evpn", "hostname": "leaf03", "model": "VX", - "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", - "address": "192.168.121.13", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822331}, - {"namespace": "dual-evpn", "hostname": "spine02", "model": "VX", "version": "3.7.9", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "192.168.121.136", - "bootupTimestamp": 1616644598.0, "timestamp": 1616644822357}, {"namespace": "dual-evpn", - "hostname": "spine01", "model": "VX", "version": "3.7.9", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "192.168.121.42", "bootupTimestamp": - 1616644598.0, "timestamp": 1616644822465}, {"namespace": "dual-evpn", "hostname": - "leaf04", "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.38", "bootupTimestamp": 1616644597.0, + "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "192.168.121.154", "bootupTimestamp": 1616644592.0, "timestamp": 1616644822168}, + {"namespace": "dual-evpn", "hostname": "leaf03", "model": "VX", "version": "3.7.9", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.13", + "bootupTimestamp": 1616644598.0, "timestamp": 1616644822331}, {"namespace": "dual-evpn", + "hostname": "spine02", "model": "VX", "version": "3.7.9", "vendor": "Cumulus", + "serialNumber": "None", "status": "alive", "address": "192.168.121.136", "bootupTimestamp": + 1616644598.0, "timestamp": 1616644822357}, {"namespace": "dual-evpn", "hostname": + "spine01", "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": + "None", "status": "alive", "address": "192.168.121.42", "bootupTimestamp": 1616644598.0, + "timestamp": 1616644822465}, {"namespace": "dual-evpn", "hostname": "leaf04", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "192.168.121.38", "bootupTimestamp": 1616644597.0, "timestamp": 1616644822465}, {"namespace": "dual-evpn", "hostname": "leaf01", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.88", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822492}, {"namespace": "dual-evpn", "hostname": "exit01", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.126", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822507}, {"namespace": "dual-evpn", "hostname": "internet", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.157", "bootupTimestamp": 1616644599.0, "timestamp": 1616644822518}, {"namespace": "dual-evpn", "hostname": "exit02", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.150", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822532}, {"namespace": "dual-evpn", "hostname": "leaf02", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.253", "bootupTimestamp": 1616644597.0, "timestamp": 1616644822542}, {"namespace": "ospf-ibgp", "hostname": "server103", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.150", "bootupTimestamp": 1616680845.0, "timestamp": 1616681581595}, {"namespace": "ospf-ibgp", "hostname": "server101", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.184", "bootupTimestamp": 1616680816.0, "timestamp": 1616681581632}, {"namespace": "ospf-ibgp", "hostname": "server104", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.197", "bootupTimestamp": 1616680858.0, "timestamp": 1616681581652}, {"namespace": "ospf-ibgp", "hostname": "edge01", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.180", "bootupTimestamp": 1616681014.0, "timestamp": 1616681581705}, {"namespace": "ospf-ibgp", "hostname": "server102", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.134", "bootupTimestamp": 1616680827.0, "timestamp": 1616681581705}, {"namespace": "ospf-ibgp", "hostname": "leaf04", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.202", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", "hostname": "leaf02", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.239", "bootupTimestamp": 1616681016.0, "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", "hostname": "exit01", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.188", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", "hostname": "spine01", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.135", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582844}, {"namespace": "ospf-ibgp", "hostname": "leaf03", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.248", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582844}, {"namespace": "ospf-ibgp", "hostname": "exit02", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.136", "bootupTimestamp": 1616681015.0, "timestamp": 1616681582902}, {"namespace": "ospf-ibgp", "hostname": "spine02", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.16", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582902}, {"namespace": "ospf-ibgp", "hostname": "leaf01", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.30", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582903}, {"namespace": "ospf-ibgp", "hostname": "internet", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.237", "bootupTimestamp": 1616681016.0, "timestamp": 1616681582980}, {"namespace": "nxos", "hostname": "server101", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.204", "bootupTimestamp": 1619182381.0, - "timestamp": 1619275256203}, {"namespace": "nxos", "hostname": "server102", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.39", "bootupTimestamp": 1619182381.0, - "timestamp": 1619275256290}, {"namespace": "nxos", "hostname": "server301", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.140", "bootupTimestamp": 1619182381.0, - "timestamp": 1619275256319}, {"namespace": "nxos", "hostname": "server302", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.114", "bootupTimestamp": 1619182381.0, - "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.204", "bootupTimestamp": 1619182381.0, "timestamp": + 1619275256203}, {"namespace": "nxos", "hostname": "server102", "model": "vm", + "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "10.255.2.39", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256290}, + {"namespace": "nxos", "hostname": "server301", "model": "vm", "version": "18.04.3 + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.140", + "bootupTimestamp": 1619182381.0, "timestamp": 1619275256319}, {"namespace": "nxos", + "hostname": "server302", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.114", "bootupTimestamp": + 1619182381.0, "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", + "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.249", "bootupTimestamp": 1619013132.0, "timestamp": 1619275256497}, {"namespace": "nxos", "hostname": "dcedge01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "27840100856", "status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1619013129.329, "timestamp": 1619275258329}, {"namespace": "nxos", "hostname": "spine02", "model": - "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": - "Intel Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.120", - "bootupTimestamp": 1619013194.0, "timestamp": 1619275263055}, {"namespace": "nxos", - "hostname": "spine01", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.119", "bootupTimestamp": 1619013190.0, "timestamp": - 1619275263589}, {"namespace": "nxos", "hostname": "leaf03", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.190", - "bootupTimestamp": 1619043796.0, "timestamp": 1619275263596}, {"namespace": "nxos", - "hostname": "exit01", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.253", "bootupTimestamp": 1619013183.0, "timestamp": - 1619275265064}, {"namespace": "nxos", "hostname": "leaf04", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.191", - "bootupTimestamp": 1619043813.0, "timestamp": 1619275265167}, {"namespace": "nxos", - "hostname": "exit02", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.254", "bootupTimestamp": 1619013188.0, "timestamp": - 1619275265196}, {"namespace": "nxos", "hostname": "leaf01", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.189", - "bootupTimestamp": 1619043771.0, "timestamp": 1619275265510}, {"namespace": "nxos", - "hostname": "leaf02", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.188", "bootupTimestamp": 1619043783.0, "timestamp": - 1619275265679}, {"namespace": "eos", "hostname": "server301", "model": "vm", "version": - "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.151", "bootupTimestamp": 1620676730.0, "timestamp": 1623025175797}, - {"namespace": "eos", "hostname": "server302", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.137", "bootupTimestamp": 1620676730.0, "timestamp": 1623025175800}, - {"namespace": "eos", "hostname": "firewall01", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.189", "bootupTimestamp": 1620675718.0, "timestamp": 1623025176026}, + "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9SM7CHR8WEF", "status": "alive", "address": "10.255.2.120", "bootupTimestamp": + 1619013194.0, "timestamp": 1619275263055}, {"namespace": "nxos", "hostname": "spine01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9U1GLRQOXD7", "status": "alive", "address": "10.255.2.119", "bootupTimestamp": + 1619013190.0, "timestamp": 1619275263589}, {"namespace": "nxos", "hostname": "leaf03", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "901I7PY72LO", "status": "alive", "address": "10.255.2.190", "bootupTimestamp": + 1619043796.0, "timestamp": 1619275263596}, {"namespace": "nxos", "hostname": "exit01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90QIMGF49OS", "status": "alive", "address": "10.255.2.253", "bootupTimestamp": + 1619013183.0, "timestamp": 1619275265064}, {"namespace": "nxos", "hostname": "leaf04", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9Q04O8RGPL8", "status": "alive", "address": "10.255.2.191", "bootupTimestamp": + 1619043813.0, "timestamp": 1619275265167}, {"namespace": "nxos", "hostname": "exit02", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90ZY6UG6ELL", "status": "alive", "address": "10.255.2.254", "bootupTimestamp": + 1619013188.0, "timestamp": 1619275265196}, {"namespace": "nxos", "hostname": "leaf01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9DOTFRO0QMW", "status": "alive", "address": "10.255.2.189", "bootupTimestamp": + 1619043771.0, "timestamp": 1619275265510}, {"namespace": "nxos", "hostname": "leaf02", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9AC2MF0S5QO", "status": "alive", "address": "10.255.2.188", "bootupTimestamp": + 1619043783.0, "timestamp": 1619275265679}, {"namespace": "eos", "hostname": "server301", + "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "10.255.2.151", "bootupTimestamp": 1620676730.0, + "timestamp": 1623025175797}, {"namespace": "eos", "hostname": "server302", "model": + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.137", "bootupTimestamp": 1620676730.0, "timestamp": + 1623025175800}, {"namespace": "eos", "hostname": "firewall01", "model": "vm", + "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "10.255.2.189", "bootupTimestamp": 1620675718.0, "timestamp": 1623025176026}, {"namespace": "eos", "hostname": "server101", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.57", "bootupTimestamp": 1620676730.0, "timestamp": 1623025176026}, {"namespace": - "eos", "hostname": "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": - "Ubuntu", "architecture": "x86-64", "status": "alive", "address": "10.255.2.230", - "bootupTimestamp": 1620676730.0, "timestamp": 1623025176212}, {"namespace": "eos", - "hostname": "leaf02", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.185", "bootupTimestamp": - 1620676826.0, "timestamp": 1623025176903}, {"namespace": "eos", "hostname": "spine01", - "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": "x86_64", - "status": "alive", "address": "10.255.2.117", "bootupTimestamp": 1620676825.0, - "timestamp": 1623025176945}, {"namespace": "eos", "hostname": "leaf03", "model": - "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": "x86_64", "status": - "alive", "address": "10.255.2.186", "bootupTimestamp": 1620676827.0, "timestamp": - 1623025177028}, {"namespace": "eos", "hostname": "exit02", "model": "vEOS", "version": - "4.23.5M", "vendor": "Arista", "architecture": "x86_64", "status": "alive", "address": - "10.255.2.253", "bootupTimestamp": 1620676831.0, "timestamp": 1623025177051}, - {"namespace": "eos", "hostname": "spine02", "model": "vEOS", "version": "4.23.5M", - "vendor": "Arista", "architecture": "x86_64", "status": "alive", "address": "10.255.2.118", - "bootupTimestamp": 1620676826.0, "timestamp": 1623025177075}, {"namespace": "eos", - "hostname": "leaf01", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.184", "bootupTimestamp": - 1620676827.0, "timestamp": 1623025177093}, {"namespace": "eos", "hostname": "leaf04", - "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": "x86_64", - "status": "alive", "address": "10.255.2.187", "bootupTimestamp": 1620676832.0, - "timestamp": 1623025177156}, {"namespace": "eos", "hostname": "exit01", "model": - "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": "x86_64", "status": - "alive", "address": "10.255.2.251", "bootupTimestamp": 1622917982.0, "timestamp": - 1623025177156}, {"namespace": "eos", "hostname": "dcedge01", "model": "vqfx-10000", - "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", "status": "alive", + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.57", + "bootupTimestamp": 1620676730.0, "timestamp": 1623025176026}, {"namespace": "eos", + "hostname": "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.230", "bootupTimestamp": + 1620676730.0, "timestamp": 1623025176212}, {"namespace": "eos", "hostname": "leaf02", + "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", + "status": "alive", "address": "10.255.2.185", "bootupTimestamp": 1620676826.0, + "timestamp": 1623025176903}, {"namespace": "eos", "hostname": "spine01", "model": + "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": + "alive", "address": "10.255.2.117", "bootupTimestamp": 1620676825.0, "timestamp": + 1623025176945}, {"namespace": "eos", "hostname": "leaf03", "model": "vEOS", "version": + "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": + "10.255.2.186", "bootupTimestamp": 1620676827.0, "timestamp": 1623025177028}, + {"namespace": "eos", "hostname": "exit02", "model": "vEOS", "version": "4.23.5M", + "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "10.255.2.253", + "bootupTimestamp": 1620676831.0, "timestamp": 1623025177051}, {"namespace": "eos", + "hostname": "spine02", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", + "serialNumber": "", "status": "alive", "address": "10.255.2.118", "bootupTimestamp": + 1620676826.0, "timestamp": 1623025177075}, {"namespace": "eos", "hostname": "leaf01", + "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", + "status": "alive", "address": "10.255.2.184", "bootupTimestamp": 1620676827.0, + "timestamp": 1623025177093}, {"namespace": "eos", "hostname": "leaf04", "model": + "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": + "alive", "address": "10.255.2.187", "bootupTimestamp": 1620676832.0, "timestamp": + 1623025177156}, {"namespace": "eos", "hostname": "exit01", "model": "vEOS", "version": + "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": + "10.255.2.251", "bootupTimestamp": 1622917982.0, "timestamp": 1623025177156}, + {"namespace": "eos", "hostname": "dcedge01", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "65873387107", "status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1620675742.016, "timestamp": 1623025180016}, {"namespace": "junos", "hostname": "server202", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.5.71", "bootupTimestamp": 1622997902.0, "timestamp": 1623025795928}, {"namespace": - "junos", "hostname": "server201", "model": "vm", "version": "18.04.3 LTS", "vendor": - "Ubuntu", "architecture": "x86-64", "status": "alive", "address": "10.255.5.49", - "bootupTimestamp": 1622997945.0, "timestamp": 1623025795928}, {"namespace": "junos", - "hostname": "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", - "architecture": "x86-64", "status": "alive", "address": "10.255.5.169", "bootupTimestamp": - 1622997951.0, "timestamp": 1623025795928}, {"namespace": "junos", "hostname": - "server101", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "10.255.5.72", "bootupTimestamp": 1622997922.0, - "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "firewall01", - "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.5.40", "bootupTimestamp": 1622997934.0, - "timestamp": 1623025796138}, {"namespace": "junos", "hostname": "spine01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "10.255.5.117", "bootupTimestamp": 1622997977.081, - "timestamp": 1623025799081}, {"namespace": "junos", "hostname": "spine02", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "10.255.5.118", "bootupTimestamp": 1622998003.357, - "timestamp": 1623025799357}, {"namespace": "junos", "hostname": "leaf02", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "10.255.5.185", "bootupTimestamp": 1622998018.407, - "timestamp": 1623025799407}, {"namespace": "junos", "hostname": "exit01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "10.255.5.251", "bootupTimestamp": 1622998009.512, - "timestamp": 1623025799512}, {"namespace": "junos", "hostname": "leaf01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "10.255.5.184", "bootupTimestamp": 1622998000.875, - "timestamp": 1623025799875}, {"namespace": "junos", "hostname": "dcedge01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "10.255.5.250", "bootupTimestamp": 1622998015.405, - "timestamp": 1623025800405}, {"namespace": "junos", "hostname": "exit02", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "10.255.5.252", "bootupTimestamp": 1622998009.947, - "timestamp": 1623025800947}, {"namespace": "mixed", "hostname": "leaf6-eos", "model": - "vEOS", "version": "4.23.8M", "vendor": "Arista", "architecture": "x86_64", "status": - "alive", "address": "nebula.packetflow.co.uk:9008", "bootupTimestamp": 1624392450.0, - "timestamp": 1627395437086}, {"namespace": "mixed", "hostname": "leaf5-eos", "model": - "vEOS", "version": "4.23.8M", "vendor": "Arista", "architecture": "x86_64", "status": - "alive", "address": "nebula.packetflow.co.uk:9007", "bootupTimestamp": 1624392448.0, - "timestamp": 1627395437566}, {"namespace": "mixed", "hostname": "leaf3-qfx", "model": - "vqfx-10000", "version": "18.1R3-S2.5", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "nebula.packetflow.co.uk:9005", "bootupTimestamp": - 1624392540.571, "timestamp": 1627395437571}, {"namespace": "mixed", "hostname": - "leaf4-qfx", "model": "vqfx-10000", "version": "18.1R3-S2.5", "vendor": "Juniper", - "architecture": "", "status": "alive", "address": "nebula.packetflow.co.uk:9006", - "bootupTimestamp": 1624392469.304, "timestamp": 1627395438304}, {"namespace": - "mixed", "hostname": "spine1-nxos", "model": "Nexus9000 C9300v Chassis", "version": - "9.3(7a)", "vendor": "Cisco", "architecture": "", "status": "alive", "address": - "nebula.packetflow.co.uk:9001", "bootupTimestamp": 1625740163.0, "timestamp": - 1627395440677}, {"namespace": "mixed", "hostname": "spine2-nxos", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(7a)", "vendor": "Cisco", "architecture": "", - "status": "alive", "address": "nebula.packetflow.co.uk:9002", "bootupTimestamp": - 1625734028.0, "timestamp": 1627395441587}, {"namespace": "mixed", "hostname": - "leaf1-ios", "model": "IOSv", "version": "15.6(2)T", "vendor": "Cisco", "architecture": - "", "status": "alive", "address": "nebula.packetflow.co.uk:9003", "bootupTimestamp": - 1649620439.0, "timestamp": 1627395441786}, {"namespace": "mixed", "hostname": - "leaf2-ios", "model": "IOSv", "version": "15.6(2)T", "vendor": "Cisco", "architecture": - "", "status": "alive", "address": "nebula.packetflow.co.uk:9004", "bootupTimestamp": - 1649620079.0, "timestamp": 1627395442308}, {"namespace": "vmx", "hostname": "TOR4CRP-DGW-RT01", - "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "172.26.145.154", "bootupTimestamp": 1630916460.155, - "timestamp": 1631009087155}, {"namespace": "vmx", "hostname": "TOR1CRP-DGW-RT01", - "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "172.26.145.153", "bootupTimestamp": 1629182498.197, - "timestamp": 1631009087197}, {"namespace": "vmx", "hostname": "TOR1BBN-PE-RT01", - "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "172.26.145.155", "bootupTimestamp": 1629185128.222, - "timestamp": 1631009087222}, {"namespace": "vmx", "hostname": "CRP-ACC-SW01", - "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "172.26.145.151", "bootupTimestamp": 1629105442.745, - "timestamp": 1631009087745}, {"namespace": "vmx", "hostname": "CRP-DIS-SW01", - "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "172.26.145.152", "bootupTimestamp": 1629105452.912, - "timestamp": 1631009087912}, {"namespace": "panos", "hostname": "server102", "model": - "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.76", "bootupTimestamp": 1639384491.0, - "timestamp": 1639476253683}, {"namespace": "panos", "hostname": "server301", "model": - "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.241", "bootupTimestamp": 1639384491.0, - "timestamp": 1639476253890}, {"namespace": "panos", "hostname": "server302", "model": - "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.103", "bootupTimestamp": 1639384491.0, + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.5.71", + "bootupTimestamp": 1622997902.0, "timestamp": 1623025795928}, {"namespace": "junos", + "hostname": "server201", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.5.49", "bootupTimestamp": + 1622997945.0, "timestamp": 1623025795928}, {"namespace": "junos", "hostname": + "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.5.169", "bootupTimestamp": 1622997951.0, + "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "server101", "model": + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.5.72", "bootupTimestamp": 1622997922.0, "timestamp": + 1623025795928}, {"namespace": "junos", "hostname": "firewall01", "model": "vm", + "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "10.255.5.40", "bootupTimestamp": 1622997934.0, "timestamp": 1623025796138}, + {"namespace": "junos", "hostname": "spine01", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "38645725387", "status": "alive", + "address": "10.255.5.117", "bootupTimestamp": 1622997977.081, "timestamp": 1623025799081}, + {"namespace": "junos", "hostname": "spine02", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "05518142768", "status": "alive", + "address": "10.255.5.118", "bootupTimestamp": 1622998003.357, "timestamp": 1623025799357}, + {"namespace": "junos", "hostname": "leaf02", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "01333004301", "status": "alive", + "address": "10.255.5.185", "bootupTimestamp": 1622998018.407, "timestamp": 1623025799407}, + {"namespace": "junos", "hostname": "exit01", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "47187512782", "status": "alive", + "address": "10.255.5.251", "bootupTimestamp": 1622998009.512, "timestamp": 1623025799512}, + {"namespace": "junos", "hostname": "leaf01", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "66124662877", "status": "alive", + "address": "10.255.5.184", "bootupTimestamp": 1622998000.875, "timestamp": 1623025799875}, + {"namespace": "junos", "hostname": "dcedge01", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "52105701727", "status": "alive", + "address": "10.255.5.250", "bootupTimestamp": 1622998015.405, "timestamp": 1623025800405}, + {"namespace": "junos", "hostname": "exit02", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "87673382385", "status": "alive", + "address": "10.255.5.252", "bootupTimestamp": 1622998009.947, "timestamp": 1623025800947}, + {"namespace": "mixed", "hostname": "leaf6-eos", "model": "vEOS", "version": "4.23.8M", + "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "nebula.packetflow.co.uk:9008", + "bootupTimestamp": 1624392450.0, "timestamp": 1627395437086}, {"namespace": "mixed", + "hostname": "leaf5-eos", "model": "vEOS", "version": "4.23.8M", "vendor": "Arista", + "serialNumber": "", "status": "alive", "address": "nebula.packetflow.co.uk:9007", + "bootupTimestamp": 1624392448.0, "timestamp": 1627395437566}, {"namespace": "mixed", + "hostname": "leaf3-qfx", "model": "vqfx-10000", "version": "18.1R3-S2.5", "vendor": + "Juniper", "serialNumber": "07150161637", "status": "alive", "address": "nebula.packetflow.co.uk:9005", + "bootupTimestamp": 1624392540.571, "timestamp": 1627395437571}, {"namespace": + "mixed", "hostname": "leaf4-qfx", "model": "vqfx-10000", "version": "18.1R3-S2.5", + "vendor": "Juniper", "serialNumber": "81674410087", "status": "alive", "address": + "nebula.packetflow.co.uk:9006", "bootupTimestamp": 1624392469.304, "timestamp": + 1627395438304}, {"namespace": "mixed", "hostname": "spine1-nxos", "model": "Nexus9000 + C9300v Chassis", "version": "9.3(7a)", "vendor": "Cisco", "serialNumber": "97ZE61EG3HU", + "status": "alive", "address": "nebula.packetflow.co.uk:9001", "bootupTimestamp": + 1625740163.0, "timestamp": 1627395440677}, {"namespace": "mixed", "hostname": + "spine2-nxos", "model": "Nexus9000 C9300v Chassis", "version": "9.3(7a)", "vendor": + "Cisco", "serialNumber": "9ZSZSPLAP53", "status": "alive", "address": "nebula.packetflow.co.uk:9002", + "bootupTimestamp": 1625734028.0, "timestamp": 1627395441587}, {"namespace": "mixed", + "hostname": "leaf1-ios", "model": "IOSv", "version": "15.6(2)T", "vendor": "Cisco", + "serialNumber": "9W5VPTBQ6YOC586TLJ7U8", "status": "alive", "address": "nebula.packetflow.co.uk:9003", + "bootupTimestamp": 1649620439.0, "timestamp": 1627395441786}, {"namespace": "mixed", + "hostname": "leaf2-ios", "model": "IOSv", "version": "15.6(2)T", "vendor": "Cisco", + "serialNumber": "93IGPL0NJHJSU39YFPRVI", "status": "alive", "address": "nebula.packetflow.co.uk:9004", + "bootupTimestamp": 1649620079.0, "timestamp": 1627395442308}, {"namespace": "vmx", + "hostname": "TOR4CRP-DGW-RT01", "model": "vmx", "version": "18.2R1.9", "vendor": + "Juniper", "serialNumber": "VM611B5AB57B", "status": "alive", "address": "172.26.145.154", + "bootupTimestamp": 1630916460.155, "timestamp": 1631009087155}, {"namespace": + "vmx", "hostname": "TOR1CRP-DGW-RT01", "model": "vmx", "version": "18.2R1.9", + "vendor": "Juniper", "serialNumber": "VM611B595318", "status": "alive", "address": + "172.26.145.153", "bootupTimestamp": 1629182498.197, "timestamp": 1631009087197}, + {"namespace": "vmx", "hostname": "TOR1BBN-PE-RT01", "model": "vmx", "version": + "18.2R1.9", "vendor": "Juniper", "serialNumber": "VM611B64B3CD", "status": "alive", + "address": "172.26.145.155", "bootupTimestamp": 1629185128.222, "timestamp": 1631009087222}, + {"namespace": "vmx", "hostname": "CRP-ACC-SW01", "model": "vmx", "version": "18.2R1.9", + "vendor": "Juniper", "serialNumber": "VM60E81CCE29", "status": "alive", "address": + "172.26.145.151", "bootupTimestamp": 1629105442.745, "timestamp": 1631009087745}, + {"namespace": "vmx", "hostname": "CRP-DIS-SW01", "model": "vmx", "version": "18.2R1.9", + "vendor": "Juniper", "serialNumber": "VM60E8243DDB", "status": "alive", "address": + "172.26.145.152", "bootupTimestamp": 1629105452.912, "timestamp": 1631009087912}, + {"namespace": "panos", "hostname": "server102", "model": "vm", "version": "18.04.6 + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.76", + "bootupTimestamp": 1639384491.0, "timestamp": 1639476253683}, {"namespace": "panos", + "hostname": "server301", "model": "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.241", "bootupTimestamp": + 1639384491.0, "timestamp": 1639476253890}, {"namespace": "panos", "hostname": + "server302", "model": "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.2.103", "bootupTimestamp": 1639384491.0, "timestamp": 1639476253939}, {"namespace": "panos", "hostname": "server101", "model": - "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.9", "bootupTimestamp": 1639384491.0, "timestamp": + "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.9", "bootupTimestamp": 1639384491.0, "timestamp": 1639476253939}, {"namespace": "panos", "hostname": "firewall01", "model": "PA-VM", - "version": "8.0.0", "vendor": "Palo Alto", "architecture": "", "status": "alive", - "address": "10.255.2.141", "bootupTimestamp": 1639384269.0, "timestamp": 1639476253946}, - {"namespace": "panos", "hostname": "dcedge01", "model": "VX", "version": "4.1.1", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "10.255.2.250", - "bootupTimestamp": 1639470236.0, "timestamp": 1639476254621}, {"namespace": "panos", - "hostname": "exit01", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.251", "bootupTimestamp": - 1639470234.0, "timestamp": 1639476254836}, {"namespace": "panos", "hostname": - "exit02", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "10.255.2.252", "bootupTimestamp": 1639470235.0, - "timestamp": 1639476254836}, {"namespace": "panos", "hostname": "leaf02", "model": - "VX", "version": "4.1.1", "vendor": "Cumulus", "architecture": "x86_64", "status": - "alive", "address": "10.255.2.185", "bootupTimestamp": 1639470235.0, "timestamp": - 1639476254844}, {"namespace": "panos", "hostname": "leaf04", "model": "VX", "version": - "4.1.1", "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": - "10.255.2.187", "bootupTimestamp": 1639470235.0, "timestamp": 1639476254844}, - {"namespace": "panos", "hostname": "spine01", "model": "VX", "version": "4.1.1", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "10.255.2.117", + "version": "8.0.0", "vendor": "Palo Alto", "serialNumber": "unknown", "status": + "alive", "address": "10.255.2.141", "bootupTimestamp": 1639384269.0, "timestamp": + 1639476253946}, {"namespace": "panos", "hostname": "dcedge01", "model": "VX", + "version": "4.1.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", + "address": "10.255.2.250", "bootupTimestamp": 1639470236.0, "timestamp": 1639476254621}, + {"namespace": "panos", "hostname": "exit01", "model": "VX", "version": "4.1.1", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.251", + "bootupTimestamp": 1639470234.0, "timestamp": 1639476254836}, {"namespace": "panos", + "hostname": "exit02", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", + "serialNumber": "None", "status": "alive", "address": "10.255.2.252", "bootupTimestamp": + 1639470235.0, "timestamp": 1639476254836}, {"namespace": "panos", "hostname": + "leaf02", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", "serialNumber": + "None", "status": "alive", "address": "10.255.2.185", "bootupTimestamp": 1639470235.0, + "timestamp": 1639476254844}, {"namespace": "panos", "hostname": "leaf04", "model": + "VX", "version": "4.1.1", "vendor": "Cumulus", "serialNumber": "None", "status": + "alive", "address": "10.255.2.187", "bootupTimestamp": 1639470235.0, "timestamp": + 1639476254844}, {"namespace": "panos", "hostname": "spine01", "model": "VX", "version": + "4.1.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": + "10.255.2.117", "bootupTimestamp": 1639470234.0, "timestamp": 1639476254852}, + {"namespace": "panos", "hostname": "spine02", "model": "VX", "version": "4.1.1", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.118", "bootupTimestamp": 1639470234.0, "timestamp": 1639476254852}, {"namespace": "panos", - "hostname": "spine02", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.118", "bootupTimestamp": + "hostname": "leaf03", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", + "serialNumber": "None", "status": "alive", "address": "10.255.2.186", "bootupTimestamp": 1639470234.0, "timestamp": 1639476254852}, {"namespace": "panos", "hostname": - "leaf03", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "10.255.2.186", "bootupTimestamp": 1639470234.0, - "timestamp": 1639476254852}, {"namespace": "panos", "hostname": "leaf01", "model": - "VX", "version": "4.1.1", "vendor": "Cumulus", "architecture": "x86_64", "status": - "alive", "address": "10.255.2.184", "bootupTimestamp": 1639470234.0, "timestamp": - 1639476254878}]' + "leaf01", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", "serialNumber": + "None", "status": "alive", "address": "10.255.2.184", "bootupTimestamp": 1639470234.0, + "timestamp": 1639476254878}]' - command: evpnVni show --format=json data-directory: tests/data/parquet/ marks: evpnVni show all diff --git a/tests/integration/sqcmds/common-samples/common-errors.yml b/tests/integration/sqcmds/common-samples/common-errors.yml index 4806d3123d..f7c34838b3 100644 --- a/tests/integration/sqcmds/common-samples/common-errors.yml +++ b/tests/integration/sqcmds/common-samples/common-errors.yml @@ -12,131 +12,131 @@ tests: data-directory: tests/data/parquet/ marks: device show output: '[{"namespace": "ospf-ibgp", "hostname": "server103", "model": "vm", "version": - "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "192.168.123.150", "bootupTimestamp": 1616680845.0, "timestamp": 1616681581595}, + "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "192.168.123.150", "bootupTimestamp": 1616680845.0, "timestamp": 1616681581595}, {"namespace": "ospf-ibgp", "hostname": "server101", "model": "vm", "version": - "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "192.168.123.184", "bootupTimestamp": 1616680816.0, "timestamp": 1616681581632}, + "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "192.168.123.184", "bootupTimestamp": 1616680816.0, "timestamp": 1616681581632}, {"namespace": "ospf-ibgp", "hostname": "server104", "model": "vm", "version": - "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "192.168.123.197", "bootupTimestamp": 1616680858.0, "timestamp": 1616681581652}, + "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "192.168.123.197", "bootupTimestamp": 1616680858.0, "timestamp": 1616681581652}, {"namespace": "ospf-ibgp", "hostname": "edge01", "model": "vm", "version": "16.04.7 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "192.168.123.180", "bootupTimestamp": 1616681014.0, "timestamp": 1616681581705}, - {"namespace": "ospf-ibgp", "hostname": "server102", "model": "vm", "version": - "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "192.168.123.134", "bootupTimestamp": 1616680827.0, "timestamp": 1616681581705}, - {"namespace": "ospf-ibgp", "hostname": "exit01", "model": "VX", "version": "4.2.1", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "192.168.123.188", - "bootupTimestamp": 1616681014.0, "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", - "hostname": "leaf02", "model": "VX", "version": "4.2.1", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "192.168.123.239", "bootupTimestamp": - 1616681016.0, "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", "hostname": - "leaf04", "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.123.202", "bootupTimestamp": - 1616681014.0, "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", "hostname": - "leaf03", "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.123.248", "bootupTimestamp": - 1616681014.0, "timestamp": 1616681582844}, {"namespace": "ospf-ibgp", "hostname": - "spine01", "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.123.135", "bootupTimestamp": - 1616681014.0, "timestamp": 1616681582844}, {"namespace": "ospf-ibgp", "hostname": - "exit02", "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.123.136", "bootupTimestamp": - 1616681015.0, "timestamp": 1616681582902}, {"namespace": "ospf-ibgp", "hostname": - "spine02", "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.123.16", "bootupTimestamp": 1616681014.0, + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.180", + "bootupTimestamp": 1616681014.0, "timestamp": 1616681581705}, {"namespace": "ospf-ibgp", + "hostname": "server102", "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "192.168.123.134", "bootupTimestamp": + 1616680827.0, "timestamp": 1616681581705}, {"namespace": "ospf-ibgp", "hostname": + "exit01", "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": + "None", "status": "alive", "address": "192.168.123.188", "bootupTimestamp": 1616681014.0, + "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", "hostname": "leaf02", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "192.168.123.239", "bootupTimestamp": 1616681016.0, + "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", "hostname": "leaf04", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "192.168.123.202", "bootupTimestamp": 1616681014.0, + "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", "hostname": "leaf03", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "192.168.123.248", "bootupTimestamp": 1616681014.0, + "timestamp": 1616681582844}, {"namespace": "ospf-ibgp", "hostname": "spine01", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "192.168.123.135", "bootupTimestamp": 1616681014.0, + "timestamp": 1616681582844}, {"namespace": "ospf-ibgp", "hostname": "exit02", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "192.168.123.136", "bootupTimestamp": 1616681015.0, + "timestamp": 1616681582902}, {"namespace": "ospf-ibgp", "hostname": "spine02", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "192.168.123.16", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582902}, {"namespace": "ospf-ibgp", "hostname": "leaf01", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.30", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582903}, {"namespace": "ospf-ibgp", "hostname": "internet", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.237", "bootupTimestamp": 1616681016.0, "timestamp": 1616681582980}]' - command: device show --namespace=~^ospf-.* --format=json data-directory: tests/data/parquet/ marks: device show output: '[{"namespace": "ospf-single", "hostname": "server102", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.68", "bootupTimestamp": 1616351835.0, "timestamp": 1616352402600}, - {"namespace": "ospf-single", "hostname": "server103", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.182", "bootupTimestamp": 1616351788.0, "timestamp": 1616352402601}, - {"namespace": "ospf-single", "hostname": "server101", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.78", "bootupTimestamp": 1616351831.0, "timestamp": 1616352402606}, - {"namespace": "ospf-single", "hostname": "server104", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.219", "bootupTimestamp": 1616351815.0, "timestamp": 1616352402611}, - {"namespace": "ospf-single", "hostname": "edge01", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.109", "bootupTimestamp": 1616351812.0, "timestamp": 1616352402798}, - {"namespace": "ospf-single", "hostname": "leaf01", "model": "VX", "version": "4.3.0", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "10.255.2.23", - "bootupTimestamp": 1616351988.0, "timestamp": 1616352403833}, {"namespace": "ospf-single", - "hostname": "spine02", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.60", "bootupTimestamp": - 1616351988.0, "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": - "spine01", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "10.255.2.217", "bootupTimestamp": 1616351988.0, + "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.68", "bootupTimestamp": 1616351835.0, "timestamp": 1616352402600}, {"namespace": + "ospf-single", "hostname": "server103", "model": "vm", "version": "16.04.6 LTS", + "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.182", + "bootupTimestamp": 1616351788.0, "timestamp": 1616352402601}, {"namespace": "ospf-single", + "hostname": "server101", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.78", "bootupTimestamp": + 1616351831.0, "timestamp": 1616352402606}, {"namespace": "ospf-single", "hostname": + "server104", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.2.219", "bootupTimestamp": 1616351815.0, + "timestamp": 1616352402611}, {"namespace": "ospf-single", "hostname": "edge01", + "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "10.255.2.109", "bootupTimestamp": 1616351812.0, + "timestamp": 1616352402798}, {"namespace": "ospf-single", "hostname": "leaf01", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "10.255.2.23", "bootupTimestamp": 1616351988.0, + "timestamp": 1616352403833}, {"namespace": "ospf-single", "hostname": "spine02", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "10.255.2.60", "bootupTimestamp": 1616351988.0, + "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "spine01", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "10.255.2.217", "bootupTimestamp": 1616351988.0, "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "internet", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.239", "bootupTimestamp": 1616351807.0, "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "exit02", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.41", "bootupTimestamp": 1616351989.0, "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "exit01", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.88", "bootupTimestamp": 1616351989.0, "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "leaf02", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.203", "bootupTimestamp": 1616351988.0, "timestamp": 1616352403841}, {"namespace": "ospf-single", "hostname": "leaf03", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.254", "bootupTimestamp": 1616351988.0, "timestamp": 1616352403841}, {"namespace": "ospf-single", "hostname": "leaf04", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.10", "bootupTimestamp": 1616351988.0, "timestamp": 1616352403841}, {"namespace": "ospf-ibgp", "hostname": "server103", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.150", "bootupTimestamp": 1616680845.0, "timestamp": 1616681581595}, {"namespace": "ospf-ibgp", "hostname": "server101", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.184", "bootupTimestamp": 1616680816.0, "timestamp": 1616681581632}, {"namespace": "ospf-ibgp", "hostname": "server104", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.197", "bootupTimestamp": 1616680858.0, "timestamp": 1616681581652}, {"namespace": "ospf-ibgp", "hostname": "edge01", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.180", "bootupTimestamp": 1616681014.0, "timestamp": 1616681581705}, {"namespace": "ospf-ibgp", "hostname": "server102", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.134", "bootupTimestamp": 1616680827.0, "timestamp": 1616681581705}, {"namespace": "ospf-ibgp", "hostname": "leaf04", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.202", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", "hostname": "leaf02", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.239", "bootupTimestamp": 1616681016.0, "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", "hostname": "exit01", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.188", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", "hostname": "leaf03", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.248", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582844}, {"namespace": "ospf-ibgp", "hostname": "spine01", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.135", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582844}, {"namespace": "ospf-ibgp", "hostname": "exit02", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.136", "bootupTimestamp": 1616681015.0, "timestamp": 1616681582902}, {"namespace": "ospf-ibgp", "hostname": "spine02", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.16", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582902}, {"namespace": "ospf-ibgp", "hostname": "leaf01", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.30", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582903}, {"namespace": "ospf-ibgp", "hostname": "internet", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.237", "bootupTimestamp": 1616681016.0, "timestamp": 1616681582980}]' diff --git a/tests/integration/sqcmds/common-samples/describe.yml b/tests/integration/sqcmds/common-samples/describe.yml index b9450be88b..1904a59120 100644 --- a/tests/integration/sqcmds/common-samples/describe.yml +++ b/tests/integration/sqcmds/common-samples/describe.yml @@ -153,7 +153,7 @@ tests: output: '[{"name": "active", "type": "boolean", "key": "", "display": "", "description": "If this entry is active or deleted"}, {"name": "address", "type": "string", "key": "", "display": 7, "description": "The IP address/hostname used for polling"}, - {"name": "architecture", "type": "string", "key": "", "display": 5, "description": + {"name": "architecture", "type": "string", "key": "", "display": "", "description": ""}, {"name": "bootupTimestamp", "type": "double", "key": "", "display": 9, "description": ""}, {"name": "deviceSession", "type": "timestamp", "key": "", "display": "", "description": "Device boot session id"}, {"name": "hostname", "type": "string", @@ -164,7 +164,7 @@ tests: "Namespace associated with this record"}, {"name": "os", "type": "string", "key": "", "display": "", "description": ""}, {"name": "reason", "type": "string", "key": "", "display": "", "description": ""}, {"name": "serialNumber", "type": "string", - "key": "", "display": "", "description": ""}, {"name": "sqvers", "type": "string", + "key": "", "display": 5, "description": ""}, {"name": "sqvers", "type": "string", "key": "", "display": "", "description": "Schema version, not selectable"}, {"name": "status", "type": "string", "key": "", "display": 6, "description": "Status of device: alive/dead/neverpoll"}, {"name": "timestamp", "type": "timestamp", "key": diff --git a/tests/integration/sqcmds/common-samples/not.yml b/tests/integration/sqcmds/common-samples/not.yml index fb4d375696..d8dded1f1f 100644 --- a/tests/integration/sqcmds/common-samples/not.yml +++ b/tests/integration/sqcmds/common-samples/not.yml @@ -13087,516 +13087,506 @@ tests: data-directory: tests/data/parquet/ marks: device show hostname negate output: '[{"namespace": "ospf-single", "hostname": "server102", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.68", "bootupTimestamp": 1616351835.0, "timestamp": 1616352402600}, - {"namespace": "ospf-single", "hostname": "server103", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.182", "bootupTimestamp": 1616351788.0, "timestamp": 1616352402601}, - {"namespace": "ospf-single", "hostname": "server101", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.78", "bootupTimestamp": 1616351831.0, "timestamp": 1616352402606}, - {"namespace": "ospf-single", "hostname": "server104", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.219", "bootupTimestamp": 1616351815.0, "timestamp": 1616352402611}, - {"namespace": "ospf-single", "hostname": "edge01", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.109", "bootupTimestamp": 1616351812.0, "timestamp": 1616352402798}, - {"namespace": "ospf-single", "hostname": "exit01", "model": "VX", "version": "4.3.0", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "10.255.2.88", - "bootupTimestamp": 1616351989.0, "timestamp": 1616352403840}, {"namespace": "ospf-single", - "hostname": "exit02", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.41", "bootupTimestamp": - 1616351989.0, "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": - "internet", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "10.255.2.239", "bootupTimestamp": 1616351807.0, + "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.68", "bootupTimestamp": 1616351835.0, "timestamp": 1616352402600}, {"namespace": + "ospf-single", "hostname": "server103", "model": "vm", "version": "16.04.6 LTS", + "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.182", + "bootupTimestamp": 1616351788.0, "timestamp": 1616352402601}, {"namespace": "ospf-single", + "hostname": "server101", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.78", "bootupTimestamp": + 1616351831.0, "timestamp": 1616352402606}, {"namespace": "ospf-single", "hostname": + "server104", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.2.219", "bootupTimestamp": 1616351815.0, + "timestamp": 1616352402611}, {"namespace": "ospf-single", "hostname": "edge01", + "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "10.255.2.109", "bootupTimestamp": 1616351812.0, + "timestamp": 1616352402798}, {"namespace": "ospf-single", "hostname": "exit01", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "10.255.2.88", "bootupTimestamp": 1616351989.0, + "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "exit02", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "10.255.2.41", "bootupTimestamp": 1616351989.0, + "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "internet", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "10.255.2.239", "bootupTimestamp": 1616351807.0, "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "spine01", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.217", "bootupTimestamp": 1616351988.0, "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "spine02", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.60", "bootupTimestamp": 1616351988.0, "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "leaf04", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.10", "bootupTimestamp": 1616351988.0, "timestamp": 1616352403841}, {"namespace": "ospf-single", "hostname": "leaf03", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.254", "bootupTimestamp": 1616351988.0, "timestamp": 1616352403841}, {"namespace": "dual-bgp", "hostname": "server104", - "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.121.180", "bootupTimestamp": 1616638128.0, "timestamp": 1616638469368}, {"namespace": "dual-bgp", "hostname": "server102", - "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.121.254", "bootupTimestamp": 1616638127.0, "timestamp": 1616638469377}, {"namespace": "dual-bgp", "hostname": "edge01", "model": - "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "192.168.121.103", "bootupTimestamp": 1616638059.0, - "timestamp": 1616638469433}, {"namespace": "dual-bgp", "hostname": "server103", - "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "192.168.121.222", "bootupTimestamp": 1616638128.0, - "timestamp": 1616638469433}, {"namespace": "dual-bgp", "hostname": "server101", - "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "192.168.121.233", "bootupTimestamp": 1616638128.0, - "timestamp": 1616638469517}, {"namespace": "dual-bgp", "hostname": "spine01", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", - "status": "alive", "address": "192.168.121.51", "bootupTimestamp": 1616638065.0, - "timestamp": 1616638469730}, {"namespace": "dual-bgp", "hostname": "internet", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", - "status": "alive", "address": "192.168.121.141", "bootupTimestamp": 1616638065.0, + "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "192.168.121.103", "bootupTimestamp": 1616638059.0, "timestamp": + 1616638469433}, {"namespace": "dual-bgp", "hostname": "server103", "model": "vm", + "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "192.168.121.222", "bootupTimestamp": 1616638128.0, "timestamp": 1616638469433}, + {"namespace": "dual-bgp", "hostname": "server101", "model": "vm", "version": "16.04.6 + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.121.233", + "bootupTimestamp": 1616638128.0, "timestamp": 1616638469517}, {"namespace": "dual-bgp", + "hostname": "spine01", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", + "serialNumber": "None", "status": "alive", "address": "192.168.121.51", "bootupTimestamp": + 1616638065.0, "timestamp": 1616638469730}, {"namespace": "dual-bgp", "hostname": + "internet", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": + "None", "status": "alive", "address": "192.168.121.141", "bootupTimestamp": 1616638065.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": "exit01", "model": - "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", "status": + "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.164", "bootupTimestamp": 1616638066.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": "leaf04", "model": "VX", - "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", + "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.132", "bootupTimestamp": 1616638065.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": "exit02", "model": "VX", "version": "4.3.0", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "192.168.121.181", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.181", "bootupTimestamp": 1616638066.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": "spine02", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "192.168.121.186", "bootupTimestamp": + "serialNumber": "None", "status": "alive", "address": "192.168.121.186", "bootupTimestamp": 1616638066.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": - "leaf03", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.33", "bootupTimestamp": 1616638067.0, + "leaf03", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": + "None", "status": "alive", "address": "192.168.121.33", "bootupTimestamp": 1616638067.0, "timestamp": 1616638471112}, {"namespace": "dual-evpn", "hostname": "edge01", - "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.121.154", "bootupTimestamp": 1616644592.0, "timestamp": 1616644822168}, {"namespace": "dual-evpn", "hostname": "leaf03", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.13", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822331}, {"namespace": "dual-evpn", "hostname": "spine02", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.136", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822357}, {"namespace": "dual-evpn", "hostname": "spine01", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.42", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822465}, {"namespace": "dual-evpn", "hostname": "leaf04", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.38", "bootupTimestamp": 1616644597.0, "timestamp": 1616644822465}, {"namespace": "dual-evpn", "hostname": "exit01", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.126", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822507}, {"namespace": "dual-evpn", "hostname": "internet", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.157", "bootupTimestamp": 1616644599.0, "timestamp": 1616644822518}, {"namespace": "dual-evpn", "hostname": "exit02", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.150", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822532}, {"namespace": "ospf-ibgp", "hostname": "server103", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.150", "bootupTimestamp": 1616680845.0, "timestamp": 1616681581595}, {"namespace": "ospf-ibgp", "hostname": "server101", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.184", "bootupTimestamp": 1616680816.0, "timestamp": 1616681581632}, {"namespace": "ospf-ibgp", "hostname": "server104", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.197", "bootupTimestamp": 1616680858.0, "timestamp": 1616681581652}, {"namespace": "ospf-ibgp", "hostname": "edge01", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.180", "bootupTimestamp": 1616681014.0, "timestamp": 1616681581705}, {"namespace": "ospf-ibgp", "hostname": "server102", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.134", "bootupTimestamp": 1616680827.0, "timestamp": 1616681581705}, {"namespace": "ospf-ibgp", "hostname": "leaf04", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.202", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", "hostname": "exit01", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.188", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", "hostname": "spine01", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.135", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582844}, {"namespace": "ospf-ibgp", "hostname": "leaf03", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.248", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582844}, {"namespace": "ospf-ibgp", "hostname": "exit02", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.136", "bootupTimestamp": 1616681015.0, "timestamp": 1616681582902}, {"namespace": "ospf-ibgp", "hostname": "spine02", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.16", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582902}, {"namespace": "ospf-ibgp", "hostname": "internet", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.237", "bootupTimestamp": 1616681016.0, "timestamp": 1616681582980}, {"namespace": "nxos", "hostname": "server101", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.204", "bootupTimestamp": 1619182381.0, - "timestamp": 1619275256203}, {"namespace": "nxos", "hostname": "server102", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.39", "bootupTimestamp": 1619182381.0, - "timestamp": 1619275256290}, {"namespace": "nxos", "hostname": "server301", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.140", "bootupTimestamp": 1619182381.0, - "timestamp": 1619275256319}, {"namespace": "nxos", "hostname": "server302", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.114", "bootupTimestamp": 1619182381.0, - "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.204", "bootupTimestamp": 1619182381.0, "timestamp": + 1619275256203}, {"namespace": "nxos", "hostname": "server102", "model": "vm", + "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "10.255.2.39", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256290}, + {"namespace": "nxos", "hostname": "server301", "model": "vm", "version": "18.04.3 + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.140", + "bootupTimestamp": 1619182381.0, "timestamp": 1619275256319}, {"namespace": "nxos", + "hostname": "server302", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.114", "bootupTimestamp": + 1619182381.0, "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", + "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.249", "bootupTimestamp": 1619013132.0, "timestamp": 1619275256497}, {"namespace": "nxos", "hostname": "dcedge01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "27840100856", "status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1619013129.329, "timestamp": 1619275258329}, {"namespace": "nxos", "hostname": "spine02", "model": - "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": - "Intel Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.120", - "bootupTimestamp": 1619013194.0, "timestamp": 1619275263055}, {"namespace": "nxos", - "hostname": "spine01", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.119", "bootupTimestamp": 1619013190.0, "timestamp": - 1619275263589}, {"namespace": "nxos", "hostname": "leaf03", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.190", - "bootupTimestamp": 1619043796.0, "timestamp": 1619275263596}, {"namespace": "nxos", - "hostname": "exit01", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.253", "bootupTimestamp": 1619013183.0, "timestamp": - 1619275265064}, {"namespace": "nxos", "hostname": "leaf04", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.191", - "bootupTimestamp": 1619043813.0, "timestamp": 1619275265167}, {"namespace": "nxos", - "hostname": "exit02", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.254", "bootupTimestamp": 1619013188.0, "timestamp": - 1619275265196}, {"namespace": "eos", "hostname": "server301", "model": "vm", "version": - "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.151", "bootupTimestamp": 1620676730.0, "timestamp": 1623025175797}, - {"namespace": "eos", "hostname": "server302", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.137", "bootupTimestamp": 1620676730.0, "timestamp": 1623025175800}, - {"namespace": "eos", "hostname": "firewall01", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.189", "bootupTimestamp": 1620675718.0, "timestamp": 1623025176026}, + "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9SM7CHR8WEF", "status": "alive", "address": "10.255.2.120", "bootupTimestamp": + 1619013194.0, "timestamp": 1619275263055}, {"namespace": "nxos", "hostname": "spine01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9U1GLRQOXD7", "status": "alive", "address": "10.255.2.119", "bootupTimestamp": + 1619013190.0, "timestamp": 1619275263589}, {"namespace": "nxos", "hostname": "leaf03", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "901I7PY72LO", "status": "alive", "address": "10.255.2.190", "bootupTimestamp": + 1619043796.0, "timestamp": 1619275263596}, {"namespace": "nxos", "hostname": "exit01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90QIMGF49OS", "status": "alive", "address": "10.255.2.253", "bootupTimestamp": + 1619013183.0, "timestamp": 1619275265064}, {"namespace": "nxos", "hostname": "leaf04", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9Q04O8RGPL8", "status": "alive", "address": "10.255.2.191", "bootupTimestamp": + 1619043813.0, "timestamp": 1619275265167}, {"namespace": "nxos", "hostname": "exit02", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90ZY6UG6ELL", "status": "alive", "address": "10.255.2.254", "bootupTimestamp": + 1619013188.0, "timestamp": 1619275265196}, {"namespace": "eos", "hostname": "server301", + "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "10.255.2.151", "bootupTimestamp": 1620676730.0, + "timestamp": 1623025175797}, {"namespace": "eos", "hostname": "server302", "model": + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.137", "bootupTimestamp": 1620676730.0, "timestamp": + 1623025175800}, {"namespace": "eos", "hostname": "firewall01", "model": "vm", + "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "10.255.2.189", "bootupTimestamp": 1620675718.0, "timestamp": 1623025176026}, {"namespace": "eos", "hostname": "server101", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.57", "bootupTimestamp": 1620676730.0, "timestamp": 1623025176026}, {"namespace": - "eos", "hostname": "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": - "Ubuntu", "architecture": "x86-64", "status": "alive", "address": "10.255.2.230", - "bootupTimestamp": 1620676730.0, "timestamp": 1623025176212}, {"namespace": "eos", - "hostname": "spine01", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.117", "bootupTimestamp": - 1620676825.0, "timestamp": 1623025176945}, {"namespace": "eos", "hostname": "leaf03", - "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": "x86_64", - "status": "alive", "address": "10.255.2.186", "bootupTimestamp": 1620676827.0, - "timestamp": 1623025177028}, {"namespace": "eos", "hostname": "exit02", "model": - "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": "x86_64", "status": - "alive", "address": "10.255.2.253", "bootupTimestamp": 1620676831.0, "timestamp": - 1623025177051}, {"namespace": "eos", "hostname": "spine02", "model": "vEOS", "version": - "4.23.5M", "vendor": "Arista", "architecture": "x86_64", "status": "alive", "address": - "10.255.2.118", "bootupTimestamp": 1620676826.0, "timestamp": 1623025177075}, - {"namespace": "eos", "hostname": "leaf04", "model": "vEOS", "version": "4.23.5M", - "vendor": "Arista", "architecture": "x86_64", "status": "alive", "address": "10.255.2.187", - "bootupTimestamp": 1620676832.0, "timestamp": 1623025177156}, {"namespace": "eos", - "hostname": "exit01", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.251", "bootupTimestamp": - 1622917982.0, "timestamp": 1623025177156}, {"namespace": "eos", "hostname": "dcedge01", - "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": - "", "status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1620675742.016, + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.57", + "bootupTimestamp": 1620676730.0, "timestamp": 1623025176026}, {"namespace": "eos", + "hostname": "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.230", "bootupTimestamp": + 1620676730.0, "timestamp": 1623025176212}, {"namespace": "eos", "hostname": "spine01", + "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", + "status": "alive", "address": "10.255.2.117", "bootupTimestamp": 1620676825.0, + "timestamp": 1623025176945}, {"namespace": "eos", "hostname": "leaf03", "model": + "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": + "alive", "address": "10.255.2.186", "bootupTimestamp": 1620676827.0, "timestamp": + 1623025177028}, {"namespace": "eos", "hostname": "exit02", "model": "vEOS", "version": + "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": + "10.255.2.253", "bootupTimestamp": 1620676831.0, "timestamp": 1623025177051}, + {"namespace": "eos", "hostname": "spine02", "model": "vEOS", "version": "4.23.5M", + "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "10.255.2.118", + "bootupTimestamp": 1620676826.0, "timestamp": 1623025177075}, {"namespace": "eos", + "hostname": "leaf04", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", + "serialNumber": "", "status": "alive", "address": "10.255.2.187", "bootupTimestamp": + 1620676832.0, "timestamp": 1623025177156}, {"namespace": "eos", "hostname": "exit01", + "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", + "status": "alive", "address": "10.255.2.251", "bootupTimestamp": 1622917982.0, + "timestamp": 1623025177156}, {"namespace": "eos", "hostname": "dcedge01", "model": + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "65873387107", + "status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1620675742.016, "timestamp": 1623025180016}, {"namespace": "junos", "hostname": "server202", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.5.71", "bootupTimestamp": 1622997902.0, - "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "server201", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.5.49", "bootupTimestamp": 1622997945.0, - "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "server102", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.5.169", "bootupTimestamp": 1622997951.0, - "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "server101", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.5.72", "bootupTimestamp": 1622997922.0, - "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "firewall01", - "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.5.40", "bootupTimestamp": 1622997934.0, + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.5.71", "bootupTimestamp": 1622997902.0, "timestamp": + 1623025795928}, {"namespace": "junos", "hostname": "server201", "model": "vm", + "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "10.255.5.49", "bootupTimestamp": 1622997945.0, "timestamp": 1623025795928}, + {"namespace": "junos", "hostname": "server102", "model": "vm", "version": "18.04.3 + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.5.169", + "bootupTimestamp": 1622997951.0, "timestamp": 1623025795928}, {"namespace": "junos", + "hostname": "server101", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.5.72", "bootupTimestamp": + 1622997922.0, "timestamp": 1623025795928}, {"namespace": "junos", "hostname": + "firewall01", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.5.40", "bootupTimestamp": 1622997934.0, "timestamp": 1623025796138}, {"namespace": "junos", "hostname": "spine01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "38645725387", "status": "alive", "address": "10.255.5.117", "bootupTimestamp": 1622997977.081, "timestamp": 1623025799081}, {"namespace": "junos", "hostname": "spine02", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "05518142768", "status": "alive", "address": "10.255.5.118", "bootupTimestamp": 1622998003.357, "timestamp": 1623025799357}, {"namespace": "junos", "hostname": "exit01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "47187512782", "status": "alive", "address": "10.255.5.251", "bootupTimestamp": 1622998009.512, "timestamp": 1623025799512}, {"namespace": "junos", "hostname": "dcedge01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "52105701727", "status": "alive", "address": "10.255.5.250", "bootupTimestamp": 1622998015.405, "timestamp": 1623025800405}, {"namespace": "junos", "hostname": "exit02", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "87673382385", "status": "alive", "address": "10.255.5.252", "bootupTimestamp": 1622998009.947, "timestamp": 1623025800947}, {"namespace": "mixed", "hostname": "leaf6-eos", "model": - "vEOS", "version": "4.23.8M", "vendor": "Arista", "architecture": "x86_64", "status": + "vEOS", "version": "4.23.8M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "nebula.packetflow.co.uk:9008", "bootupTimestamp": 1624392450.0, "timestamp": 1627395437086}, {"namespace": "mixed", "hostname": "leaf5-eos", "model": - "vEOS", "version": "4.23.8M", "vendor": "Arista", "architecture": "x86_64", "status": + "vEOS", "version": "4.23.8M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "nebula.packetflow.co.uk:9007", "bootupTimestamp": 1624392448.0, "timestamp": 1627395437566}, {"namespace": "mixed", "hostname": "leaf3-qfx", "model": - "vqfx-10000", "version": "18.1R3-S2.5", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "18.1R3-S2.5", "vendor": "Juniper", "serialNumber": "07150161637", "status": "alive", "address": "nebula.packetflow.co.uk:9005", "bootupTimestamp": 1624392540.571, "timestamp": 1627395437571}, {"namespace": "mixed", "hostname": "leaf4-qfx", "model": "vqfx-10000", "version": "18.1R3-S2.5", "vendor": "Juniper", - "architecture": "", "status": "alive", "address": "nebula.packetflow.co.uk:9006", + "serialNumber": "81674410087", "status": "alive", "address": "nebula.packetflow.co.uk:9006", "bootupTimestamp": 1624392469.304, "timestamp": 1627395438304}, {"namespace": "mixed", "hostname": "spine1-nxos", "model": "Nexus9000 C9300v Chassis", "version": - "9.3(7a)", "vendor": "Cisco", "architecture": "", "status": "alive", "address": - "nebula.packetflow.co.uk:9001", "bootupTimestamp": 1625740163.0, "timestamp": + "9.3(7a)", "vendor": "Cisco", "serialNumber": "97ZE61EG3HU", "status": "alive", + "address": "nebula.packetflow.co.uk:9001", "bootupTimestamp": 1625740163.0, "timestamp": 1627395440677}, {"namespace": "mixed", "hostname": "spine2-nxos", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(7a)", "vendor": "Cisco", "architecture": "", + C9300v Chassis", "version": "9.3(7a)", "vendor": "Cisco", "serialNumber": "9ZSZSPLAP53", "status": "alive", "address": "nebula.packetflow.co.uk:9002", "bootupTimestamp": 1625734028.0, "timestamp": 1627395441587}, {"namespace": "mixed", "hostname": - "leaf1-ios", "model": "IOSv", "version": "15.6(2)T", "vendor": "Cisco", "architecture": - "", "status": "alive", "address": "nebula.packetflow.co.uk:9003", "bootupTimestamp": - 1649620439.0, "timestamp": 1627395441786}, {"namespace": "mixed", "hostname": - "leaf2-ios", "model": "IOSv", "version": "15.6(2)T", "vendor": "Cisco", "architecture": - "", "status": "alive", "address": "nebula.packetflow.co.uk:9004", "bootupTimestamp": - 1649620079.0, "timestamp": 1627395442308}, {"namespace": "vmx", "hostname": "TOR4CRP-DGW-RT01", - "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "172.26.145.154", "bootupTimestamp": 1630916460.155, - "timestamp": 1631009087155}, {"namespace": "vmx", "hostname": "TOR1CRP-DGW-RT01", - "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "172.26.145.153", "bootupTimestamp": 1629182498.197, - "timestamp": 1631009087197}, {"namespace": "vmx", "hostname": "TOR1BBN-PE-RT01", - "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "172.26.145.155", "bootupTimestamp": 1629185128.222, - "timestamp": 1631009087222}, {"namespace": "vmx", "hostname": "CRP-ACC-SW01", - "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "172.26.145.151", "bootupTimestamp": 1629105442.745, - "timestamp": 1631009087745}, {"namespace": "vmx", "hostname": "CRP-DIS-SW01", - "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "172.26.145.152", "bootupTimestamp": 1629105452.912, - "timestamp": 1631009087912}, {"namespace": "panos", "hostname": "server102", "model": - "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.76", "bootupTimestamp": 1639384491.0, - "timestamp": 1639476253683}, {"namespace": "panos", "hostname": "server301", "model": - "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.241", "bootupTimestamp": 1639384491.0, - "timestamp": 1639476253890}, {"namespace": "panos", "hostname": "server302", "model": - "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.103", "bootupTimestamp": 1639384491.0, + "leaf1-ios", "model": "IOSv", "version": "15.6(2)T", "vendor": "Cisco", "serialNumber": + "9W5VPTBQ6YOC586TLJ7U8", "status": "alive", "address": "nebula.packetflow.co.uk:9003", + "bootupTimestamp": 1649620439.0, "timestamp": 1627395441786}, {"namespace": "mixed", + "hostname": "leaf2-ios", "model": "IOSv", "version": "15.6(2)T", "vendor": "Cisco", + "serialNumber": "93IGPL0NJHJSU39YFPRVI", "status": "alive", "address": "nebula.packetflow.co.uk:9004", + "bootupTimestamp": 1649620079.0, "timestamp": 1627395442308}, {"namespace": "vmx", + "hostname": "TOR4CRP-DGW-RT01", "model": "vmx", "version": "18.2R1.9", "vendor": + "Juniper", "serialNumber": "VM611B5AB57B", "status": "alive", "address": "172.26.145.154", + "bootupTimestamp": 1630916460.155, "timestamp": 1631009087155}, {"namespace": + "vmx", "hostname": "TOR1CRP-DGW-RT01", "model": "vmx", "version": "18.2R1.9", + "vendor": "Juniper", "serialNumber": "VM611B595318", "status": "alive", "address": + "172.26.145.153", "bootupTimestamp": 1629182498.197, "timestamp": 1631009087197}, + {"namespace": "vmx", "hostname": "TOR1BBN-PE-RT01", "model": "vmx", "version": + "18.2R1.9", "vendor": "Juniper", "serialNumber": "VM611B64B3CD", "status": "alive", + "address": "172.26.145.155", "bootupTimestamp": 1629185128.222, "timestamp": 1631009087222}, + {"namespace": "vmx", "hostname": "CRP-ACC-SW01", "model": "vmx", "version": "18.2R1.9", + "vendor": "Juniper", "serialNumber": "VM60E81CCE29", "status": "alive", "address": + "172.26.145.151", "bootupTimestamp": 1629105442.745, "timestamp": 1631009087745}, + {"namespace": "vmx", "hostname": "CRP-DIS-SW01", "model": "vmx", "version": "18.2R1.9", + "vendor": "Juniper", "serialNumber": "VM60E8243DDB", "status": "alive", "address": + "172.26.145.152", "bootupTimestamp": 1629105452.912, "timestamp": 1631009087912}, + {"namespace": "panos", "hostname": "server102", "model": "vm", "version": "18.04.6 + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.76", + "bootupTimestamp": 1639384491.0, "timestamp": 1639476253683}, {"namespace": "panos", + "hostname": "server301", "model": "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.241", "bootupTimestamp": + 1639384491.0, "timestamp": 1639476253890}, {"namespace": "panos", "hostname": + "server302", "model": "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.2.103", "bootupTimestamp": 1639384491.0, "timestamp": 1639476253939}, {"namespace": "panos", "hostname": "server101", "model": - "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.9", "bootupTimestamp": 1639384491.0, "timestamp": + "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.9", "bootupTimestamp": 1639384491.0, "timestamp": 1639476253939}, {"namespace": "panos", "hostname": "firewall01", "model": "PA-VM", - "version": "8.0.0", "vendor": "Palo Alto", "architecture": "", "status": "alive", - "address": "10.255.2.141", "bootupTimestamp": 1639384269.0, "timestamp": 1639476253946}, - {"namespace": "panos", "hostname": "dcedge01", "model": "VX", "version": "4.1.1", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "10.255.2.250", - "bootupTimestamp": 1639470236.0, "timestamp": 1639476254621}, {"namespace": "panos", - "hostname": "exit01", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.251", "bootupTimestamp": - 1639470234.0, "timestamp": 1639476254836}, {"namespace": "panos", "hostname": - "exit02", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "10.255.2.252", "bootupTimestamp": 1639470235.0, - "timestamp": 1639476254836}, {"namespace": "panos", "hostname": "leaf04", "model": - "VX", "version": "4.1.1", "vendor": "Cumulus", "architecture": "x86_64", "status": - "alive", "address": "10.255.2.187", "bootupTimestamp": 1639470235.0, "timestamp": - 1639476254844}, {"namespace": "panos", "hostname": "spine01", "model": "VX", "version": - "4.1.1", "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": - "10.255.2.117", "bootupTimestamp": 1639470234.0, "timestamp": 1639476254852}, - {"namespace": "panos", "hostname": "spine02", "model": "VX", "version": "4.1.1", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "10.255.2.118", - "bootupTimestamp": 1639470234.0, "timestamp": 1639476254852}, {"namespace": "panos", - "hostname": "leaf03", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.186", "bootupTimestamp": - 1639470234.0, "timestamp": 1639476254852}]' + "version": "8.0.0", "vendor": "Palo Alto", "serialNumber": "unknown", "status": + "alive", "address": "10.255.2.141", "bootupTimestamp": 1639384269.0, "timestamp": + 1639476253946}, {"namespace": "panos", "hostname": "dcedge01", "model": "VX", + "version": "4.1.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", + "address": "10.255.2.250", "bootupTimestamp": 1639470236.0, "timestamp": 1639476254621}, + {"namespace": "panos", "hostname": "exit01", "model": "VX", "version": "4.1.1", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.251", + "bootupTimestamp": 1639470234.0, "timestamp": 1639476254836}, {"namespace": "panos", + "hostname": "exit02", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", + "serialNumber": "None", "status": "alive", "address": "10.255.2.252", "bootupTimestamp": + 1639470235.0, "timestamp": 1639476254836}, {"namespace": "panos", "hostname": + "leaf04", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", "serialNumber": + "None", "status": "alive", "address": "10.255.2.187", "bootupTimestamp": 1639470235.0, + "timestamp": 1639476254844}, {"namespace": "panos", "hostname": "spine01", "model": + "VX", "version": "4.1.1", "vendor": "Cumulus", "serialNumber": "None", "status": + "alive", "address": "10.255.2.117", "bootupTimestamp": 1639470234.0, "timestamp": + 1639476254852}, {"namespace": "panos", "hostname": "spine02", "model": "VX", "version": + "4.1.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": + "10.255.2.118", "bootupTimestamp": 1639470234.0, "timestamp": 1639476254852}, + {"namespace": "panos", "hostname": "leaf03", "model": "VX", "version": "4.1.1", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.186", + "bootupTimestamp": 1639470234.0, "timestamp": 1639476254852}]' - command: device show --hostname='!~leaf.* !~exit.*' --format=json data-directory: tests/data/parquet/ marks: device show hostname negate regex output: '[{"namespace": "ospf-single", "hostname": "server102", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.68", "bootupTimestamp": 1616351835.0, "timestamp": 1616352402600}, - {"namespace": "ospf-single", "hostname": "server103", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.182", "bootupTimestamp": 1616351788.0, "timestamp": 1616352402601}, - {"namespace": "ospf-single", "hostname": "server101", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.78", "bootupTimestamp": 1616351831.0, "timestamp": 1616352402606}, - {"namespace": "ospf-single", "hostname": "server104", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.219", "bootupTimestamp": 1616351815.0, "timestamp": 1616352402611}, - {"namespace": "ospf-single", "hostname": "edge01", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.109", "bootupTimestamp": 1616351812.0, "timestamp": 1616352402798}, - {"namespace": "ospf-single", "hostname": "internet", "model": "VX", "version": - "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": - "10.255.2.239", "bootupTimestamp": 1616351807.0, "timestamp": 1616352403840}, - {"namespace": "ospf-single", "hostname": "spine01", "model": "VX", "version": - "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": - "10.255.2.217", "bootupTimestamp": 1616351988.0, "timestamp": 1616352403840}, - {"namespace": "ospf-single", "hostname": "spine02", "model": "VX", "version": - "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": - "10.255.2.60", "bootupTimestamp": 1616351988.0, "timestamp": 1616352403840}, {"namespace": - "dual-bgp", "hostname": "server104", "model": "vm", "version": "16.04.6 LTS", - "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": "192.168.121.180", - "bootupTimestamp": 1616638128.0, "timestamp": 1616638469368}, {"namespace": "dual-bgp", - "hostname": "server102", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", - "architecture": "x86-64", "status": "alive", "address": "192.168.121.254", "bootupTimestamp": - 1616638127.0, "timestamp": 1616638469377}, {"namespace": "dual-bgp", "hostname": - "edge01", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "192.168.121.103", "bootupTimestamp": - 1616638059.0, "timestamp": 1616638469433}, {"namespace": "dual-bgp", "hostname": - "server103", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "192.168.121.222", "bootupTimestamp": - 1616638128.0, "timestamp": 1616638469433}, {"namespace": "dual-bgp", "hostname": - "server101", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "192.168.121.233", "bootupTimestamp": - 1616638128.0, "timestamp": 1616638469517}, {"namespace": "dual-bgp", "hostname": - "spine01", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.51", "bootupTimestamp": 1616638065.0, - "timestamp": 1616638469730}, {"namespace": "dual-bgp", "hostname": "internet", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", - "status": "alive", "address": "192.168.121.141", "bootupTimestamp": 1616638065.0, + "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.68", "bootupTimestamp": 1616351835.0, "timestamp": 1616352402600}, {"namespace": + "ospf-single", "hostname": "server103", "model": "vm", "version": "16.04.6 LTS", + "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.182", + "bootupTimestamp": 1616351788.0, "timestamp": 1616352402601}, {"namespace": "ospf-single", + "hostname": "server101", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.78", "bootupTimestamp": + 1616351831.0, "timestamp": 1616352402606}, {"namespace": "ospf-single", "hostname": + "server104", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.2.219", "bootupTimestamp": 1616351815.0, + "timestamp": 1616352402611}, {"namespace": "ospf-single", "hostname": "edge01", + "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "10.255.2.109", "bootupTimestamp": 1616351812.0, + "timestamp": 1616352402798}, {"namespace": "ospf-single", "hostname": "internet", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "10.255.2.239", "bootupTimestamp": 1616351807.0, + "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "spine01", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "10.255.2.217", "bootupTimestamp": 1616351988.0, + "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "spine02", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "10.255.2.60", "bootupTimestamp": 1616351988.0, + "timestamp": 1616352403840}, {"namespace": "dual-bgp", "hostname": "server104", + "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "192.168.121.180", "bootupTimestamp": 1616638128.0, + "timestamp": 1616638469368}, {"namespace": "dual-bgp", "hostname": "server102", + "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "192.168.121.254", "bootupTimestamp": 1616638127.0, + "timestamp": 1616638469377}, {"namespace": "dual-bgp", "hostname": "edge01", "model": + "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "192.168.121.103", "bootupTimestamp": 1616638059.0, "timestamp": + 1616638469433}, {"namespace": "dual-bgp", "hostname": "server103", "model": "vm", + "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "192.168.121.222", "bootupTimestamp": 1616638128.0, "timestamp": 1616638469433}, + {"namespace": "dual-bgp", "hostname": "server101", "model": "vm", "version": "16.04.6 + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.121.233", + "bootupTimestamp": 1616638128.0, "timestamp": 1616638469517}, {"namespace": "dual-bgp", + "hostname": "spine01", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", + "serialNumber": "None", "status": "alive", "address": "192.168.121.51", "bootupTimestamp": + 1616638065.0, "timestamp": 1616638469730}, {"namespace": "dual-bgp", "hostname": + "internet", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": + "None", "status": "alive", "address": "192.168.121.141", "bootupTimestamp": 1616638065.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": "spine02", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.186", "bootupTimestamp": 1616638066.0, "timestamp": 1616638469999}, {"namespace": "dual-evpn", "hostname": "edge01", - "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.121.154", "bootupTimestamp": 1616644592.0, "timestamp": 1616644822168}, {"namespace": "dual-evpn", "hostname": "spine02", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.136", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822357}, {"namespace": "dual-evpn", "hostname": "spine01", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.42", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822465}, {"namespace": "dual-evpn", "hostname": "internet", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.157", "bootupTimestamp": 1616644599.0, "timestamp": 1616644822518}, {"namespace": "ospf-ibgp", "hostname": "server103", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.150", "bootupTimestamp": 1616680845.0, "timestamp": 1616681581595}, {"namespace": "ospf-ibgp", "hostname": "server101", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.184", "bootupTimestamp": 1616680816.0, "timestamp": 1616681581632}, {"namespace": "ospf-ibgp", "hostname": "server104", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.197", "bootupTimestamp": 1616680858.0, "timestamp": 1616681581652}, {"namespace": "ospf-ibgp", "hostname": "edge01", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.180", "bootupTimestamp": 1616681014.0, "timestamp": 1616681581705}, {"namespace": "ospf-ibgp", "hostname": "server102", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.134", "bootupTimestamp": 1616680827.0, "timestamp": 1616681581705}, {"namespace": "ospf-ibgp", "hostname": "spine01", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.135", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582844}, {"namespace": "ospf-ibgp", "hostname": "spine02", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.16", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582902}, {"namespace": "ospf-ibgp", "hostname": "internet", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.237", "bootupTimestamp": 1616681016.0, "timestamp": 1616681582980}, {"namespace": "nxos", "hostname": "server101", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.204", "bootupTimestamp": 1619182381.0, - "timestamp": 1619275256203}, {"namespace": "nxos", "hostname": "server102", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.39", "bootupTimestamp": 1619182381.0, - "timestamp": 1619275256290}, {"namespace": "nxos", "hostname": "server301", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.140", "bootupTimestamp": 1619182381.0, - "timestamp": 1619275256319}, {"namespace": "nxos", "hostname": "server302", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.114", "bootupTimestamp": 1619182381.0, - "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.204", "bootupTimestamp": 1619182381.0, "timestamp": + 1619275256203}, {"namespace": "nxos", "hostname": "server102", "model": "vm", + "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "10.255.2.39", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256290}, + {"namespace": "nxos", "hostname": "server301", "model": "vm", "version": "18.04.3 + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.140", + "bootupTimestamp": 1619182381.0, "timestamp": 1619275256319}, {"namespace": "nxos", + "hostname": "server302", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.114", "bootupTimestamp": + 1619182381.0, "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", + "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.249", "bootupTimestamp": 1619013132.0, "timestamp": 1619275256497}, {"namespace": "nxos", "hostname": "dcedge01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "27840100856", "status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1619013129.329, "timestamp": 1619275258329}, {"namespace": "nxos", "hostname": "spine02", "model": - "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": - "Intel Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.120", - "bootupTimestamp": 1619013194.0, "timestamp": 1619275263055}, {"namespace": "nxos", - "hostname": "spine01", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.119", "bootupTimestamp": 1619013190.0, "timestamp": - 1619275263589}, {"namespace": "eos", "hostname": "server301", "model": "vm", "version": - "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.151", "bootupTimestamp": 1620676730.0, "timestamp": 1623025175797}, - {"namespace": "eos", "hostname": "server302", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.137", "bootupTimestamp": 1620676730.0, "timestamp": 1623025175800}, - {"namespace": "eos", "hostname": "firewall01", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.189", "bootupTimestamp": 1620675718.0, "timestamp": 1623025176026}, + "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9SM7CHR8WEF", "status": "alive", "address": "10.255.2.120", "bootupTimestamp": + 1619013194.0, "timestamp": 1619275263055}, {"namespace": "nxos", "hostname": "spine01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9U1GLRQOXD7", "status": "alive", "address": "10.255.2.119", "bootupTimestamp": + 1619013190.0, "timestamp": 1619275263589}, {"namespace": "eos", "hostname": "server301", + "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "10.255.2.151", "bootupTimestamp": 1620676730.0, + "timestamp": 1623025175797}, {"namespace": "eos", "hostname": "server302", "model": + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.137", "bootupTimestamp": 1620676730.0, "timestamp": + 1623025175800}, {"namespace": "eos", "hostname": "firewall01", "model": "vm", + "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "10.255.2.189", "bootupTimestamp": 1620675718.0, "timestamp": 1623025176026}, {"namespace": "eos", "hostname": "server101", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.57", "bootupTimestamp": 1620676730.0, "timestamp": 1623025176026}, {"namespace": - "eos", "hostname": "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": - "Ubuntu", "architecture": "x86-64", "status": "alive", "address": "10.255.2.230", - "bootupTimestamp": 1620676730.0, "timestamp": 1623025176212}, {"namespace": "eos", - "hostname": "spine01", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.117", "bootupTimestamp": - 1620676825.0, "timestamp": 1623025176945}, {"namespace": "eos", "hostname": "spine02", - "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": "x86_64", - "status": "alive", "address": "10.255.2.118", "bootupTimestamp": 1620676826.0, - "timestamp": 1623025177075}, {"namespace": "eos", "hostname": "dcedge01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1620675742.016, - "timestamp": 1623025180016}, {"namespace": "junos", "hostname": "server202", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.5.71", "bootupTimestamp": 1622997902.0, - "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "server201", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.5.49", "bootupTimestamp": 1622997945.0, - "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "server102", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.5.169", "bootupTimestamp": 1622997951.0, - "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "server101", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.5.72", "bootupTimestamp": 1622997922.0, + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.57", + "bootupTimestamp": 1620676730.0, "timestamp": 1623025176026}, {"namespace": "eos", + "hostname": "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.230", "bootupTimestamp": + 1620676730.0, "timestamp": 1623025176212}, {"namespace": "eos", "hostname": "spine01", + "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", + "status": "alive", "address": "10.255.2.117", "bootupTimestamp": 1620676825.0, + "timestamp": 1623025176945}, {"namespace": "eos", "hostname": "spine02", "model": + "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": + "alive", "address": "10.255.2.118", "bootupTimestamp": 1620676826.0, "timestamp": + 1623025177075}, {"namespace": "eos", "hostname": "dcedge01", "model": "vqfx-10000", + "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "65873387107", "status": + "alive", "address": "10.255.2.250", "bootupTimestamp": 1620675742.016, "timestamp": + 1623025180016}, {"namespace": "junos", "hostname": "server202", "model": "vm", + "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "10.255.5.71", "bootupTimestamp": 1622997902.0, "timestamp": 1623025795928}, + {"namespace": "junos", "hostname": "server201", "model": "vm", "version": "18.04.3 + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.5.49", + "bootupTimestamp": 1622997945.0, "timestamp": 1623025795928}, {"namespace": "junos", + "hostname": "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.5.169", "bootupTimestamp": + 1622997951.0, "timestamp": 1623025795928}, {"namespace": "junos", "hostname": + "server101", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.5.72", "bootupTimestamp": 1622997922.0, "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "firewall01", - "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.5.40", "bootupTimestamp": 1622997934.0, "timestamp": 1623025796138}, {"namespace": "junos", "hostname": "spine01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "38645725387", "status": "alive", "address": "10.255.5.117", "bootupTimestamp": 1622997977.081, "timestamp": 1623025799081}, {"namespace": "junos", "hostname": "spine02", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "05518142768", "status": "alive", "address": "10.255.5.118", "bootupTimestamp": 1622998003.357, "timestamp": 1623025799357}, {"namespace": "junos", "hostname": "dcedge01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "52105701727", "status": "alive", "address": "10.255.5.250", "bootupTimestamp": 1622998015.405, "timestamp": 1623025800405}, {"namespace": "mixed", "hostname": "spine1-nxos", "model": "Nexus9000 C9300v Chassis", "version": "9.3(7a)", "vendor": "Cisco", - "architecture": "", "status": "alive", "address": "nebula.packetflow.co.uk:9001", + "serialNumber": "97ZE61EG3HU", "status": "alive", "address": "nebula.packetflow.co.uk:9001", "bootupTimestamp": 1625740163.0, "timestamp": 1627395440677}, {"namespace": "mixed", "hostname": "spine2-nxos", "model": "Nexus9000 C9300v Chassis", "version": "9.3(7a)", - "vendor": "Cisco", "architecture": "", "status": "alive", "address": "nebula.packetflow.co.uk:9002", - "bootupTimestamp": 1625734028.0, "timestamp": 1627395441587}, {"namespace": "vmx", - "hostname": "TOR4CRP-DGW-RT01", "model": "vmx", "version": "18.2R1.9", "vendor": - "Juniper", "architecture": "", "status": "alive", "address": "172.26.145.154", - "bootupTimestamp": 1630916460.155, "timestamp": 1631009087155}, {"namespace": - "vmx", "hostname": "TOR1CRP-DGW-RT01", "model": "vmx", "version": "18.2R1.9", - "vendor": "Juniper", "architecture": "", "status": "alive", "address": "172.26.145.153", - "bootupTimestamp": 1629182498.197, "timestamp": 1631009087197}, {"namespace": - "vmx", "hostname": "TOR1BBN-PE-RT01", "model": "vmx", "version": "18.2R1.9", "vendor": - "Juniper", "architecture": "", "status": "alive", "address": "172.26.145.155", - "bootupTimestamp": 1629185128.222, "timestamp": 1631009087222}, {"namespace": - "vmx", "hostname": "CRP-ACC-SW01", "model": "vmx", "version": "18.2R1.9", "vendor": - "Juniper", "architecture": "", "status": "alive", "address": "172.26.145.151", - "bootupTimestamp": 1629105442.745, "timestamp": 1631009087745}, {"namespace": - "vmx", "hostname": "CRP-DIS-SW01", "model": "vmx", "version": "18.2R1.9", "vendor": - "Juniper", "architecture": "", "status": "alive", "address": "172.26.145.152", - "bootupTimestamp": 1629105452.912, "timestamp": 1631009087912}, {"namespace": - "panos", "hostname": "server102", "model": "vm", "version": "18.04.6 LTS", "vendor": - "Ubuntu", "architecture": "x86-64", "status": "alive", "address": "10.255.2.76", - "bootupTimestamp": 1639384491.0, "timestamp": 1639476253683}, {"namespace": "panos", - "hostname": "server301", "model": "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", - "architecture": "x86-64", "status": "alive", "address": "10.255.2.241", "bootupTimestamp": - 1639384491.0, "timestamp": 1639476253890}, {"namespace": "panos", "hostname": - "server302", "model": "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "10.255.2.103", "bootupTimestamp": 1639384491.0, - "timestamp": 1639476253939}, {"namespace": "panos", "hostname": "server101", "model": - "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.9", "bootupTimestamp": 1639384491.0, "timestamp": - 1639476253939}, {"namespace": "panos", "hostname": "firewall01", "model": "PA-VM", - "version": "8.0.0", "vendor": "Palo Alto", "architecture": "", "status": "alive", - "address": "10.255.2.141", "bootupTimestamp": 1639384269.0, "timestamp": 1639476253946}, - {"namespace": "panos", "hostname": "dcedge01", "model": "VX", "version": "4.1.1", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "10.255.2.250", - "bootupTimestamp": 1639470236.0, "timestamp": 1639476254621}, {"namespace": "panos", - "hostname": "spine01", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.117", "bootupTimestamp": - 1639470234.0, "timestamp": 1639476254852}, {"namespace": "panos", "hostname": - "spine02", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "10.255.2.118", "bootupTimestamp": 1639470234.0, - "timestamp": 1639476254852}]' + "vendor": "Cisco", "serialNumber": "9ZSZSPLAP53", "status": "alive", "address": + "nebula.packetflow.co.uk:9002", "bootupTimestamp": 1625734028.0, "timestamp": + 1627395441587}, {"namespace": "vmx", "hostname": "TOR4CRP-DGW-RT01", "model": + "vmx", "version": "18.2R1.9", "vendor": "Juniper", "serialNumber": "VM611B5AB57B", + "status": "alive", "address": "172.26.145.154", "bootupTimestamp": 1630916460.155, + "timestamp": 1631009087155}, {"namespace": "vmx", "hostname": "TOR1CRP-DGW-RT01", + "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "serialNumber": "VM611B595318", + "status": "alive", "address": "172.26.145.153", "bootupTimestamp": 1629182498.197, + "timestamp": 1631009087197}, {"namespace": "vmx", "hostname": "TOR1BBN-PE-RT01", + "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "serialNumber": "VM611B64B3CD", + "status": "alive", "address": "172.26.145.155", "bootupTimestamp": 1629185128.222, + "timestamp": 1631009087222}, {"namespace": "vmx", "hostname": "CRP-ACC-SW01", + "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "serialNumber": "VM60E81CCE29", + "status": "alive", "address": "172.26.145.151", "bootupTimestamp": 1629105442.745, + "timestamp": 1631009087745}, {"namespace": "vmx", "hostname": "CRP-DIS-SW01", + "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "serialNumber": "VM60E8243DDB", + "status": "alive", "address": "172.26.145.152", "bootupTimestamp": 1629105452.912, + "timestamp": 1631009087912}, {"namespace": "panos", "hostname": "server102", "model": + "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.76", "bootupTimestamp": 1639384491.0, "timestamp": + 1639476253683}, {"namespace": "panos", "hostname": "server301", "model": "vm", + "version": "18.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "10.255.2.241", "bootupTimestamp": 1639384491.0, "timestamp": 1639476253890}, + {"namespace": "panos", "hostname": "server302", "model": "vm", "version": "18.04.6 + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.103", + "bootupTimestamp": 1639384491.0, "timestamp": 1639476253939}, {"namespace": "panos", + "hostname": "server101", "model": "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.9", "bootupTimestamp": + 1639384491.0, "timestamp": 1639476253939}, {"namespace": "panos", "hostname": + "firewall01", "model": "PA-VM", "version": "8.0.0", "vendor": "Palo Alto", "serialNumber": + "unknown", "status": "alive", "address": "10.255.2.141", "bootupTimestamp": 1639384269.0, + "timestamp": 1639476253946}, {"namespace": "panos", "hostname": "dcedge01", "model": + "VX", "version": "4.1.1", "vendor": "Cumulus", "serialNumber": "None", "status": + "alive", "address": "10.255.2.250", "bootupTimestamp": 1639470236.0, "timestamp": + 1639476254621}, {"namespace": "panos", "hostname": "spine01", "model": "VX", "version": + "4.1.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": + "10.255.2.117", "bootupTimestamp": 1639470234.0, "timestamp": 1639476254852}, + {"namespace": "panos", "hostname": "spine02", "model": "VX", "version": "4.1.1", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.118", + "bootupTimestamp": 1639470234.0, "timestamp": 1639476254852}]' - command: evpnVni show --hostname='!leaf01 !leaf02' --format=json data-directory: tests/data/parquet/ marks: evpnVni show hostname negate @@ -58441,428 +58431,418 @@ tests: data-directory: tests/data/parquet/ marks: device show hostname negate output: '[{"namespace": "dual-bgp", "hostname": "server104", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "192.168.121.180", "bootupTimestamp": 1616638128.0, "timestamp": 1616638469368}, + "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "192.168.121.180", "bootupTimestamp": 1616638128.0, "timestamp": 1616638469368}, {"namespace": "dual-bgp", "hostname": "server102", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "192.168.121.254", "bootupTimestamp": 1616638127.0, "timestamp": 1616638469377}, - {"namespace": "dual-bgp", "hostname": "edge01", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "192.168.121.103", "bootupTimestamp": 1616638059.0, "timestamp": 1616638469433}, - {"namespace": "dual-bgp", "hostname": "server103", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "192.168.121.222", "bootupTimestamp": 1616638128.0, "timestamp": 1616638469433}, - {"namespace": "dual-bgp", "hostname": "server101", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "192.168.121.233", "bootupTimestamp": 1616638128.0, "timestamp": 1616638469517}, - {"namespace": "dual-bgp", "hostname": "spine01", "model": "VX", "version": "4.3.0", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "192.168.121.51", - "bootupTimestamp": 1616638065.0, "timestamp": 1616638469730}, {"namespace": "dual-bgp", - "hostname": "leaf04", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "192.168.121.132", "bootupTimestamp": - 1616638065.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": - "internet", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.141", "bootupTimestamp": - 1616638065.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": - "exit02", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.181", "bootupTimestamp": - 1616638066.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": - "exit01", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.164", "bootupTimestamp": - 1616638066.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": - "spine02", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.186", "bootupTimestamp": + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.121.254", + "bootupTimestamp": 1616638127.0, "timestamp": 1616638469377}, {"namespace": "dual-bgp", + "hostname": "edge01", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "192.168.121.103", "bootupTimestamp": + 1616638059.0, "timestamp": 1616638469433}, {"namespace": "dual-bgp", "hostname": + "server103", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "192.168.121.222", "bootupTimestamp": 1616638128.0, + "timestamp": 1616638469433}, {"namespace": "dual-bgp", "hostname": "server101", + "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "192.168.121.233", "bootupTimestamp": 1616638128.0, + "timestamp": 1616638469517}, {"namespace": "dual-bgp", "hostname": "spine01", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "192.168.121.51", "bootupTimestamp": 1616638065.0, + "timestamp": 1616638469730}, {"namespace": "dual-bgp", "hostname": "leaf04", "model": + "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": + "alive", "address": "192.168.121.132", "bootupTimestamp": 1616638065.0, "timestamp": + 1616638469999}, {"namespace": "dual-bgp", "hostname": "internet", "model": "VX", + "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", + "address": "192.168.121.141", "bootupTimestamp": 1616638065.0, "timestamp": 1616638469999}, + {"namespace": "dual-bgp", "hostname": "exit02", "model": "VX", "version": "4.3.0", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.181", + "bootupTimestamp": 1616638066.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", + "hostname": "exit01", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", + "serialNumber": "None", "status": "alive", "address": "192.168.121.164", "bootupTimestamp": 1616638066.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": - "leaf03", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.33", "bootupTimestamp": 1616638067.0, - "timestamp": 1616638471112}, {"namespace": "dual-evpn", "hostname": "edge01", - "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "192.168.121.154", "bootupTimestamp": 1616644592.0, - "timestamp": 1616644822168}, {"namespace": "dual-evpn", "hostname": "leaf03", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", - "status": "alive", "address": "192.168.121.13", "bootupTimestamp": 1616644598.0, - "timestamp": 1616644822331}, {"namespace": "dual-evpn", "hostname": "spine02", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", - "status": "alive", "address": "192.168.121.136", "bootupTimestamp": 1616644598.0, - "timestamp": 1616644822357}, {"namespace": "dual-evpn", "hostname": "spine01", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", - "status": "alive", "address": "192.168.121.42", "bootupTimestamp": 1616644598.0, + "spine02", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": + "None", "status": "alive", "address": "192.168.121.186", "bootupTimestamp": 1616638066.0, + "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": "leaf03", "model": + "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": + "alive", "address": "192.168.121.33", "bootupTimestamp": 1616638067.0, "timestamp": + 1616638471112}, {"namespace": "dual-evpn", "hostname": "edge01", "model": "vm", + "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "192.168.121.154", "bootupTimestamp": 1616644592.0, "timestamp": 1616644822168}, + {"namespace": "dual-evpn", "hostname": "leaf03", "model": "VX", "version": "3.7.9", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.13", + "bootupTimestamp": 1616644598.0, "timestamp": 1616644822331}, {"namespace": "dual-evpn", + "hostname": "spine02", "model": "VX", "version": "3.7.9", "vendor": "Cumulus", + "serialNumber": "None", "status": "alive", "address": "192.168.121.136", "bootupTimestamp": + 1616644598.0, "timestamp": 1616644822357}, {"namespace": "dual-evpn", "hostname": + "spine01", "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": + "None", "status": "alive", "address": "192.168.121.42", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822465}, {"namespace": "dual-evpn", "hostname": "leaf04", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.38", "bootupTimestamp": 1616644597.0, "timestamp": 1616644822465}, {"namespace": "dual-evpn", "hostname": "exit01", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.126", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822507}, {"namespace": "dual-evpn", "hostname": "internet", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.157", "bootupTimestamp": 1616644599.0, "timestamp": 1616644822518}, {"namespace": "dual-evpn", "hostname": "exit02", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.150", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822532}, {"namespace": "ospf-ibgp", "hostname": "server103", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.150", "bootupTimestamp": 1616680845.0, "timestamp": 1616681581595}, {"namespace": "ospf-ibgp", "hostname": "server101", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.184", "bootupTimestamp": 1616680816.0, "timestamp": 1616681581632}, {"namespace": "ospf-ibgp", "hostname": "server104", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.197", "bootupTimestamp": 1616680858.0, "timestamp": 1616681581652}, {"namespace": "ospf-ibgp", "hostname": "edge01", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.180", "bootupTimestamp": 1616681014.0, "timestamp": 1616681581705}, {"namespace": "ospf-ibgp", "hostname": "server102", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.134", "bootupTimestamp": 1616680827.0, "timestamp": 1616681581705}, {"namespace": "ospf-ibgp", "hostname": "leaf04", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.202", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", "hostname": "exit01", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.188", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", "hostname": "leaf03", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.248", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582844}, {"namespace": "ospf-ibgp", "hostname": "spine01", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.135", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582844}, {"namespace": "ospf-ibgp", "hostname": "exit02", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.136", "bootupTimestamp": 1616681015.0, "timestamp": 1616681582902}, {"namespace": "ospf-ibgp", "hostname": "spine02", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.16", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582902}, {"namespace": "ospf-ibgp", "hostname": "internet", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.237", "bootupTimestamp": 1616681016.0, "timestamp": 1616681582980}, {"namespace": "nxos", "hostname": "server101", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.204", "bootupTimestamp": 1619182381.0, - "timestamp": 1619275256203}, {"namespace": "nxos", "hostname": "server102", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.39", "bootupTimestamp": 1619182381.0, - "timestamp": 1619275256290}, {"namespace": "nxos", "hostname": "server301", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.140", "bootupTimestamp": 1619182381.0, - "timestamp": 1619275256319}, {"namespace": "nxos", "hostname": "server302", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.114", "bootupTimestamp": 1619182381.0, - "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.204", "bootupTimestamp": 1619182381.0, "timestamp": + 1619275256203}, {"namespace": "nxos", "hostname": "server102", "model": "vm", + "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "10.255.2.39", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256290}, + {"namespace": "nxos", "hostname": "server301", "model": "vm", "version": "18.04.3 + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.140", + "bootupTimestamp": 1619182381.0, "timestamp": 1619275256319}, {"namespace": "nxos", + "hostname": "server302", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.114", "bootupTimestamp": + 1619182381.0, "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", + "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.249", "bootupTimestamp": 1619013132.0, "timestamp": 1619275256497}, {"namespace": "nxos", "hostname": "dcedge01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "27840100856", "status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1619013129.329, "timestamp": 1619275258329}, {"namespace": "nxos", "hostname": "spine02", "model": - "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": - "Intel Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.120", - "bootupTimestamp": 1619013194.0, "timestamp": 1619275263055}, {"namespace": "nxos", - "hostname": "spine01", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.119", "bootupTimestamp": 1619013190.0, "timestamp": - 1619275263589}, {"namespace": "nxos", "hostname": "leaf03", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.190", - "bootupTimestamp": 1619043796.0, "timestamp": 1619275263596}, {"namespace": "nxos", - "hostname": "exit01", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.253", "bootupTimestamp": 1619013183.0, "timestamp": - 1619275265064}, {"namespace": "nxos", "hostname": "leaf04", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.191", - "bootupTimestamp": 1619043813.0, "timestamp": 1619275265167}, {"namespace": "nxos", - "hostname": "exit02", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.254", "bootupTimestamp": 1619013188.0, "timestamp": - 1619275265196}, {"namespace": "eos", "hostname": "server301", "model": "vm", "version": - "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.151", "bootupTimestamp": 1620676730.0, "timestamp": 1623025175797}, - {"namespace": "eos", "hostname": "server302", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.137", "bootupTimestamp": 1620676730.0, "timestamp": 1623025175800}, - {"namespace": "eos", "hostname": "firewall01", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.189", "bootupTimestamp": 1620675718.0, "timestamp": 1623025176026}, + "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9SM7CHR8WEF", "status": "alive", "address": "10.255.2.120", "bootupTimestamp": + 1619013194.0, "timestamp": 1619275263055}, {"namespace": "nxos", "hostname": "spine01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9U1GLRQOXD7", "status": "alive", "address": "10.255.2.119", "bootupTimestamp": + 1619013190.0, "timestamp": 1619275263589}, {"namespace": "nxos", "hostname": "leaf03", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "901I7PY72LO", "status": "alive", "address": "10.255.2.190", "bootupTimestamp": + 1619043796.0, "timestamp": 1619275263596}, {"namespace": "nxos", "hostname": "exit01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90QIMGF49OS", "status": "alive", "address": "10.255.2.253", "bootupTimestamp": + 1619013183.0, "timestamp": 1619275265064}, {"namespace": "nxos", "hostname": "leaf04", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9Q04O8RGPL8", "status": "alive", "address": "10.255.2.191", "bootupTimestamp": + 1619043813.0, "timestamp": 1619275265167}, {"namespace": "nxos", "hostname": "exit02", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90ZY6UG6ELL", "status": "alive", "address": "10.255.2.254", "bootupTimestamp": + 1619013188.0, "timestamp": 1619275265196}, {"namespace": "eos", "hostname": "server301", + "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "10.255.2.151", "bootupTimestamp": 1620676730.0, + "timestamp": 1623025175797}, {"namespace": "eos", "hostname": "server302", "model": + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.137", "bootupTimestamp": 1620676730.0, "timestamp": + 1623025175800}, {"namespace": "eos", "hostname": "firewall01", "model": "vm", + "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "10.255.2.189", "bootupTimestamp": 1620675718.0, "timestamp": 1623025176026}, {"namespace": "eos", "hostname": "server101", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.57", "bootupTimestamp": 1620676730.0, "timestamp": 1623025176026}, {"namespace": - "eos", "hostname": "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": - "Ubuntu", "architecture": "x86-64", "status": "alive", "address": "10.255.2.230", - "bootupTimestamp": 1620676730.0, "timestamp": 1623025176212}, {"namespace": "eos", - "hostname": "spine01", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.117", "bootupTimestamp": - 1620676825.0, "timestamp": 1623025176945}, {"namespace": "eos", "hostname": "leaf03", - "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": "x86_64", - "status": "alive", "address": "10.255.2.186", "bootupTimestamp": 1620676827.0, - "timestamp": 1623025177028}, {"namespace": "eos", "hostname": "exit02", "model": - "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": "x86_64", "status": - "alive", "address": "10.255.2.253", "bootupTimestamp": 1620676831.0, "timestamp": - 1623025177051}, {"namespace": "eos", "hostname": "spine02", "model": "vEOS", "version": - "4.23.5M", "vendor": "Arista", "architecture": "x86_64", "status": "alive", "address": - "10.255.2.118", "bootupTimestamp": 1620676826.0, "timestamp": 1623025177075}, - {"namespace": "eos", "hostname": "leaf04", "model": "vEOS", "version": "4.23.5M", - "vendor": "Arista", "architecture": "x86_64", "status": "alive", "address": "10.255.2.187", - "bootupTimestamp": 1620676832.0, "timestamp": 1623025177156}, {"namespace": "eos", - "hostname": "exit01", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.251", "bootupTimestamp": - 1622917982.0, "timestamp": 1623025177156}, {"namespace": "eos", "hostname": "dcedge01", - "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": - "", "status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1620675742.016, + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.57", + "bootupTimestamp": 1620676730.0, "timestamp": 1623025176026}, {"namespace": "eos", + "hostname": "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.230", "bootupTimestamp": + 1620676730.0, "timestamp": 1623025176212}, {"namespace": "eos", "hostname": "spine01", + "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", + "status": "alive", "address": "10.255.2.117", "bootupTimestamp": 1620676825.0, + "timestamp": 1623025176945}, {"namespace": "eos", "hostname": "leaf03", "model": + "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": + "alive", "address": "10.255.2.186", "bootupTimestamp": 1620676827.0, "timestamp": + 1623025177028}, {"namespace": "eos", "hostname": "exit02", "model": "vEOS", "version": + "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": + "10.255.2.253", "bootupTimestamp": 1620676831.0, "timestamp": 1623025177051}, + {"namespace": "eos", "hostname": "spine02", "model": "vEOS", "version": "4.23.5M", + "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "10.255.2.118", + "bootupTimestamp": 1620676826.0, "timestamp": 1623025177075}, {"namespace": "eos", + "hostname": "leaf04", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", + "serialNumber": "", "status": "alive", "address": "10.255.2.187", "bootupTimestamp": + 1620676832.0, "timestamp": 1623025177156}, {"namespace": "eos", "hostname": "exit01", + "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", + "status": "alive", "address": "10.255.2.251", "bootupTimestamp": 1622917982.0, + "timestamp": 1623025177156}, {"namespace": "eos", "hostname": "dcedge01", "model": + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "65873387107", + "status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1620675742.016, "timestamp": 1623025180016}, {"namespace": "junos", "hostname": "server101", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.5.72", "bootupTimestamp": 1622997922.0, - "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "server202", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.5.71", "bootupTimestamp": 1622997902.0, - "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "server201", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.5.49", "bootupTimestamp": 1622997945.0, - "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "server102", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.5.169", "bootupTimestamp": 1622997951.0, - "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "firewall01", - "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.5.40", "bootupTimestamp": 1622997934.0, + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.5.72", "bootupTimestamp": 1622997922.0, "timestamp": + 1623025795928}, {"namespace": "junos", "hostname": "server202", "model": "vm", + "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "10.255.5.71", "bootupTimestamp": 1622997902.0, "timestamp": 1623025795928}, + {"namespace": "junos", "hostname": "server201", "model": "vm", "version": "18.04.3 + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.5.49", + "bootupTimestamp": 1622997945.0, "timestamp": 1623025795928}, {"namespace": "junos", + "hostname": "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.5.169", "bootupTimestamp": + 1622997951.0, "timestamp": 1623025795928}, {"namespace": "junos", "hostname": + "firewall01", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.5.40", "bootupTimestamp": 1622997934.0, "timestamp": 1623025796138}, {"namespace": "junos", "hostname": "spine01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "38645725387", "status": "alive", "address": "10.255.5.117", "bootupTimestamp": 1622997977.081, "timestamp": 1623025799081}, {"namespace": "junos", "hostname": "spine02", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "05518142768", "status": "alive", "address": "10.255.5.118", "bootupTimestamp": 1622998003.357, "timestamp": 1623025799357}, {"namespace": "junos", "hostname": "exit01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "47187512782", "status": "alive", "address": "10.255.5.251", "bootupTimestamp": 1622998009.512, "timestamp": 1623025799512}, {"namespace": "junos", "hostname": "dcedge01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "52105701727", "status": "alive", "address": "10.255.5.250", "bootupTimestamp": 1622998015.405, "timestamp": 1623025800405}, {"namespace": "junos", "hostname": "exit02", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "87673382385", "status": "alive", "address": "10.255.5.252", "bootupTimestamp": 1622998009.947, "timestamp": 1623025800947}, {"namespace": "mixed", "hostname": "leaf6-eos", "model": - "vEOS", "version": "4.23.8M", "vendor": "Arista", "architecture": "x86_64", "status": + "vEOS", "version": "4.23.8M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "nebula.packetflow.co.uk:9008", "bootupTimestamp": 1624392450.0, "timestamp": 1627395437086}, {"namespace": "mixed", "hostname": "leaf5-eos", "model": - "vEOS", "version": "4.23.8M", "vendor": "Arista", "architecture": "x86_64", "status": + "vEOS", "version": "4.23.8M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "nebula.packetflow.co.uk:9007", "bootupTimestamp": 1624392448.0, "timestamp": 1627395437566}, {"namespace": "mixed", "hostname": "leaf3-qfx", "model": - "vqfx-10000", "version": "18.1R3-S2.5", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "18.1R3-S2.5", "vendor": "Juniper", "serialNumber": "07150161637", "status": "alive", "address": "nebula.packetflow.co.uk:9005", "bootupTimestamp": 1624392540.571, "timestamp": 1627395437571}, {"namespace": "mixed", "hostname": "leaf4-qfx", "model": "vqfx-10000", "version": "18.1R3-S2.5", "vendor": "Juniper", - "architecture": "", "status": "alive", "address": "nebula.packetflow.co.uk:9006", + "serialNumber": "81674410087", "status": "alive", "address": "nebula.packetflow.co.uk:9006", "bootupTimestamp": 1624392469.304, "timestamp": 1627395438304}, {"namespace": "mixed", "hostname": "spine1-nxos", "model": "Nexus9000 C9300v Chassis", "version": - "9.3(7a)", "vendor": "Cisco", "architecture": "", "status": "alive", "address": - "nebula.packetflow.co.uk:9001", "bootupTimestamp": 1625740163.0, "timestamp": + "9.3(7a)", "vendor": "Cisco", "serialNumber": "97ZE61EG3HU", "status": "alive", + "address": "nebula.packetflow.co.uk:9001", "bootupTimestamp": 1625740163.0, "timestamp": 1627395440677}, {"namespace": "mixed", "hostname": "spine2-nxos", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(7a)", "vendor": "Cisco", "architecture": "", + C9300v Chassis", "version": "9.3(7a)", "vendor": "Cisco", "serialNumber": "9ZSZSPLAP53", "status": "alive", "address": "nebula.packetflow.co.uk:9002", "bootupTimestamp": 1625734028.0, "timestamp": 1627395441587}, {"namespace": "mixed", "hostname": - "leaf1-ios", "model": "IOSv", "version": "15.6(2)T", "vendor": "Cisco", "architecture": - "", "status": "alive", "address": "nebula.packetflow.co.uk:9003", "bootupTimestamp": - 1649620439.0, "timestamp": 1627395441786}, {"namespace": "mixed", "hostname": - "leaf2-ios", "model": "IOSv", "version": "15.6(2)T", "vendor": "Cisco", "architecture": - "", "status": "alive", "address": "nebula.packetflow.co.uk:9004", "bootupTimestamp": - 1649620079.0, "timestamp": 1627395442308}, {"namespace": "panos", "hostname": - "server102", "model": "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "10.255.2.76", "bootupTimestamp": 1639384491.0, - "timestamp": 1639476253683}, {"namespace": "panos", "hostname": "server301", "model": - "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.241", "bootupTimestamp": 1639384491.0, + "leaf1-ios", "model": "IOSv", "version": "15.6(2)T", "vendor": "Cisco", "serialNumber": + "9W5VPTBQ6YOC586TLJ7U8", "status": "alive", "address": "nebula.packetflow.co.uk:9003", + "bootupTimestamp": 1649620439.0, "timestamp": 1627395441786}, {"namespace": "mixed", + "hostname": "leaf2-ios", "model": "IOSv", "version": "15.6(2)T", "vendor": "Cisco", + "serialNumber": "93IGPL0NJHJSU39YFPRVI", "status": "alive", "address": "nebula.packetflow.co.uk:9004", + "bootupTimestamp": 1649620079.0, "timestamp": 1627395442308}, {"namespace": "panos", + "hostname": "server102", "model": "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.76", "bootupTimestamp": + 1639384491.0, "timestamp": 1639476253683}, {"namespace": "panos", "hostname": + "server301", "model": "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.2.241", "bootupTimestamp": 1639384491.0, "timestamp": 1639476253890}, {"namespace": "panos", "hostname": "server302", "model": - "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.103", "bootupTimestamp": 1639384491.0, - "timestamp": 1639476253939}, {"namespace": "panos", "hostname": "server101", "model": - "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.9", "bootupTimestamp": 1639384491.0, "timestamp": - 1639476253939}, {"namespace": "panos", "hostname": "firewall01", "model": "PA-VM", - "version": "8.0.0", "vendor": "Palo Alto", "architecture": "", "status": "alive", + "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.103", "bootupTimestamp": 1639384491.0, "timestamp": + 1639476253939}, {"namespace": "panos", "hostname": "server101", "model": "vm", + "version": "18.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "10.255.2.9", "bootupTimestamp": 1639384491.0, "timestamp": 1639476253939}, + {"namespace": "panos", "hostname": "firewall01", "model": "PA-VM", "version": + "8.0.0", "vendor": "Palo Alto", "serialNumber": "unknown", "status": "alive", "address": "10.255.2.141", "bootupTimestamp": 1639384269.0, "timestamp": 1639476253946}, {"namespace": "panos", "hostname": "dcedge01", "model": "VX", "version": "4.1.1", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "10.255.2.250", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1639470236.0, "timestamp": 1639476254621}, {"namespace": "panos", "hostname": "exit02", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.252", "bootupTimestamp": + "serialNumber": "None", "status": "alive", "address": "10.255.2.252", "bootupTimestamp": 1639470235.0, "timestamp": 1639476254836}, {"namespace": "panos", "hostname": - "exit01", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "10.255.2.251", "bootupTimestamp": 1639470234.0, + "exit01", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", "serialNumber": + "None", "status": "alive", "address": "10.255.2.251", "bootupTimestamp": 1639470234.0, "timestamp": 1639476254836}, {"namespace": "panos", "hostname": "leaf04", "model": - "VX", "version": "4.1.1", "vendor": "Cumulus", "architecture": "x86_64", "status": + "VX", "version": "4.1.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.187", "bootupTimestamp": 1639470235.0, "timestamp": 1639476254844}, {"namespace": "panos", "hostname": "leaf03", "model": "VX", "version": - "4.1.1", "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": + "4.1.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.186", "bootupTimestamp": 1639470234.0, "timestamp": 1639476254852}, {"namespace": "panos", "hostname": "spine01", "model": "VX", "version": "4.1.1", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "10.255.2.117", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.117", "bootupTimestamp": 1639470234.0, "timestamp": 1639476254852}, {"namespace": "panos", "hostname": "spine02", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.118", "bootupTimestamp": + "serialNumber": "None", "status": "alive", "address": "10.255.2.118", "bootupTimestamp": 1639470234.0, "timestamp": 1639476254852}]' - command: device show --hostname='!~leaf.* !~exit.*' --format=json --namespace='!ospf-single !vmx' data-directory: tests/data/parquet/ marks: device show hostname negate regex output: '[{"namespace": "dual-bgp", "hostname": "server104", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "192.168.121.180", "bootupTimestamp": 1616638128.0, "timestamp": 1616638469368}, + "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "192.168.121.180", "bootupTimestamp": 1616638128.0, "timestamp": 1616638469368}, {"namespace": "dual-bgp", "hostname": "server102", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "192.168.121.254", "bootupTimestamp": 1616638127.0, "timestamp": 1616638469377}, - {"namespace": "dual-bgp", "hostname": "edge01", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "192.168.121.103", "bootupTimestamp": 1616638059.0, "timestamp": 1616638469433}, - {"namespace": "dual-bgp", "hostname": "server103", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "192.168.121.222", "bootupTimestamp": 1616638128.0, "timestamp": 1616638469433}, - {"namespace": "dual-bgp", "hostname": "server101", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "192.168.121.233", "bootupTimestamp": 1616638128.0, "timestamp": 1616638469517}, - {"namespace": "dual-bgp", "hostname": "spine01", "model": "VX", "version": "4.3.0", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "192.168.121.51", - "bootupTimestamp": 1616638065.0, "timestamp": 1616638469730}, {"namespace": "dual-bgp", - "hostname": "internet", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "192.168.121.141", "bootupTimestamp": - 1616638065.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": - "spine02", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.186", "bootupTimestamp": - 1616638066.0, "timestamp": 1616638469999}, {"namespace": "dual-evpn", "hostname": - "edge01", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "192.168.121.154", "bootupTimestamp": - 1616644592.0, "timestamp": 1616644822168}, {"namespace": "dual-evpn", "hostname": - "spine02", "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.136", "bootupTimestamp": - 1616644598.0, "timestamp": 1616644822357}, {"namespace": "dual-evpn", "hostname": - "spine01", "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.42", "bootupTimestamp": 1616644598.0, + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.121.254", + "bootupTimestamp": 1616638127.0, "timestamp": 1616638469377}, {"namespace": "dual-bgp", + "hostname": "edge01", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "192.168.121.103", "bootupTimestamp": + 1616638059.0, "timestamp": 1616638469433}, {"namespace": "dual-bgp", "hostname": + "server103", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "192.168.121.222", "bootupTimestamp": 1616638128.0, + "timestamp": 1616638469433}, {"namespace": "dual-bgp", "hostname": "server101", + "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "192.168.121.233", "bootupTimestamp": 1616638128.0, + "timestamp": 1616638469517}, {"namespace": "dual-bgp", "hostname": "spine01", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "192.168.121.51", "bootupTimestamp": 1616638065.0, + "timestamp": 1616638469730}, {"namespace": "dual-bgp", "hostname": "internet", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "192.168.121.141", "bootupTimestamp": 1616638065.0, + "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": "spine02", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "192.168.121.186", "bootupTimestamp": 1616638066.0, + "timestamp": 1616638469999}, {"namespace": "dual-evpn", "hostname": "edge01", + "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "192.168.121.154", "bootupTimestamp": 1616644592.0, + "timestamp": 1616644822168}, {"namespace": "dual-evpn", "hostname": "spine02", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "192.168.121.136", "bootupTimestamp": 1616644598.0, + "timestamp": 1616644822357}, {"namespace": "dual-evpn", "hostname": "spine01", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "192.168.121.42", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822465}, {"namespace": "dual-evpn", "hostname": "internet", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.157", "bootupTimestamp": 1616644599.0, "timestamp": 1616644822518}, {"namespace": "ospf-ibgp", "hostname": "server103", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.150", "bootupTimestamp": 1616680845.0, "timestamp": 1616681581595}, {"namespace": "ospf-ibgp", "hostname": "server101", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.184", "bootupTimestamp": 1616680816.0, "timestamp": 1616681581632}, {"namespace": "ospf-ibgp", "hostname": "server104", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.197", "bootupTimestamp": 1616680858.0, "timestamp": 1616681581652}, {"namespace": "ospf-ibgp", "hostname": "edge01", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.180", "bootupTimestamp": 1616681014.0, "timestamp": 1616681581705}, {"namespace": "ospf-ibgp", "hostname": "server102", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.134", "bootupTimestamp": 1616680827.0, "timestamp": 1616681581705}, {"namespace": "ospf-ibgp", "hostname": "spine01", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.135", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582844}, {"namespace": "ospf-ibgp", "hostname": "spine02", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.16", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582902}, {"namespace": "ospf-ibgp", "hostname": "internet", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.237", "bootupTimestamp": 1616681016.0, "timestamp": 1616681582980}, {"namespace": "nxos", "hostname": "server101", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.204", "bootupTimestamp": 1619182381.0, - "timestamp": 1619275256203}, {"namespace": "nxos", "hostname": "server102", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.39", "bootupTimestamp": 1619182381.0, - "timestamp": 1619275256290}, {"namespace": "nxos", "hostname": "server301", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.140", "bootupTimestamp": 1619182381.0, - "timestamp": 1619275256319}, {"namespace": "nxos", "hostname": "server302", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.114", "bootupTimestamp": 1619182381.0, - "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.204", "bootupTimestamp": 1619182381.0, "timestamp": + 1619275256203}, {"namespace": "nxos", "hostname": "server102", "model": "vm", + "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "10.255.2.39", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256290}, + {"namespace": "nxos", "hostname": "server301", "model": "vm", "version": "18.04.3 + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.140", + "bootupTimestamp": 1619182381.0, "timestamp": 1619275256319}, {"namespace": "nxos", + "hostname": "server302", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.114", "bootupTimestamp": + 1619182381.0, "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", + "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.249", "bootupTimestamp": 1619013132.0, "timestamp": 1619275256497}, {"namespace": "nxos", "hostname": "dcedge01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "27840100856", "status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1619013129.329, "timestamp": 1619275258329}, {"namespace": "nxos", "hostname": "spine02", "model": - "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": - "Intel Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.120", - "bootupTimestamp": 1619013194.0, "timestamp": 1619275263055}, {"namespace": "nxos", - "hostname": "spine01", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.119", "bootupTimestamp": 1619013190.0, "timestamp": - 1619275263589}, {"namespace": "eos", "hostname": "server301", "model": "vm", "version": - "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.151", "bootupTimestamp": 1620676730.0, "timestamp": 1623025175797}, - {"namespace": "eos", "hostname": "server302", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.137", "bootupTimestamp": 1620676730.0, "timestamp": 1623025175800}, - {"namespace": "eos", "hostname": "firewall01", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.189", "bootupTimestamp": 1620675718.0, "timestamp": 1623025176026}, + "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9SM7CHR8WEF", "status": "alive", "address": "10.255.2.120", "bootupTimestamp": + 1619013194.0, "timestamp": 1619275263055}, {"namespace": "nxos", "hostname": "spine01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9U1GLRQOXD7", "status": "alive", "address": "10.255.2.119", "bootupTimestamp": + 1619013190.0, "timestamp": 1619275263589}, {"namespace": "eos", "hostname": "server301", + "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "10.255.2.151", "bootupTimestamp": 1620676730.0, + "timestamp": 1623025175797}, {"namespace": "eos", "hostname": "server302", "model": + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.137", "bootupTimestamp": 1620676730.0, "timestamp": + 1623025175800}, {"namespace": "eos", "hostname": "firewall01", "model": "vm", + "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "10.255.2.189", "bootupTimestamp": 1620675718.0, "timestamp": 1623025176026}, {"namespace": "eos", "hostname": "server101", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.57", "bootupTimestamp": 1620676730.0, "timestamp": 1623025176026}, {"namespace": - "eos", "hostname": "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": - "Ubuntu", "architecture": "x86-64", "status": "alive", "address": "10.255.2.230", - "bootupTimestamp": 1620676730.0, "timestamp": 1623025176212}, {"namespace": "eos", - "hostname": "spine01", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.117", "bootupTimestamp": - 1620676825.0, "timestamp": 1623025176945}, {"namespace": "eos", "hostname": "spine02", - "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": "x86_64", - "status": "alive", "address": "10.255.2.118", "bootupTimestamp": 1620676826.0, - "timestamp": 1623025177075}, {"namespace": "eos", "hostname": "dcedge01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1620675742.016, - "timestamp": 1623025180016}, {"namespace": "junos", "hostname": "server101", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.5.72", "bootupTimestamp": 1622997922.0, - "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "server202", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.5.71", "bootupTimestamp": 1622997902.0, - "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "server201", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.5.49", "bootupTimestamp": 1622997945.0, - "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "server102", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.5.169", "bootupTimestamp": 1622997951.0, + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.57", + "bootupTimestamp": 1620676730.0, "timestamp": 1623025176026}, {"namespace": "eos", + "hostname": "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.230", "bootupTimestamp": + 1620676730.0, "timestamp": 1623025176212}, {"namespace": "eos", "hostname": "spine01", + "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", + "status": "alive", "address": "10.255.2.117", "bootupTimestamp": 1620676825.0, + "timestamp": 1623025176945}, {"namespace": "eos", "hostname": "spine02", "model": + "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": + "alive", "address": "10.255.2.118", "bootupTimestamp": 1620676826.0, "timestamp": + 1623025177075}, {"namespace": "eos", "hostname": "dcedge01", "model": "vqfx-10000", + "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "65873387107", "status": + "alive", "address": "10.255.2.250", "bootupTimestamp": 1620675742.016, "timestamp": + 1623025180016}, {"namespace": "junos", "hostname": "server101", "model": "vm", + "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "10.255.5.72", "bootupTimestamp": 1622997922.0, "timestamp": 1623025795928}, + {"namespace": "junos", "hostname": "server202", "model": "vm", "version": "18.04.3 + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.5.71", + "bootupTimestamp": 1622997902.0, "timestamp": 1623025795928}, {"namespace": "junos", + "hostname": "server201", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.5.49", "bootupTimestamp": + 1622997945.0, "timestamp": 1623025795928}, {"namespace": "junos", "hostname": + "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.5.169", "bootupTimestamp": 1622997951.0, "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "firewall01", - "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.5.40", "bootupTimestamp": 1622997934.0, "timestamp": 1623025796138}, {"namespace": "junos", "hostname": "spine01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "38645725387", "status": "alive", "address": "10.255.5.117", "bootupTimestamp": 1622997977.081, "timestamp": 1623025799081}, {"namespace": "junos", "hostname": "spine02", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "05518142768", "status": "alive", "address": "10.255.5.118", "bootupTimestamp": 1622998003.357, "timestamp": 1623025799357}, {"namespace": "junos", "hostname": "dcedge01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "52105701727", "status": "alive", "address": "10.255.5.250", "bootupTimestamp": 1622998015.405, "timestamp": 1623025800405}, {"namespace": "mixed", "hostname": "spine1-nxos", "model": "Nexus9000 C9300v Chassis", "version": "9.3(7a)", "vendor": "Cisco", - "architecture": "", "status": "alive", "address": "nebula.packetflow.co.uk:9001", + "serialNumber": "97ZE61EG3HU", "status": "alive", "address": "nebula.packetflow.co.uk:9001", "bootupTimestamp": 1625740163.0, "timestamp": 1627395440677}, {"namespace": "mixed", "hostname": "spine2-nxos", "model": "Nexus9000 C9300v Chassis", "version": "9.3(7a)", - "vendor": "Cisco", "architecture": "", "status": "alive", "address": "nebula.packetflow.co.uk:9002", - "bootupTimestamp": 1625734028.0, "timestamp": 1627395441587}, {"namespace": "panos", - "hostname": "server102", "model": "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", - "architecture": "x86-64", "status": "alive", "address": "10.255.2.76", "bootupTimestamp": - 1639384491.0, "timestamp": 1639476253683}, {"namespace": "panos", "hostname": - "server301", "model": "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "10.255.2.241", "bootupTimestamp": 1639384491.0, - "timestamp": 1639476253890}, {"namespace": "panos", "hostname": "server302", "model": - "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.103", "bootupTimestamp": 1639384491.0, - "timestamp": 1639476253939}, {"namespace": "panos", "hostname": "server101", "model": - "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.9", "bootupTimestamp": 1639384491.0, "timestamp": - 1639476253939}, {"namespace": "panos", "hostname": "firewall01", "model": "PA-VM", - "version": "8.0.0", "vendor": "Palo Alto", "architecture": "", "status": "alive", - "address": "10.255.2.141", "bootupTimestamp": 1639384269.0, "timestamp": 1639476253946}, - {"namespace": "panos", "hostname": "dcedge01", "model": "VX", "version": "4.1.1", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "10.255.2.250", - "bootupTimestamp": 1639470236.0, "timestamp": 1639476254621}, {"namespace": "panos", - "hostname": "spine01", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.117", "bootupTimestamp": - 1639470234.0, "timestamp": 1639476254852}, {"namespace": "panos", "hostname": - "spine02", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "10.255.2.118", "bootupTimestamp": 1639470234.0, - "timestamp": 1639476254852}]' + "vendor": "Cisco", "serialNumber": "9ZSZSPLAP53", "status": "alive", "address": + "nebula.packetflow.co.uk:9002", "bootupTimestamp": 1625734028.0, "timestamp": + 1627395441587}, {"namespace": "panos", "hostname": "server102", "model": "vm", + "version": "18.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "10.255.2.76", "bootupTimestamp": 1639384491.0, "timestamp": 1639476253683}, + {"namespace": "panos", "hostname": "server301", "model": "vm", "version": "18.04.6 + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.241", + "bootupTimestamp": 1639384491.0, "timestamp": 1639476253890}, {"namespace": "panos", + "hostname": "server302", "model": "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.103", "bootupTimestamp": + 1639384491.0, "timestamp": 1639476253939}, {"namespace": "panos", "hostname": + "server101", "model": "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.2.9", "bootupTimestamp": 1639384491.0, + "timestamp": 1639476253939}, {"namespace": "panos", "hostname": "firewall01", + "model": "PA-VM", "version": "8.0.0", "vendor": "Palo Alto", "serialNumber": "unknown", + "status": "alive", "address": "10.255.2.141", "bootupTimestamp": 1639384269.0, + "timestamp": 1639476253946}, {"namespace": "panos", "hostname": "dcedge01", "model": + "VX", "version": "4.1.1", "vendor": "Cumulus", "serialNumber": "None", "status": + "alive", "address": "10.255.2.250", "bootupTimestamp": 1639470236.0, "timestamp": + 1639476254621}, {"namespace": "panos", "hostname": "spine01", "model": "VX", "version": + "4.1.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": + "10.255.2.117", "bootupTimestamp": 1639470234.0, "timestamp": 1639476254852}, + {"namespace": "panos", "hostname": "spine02", "model": "VX", "version": "4.1.1", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.118", + "bootupTimestamp": 1639470234.0, "timestamp": 1639476254852}]' - command: evpnVni show --hostname='!leaf01 !leaf02' --format=json --namespace='!ospf-single !vmx' data-directory: tests/data/parquet/ @@ -92706,166 +92686,165 @@ tests: data-directory: tests/data/parquet/ marks: device show hostname negate output: '[{"namespace": "dual-bgp", "hostname": "server104", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "192.168.121.180", "bootupTimestamp": 1616638128.0, "timestamp": 1616638469368}, + "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "192.168.121.180", "bootupTimestamp": 1616638128.0, "timestamp": 1616638469368}, {"namespace": "dual-bgp", "hostname": "server102", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "192.168.121.254", "bootupTimestamp": 1616638127.0, "timestamp": 1616638469377}, - {"namespace": "dual-bgp", "hostname": "server103", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "192.168.121.222", "bootupTimestamp": 1616638128.0, "timestamp": 1616638469433}, - {"namespace": "dual-bgp", "hostname": "edge01", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "192.168.121.103", "bootupTimestamp": 1616638059.0, "timestamp": 1616638469433}, - {"namespace": "dual-bgp", "hostname": "server101", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "192.168.121.233", "bootupTimestamp": 1616638128.0, "timestamp": 1616638469517}, - {"namespace": "dual-bgp", "hostname": "spine01", "model": "VX", "version": "4.3.0", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "192.168.121.51", - "bootupTimestamp": 1616638065.0, "timestamp": 1616638469730}, {"namespace": "dual-bgp", - "hostname": "leaf04", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "192.168.121.132", "bootupTimestamp": - 1616638065.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": - "exit02", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.181", "bootupTimestamp": - 1616638066.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": - "exit01", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.164", "bootupTimestamp": - 1616638066.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": - "spine02", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.186", "bootupTimestamp": + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.121.254", + "bootupTimestamp": 1616638127.0, "timestamp": 1616638469377}, {"namespace": "dual-bgp", + "hostname": "server103", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "192.168.121.222", "bootupTimestamp": + 1616638128.0, "timestamp": 1616638469433}, {"namespace": "dual-bgp", "hostname": + "edge01", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "192.168.121.103", "bootupTimestamp": 1616638059.0, + "timestamp": 1616638469433}, {"namespace": "dual-bgp", "hostname": "server101", + "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "192.168.121.233", "bootupTimestamp": 1616638128.0, + "timestamp": 1616638469517}, {"namespace": "dual-bgp", "hostname": "spine01", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "192.168.121.51", "bootupTimestamp": 1616638065.0, + "timestamp": 1616638469730}, {"namespace": "dual-bgp", "hostname": "leaf04", "model": + "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": + "alive", "address": "192.168.121.132", "bootupTimestamp": 1616638065.0, "timestamp": + 1616638469999}, {"namespace": "dual-bgp", "hostname": "exit02", "model": "VX", + "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", + "address": "192.168.121.181", "bootupTimestamp": 1616638066.0, "timestamp": 1616638469999}, + {"namespace": "dual-bgp", "hostname": "exit01", "model": "VX", "version": "4.3.0", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.164", + "bootupTimestamp": 1616638066.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", + "hostname": "spine02", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", + "serialNumber": "None", "status": "alive", "address": "192.168.121.186", "bootupTimestamp": 1616638066.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": - "internet", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.141", "bootupTimestamp": - 1616638065.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": - "leaf03", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.33", "bootupTimestamp": 1616638067.0, - "timestamp": 1616638471112}, {"namespace": "dual-evpn", "hostname": "edge01", - "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "192.168.121.154", "bootupTimestamp": 1616644592.0, - "timestamp": 1616644822168}, {"namespace": "dual-evpn", "hostname": "leaf03", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", - "status": "alive", "address": "192.168.121.13", "bootupTimestamp": 1616644598.0, - "timestamp": 1616644822331}, {"namespace": "dual-evpn", "hostname": "spine02", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", - "status": "alive", "address": "192.168.121.136", "bootupTimestamp": 1616644598.0, - "timestamp": 1616644822357}, {"namespace": "dual-evpn", "hostname": "leaf04", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", - "status": "alive", "address": "192.168.121.38", "bootupTimestamp": 1616644597.0, + "internet", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": + "None", "status": "alive", "address": "192.168.121.141", "bootupTimestamp": 1616638065.0, + "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": "leaf03", "model": + "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": + "alive", "address": "192.168.121.33", "bootupTimestamp": 1616638067.0, "timestamp": + 1616638471112}, {"namespace": "dual-evpn", "hostname": "edge01", "model": "vm", + "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "192.168.121.154", "bootupTimestamp": 1616644592.0, "timestamp": 1616644822168}, + {"namespace": "dual-evpn", "hostname": "leaf03", "model": "VX", "version": "3.7.9", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.13", + "bootupTimestamp": 1616644598.0, "timestamp": 1616644822331}, {"namespace": "dual-evpn", + "hostname": "spine02", "model": "VX", "version": "3.7.9", "vendor": "Cumulus", + "serialNumber": "None", "status": "alive", "address": "192.168.121.136", "bootupTimestamp": + 1616644598.0, "timestamp": 1616644822357}, {"namespace": "dual-evpn", "hostname": + "leaf04", "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": + "None", "status": "alive", "address": "192.168.121.38", "bootupTimestamp": 1616644597.0, "timestamp": 1616644822465}, {"namespace": "dual-evpn", "hostname": "spine01", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.42", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822465}, {"namespace": "dual-evpn", "hostname": "exit01", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.126", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822507}, {"namespace": "dual-evpn", "hostname": "internet", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.157", "bootupTimestamp": 1616644599.0, "timestamp": 1616644822518}, {"namespace": "dual-evpn", "hostname": "exit02", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.150", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822532}, {"namespace": "mixed", "hostname": "leaf6-eos", "model": - "vEOS", "version": "4.23.8M", "vendor": "Arista", "architecture": "x86_64", "status": + "vEOS", "version": "4.23.8M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "nebula.packetflow.co.uk:9008", "bootupTimestamp": 1624392450.0, "timestamp": 1627395437086}, {"namespace": "mixed", "hostname": "leaf5-eos", "model": - "vEOS", "version": "4.23.8M", "vendor": "Arista", "architecture": "x86_64", "status": + "vEOS", "version": "4.23.8M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "nebula.packetflow.co.uk:9007", "bootupTimestamp": 1624392448.0, "timestamp": 1627395437566}, {"namespace": "mixed", "hostname": "leaf3-qfx", "model": - "vqfx-10000", "version": "18.1R3-S2.5", "vendor": "Juniper", "architecture": "", + "vqfx-10000", "version": "18.1R3-S2.5", "vendor": "Juniper", "serialNumber": "07150161637", "status": "alive", "address": "nebula.packetflow.co.uk:9005", "bootupTimestamp": 1624392540.571, "timestamp": 1627395437571}, {"namespace": "mixed", "hostname": "leaf4-qfx", "model": "vqfx-10000", "version": "18.1R3-S2.5", "vendor": "Juniper", - "architecture": "", "status": "alive", "address": "nebula.packetflow.co.uk:9006", + "serialNumber": "81674410087", "status": "alive", "address": "nebula.packetflow.co.uk:9006", "bootupTimestamp": 1624392469.304, "timestamp": 1627395438304}, {"namespace": "mixed", "hostname": "spine1-nxos", "model": "Nexus9000 C9300v Chassis", "version": - "9.3(7a)", "vendor": "Cisco", "architecture": "", "status": "alive", "address": - "nebula.packetflow.co.uk:9001", "bootupTimestamp": 1625740163.0, "timestamp": + "9.3(7a)", "vendor": "Cisco", "serialNumber": "97ZE61EG3HU", "status": "alive", + "address": "nebula.packetflow.co.uk:9001", "bootupTimestamp": 1625740163.0, "timestamp": 1627395440677}, {"namespace": "mixed", "hostname": "spine2-nxos", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(7a)", "vendor": "Cisco", "architecture": "", + C9300v Chassis", "version": "9.3(7a)", "vendor": "Cisco", "serialNumber": "9ZSZSPLAP53", "status": "alive", "address": "nebula.packetflow.co.uk:9002", "bootupTimestamp": 1625734028.0, "timestamp": 1627395441587}, {"namespace": "mixed", "hostname": - "leaf1-ios", "model": "IOSv", "version": "15.6(2)T", "vendor": "Cisco", "architecture": - "", "status": "alive", "address": "nebula.packetflow.co.uk:9003", "bootupTimestamp": - 1649620439.0, "timestamp": 1627395441786}, {"namespace": "mixed", "hostname": - "leaf2-ios", "model": "IOSv", "version": "15.6(2)T", "vendor": "Cisco", "architecture": - "", "status": "alive", "address": "nebula.packetflow.co.uk:9004", "bootupTimestamp": - 1649620079.0, "timestamp": 1627395442308}, {"namespace": "vmx", "hostname": "TOR4CRP-DGW-RT01", - "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "172.26.145.154", "bootupTimestamp": 1630916460.155, - "timestamp": 1631009087155}, {"namespace": "vmx", "hostname": "TOR1CRP-DGW-RT01", - "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "172.26.145.153", "bootupTimestamp": 1629182498.197, - "timestamp": 1631009087197}, {"namespace": "vmx", "hostname": "TOR1BBN-PE-RT01", - "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "172.26.145.155", "bootupTimestamp": 1629185128.222, - "timestamp": 1631009087222}, {"namespace": "vmx", "hostname": "CRP-ACC-SW01", - "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "172.26.145.151", "bootupTimestamp": 1629105442.745, - "timestamp": 1631009087745}, {"namespace": "vmx", "hostname": "CRP-DIS-SW01", - "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "172.26.145.152", "bootupTimestamp": 1629105452.912, - "timestamp": 1631009087912}]' + "leaf1-ios", "model": "IOSv", "version": "15.6(2)T", "vendor": "Cisco", "serialNumber": + "9W5VPTBQ6YOC586TLJ7U8", "status": "alive", "address": "nebula.packetflow.co.uk:9003", + "bootupTimestamp": 1649620439.0, "timestamp": 1627395441786}, {"namespace": "mixed", + "hostname": "leaf2-ios", "model": "IOSv", "version": "15.6(2)T", "vendor": "Cisco", + "serialNumber": "93IGPL0NJHJSU39YFPRVI", "status": "alive", "address": "nebula.packetflow.co.uk:9004", + "bootupTimestamp": 1649620079.0, "timestamp": 1627395442308}, {"namespace": "vmx", + "hostname": "TOR4CRP-DGW-RT01", "model": "vmx", "version": "18.2R1.9", "vendor": + "Juniper", "serialNumber": "VM611B5AB57B", "status": "alive", "address": "172.26.145.154", + "bootupTimestamp": 1630916460.155, "timestamp": 1631009087155}, {"namespace": + "vmx", "hostname": "TOR1CRP-DGW-RT01", "model": "vmx", "version": "18.2R1.9", + "vendor": "Juniper", "serialNumber": "VM611B595318", "status": "alive", "address": + "172.26.145.153", "bootupTimestamp": 1629182498.197, "timestamp": 1631009087197}, + {"namespace": "vmx", "hostname": "TOR1BBN-PE-RT01", "model": "vmx", "version": + "18.2R1.9", "vendor": "Juniper", "serialNumber": "VM611B64B3CD", "status": "alive", + "address": "172.26.145.155", "bootupTimestamp": 1629185128.222, "timestamp": 1631009087222}, + {"namespace": "vmx", "hostname": "CRP-ACC-SW01", "model": "vmx", "version": "18.2R1.9", + "vendor": "Juniper", "serialNumber": "VM60E81CCE29", "status": "alive", "address": + "172.26.145.151", "bootupTimestamp": 1629105442.745, "timestamp": 1631009087745}, + {"namespace": "vmx", "hostname": "CRP-DIS-SW01", "model": "vmx", "version": "18.2R1.9", + "vendor": "Juniper", "serialNumber": "VM60E8243DDB", "status": "alive", "address": + "172.26.145.152", "bootupTimestamp": 1629105452.912, "timestamp": 1631009087912}]' - command: device show --hostname='!~leaf.* !~exit.*' --format=json --namespace='!~ospf.* !~.*os' data-directory: tests/data/parquet/ marks: device show hostname negate regex output: '[{"namespace": "dual-bgp", "hostname": "server104", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "192.168.121.180", "bootupTimestamp": 1616638128.0, "timestamp": 1616638469368}, + "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "192.168.121.180", "bootupTimestamp": 1616638128.0, "timestamp": 1616638469368}, {"namespace": "dual-bgp", "hostname": "server102", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "192.168.121.254", "bootupTimestamp": 1616638127.0, "timestamp": 1616638469377}, - {"namespace": "dual-bgp", "hostname": "server103", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "192.168.121.222", "bootupTimestamp": 1616638128.0, "timestamp": 1616638469433}, - {"namespace": "dual-bgp", "hostname": "edge01", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "192.168.121.103", "bootupTimestamp": 1616638059.0, "timestamp": 1616638469433}, - {"namespace": "dual-bgp", "hostname": "server101", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "192.168.121.233", "bootupTimestamp": 1616638128.0, "timestamp": 1616638469517}, - {"namespace": "dual-bgp", "hostname": "spine01", "model": "VX", "version": "4.3.0", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "192.168.121.51", - "bootupTimestamp": 1616638065.0, "timestamp": 1616638469730}, {"namespace": "dual-bgp", - "hostname": "spine02", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "192.168.121.186", "bootupTimestamp": - 1616638066.0, "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": - "internet", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.141", "bootupTimestamp": - 1616638065.0, "timestamp": 1616638469999}, {"namespace": "dual-evpn", "hostname": - "edge01", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "192.168.121.154", "bootupTimestamp": - 1616644592.0, "timestamp": 1616644822168}, {"namespace": "dual-evpn", "hostname": - "spine02", "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.136", "bootupTimestamp": - 1616644598.0, "timestamp": 1616644822357}, {"namespace": "dual-evpn", "hostname": - "spine01", "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.121.42", "bootupTimestamp": 1616644598.0, + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.121.254", + "bootupTimestamp": 1616638127.0, "timestamp": 1616638469377}, {"namespace": "dual-bgp", + "hostname": "server103", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "192.168.121.222", "bootupTimestamp": + 1616638128.0, "timestamp": 1616638469433}, {"namespace": "dual-bgp", "hostname": + "edge01", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "192.168.121.103", "bootupTimestamp": 1616638059.0, + "timestamp": 1616638469433}, {"namespace": "dual-bgp", "hostname": "server101", + "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "192.168.121.233", "bootupTimestamp": 1616638128.0, + "timestamp": 1616638469517}, {"namespace": "dual-bgp", "hostname": "spine01", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "192.168.121.51", "bootupTimestamp": 1616638065.0, + "timestamp": 1616638469730}, {"namespace": "dual-bgp", "hostname": "spine02", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "192.168.121.186", "bootupTimestamp": 1616638066.0, + "timestamp": 1616638469999}, {"namespace": "dual-bgp", "hostname": "internet", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "192.168.121.141", "bootupTimestamp": 1616638065.0, + "timestamp": 1616638469999}, {"namespace": "dual-evpn", "hostname": "edge01", + "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "192.168.121.154", "bootupTimestamp": 1616644592.0, + "timestamp": 1616644822168}, {"namespace": "dual-evpn", "hostname": "spine02", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "192.168.121.136", "bootupTimestamp": 1616644598.0, + "timestamp": 1616644822357}, {"namespace": "dual-evpn", "hostname": "spine01", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "192.168.121.42", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822465}, {"namespace": "dual-evpn", "hostname": "internet", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.157", "bootupTimestamp": 1616644599.0, "timestamp": 1616644822518}, {"namespace": "mixed", "hostname": "spine1-nxos", "model": "Nexus9000 C9300v Chassis", "version": "9.3(7a)", "vendor": "Cisco", - "architecture": "", "status": "alive", "address": "nebula.packetflow.co.uk:9001", + "serialNumber": "97ZE61EG3HU", "status": "alive", "address": "nebula.packetflow.co.uk:9001", "bootupTimestamp": 1625740163.0, "timestamp": 1627395440677}, {"namespace": "mixed", "hostname": "spine2-nxos", "model": "Nexus9000 C9300v Chassis", "version": "9.3(7a)", - "vendor": "Cisco", "architecture": "", "status": "alive", "address": "nebula.packetflow.co.uk:9002", - "bootupTimestamp": 1625734028.0, "timestamp": 1627395441587}, {"namespace": "vmx", - "hostname": "TOR4CRP-DGW-RT01", "model": "vmx", "version": "18.2R1.9", "vendor": - "Juniper", "architecture": "", "status": "alive", "address": "172.26.145.154", - "bootupTimestamp": 1630916460.155, "timestamp": 1631009087155}, {"namespace": - "vmx", "hostname": "TOR1CRP-DGW-RT01", "model": "vmx", "version": "18.2R1.9", - "vendor": "Juniper", "architecture": "", "status": "alive", "address": "172.26.145.153", - "bootupTimestamp": 1629182498.197, "timestamp": 1631009087197}, {"namespace": - "vmx", "hostname": "TOR1BBN-PE-RT01", "model": "vmx", "version": "18.2R1.9", "vendor": - "Juniper", "architecture": "", "status": "alive", "address": "172.26.145.155", - "bootupTimestamp": 1629185128.222, "timestamp": 1631009087222}, {"namespace": - "vmx", "hostname": "CRP-ACC-SW01", "model": "vmx", "version": "18.2R1.9", "vendor": - "Juniper", "architecture": "", "status": "alive", "address": "172.26.145.151", - "bootupTimestamp": 1629105442.745, "timestamp": 1631009087745}, {"namespace": - "vmx", "hostname": "CRP-DIS-SW01", "model": "vmx", "version": "18.2R1.9", "vendor": - "Juniper", "architecture": "", "status": "alive", "address": "172.26.145.152", - "bootupTimestamp": 1629105452.912, "timestamp": 1631009087912}]' + "vendor": "Cisco", "serialNumber": "9ZSZSPLAP53", "status": "alive", "address": + "nebula.packetflow.co.uk:9002", "bootupTimestamp": 1625734028.0, "timestamp": + 1627395441587}, {"namespace": "vmx", "hostname": "TOR4CRP-DGW-RT01", "model": + "vmx", "version": "18.2R1.9", "vendor": "Juniper", "serialNumber": "VM611B5AB57B", + "status": "alive", "address": "172.26.145.154", "bootupTimestamp": 1630916460.155, + "timestamp": 1631009087155}, {"namespace": "vmx", "hostname": "TOR1CRP-DGW-RT01", + "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "serialNumber": "VM611B595318", + "status": "alive", "address": "172.26.145.153", "bootupTimestamp": 1629182498.197, + "timestamp": 1631009087197}, {"namespace": "vmx", "hostname": "TOR1BBN-PE-RT01", + "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "serialNumber": "VM611B64B3CD", + "status": "alive", "address": "172.26.145.155", "bootupTimestamp": 1629185128.222, + "timestamp": 1631009087222}, {"namespace": "vmx", "hostname": "CRP-ACC-SW01", + "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "serialNumber": "VM60E81CCE29", + "status": "alive", "address": "172.26.145.151", "bootupTimestamp": 1629105442.745, + "timestamp": 1631009087745}, {"namespace": "vmx", "hostname": "CRP-DIS-SW01", + "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "serialNumber": "VM60E8243DDB", + "status": "alive", "address": "172.26.145.152", "bootupTimestamp": 1629105452.912, + "timestamp": 1631009087912}]' - command: evpnVni show --hostname='!leaf01 !leaf02' --format=json --namespace='!~ospf.* !~.*os' data-directory: tests/data/parquet/ diff --git a/tests/integration/sqcmds/cumulus-samples/all.yml b/tests/integration/sqcmds/cumulus-samples/all.yml index af122db56b..1a21e01ed3 100644 --- a/tests/integration/sqcmds/cumulus-samples/all.yml +++ b/tests/integration/sqcmds/cumulus-samples/all.yml @@ -1749,64 +1749,62 @@ tests: data-directory: tests/data/parquet/ marks: device show cumulus all output: '[{"namespace": "ospf-ibgp", "hostname": "server103", "model": "vm", "version": - "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "192.168.123.150", "bootupTimestamp": 1616680845.0, "timestamp": 1616681581595, - "memory": 0, "reason": "", "uptime": 736595, "os": "linux", "serialNumber": "", + "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "192.168.123.150", "bootupTimestamp": 1616680845.0, "timestamp": 1616681581595, + "architecture": "x86-64", "memory": 0, "reason": "", "uptime": 736595, "os": "linux", "active": true}, {"namespace": "ospf-ibgp", "hostname": "server101", "model": - "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "192.168.123.184", "bootupTimestamp": 1616680816.0, - "timestamp": 1616681581632, "memory": 0, "reason": "", "uptime": 765632, "os": - "linux", "serialNumber": "", "active": true}, {"namespace": "ospf-ibgp", "hostname": - "server104", "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "192.168.123.197", "bootupTimestamp": - 1616680858.0, "timestamp": 1616681581652, "memory": 0, "reason": "", "uptime": - 723652, "os": "linux", "serialNumber": "", "active": true}, {"namespace": "ospf-ibgp", - "hostname": "edge01", "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", - "architecture": "x86-64", "status": "alive", "address": "192.168.123.180", "bootupTimestamp": - 1616681014.0, "timestamp": 1616681581705, "memory": 0, "reason": "", "uptime": - 567705, "os": "linux", "serialNumber": "", "active": true}, {"namespace": "ospf-ibgp", - "hostname": "server102", "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", - "architecture": "x86-64", "status": "alive", "address": "192.168.123.134", "bootupTimestamp": - 1616680827.0, "timestamp": 1616681581705, "memory": 0, "reason": "", "uptime": - 754705, "os": "linux", "serialNumber": "", "active": true}, {"namespace": "ospf-ibgp", - "hostname": "exit01", "model": "VX", "version": "4.2.1", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "192.168.123.188", "bootupTimestamp": - 1616681014.0, "timestamp": 1616681582726, "memory": 685192, "reason": "", "uptime": - 568726, "os": "cumulus", "serialNumber": "None", "active": true}, {"namespace": - "ospf-ibgp", "hostname": "leaf02", "model": "VX", "version": "4.2.1", "vendor": - "Cumulus", "architecture": "x86_64", "status": "alive", "address": "192.168.123.239", - "bootupTimestamp": 1616681016.0, "timestamp": 1616681582726, "memory": 685144, - "reason": "", "uptime": 566726, "os": "cumulus", "serialNumber": "None", "active": - true}, {"namespace": "ospf-ibgp", "hostname": "leaf04", "model": "VX", "version": - "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": - "192.168.123.202", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582726, - "memory": 685192, "reason": "", "uptime": 568726, "os": "cumulus", "serialNumber": - "None", "active": true}, {"namespace": "ospf-ibgp", "hostname": "leaf03", "model": - "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", "status": - "alive", "address": "192.168.123.248", "bootupTimestamp": 1616681014.0, "timestamp": - 1616681582844, "memory": 685192, "reason": "", "uptime": 568844, "os": "cumulus", - "serialNumber": "None", "active": true}, {"namespace": "ospf-ibgp", "hostname": - "spine01", "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.123.135", "bootupTimestamp": - 1616681014.0, "timestamp": 1616681582844, "memory": 685144, "reason": "", "uptime": - 568844, "os": "cumulus", "serialNumber": "None", "active": true}, {"namespace": - "ospf-ibgp", "hostname": "exit02", "model": "VX", "version": "4.2.1", "vendor": - "Cumulus", "architecture": "x86_64", "status": "alive", "address": "192.168.123.136", - "bootupTimestamp": 1616681015.0, "timestamp": 1616681582902, "memory": 685192, - "reason": "", "uptime": 567902, "os": "cumulus", "serialNumber": "None", "active": - true}, {"namespace": "ospf-ibgp", "hostname": "spine02", "model": "VX", "version": - "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": - "192.168.123.16", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582902, - "memory": 685192, "reason": "", "uptime": 568902, "os": "cumulus", "serialNumber": - "None", "active": true}, {"namespace": "ospf-ibgp", "hostname": "leaf01", "model": - "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", "status": - "alive", "address": "192.168.123.30", "bootupTimestamp": 1616681014.0, "timestamp": - 1616681582903, "memory": 685144, "reason": "", "uptime": 568903, "os": "cumulus", - "serialNumber": "None", "active": true}, {"namespace": "ospf-ibgp", "hostname": - "internet", "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.123.237", "bootupTimestamp": - 1616681016.0, "timestamp": 1616681582980, "memory": 685192, "reason": "", "uptime": - 566980, "os": "cumulus", "serialNumber": "None", "active": true}]' + "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "192.168.123.184", "bootupTimestamp": 1616680816.0, "timestamp": + 1616681581632, "architecture": "x86-64", "memory": 0, "reason": "", "uptime": + 765632, "os": "linux", "active": true}, {"namespace": "ospf-ibgp", "hostname": + "server104", "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "192.168.123.197", "bootupTimestamp": 1616680858.0, + "timestamp": 1616681581652, "architecture": "x86-64", "memory": 0, "reason": "", + "uptime": 723652, "os": "linux", "active": true}, {"namespace": "ospf-ibgp", "hostname": + "edge01", "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "192.168.123.180", "bootupTimestamp": 1616681014.0, + "timestamp": 1616681581705, "architecture": "x86-64", "memory": 0, "reason": "", + "uptime": 567705, "os": "linux", "active": true}, {"namespace": "ospf-ibgp", "hostname": + "server102", "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "192.168.123.134", "bootupTimestamp": 1616680827.0, + "timestamp": 1616681581705, "architecture": "x86-64", "memory": 0, "reason": "", + "uptime": 754705, "os": "linux", "active": true}, {"namespace": "ospf-ibgp", "hostname": + "exit01", "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": + "None", "status": "alive", "address": "192.168.123.188", "bootupTimestamp": 1616681014.0, + "timestamp": 1616681582726, "architecture": "x86_64", "memory": 685192, "reason": + "", "uptime": 568726, "os": "cumulus", "active": true}, {"namespace": "ospf-ibgp", + "hostname": "leaf02", "model": "VX", "version": "4.2.1", "vendor": "Cumulus", + "serialNumber": "None", "status": "alive", "address": "192.168.123.239", "bootupTimestamp": + 1616681016.0, "timestamp": 1616681582726, "architecture": "x86_64", "memory": + 685144, "reason": "", "uptime": 566726, "os": "cumulus", "active": true}, {"namespace": + "ospf-ibgp", "hostname": "leaf04", "model": "VX", "version": "4.2.1", "vendor": + "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.202", + "bootupTimestamp": 1616681014.0, "timestamp": 1616681582726, "architecture": "x86_64", + "memory": 685192, "reason": "", "uptime": 568726, "os": "cumulus", "active": true}, + {"namespace": "ospf-ibgp", "hostname": "leaf03", "model": "VX", "version": "4.2.1", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.248", + "bootupTimestamp": 1616681014.0, "timestamp": 1616681582844, "architecture": "x86_64", + "memory": 685192, "reason": "", "uptime": 568844, "os": "cumulus", "active": true}, + {"namespace": "ospf-ibgp", "hostname": "spine01", "model": "VX", "version": "4.2.1", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.135", + "bootupTimestamp": 1616681014.0, "timestamp": 1616681582844, "architecture": "x86_64", + "memory": 685144, "reason": "", "uptime": 568844, "os": "cumulus", "active": true}, + {"namespace": "ospf-ibgp", "hostname": "exit02", "model": "VX", "version": "4.2.1", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.136", + "bootupTimestamp": 1616681015.0, "timestamp": 1616681582902, "architecture": "x86_64", + "memory": 685192, "reason": "", "uptime": 567902, "os": "cumulus", "active": true}, + {"namespace": "ospf-ibgp", "hostname": "spine02", "model": "VX", "version": "4.2.1", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.16", + "bootupTimestamp": 1616681014.0, "timestamp": 1616681582902, "architecture": "x86_64", + "memory": 685192, "reason": "", "uptime": 568902, "os": "cumulus", "active": true}, + {"namespace": "ospf-ibgp", "hostname": "leaf01", "model": "VX", "version": "4.2.1", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.30", + "bootupTimestamp": 1616681014.0, "timestamp": 1616681582903, "architecture": "x86_64", + "memory": 685144, "reason": "", "uptime": 568903, "os": "cumulus", "active": true}, + {"namespace": "ospf-ibgp", "hostname": "internet", "model": "VX", "version": "4.2.1", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.237", + "bootupTimestamp": 1616681016.0, "timestamp": 1616681582980, "architecture": "x86_64", + "memory": 685192, "reason": "", "uptime": 566980, "os": "cumulus", "active": true}]' - command: evpnVni show --columns='*' --namespace=ospf-ibgp --format=json data-directory: tests/data/parquet/ marks: evpnVni show cumulus all diff --git a/tests/integration/sqcmds/cumulus-samples/device.yml b/tests/integration/sqcmds/cumulus-samples/device.yml index c2c74104be..f8d2dced3b 100644 --- a/tests/integration/sqcmds/cumulus-samples/device.yml +++ b/tests/integration/sqcmds/cumulus-samples/device.yml @@ -4,117 +4,117 @@ tests: data-directory: tests/data/parquet/ marks: device show output: '[{"namespace": "ospf-single", "hostname": "server102", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.68", "bootupTimestamp": 1616351835.0, "timestamp": 1616352402600}, - {"namespace": "ospf-single", "hostname": "server103", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.182", "bootupTimestamp": 1616351788.0, "timestamp": 1616352402601}, - {"namespace": "ospf-single", "hostname": "server101", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.78", "bootupTimestamp": 1616351831.0, "timestamp": 1616352402606}, - {"namespace": "ospf-single", "hostname": "server104", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.219", "bootupTimestamp": 1616351815.0, "timestamp": 1616352402611}, - {"namespace": "ospf-single", "hostname": "edge01", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.109", "bootupTimestamp": 1616351812.0, "timestamp": 1616352402798}, - {"namespace": "ospf-single", "hostname": "leaf01", "model": "VX", "version": "4.3.0", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "10.255.2.23", - "bootupTimestamp": 1616351988.0, "timestamp": 1616352403833}, {"namespace": "ospf-single", - "hostname": "spine02", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.60", "bootupTimestamp": - 1616351988.0, "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": - "internet", "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "10.255.2.239", "bootupTimestamp": 1616351807.0, + "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.68", "bootupTimestamp": 1616351835.0, "timestamp": 1616352402600}, {"namespace": + "ospf-single", "hostname": "server103", "model": "vm", "version": "16.04.6 LTS", + "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.182", + "bootupTimestamp": 1616351788.0, "timestamp": 1616352402601}, {"namespace": "ospf-single", + "hostname": "server101", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.78", "bootupTimestamp": + 1616351831.0, "timestamp": 1616352402606}, {"namespace": "ospf-single", "hostname": + "server104", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.2.219", "bootupTimestamp": 1616351815.0, + "timestamp": 1616352402611}, {"namespace": "ospf-single", "hostname": "edge01", + "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "10.255.2.109", "bootupTimestamp": 1616351812.0, + "timestamp": 1616352402798}, {"namespace": "ospf-single", "hostname": "leaf01", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "10.255.2.23", "bootupTimestamp": 1616351988.0, + "timestamp": 1616352403833}, {"namespace": "ospf-single", "hostname": "spine02", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "10.255.2.60", "bootupTimestamp": 1616351988.0, + "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "internet", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", + "status": "alive", "address": "10.255.2.239", "bootupTimestamp": 1616351807.0, "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "exit02", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.41", "bootupTimestamp": 1616351989.0, "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "exit01", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.88", "bootupTimestamp": 1616351989.0, "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "spine01", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.217", "bootupTimestamp": 1616351988.0, "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "leaf04", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.10", "bootupTimestamp": 1616351988.0, "timestamp": 1616352403841}, {"namespace": "ospf-single", "hostname": "leaf03", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.254", "bootupTimestamp": 1616351988.0, "timestamp": 1616352403841}, {"namespace": "ospf-single", "hostname": "leaf02", - "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.203", "bootupTimestamp": 1616351988.0, "timestamp": 1616352403841}, {"namespace": "dual-evpn", "hostname": "edge01", - "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.121.154", "bootupTimestamp": 1616644592.0, "timestamp": 1616644822168}, {"namespace": "dual-evpn", "hostname": "leaf03", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.13", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822331}, {"namespace": "dual-evpn", "hostname": "spine02", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.136", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822357}, {"namespace": "dual-evpn", "hostname": "leaf04", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.38", "bootupTimestamp": 1616644597.0, "timestamp": 1616644822465}, {"namespace": "dual-evpn", "hostname": "spine01", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.42", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822465}, {"namespace": "dual-evpn", "hostname": "leaf01", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.88", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822492}, {"namespace": "dual-evpn", "hostname": "exit01", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.126", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822507}, {"namespace": "dual-evpn", "hostname": "internet", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.157", "bootupTimestamp": 1616644599.0, "timestamp": 1616644822518}, {"namespace": "dual-evpn", "hostname": "exit02", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.150", "bootupTimestamp": 1616644598.0, "timestamp": 1616644822532}, {"namespace": "dual-evpn", "hostname": "leaf02", - "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "3.7.9", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.121.253", "bootupTimestamp": 1616644597.0, "timestamp": 1616644822542}, {"namespace": "ospf-ibgp", "hostname": "server103", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.150", "bootupTimestamp": 1616680845.0, "timestamp": 1616681581595}, {"namespace": "ospf-ibgp", "hostname": "server101", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.184", "bootupTimestamp": 1616680816.0, "timestamp": 1616681581632}, {"namespace": "ospf-ibgp", "hostname": "server104", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.197", "bootupTimestamp": 1616680858.0, "timestamp": 1616681581652}, {"namespace": "ospf-ibgp", "hostname": "edge01", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.180", "bootupTimestamp": 1616681014.0, "timestamp": 1616681581705}, {"namespace": "ospf-ibgp", "hostname": "server102", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "192.168.123.134", "bootupTimestamp": 1616680827.0, "timestamp": 1616681581705}, {"namespace": "ospf-ibgp", "hostname": "exit01", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.188", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", "hostname": "leaf04", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.202", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", "hostname": "leaf02", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.239", "bootupTimestamp": 1616681016.0, "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", "hostname": "spine01", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.135", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582844}, {"namespace": "ospf-ibgp", "hostname": "leaf03", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.248", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582844}, {"namespace": "ospf-ibgp", "hostname": "exit02", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.136", "bootupTimestamp": 1616681015.0, "timestamp": 1616681582902}, {"namespace": "ospf-ibgp", "hostname": "spine02", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.16", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582902}, {"namespace": "ospf-ibgp", "hostname": "leaf01", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.30", "bootupTimestamp": 1616681014.0, "timestamp": 1616681582903}, {"namespace": "ospf-ibgp", "hostname": "internet", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.237", "bootupTimestamp": 1616681016.0, "timestamp": 1616681582980}]' - command: device show --columns=hostname --format=json --namespace='ospf-single dual-evpn diff --git a/tests/integration/sqcmds/cumulus-samples/top.yml b/tests/integration/sqcmds/cumulus-samples/top.yml index 83cffadb02..f542649c17 100644 --- a/tests/integration/sqcmds/cumulus-samples/top.yml +++ b/tests/integration/sqcmds/cumulus-samples/top.yml @@ -192,18 +192,18 @@ tests: data-directory: tests/data/parquet/ marks: device top bootupTimestamp output: '[{"namespace": "ospf-ibgp", "hostname": "leaf02", "model": "VX", "version": - "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": + "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.239", "bootupTimestamp": 1616681016000, "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", "hostname": "internet", "model": "VX", "version": "4.2.1", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "192.168.123.237", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.237", "bootupTimestamp": 1616681016000, "timestamp": 1616681582980}, {"namespace": "ospf-ibgp", "hostname": "exit02", "model": "VX", "version": "4.2.1", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "192.168.123.136", "bootupTimestamp": + "serialNumber": "None", "status": "alive", "address": "192.168.123.136", "bootupTimestamp": 1616681015000, "timestamp": 1616681582902}, {"namespace": "ospf-ibgp", "hostname": - "spine02", "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.123.16", "bootupTimestamp": 1616681014000, + "spine02", "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": + "None", "status": "alive", "address": "192.168.123.16", "bootupTimestamp": 1616681014000, "timestamp": 1616681582902}, {"namespace": "ospf-ibgp", "hostname": "spine01", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.135", "bootupTimestamp": 1616681014000, "timestamp": 1616681582844}]' - command: device top --what="bootupTimestamp" --reverse=True --format=json --namespace='ospf-single @@ -211,36 +211,36 @@ tests: data-directory: tests/data/parquet/ marks: device top uptime output: '[{"namespace": "ospf-single", "hostname": "server103", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.182", "bootupTimestamp": 1616351788000, "timestamp": 1616352402601}, + "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.182", "bootupTimestamp": 1616351788000, "timestamp": 1616352402601}, {"namespace": "ospf-single", "hostname": "internet", "model": "VX", "version": - "4.3.0", "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": + "4.3.0", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.239", "bootupTimestamp": 1616351807000, "timestamp": 1616352403840}, {"namespace": "ospf-single", "hostname": "edge01", "model": "vm", "version": "16.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.109", "bootupTimestamp": 1616351812000, "timestamp": 1616352402798}, - {"namespace": "ospf-single", "hostname": "server104", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.219", "bootupTimestamp": 1616351815000, "timestamp": 1616352402611}, - {"namespace": "ospf-single", "hostname": "server101", "model": "vm", "version": - "16.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.78", "bootupTimestamp": 1616351831000, "timestamp": 1616352402606}]' + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.109", + "bootupTimestamp": 1616351812000, "timestamp": 1616352402798}, {"namespace": "ospf-single", + "hostname": "server104", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.219", "bootupTimestamp": + 1616351815000, "timestamp": 1616352402611}, {"namespace": "ospf-single", "hostname": + "server101", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.2.78", "bootupTimestamp": 1616351831000, + "timestamp": 1616352402606}]' - command: device top --what="bootupTimestamp" --namespace=ospf-ibgp --format=json data-directory: tests/data/parquet/ marks: device top uptime output: '[{"namespace": "ospf-ibgp", "hostname": "leaf02", "model": "VX", "version": - "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": + "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.239", "bootupTimestamp": 1616681016000, "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", "hostname": "internet", "model": "VX", "version": "4.2.1", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "192.168.123.237", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.237", "bootupTimestamp": 1616681016000, "timestamp": 1616681582980}, {"namespace": "ospf-ibgp", "hostname": "exit02", "model": "VX", "version": "4.2.1", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "192.168.123.136", "bootupTimestamp": + "serialNumber": "None", "status": "alive", "address": "192.168.123.136", "bootupTimestamp": 1616681015000, "timestamp": 1616681582902}, {"namespace": "ospf-ibgp", "hostname": - "spine02", "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.123.16", "bootupTimestamp": 1616681014000, + "spine02", "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": + "None", "status": "alive", "address": "192.168.123.16", "bootupTimestamp": 1616681014000, "timestamp": 1616681582902}, {"namespace": "ospf-ibgp", "hostname": "spine01", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.135", "bootupTimestamp": 1616681014000, "timestamp": 1616681582844}]' - command: device top --what="bootupTimestamp" --namespace=ospf-ibgp --reverse=True @@ -397,38 +397,38 @@ tests: data-directory: tests/data/parquet/ marks: device top output: '[{"namespace": "ospf-ibgp", "hostname": "server101", "model": "vm", "version": - "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "192.168.123.184", "bootupTimestamp": 1616680816000, "uptime": 765632, - "timestamp": 1616681581632}, {"namespace": "ospf-ibgp", "hostname": "server102", - "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "192.168.123.134", "bootupTimestamp": 1616680827000, - "uptime": 754705, "timestamp": 1616681581705}, {"namespace": "ospf-ibgp", "hostname": - "server103", "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "192.168.123.150", "bootupTimestamp": - 1616680845000, "uptime": 736595, "timestamp": 1616681581595}, {"namespace": "ospf-ibgp", - "hostname": "server104", "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", - "architecture": "x86-64", "status": "alive", "address": "192.168.123.197", "bootupTimestamp": - 1616680858000, "uptime": 723652, "timestamp": 1616681581652}, {"namespace": "ospf-single", - "hostname": "server103", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", - "architecture": "x86-64", "status": "alive", "address": "10.255.2.182", "bootupTimestamp": - 1616351788000, "uptime": 614601, "timestamp": 1616352402601}]' + "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "192.168.123.184", "bootupTimestamp": 1616680816000, "uptime": 765632, "timestamp": + 1616681581632}, {"namespace": "ospf-ibgp", "hostname": "server102", "model": "vm", + "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "192.168.123.134", "bootupTimestamp": 1616680827000, "uptime": 754705, + "timestamp": 1616681581705}, {"namespace": "ospf-ibgp", "hostname": "server103", + "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "192.168.123.150", "bootupTimestamp": 1616680845000, + "uptime": 736595, "timestamp": 1616681581595}, {"namespace": "ospf-ibgp", "hostname": + "server104", "model": "vm", "version": "16.04.7 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "192.168.123.197", "bootupTimestamp": 1616680858000, + "uptime": 723652, "timestamp": 1616681581652}, {"namespace": "ospf-single", "hostname": + "server103", "model": "vm", "version": "16.04.6 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.2.182", "bootupTimestamp": 1616351788000, + "uptime": 614601, "timestamp": 1616352402601}]' - command: device top --what=bootupTimestamp --format=json --namespace='ospf-single dual-evpn ospf-ibgp' data-directory: tests/data/parquet/ marks: device top output: '[{"namespace": "ospf-ibgp", "hostname": "leaf02", "model": "VX", "version": - "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": + "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.239", "bootupTimestamp": 1616681016000, "timestamp": 1616681582726}, {"namespace": "ospf-ibgp", "hostname": "internet", "model": "VX", "version": "4.2.1", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "192.168.123.237", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.237", "bootupTimestamp": 1616681016000, "timestamp": 1616681582980}, {"namespace": "ospf-ibgp", "hostname": "exit02", "model": "VX", "version": "4.2.1", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "192.168.123.136", "bootupTimestamp": + "serialNumber": "None", "status": "alive", "address": "192.168.123.136", "bootupTimestamp": 1616681015000, "timestamp": 1616681582902}, {"namespace": "ospf-ibgp", "hostname": - "spine02", "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "192.168.123.16", "bootupTimestamp": 1616681014000, + "spine02", "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": + "None", "status": "alive", "address": "192.168.123.16", "bootupTimestamp": 1616681014000, "timestamp": 1616681582902}, {"namespace": "ospf-ibgp", "hostname": "spine01", - "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "architecture": "x86_64", + "model": "VX", "version": "4.2.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "192.168.123.135", "bootupTimestamp": 1616681014000, "timestamp": 1616681582844}]' - command: bgp top --what=estdTime --format=json --namespace='ospf-single dual-evpn diff --git a/tests/integration/sqcmds/eos-samples/all.yml b/tests/integration/sqcmds/eos-samples/all.yml index 81d3b7ad6d..26057470ce 100644 --- a/tests/integration/sqcmds/eos-samples/all.yml +++ b/tests/integration/sqcmds/eos-samples/all.yml @@ -2202,62 +2202,62 @@ tests: data-directory: tests/data/parquet/ marks: device show eos all output: '[{"namespace": "eos", "hostname": "server301", "model": "vm", "version": - "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.151", "bootupTimestamp": 1620676730.0, "timestamp": 1623025175797, - "memory": 0, "reason": "", "uptime": 2348445797, "os": "linux", "serialNumber": - "", "active": true}, {"namespace": "eos", "hostname": "server302", "model": "vm", - "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": - "alive", "address": "10.255.2.137", "bootupTimestamp": 1620676730.0, "timestamp": - 1623025175800, "memory": 0, "reason": "", "uptime": 2348445800, "os": "linux", - "serialNumber": "", "active": true}, {"namespace": "eos", "hostname": "firewall01", - "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.189", "bootupTimestamp": 1620675718.0, - "timestamp": 1623025176026, "memory": 0, "reason": "", "uptime": 2349458026, "os": - "linux", "serialNumber": "", "active": true}, {"namespace": "eos", "hostname": - "server101", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "10.255.2.57", "bootupTimestamp": 1620676730.0, - "timestamp": 1623025176026, "memory": 0, "reason": "", "uptime": 2348446026, "os": - "linux", "serialNumber": "", "active": true}, {"namespace": "eos", "hostname": - "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "10.255.2.230", "bootupTimestamp": 1620676730.0, - "timestamp": 1623025176212, "memory": 0, "reason": "", "uptime": 2348446212, "os": - "linux", "serialNumber": "", "active": true}, {"namespace": "eos", "hostname": - "leaf02", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": - "x86_64", "status": "alive", "address": "10.255.2.185", "bootupTimestamp": 1620676826.0, - "timestamp": 1623025176903, "memory": 2014432, "reason": "", "uptime": 2348350903, - "os": "eos", "serialNumber": "", "active": true}, {"namespace": "eos", "hostname": - "spine01", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": - "x86_64", "status": "alive", "address": "10.255.2.117", "bootupTimestamp": 1620676825.0, - "timestamp": 1623025176945, "memory": 2014432, "reason": "", "uptime": 2348351945, - "os": "eos", "serialNumber": "", "active": true}, {"namespace": "eos", "hostname": - "leaf03", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": - "x86_64", "status": "alive", "address": "10.255.2.186", "bootupTimestamp": 1620676827.0, - "timestamp": 1623025177028, "memory": 2014432, "reason": "", "uptime": 2348350028, - "os": "eos", "serialNumber": "", "active": true}, {"namespace": "eos", "hostname": - "exit02", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": - "x86_64", "status": "alive", "address": "10.255.2.253", "bootupTimestamp": 1620676831.0, - "timestamp": 1623025177051, "memory": 2014432, "reason": "", "uptime": 2348346051, - "os": "eos", "serialNumber": "", "active": true}, {"namespace": "eos", "hostname": - "spine02", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": - "x86_64", "status": "alive", "address": "10.255.2.118", "bootupTimestamp": 1620676826.0, - "timestamp": 1623025177075, "memory": 2014432, "reason": "", "uptime": 2348351075, - "os": "eos", "serialNumber": "", "active": true}, {"namespace": "eos", "hostname": - "leaf01", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": - "x86_64", "status": "alive", "address": "10.255.2.184", "bootupTimestamp": 1620676827.0, - "timestamp": 1623025177093, "memory": 2014432, "reason": "", "uptime": 2348350093, - "os": "eos", "serialNumber": "", "active": true}, {"namespace": "eos", "hostname": - "exit01", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": - "x86_64", "status": "alive", "address": "10.255.2.251", "bootupTimestamp": 1622917982.0, - "timestamp": 1623025177156, "memory": 2014432, "reason": "", "uptime": 107195156, - "os": "eos", "serialNumber": "", "active": true}, {"namespace": "eos", "hostname": - "leaf04", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": - "x86_64", "status": "alive", "address": "10.255.2.187", "bootupTimestamp": 1620676832.0, - "timestamp": 1623025177156, "memory": 2014432, "reason": "", "uptime": 2348345156, - "os": "eos", "serialNumber": "", "active": true}, {"namespace": "eos", "hostname": + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.151", "bootupTimestamp": 1620676730.0, "timestamp": 1623025175797, "architecture": + "x86-64", "memory": 0, "reason": "", "uptime": 2348445797, "os": "linux", "active": + true}, {"namespace": "eos", "hostname": "server302", "model": "vm", "version": + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.137", "bootupTimestamp": 1620676730.0, "timestamp": 1623025175800, "architecture": + "x86-64", "memory": 0, "reason": "", "uptime": 2348445800, "os": "linux", "active": + true}, {"namespace": "eos", "hostname": "firewall01", "model": "vm", "version": + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.189", "bootupTimestamp": 1620675718.0, "timestamp": 1623025176026, "architecture": + "x86-64", "memory": 0, "reason": "", "uptime": 2349458026, "os": "linux", "active": + true}, {"namespace": "eos", "hostname": "server101", "model": "vm", "version": + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.57", "bootupTimestamp": 1620676730.0, "timestamp": 1623025176026, "architecture": + "x86-64", "memory": 0, "reason": "", "uptime": 2348446026, "os": "linux", "active": + true}, {"namespace": "eos", "hostname": "server102", "model": "vm", "version": + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.230", "bootupTimestamp": 1620676730.0, "timestamp": 1623025176212, "architecture": + "x86-64", "memory": 0, "reason": "", "uptime": 2348446212, "os": "linux", "active": + true}, {"namespace": "eos", "hostname": "leaf02", "model": "vEOS", "version": + "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": + "10.255.2.185", "bootupTimestamp": 1620676826.0, "timestamp": 1623025176903, "architecture": + "x86_64", "memory": 2014432, "reason": "", "uptime": 2348350903, "os": "eos", + "active": true}, {"namespace": "eos", "hostname": "spine01", "model": "vEOS", + "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": "alive", + "address": "10.255.2.117", "bootupTimestamp": 1620676825.0, "timestamp": 1623025176945, + "architecture": "x86_64", "memory": 2014432, "reason": "", "uptime": 2348351945, + "os": "eos", "active": true}, {"namespace": "eos", "hostname": "leaf03", "model": + "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": + "alive", "address": "10.255.2.186", "bootupTimestamp": 1620676827.0, "timestamp": + 1623025177028, "architecture": "x86_64", "memory": 2014432, "reason": "", "uptime": + 2348350028, "os": "eos", "active": true}, {"namespace": "eos", "hostname": "exit02", + "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", + "status": "alive", "address": "10.255.2.253", "bootupTimestamp": 1620676831.0, + "timestamp": 1623025177051, "architecture": "x86_64", "memory": 2014432, "reason": + "", "uptime": 2348346051, "os": "eos", "active": true}, {"namespace": "eos", "hostname": + "spine02", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": + "", "status": "alive", "address": "10.255.2.118", "bootupTimestamp": 1620676826.0, + "timestamp": 1623025177075, "architecture": "x86_64", "memory": 2014432, "reason": + "", "uptime": 2348351075, "os": "eos", "active": true}, {"namespace": "eos", "hostname": + "leaf01", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": + "", "status": "alive", "address": "10.255.2.184", "bootupTimestamp": 1620676827.0, + "timestamp": 1623025177093, "architecture": "x86_64", "memory": 2014432, "reason": + "", "uptime": 2348350093, "os": "eos", "active": true}, {"namespace": "eos", "hostname": + "exit01", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": + "", "status": "alive", "address": "10.255.2.251", "bootupTimestamp": 1622917982.0, + "timestamp": 1623025177156, "architecture": "x86_64", "memory": 2014432, "reason": + "", "uptime": 107195156, "os": "eos", "active": true}, {"namespace": "eos", "hostname": + "leaf04", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": + "", "status": "alive", "address": "10.255.2.187", "bootupTimestamp": 1620676832.0, + "timestamp": 1623025177156, "architecture": "x86_64", "memory": 2014432, "reason": + "", "uptime": 2348345156, "os": "eos", "active": true}, {"namespace": "eos", "hostname": "dcedge01", "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", - "architecture": "", "status": "alive", "address": "10.255.2.250", "bootupTimestamp": - 1620675742.016, "timestamp": 1623025180016, "memory": 0, "reason": "", "uptime": - 2349438000, "os": "junos-qfx", "serialNumber": "65873387107", "active": true}]' + "serialNumber": "65873387107", "status": "alive", "address": "10.255.2.250", "bootupTimestamp": + 1620675742.016, "timestamp": 1623025180016, "architecture": "", "memory": 0, "reason": + "", "uptime": 2349438000, "os": "junos-qfx", "active": true}]' - command: evpnVni show --columns='*' --format=json --namespace=eos data-directory: tests/data/parquet/ marks: evpnVni show eos all diff --git a/tests/integration/sqcmds/eos-samples/device.yml b/tests/integration/sqcmds/eos-samples/device.yml index 0516f61fc5..84cefeba30 100644 --- a/tests/integration/sqcmds/eos-samples/device.yml +++ b/tests/integration/sqcmds/eos-samples/device.yml @@ -4,45 +4,45 @@ tests: data-directory: tests/data/parquet/ marks: device show eos output: '[{"namespace": "eos", "hostname": "server301", "model": "vm", "version": - "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.151", "bootupTimestamp": 1620676730.0, "timestamp": 1623025175797}, + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.151", "bootupTimestamp": 1620676730.0, "timestamp": 1623025175797}, {"namespace": "eos", "hostname": "server302", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.137", "bootupTimestamp": 1620676730.0, "timestamp": 1623025175800}, - {"namespace": "eos", "hostname": "firewall01", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.189", "bootupTimestamp": 1620675718.0, "timestamp": 1623025176026}, - {"namespace": "eos", "hostname": "server101", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.57", "bootupTimestamp": 1620676730.0, "timestamp": 1623025176026}, {"namespace": - "eos", "hostname": "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": - "Ubuntu", "architecture": "x86-64", "status": "alive", "address": "10.255.2.230", - "bootupTimestamp": 1620676730.0, "timestamp": 1623025176212}, {"namespace": "eos", - "hostname": "leaf02", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.185", "bootupTimestamp": - 1620676826.0, "timestamp": 1623025176903}, {"namespace": "eos", "hostname": "spine01", - "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": "x86_64", - "status": "alive", "address": "10.255.2.117", "bootupTimestamp": 1620676825.0, - "timestamp": 1623025176945}, {"namespace": "eos", "hostname": "leaf03", "model": - "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": "x86_64", "status": - "alive", "address": "10.255.2.186", "bootupTimestamp": 1620676827.0, "timestamp": - 1623025177028}, {"namespace": "eos", "hostname": "exit02", "model": "vEOS", "version": - "4.23.5M", "vendor": "Arista", "architecture": "x86_64", "status": "alive", "address": - "10.255.2.253", "bootupTimestamp": 1620676831.0, "timestamp": 1623025177051}, - {"namespace": "eos", "hostname": "spine02", "model": "vEOS", "version": "4.23.5M", - "vendor": "Arista", "architecture": "x86_64", "status": "alive", "address": "10.255.2.118", - "bootupTimestamp": 1620676826.0, "timestamp": 1623025177075}, {"namespace": "eos", - "hostname": "leaf01", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.184", "bootupTimestamp": - 1620676827.0, "timestamp": 1623025177093}, {"namespace": "eos", "hostname": "exit01", - "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": "x86_64", - "status": "alive", "address": "10.255.2.251", "bootupTimestamp": 1622917982.0, - "timestamp": 1623025177156}, {"namespace": "eos", "hostname": "leaf04", "model": - "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": "x86_64", "status": - "alive", "address": "10.255.2.187", "bootupTimestamp": 1620676832.0, "timestamp": - 1623025177156}, {"namespace": "eos", "hostname": "dcedge01", "model": "vqfx-10000", - "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", "status": "alive", - "address": "10.255.2.250", "bootupTimestamp": 1620675742.016, "timestamp": 1623025180016}]' + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.137", + "bootupTimestamp": 1620676730.0, "timestamp": 1623025175800}, {"namespace": "eos", + "hostname": "firewall01", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.189", "bootupTimestamp": + 1620675718.0, "timestamp": 1623025176026}, {"namespace": "eos", "hostname": "server101", + "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "10.255.2.57", "bootupTimestamp": 1620676730.0, + "timestamp": 1623025176026}, {"namespace": "eos", "hostname": "server102", "model": + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.230", "bootupTimestamp": 1620676730.0, "timestamp": + 1623025176212}, {"namespace": "eos", "hostname": "leaf02", "model": "vEOS", "version": + "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": + "10.255.2.185", "bootupTimestamp": 1620676826.0, "timestamp": 1623025176903}, + {"namespace": "eos", "hostname": "spine01", "model": "vEOS", "version": "4.23.5M", + "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "10.255.2.117", + "bootupTimestamp": 1620676825.0, "timestamp": 1623025176945}, {"namespace": "eos", + "hostname": "leaf03", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", + "serialNumber": "", "status": "alive", "address": "10.255.2.186", "bootupTimestamp": + 1620676827.0, "timestamp": 1623025177028}, {"namespace": "eos", "hostname": "exit02", + "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", + "status": "alive", "address": "10.255.2.253", "bootupTimestamp": 1620676831.0, + "timestamp": 1623025177051}, {"namespace": "eos", "hostname": "spine02", "model": + "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": + "alive", "address": "10.255.2.118", "bootupTimestamp": 1620676826.0, "timestamp": + 1623025177075}, {"namespace": "eos", "hostname": "leaf01", "model": "vEOS", "version": + "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": + "10.255.2.184", "bootupTimestamp": 1620676827.0, "timestamp": 1623025177093}, + {"namespace": "eos", "hostname": "exit01", "model": "vEOS", "version": "4.23.5M", + "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "10.255.2.251", + "bootupTimestamp": 1622917982.0, "timestamp": 1623025177156}, {"namespace": "eos", + "hostname": "leaf04", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", + "serialNumber": "", "status": "alive", "address": "10.255.2.187", "bootupTimestamp": + 1620676832.0, "timestamp": 1623025177156}, {"namespace": "eos", "hostname": "dcedge01", + "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": + "65873387107", "status": "alive", "address": "10.255.2.250", "bootupTimestamp": + 1620675742.016, "timestamp": 1623025180016}]' - command: device show --columns=hostname --format=json --namespace=eos data-directory: tests/data/parquet/ marks: device show eos @@ -100,57 +100,57 @@ tests: data-directory: tests/data/parquet/ marks: device show filter eos output: '[{"namespace": "eos", "hostname": "leaf02", "model": "vEOS", "version": - "4.23.5M", "vendor": "Arista", "architecture": "x86_64", "status": "alive", "address": + "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "10.255.2.185", "bootupTimestamp": 1620676826.0, "timestamp": 1623025176903}, {"namespace": "eos", "hostname": "spine01", "model": "vEOS", "version": "4.23.5M", - "vendor": "Arista", "architecture": "x86_64", "status": "alive", "address": "10.255.2.117", + "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "10.255.2.117", "bootupTimestamp": 1620676825.0, "timestamp": 1623025176945}, {"namespace": "eos", "hostname": "leaf03", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.186", "bootupTimestamp": + "serialNumber": "", "status": "alive", "address": "10.255.2.186", "bootupTimestamp": 1620676827.0, "timestamp": 1623025177028}, {"namespace": "eos", "hostname": "exit02", - "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": "x86_64", + "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "10.255.2.253", "bootupTimestamp": 1620676831.0, "timestamp": 1623025177051}, {"namespace": "eos", "hostname": "spine02", "model": - "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": "x86_64", "status": + "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "10.255.2.118", "bootupTimestamp": 1620676826.0, "timestamp": 1623025177075}, {"namespace": "eos", "hostname": "leaf01", "model": "vEOS", "version": - "4.23.5M", "vendor": "Arista", "architecture": "x86_64", "status": "alive", "address": + "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "10.255.2.184", "bootupTimestamp": 1620676827.0, "timestamp": 1623025177093}, {"namespace": "eos", "hostname": "exit01", "model": "vEOS", "version": "4.23.5M", - "vendor": "Arista", "architecture": "x86_64", "status": "alive", "address": "10.255.2.251", + "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "10.255.2.251", "bootupTimestamp": 1622917982.0, "timestamp": 1623025177156}, {"namespace": "eos", "hostname": "leaf04", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.187", "bootupTimestamp": + "serialNumber": "", "status": "alive", "address": "10.255.2.187", "bootupTimestamp": 1620676832.0, "timestamp": 1623025177156}]' - command: device show --vendor='Arista Juniper' --format=json --namespace=eos data-directory: tests/data/parquet/ marks: device show filter eos output: '[{"namespace": "eos", "hostname": "leaf02", "model": "vEOS", "version": - "4.23.5M", "vendor": "Arista", "architecture": "x86_64", "status": "alive", "address": + "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "10.255.2.185", "bootupTimestamp": 1620676826.0, "timestamp": 1623025176903}, {"namespace": "eos", "hostname": "spine01", "model": "vEOS", "version": "4.23.5M", - "vendor": "Arista", "architecture": "x86_64", "status": "alive", "address": "10.255.2.117", + "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "10.255.2.117", "bootupTimestamp": 1620676825.0, "timestamp": 1623025176945}, {"namespace": "eos", "hostname": "leaf03", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.186", "bootupTimestamp": + "serialNumber": "", "status": "alive", "address": "10.255.2.186", "bootupTimestamp": 1620676827.0, "timestamp": 1623025177028}, {"namespace": "eos", "hostname": "exit02", - "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": "x86_64", + "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "10.255.2.253", "bootupTimestamp": 1620676831.0, "timestamp": 1623025177051}, {"namespace": "eos", "hostname": "spine02", "model": - "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": "x86_64", "status": + "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "10.255.2.118", "bootupTimestamp": 1620676826.0, "timestamp": 1623025177075}, {"namespace": "eos", "hostname": "leaf01", "model": "vEOS", "version": - "4.23.5M", "vendor": "Arista", "architecture": "x86_64", "status": "alive", "address": + "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "10.255.2.184", "bootupTimestamp": 1620676827.0, "timestamp": 1623025177093}, {"namespace": "eos", "hostname": "exit01", "model": "vEOS", "version": "4.23.5M", - "vendor": "Arista", "architecture": "x86_64", "status": "alive", "address": "10.255.2.251", + "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "10.255.2.251", "bootupTimestamp": 1622917982.0, "timestamp": 1623025177156}, {"namespace": "eos", "hostname": "leaf04", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.187", "bootupTimestamp": + "serialNumber": "", "status": "alive", "address": "10.255.2.187", "bootupTimestamp": 1620676832.0, "timestamp": 1623025177156}, {"namespace": "eos", "hostname": "dcedge01", - "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": - "", "status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1620675742.016, - "timestamp": 1623025180016}]' + "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": + "65873387107", "status": "alive", "address": "10.255.2.250", "bootupTimestamp": + 1620675742.016, "timestamp": 1623025180016}]' - command: device unique --columns=vendor --format=json --namespace=eos data-directory: tests/data/parquet/ marks: device show filter eos diff --git a/tests/integration/sqcmds/eos-samples/top.yml b/tests/integration/sqcmds/eos-samples/top.yml index 317b292969..415000d465 100644 --- a/tests/integration/sqcmds/eos-samples/top.yml +++ b/tests/integration/sqcmds/eos-samples/top.yml @@ -4,37 +4,37 @@ tests: data-directory: tests/data/parquet/ marks: device top eos output: '[{"namespace": "eos", "hostname": "firewall01", "model": "vm", "version": - "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.189", "bootupTimestamp": 1620675718000, "uptime": 2349458026, - "timestamp": 1623025176026}, {"namespace": "eos", "hostname": "dcedge01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1620675742016, - "uptime": 2349438000, "timestamp": 1623025180016}, {"namespace": "eos", "hostname": - "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "10.255.2.230", "bootupTimestamp": 1620676730000, + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.189", "bootupTimestamp": 1620675718000, "uptime": 2349458026, "timestamp": + 1623025176026}, {"namespace": "eos", "hostname": "dcedge01", "model": "vqfx-10000", + "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "65873387107", "status": + "alive", "address": "10.255.2.250", "bootupTimestamp": 1620675742016, "uptime": + 2349438000, "timestamp": 1623025180016}, {"namespace": "eos", "hostname": "server102", + "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "10.255.2.230", "bootupTimestamp": 1620676730000, "uptime": 2348446212, "timestamp": 1623025176212}, {"namespace": "eos", "hostname": - "server101", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "10.255.2.57", "bootupTimestamp": 1620676730000, + "server101", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.2.57", "bootupTimestamp": 1620676730000, "uptime": 2348446026, "timestamp": 1623025176026}, {"namespace": "eos", "hostname": - "server302", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "10.255.2.137", "bootupTimestamp": 1620676730000, + "server302", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.2.137", "bootupTimestamp": 1620676730000, "uptime": 2348445800, "timestamp": 1623025175800}]' - command: device top --what=bootupTimestamp --format=json --namespace='eos' data-directory: tests/data/parquet/ marks: device top eos output: '[{"namespace": "eos", "hostname": "exit01", "model": "vEOS", "version": - "4.23.5M", "vendor": "Arista", "architecture": "x86_64", "status": "alive", "address": + "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "10.255.2.251", "bootupTimestamp": 1622917982000, "timestamp": 1623025177156}, {"namespace": "eos", "hostname": "leaf04", "model": "vEOS", "version": "4.23.5M", - "vendor": "Arista", "architecture": "x86_64", "status": "alive", "address": "10.255.2.187", + "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "10.255.2.187", "bootupTimestamp": 1620676832000, "timestamp": 1623025177156}, {"namespace": "eos", "hostname": "exit02", "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.253", "bootupTimestamp": + "serialNumber": "", "status": "alive", "address": "10.255.2.253", "bootupTimestamp": 1620676831000, "timestamp": 1623025177051}, {"namespace": "eos", "hostname": "leaf03", - "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": "x86_64", + "model": "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "10.255.2.186", "bootupTimestamp": 1620676827000, "timestamp": 1623025177028}, {"namespace": "eos", "hostname": "leaf01", "model": - "vEOS", "version": "4.23.5M", "vendor": "Arista", "architecture": "x86_64", "status": + "vEOS", "version": "4.23.5M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "10.255.2.184", "bootupTimestamp": 1620676827000, "timestamp": 1623025177093}]' - command: bgp top --what=estdTime --format=json --namespace='eos' diff --git a/tests/integration/sqcmds/junos-samples/all.yml b/tests/integration/sqcmds/junos-samples/all.yml index f7e74fbc86..f27a5fcc82 100644 --- a/tests/integration/sqcmds/junos-samples/all.yml +++ b/tests/integration/sqcmds/junos-samples/all.yml @@ -2083,56 +2083,55 @@ tests: data-directory: tests/data/parquet marks: device show junos all output: '[{"namespace": "junos", "hostname": "server101", "model": "vm", "version": - "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.5.72", "bootupTimestamp": 1622997922.0, "timestamp": 1623025795928, - "memory": 0, "reason": "", "uptime": 27873928, "os": "linux", "serialNumber": - "", "active": true}, {"namespace": "junos", "hostname": "server102", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.5.169", "bootupTimestamp": 1622997951.0, - "timestamp": 1623025795928, "memory": 0, "reason": "", "uptime": 27844928, "os": - "linux", "serialNumber": "", "active": true}, {"namespace": "junos", "hostname": - "server201", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "10.255.5.49", "bootupTimestamp": 1622997945.0, - "timestamp": 1623025795928, "memory": 0, "reason": "", "uptime": 27850928, "os": - "linux", "serialNumber": "", "active": true}, {"namespace": "junos", "hostname": - "server202", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "10.255.5.71", "bootupTimestamp": 1622997902.0, - "timestamp": 1623025795928, "memory": 0, "reason": "", "uptime": 27893928, "os": - "linux", "serialNumber": "", "active": true}, {"namespace": "junos", "hostname": - "firewall01", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "10.255.5.40", "bootupTimestamp": 1622997934.0, - "timestamp": 1623025796138, "memory": 0, "reason": "", "uptime": 27862138, "os": - "linux", "serialNumber": "", "active": true}, {"namespace": "junos", "hostname": - "spine01", "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", - "architecture": "", "status": "alive", "address": "10.255.5.117", "bootupTimestamp": - 1622997977.081, "timestamp": 1623025799081, "memory": 0, "reason": "", "uptime": - 27822000, "os": "junos-qfx", "serialNumber": "38645725387", "active": true}, {"namespace": - "junos", "hostname": "spine02", "model": "vqfx-10000", "version": "19.4R1.10", - "vendor": "Juniper", "architecture": "", "status": "alive", "address": "10.255.5.118", - "bootupTimestamp": 1622998003.357, "timestamp": 1623025799357, "memory": 0, "reason": - "", "uptime": 27796000, "os": "junos-qfx", "serialNumber": "05518142768", "active": - true}, {"namespace": "junos", "hostname": "leaf02", "model": "vqfx-10000", "version": - "19.4R1.10", "vendor": "Juniper", "architecture": "", "status": "alive", "address": - "10.255.5.185", "bootupTimestamp": 1622998018.407, "timestamp": 1623025799407, - "memory": 0, "reason": "", "uptime": 27781000, "os": "junos-qfx", "serialNumber": - "01333004301", "active": true}, {"namespace": "junos", "hostname": "exit01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "10.255.5.251", "bootupTimestamp": 1622998009.512, - "timestamp": 1623025799512, "memory": 0, "reason": "", "uptime": 27790000, "os": - "junos-qfx", "serialNumber": "47187512782", "active": true}, {"namespace": "junos", - "hostname": "leaf01", "model": "vqfx-10000", "version": "19.4R1.10", "vendor": - "Juniper", "architecture": "", "status": "alive", "address": "10.255.5.184", "bootupTimestamp": - 1622998000.875, "timestamp": 1623025799875, "memory": 0, "reason": "", "uptime": - 27799000, "os": "junos-qfx", "serialNumber": "66124662877", "active": true}, {"namespace": - "junos", "hostname": "dcedge01", "model": "vqfx-10000", "version": "19.4R1.10", - "vendor": "Juniper", "architecture": "", "status": "alive", "address": "10.255.5.250", - "bootupTimestamp": 1622998015.405, "timestamp": 1623025800405, "memory": 0, "reason": - "", "uptime": 27785000, "os": "junos-qfx", "serialNumber": "52105701727", "active": - true}, {"namespace": "junos", "hostname": "exit02", "model": "vqfx-10000", "version": - "19.4R1.10", "vendor": "Juniper", "architecture": "", "status": "alive", "address": - "10.255.5.252", "bootupTimestamp": 1622998009.947, "timestamp": 1623025800947, - "memory": 0, "reason": "", "uptime": 27791000, "os": "junos-qfx", "serialNumber": - "87673382385", "active": true}]' + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.5.72", "bootupTimestamp": 1622997922.0, "timestamp": 1623025795928, "architecture": + "x86-64", "memory": 0, "reason": "", "uptime": 27873928, "os": "linux", "active": + true}, {"namespace": "junos", "hostname": "server102", "model": "vm", "version": + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.5.169", "bootupTimestamp": 1622997951.0, "timestamp": 1623025795928, "architecture": + "x86-64", "memory": 0, "reason": "", "uptime": 27844928, "os": "linux", "active": + true}, {"namespace": "junos", "hostname": "server201", "model": "vm", "version": + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.5.49", "bootupTimestamp": 1622997945.0, "timestamp": 1623025795928, "architecture": + "x86-64", "memory": 0, "reason": "", "uptime": 27850928, "os": "linux", "active": + true}, {"namespace": "junos", "hostname": "server202", "model": "vm", "version": + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.5.71", "bootupTimestamp": 1622997902.0, "timestamp": 1623025795928, "architecture": + "x86-64", "memory": 0, "reason": "", "uptime": 27893928, "os": "linux", "active": + true}, {"namespace": "junos", "hostname": "firewall01", "model": "vm", "version": + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.5.40", "bootupTimestamp": 1622997934.0, "timestamp": 1623025796138, "architecture": + "x86-64", "memory": 0, "reason": "", "uptime": 27862138, "os": "linux", "active": + true}, {"namespace": "junos", "hostname": "spine01", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "38645725387", "status": "alive", + "address": "10.255.5.117", "bootupTimestamp": 1622997977.081, "timestamp": 1623025799081, + "architecture": "", "memory": 0, "reason": "", "uptime": 27822000, "os": "junos-qfx", + "active": true}, {"namespace": "junos", "hostname": "spine02", "model": "vqfx-10000", + "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "05518142768", "status": + "alive", "address": "10.255.5.118", "bootupTimestamp": 1622998003.357, "timestamp": + 1623025799357, "architecture": "", "memory": 0, "reason": "", "uptime": 27796000, + "os": "junos-qfx", "active": true}, {"namespace": "junos", "hostname": "leaf02", + "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": + "01333004301", "status": "alive", "address": "10.255.5.185", "bootupTimestamp": + 1622998018.407, "timestamp": 1623025799407, "architecture": "", "memory": 0, "reason": + "", "uptime": 27781000, "os": "junos-qfx", "active": true}, {"namespace": "junos", + "hostname": "exit01", "model": "vqfx-10000", "version": "19.4R1.10", "vendor": + "Juniper", "serialNumber": "47187512782", "status": "alive", "address": "10.255.5.251", + "bootupTimestamp": 1622998009.512, "timestamp": 1623025799512, "architecture": + "", "memory": 0, "reason": "", "uptime": 27790000, "os": "junos-qfx", "active": + true}, {"namespace": "junos", "hostname": "leaf01", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "66124662877", "status": "alive", + "address": "10.255.5.184", "bootupTimestamp": 1622998000.875, "timestamp": 1623025799875, + "architecture": "", "memory": 0, "reason": "", "uptime": 27799000, "os": "junos-qfx", + "active": true}, {"namespace": "junos", "hostname": "dcedge01", "model": "vqfx-10000", + "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "52105701727", "status": + "alive", "address": "10.255.5.250", "bootupTimestamp": 1622998015.405, "timestamp": + 1623025800405, "architecture": "", "memory": 0, "reason": "", "uptime": 27785000, + "os": "junos-qfx", "active": true}, {"namespace": "junos", "hostname": "exit02", + "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": + "87673382385", "status": "alive", "address": "10.255.5.252", "bootupTimestamp": + 1622998009.947, "timestamp": 1623025800947, "architecture": "", "memory": 0, "reason": + "", "uptime": 27791000, "os": "junos-qfx", "active": true}]' - command: evpnVni show --columns='*' --format=json --namespace=junos data-directory: tests/data/parquet marks: evpnVni show junos all diff --git a/tests/integration/sqcmds/junos-samples/device.yml b/tests/integration/sqcmds/junos-samples/device.yml index e14e7acd1e..553f4f0ee5 100644 --- a/tests/integration/sqcmds/junos-samples/device.yml +++ b/tests/integration/sqcmds/junos-samples/device.yml @@ -4,41 +4,40 @@ tests: data-directory: tests/data/parquet/ marks: device show junos output: '[{"namespace": "junos", "hostname": "server101", "model": "vm", "version": - "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.5.72", "bootupTimestamp": 1622997922.0, "timestamp": 1623025795928}, - {"namespace": "junos", "hostname": "server102", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.5.169", "bootupTimestamp": 1622997951.0, "timestamp": 1623025795928}, - {"namespace": "junos", "hostname": "server201", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.5.49", "bootupTimestamp": 1622997945.0, "timestamp": 1623025795928}, {"namespace": - "junos", "hostname": "server202", "model": "vm", "version": "18.04.3 LTS", "vendor": - "Ubuntu", "architecture": "x86-64", "status": "alive", "address": "10.255.5.71", - "bootupTimestamp": 1622997902.0, "timestamp": 1623025795928}, {"namespace": "junos", - "hostname": "firewall01", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", - "architecture": "x86-64", "status": "alive", "address": "10.255.5.40", "bootupTimestamp": - 1622997934.0, "timestamp": 1623025796138}, {"namespace": "junos", "hostname": - "spine01", "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", - "architecture": "", "status": "alive", "address": "10.255.5.117", "bootupTimestamp": - 1622997977.081, "timestamp": 1623025799081}, {"namespace": "junos", "hostname": - "spine02", "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", - "architecture": "", "status": "alive", "address": "10.255.5.118", "bootupTimestamp": - 1622998003.357, "timestamp": 1623025799357}, {"namespace": "junos", "hostname": - "leaf02", "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", - "architecture": "", "status": "alive", "address": "10.255.5.185", "bootupTimestamp": - 1622998018.407, "timestamp": 1623025799407}, {"namespace": "junos", "hostname": - "exit01", "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", - "architecture": "", "status": "alive", "address": "10.255.5.251", "bootupTimestamp": - 1622998009.512, "timestamp": 1623025799512}, {"namespace": "junos", "hostname": - "leaf01", "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", - "architecture": "", "status": "alive", "address": "10.255.5.184", "bootupTimestamp": - 1622998000.875, "timestamp": 1623025799875}, {"namespace": "junos", "hostname": - "dcedge01", "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", - "architecture": "", "status": "alive", "address": "10.255.5.250", "bootupTimestamp": - 1622998015.405, "timestamp": 1623025800405}, {"namespace": "junos", "hostname": - "exit02", "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", - "architecture": "", "status": "alive", "address": "10.255.5.252", "bootupTimestamp": - 1622998009.947, "timestamp": 1623025800947}]' + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.5.72", "bootupTimestamp": 1622997922.0, "timestamp": 1623025795928}, {"namespace": + "junos", "hostname": "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": + "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.5.169", "bootupTimestamp": + 1622997951.0, "timestamp": 1623025795928}, {"namespace": "junos", "hostname": + "server201", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.5.49", "bootupTimestamp": 1622997945.0, + "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "server202", "model": + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.5.71", "bootupTimestamp": 1622997902.0, "timestamp": + 1623025795928}, {"namespace": "junos", "hostname": "firewall01", "model": "vm", + "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "10.255.5.40", "bootupTimestamp": 1622997934.0, "timestamp": 1623025796138}, + {"namespace": "junos", "hostname": "spine01", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "38645725387", "status": "alive", + "address": "10.255.5.117", "bootupTimestamp": 1622997977.081, "timestamp": 1623025799081}, + {"namespace": "junos", "hostname": "spine02", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "05518142768", "status": "alive", + "address": "10.255.5.118", "bootupTimestamp": 1622998003.357, "timestamp": 1623025799357}, + {"namespace": "junos", "hostname": "leaf02", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "01333004301", "status": "alive", + "address": "10.255.5.185", "bootupTimestamp": 1622998018.407, "timestamp": 1623025799407}, + {"namespace": "junos", "hostname": "exit01", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "47187512782", "status": "alive", + "address": "10.255.5.251", "bootupTimestamp": 1622998009.512, "timestamp": 1623025799512}, + {"namespace": "junos", "hostname": "leaf01", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "66124662877", "status": "alive", + "address": "10.255.5.184", "bootupTimestamp": 1622998000.875, "timestamp": 1623025799875}, + {"namespace": "junos", "hostname": "dcedge01", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "52105701727", "status": "alive", + "address": "10.255.5.250", "bootupTimestamp": 1622998015.405, "timestamp": 1623025800405}, + {"namespace": "junos", "hostname": "exit02", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "87673382385", "status": "alive", + "address": "10.255.5.252", "bootupTimestamp": 1622998009.947, "timestamp": 1623025800947}]' - command: device show --columns=hostname --format=json --namespace=junos data-directory: tests/data/parquet/ marks: device show junos @@ -87,41 +86,40 @@ tests: data-directory: tests/data/parquet/ marks: device show filter junos output: '[{"namespace": "junos", "hostname": "server101", "model": "vm", "version": - "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.5.72", "bootupTimestamp": 1622997922.0, "timestamp": 1623025795928}, - {"namespace": "junos", "hostname": "server102", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.5.169", "bootupTimestamp": 1622997951.0, "timestamp": 1623025795928}, - {"namespace": "junos", "hostname": "server201", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.5.49", "bootupTimestamp": 1622997945.0, "timestamp": 1623025795928}, {"namespace": - "junos", "hostname": "server202", "model": "vm", "version": "18.04.3 LTS", "vendor": - "Ubuntu", "architecture": "x86-64", "status": "alive", "address": "10.255.5.71", - "bootupTimestamp": 1622997902.0, "timestamp": 1623025795928}, {"namespace": "junos", - "hostname": "firewall01", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", - "architecture": "x86-64", "status": "alive", "address": "10.255.5.40", "bootupTimestamp": - 1622997934.0, "timestamp": 1623025796138}, {"namespace": "junos", "hostname": - "spine01", "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", - "architecture": "", "status": "alive", "address": "10.255.5.117", "bootupTimestamp": - 1622997977.081, "timestamp": 1623025799081}, {"namespace": "junos", "hostname": - "spine02", "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", - "architecture": "", "status": "alive", "address": "10.255.5.118", "bootupTimestamp": - 1622998003.357, "timestamp": 1623025799357}, {"namespace": "junos", "hostname": - "leaf02", "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", - "architecture": "", "status": "alive", "address": "10.255.5.185", "bootupTimestamp": - 1622998018.407, "timestamp": 1623025799407}, {"namespace": "junos", "hostname": - "exit01", "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", - "architecture": "", "status": "alive", "address": "10.255.5.251", "bootupTimestamp": - 1622998009.512, "timestamp": 1623025799512}, {"namespace": "junos", "hostname": - "leaf01", "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", - "architecture": "", "status": "alive", "address": "10.255.5.184", "bootupTimestamp": - 1622998000.875, "timestamp": 1623025799875}, {"namespace": "junos", "hostname": - "dcedge01", "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", - "architecture": "", "status": "alive", "address": "10.255.5.250", "bootupTimestamp": - 1622998015.405, "timestamp": 1623025800405}, {"namespace": "junos", "hostname": - "exit02", "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", - "architecture": "", "status": "alive", "address": "10.255.5.252", "bootupTimestamp": - 1622998009.947, "timestamp": 1623025800947}]' + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.5.72", "bootupTimestamp": 1622997922.0, "timestamp": 1623025795928}, {"namespace": + "junos", "hostname": "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": + "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.5.169", "bootupTimestamp": + 1622997951.0, "timestamp": 1623025795928}, {"namespace": "junos", "hostname": + "server201", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.5.49", "bootupTimestamp": 1622997945.0, + "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "server202", "model": + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.5.71", "bootupTimestamp": 1622997902.0, "timestamp": + 1623025795928}, {"namespace": "junos", "hostname": "firewall01", "model": "vm", + "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "10.255.5.40", "bootupTimestamp": 1622997934.0, "timestamp": 1623025796138}, + {"namespace": "junos", "hostname": "spine01", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "38645725387", "status": "alive", + "address": "10.255.5.117", "bootupTimestamp": 1622997977.081, "timestamp": 1623025799081}, + {"namespace": "junos", "hostname": "spine02", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "05518142768", "status": "alive", + "address": "10.255.5.118", "bootupTimestamp": 1622998003.357, "timestamp": 1623025799357}, + {"namespace": "junos", "hostname": "leaf02", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "01333004301", "status": "alive", + "address": "10.255.5.185", "bootupTimestamp": 1622998018.407, "timestamp": 1623025799407}, + {"namespace": "junos", "hostname": "exit01", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "47187512782", "status": "alive", + "address": "10.255.5.251", "bootupTimestamp": 1622998009.512, "timestamp": 1623025799512}, + {"namespace": "junos", "hostname": "leaf01", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "66124662877", "status": "alive", + "address": "10.255.5.184", "bootupTimestamp": 1622998000.875, "timestamp": 1623025799875}, + {"namespace": "junos", "hostname": "dcedge01", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "52105701727", "status": "alive", + "address": "10.255.5.250", "bootupTimestamp": 1622998015.405, "timestamp": 1623025800405}, + {"namespace": "junos", "hostname": "exit02", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "87673382385", "status": "alive", + "address": "10.255.5.252", "bootupTimestamp": 1622998009.947, "timestamp": 1623025800947}]' - command: device show --version='18.04.3' --format=json --namespace=junos data-directory: tests/data/parquet/ marks: device show filter junos @@ -130,26 +128,26 @@ tests: data-directory: tests/data/parquet/ marks: device show filter junos output: '[{"namespace": "junos", "hostname": "spine01", "model": "vqfx-10000", "version": - "19.4R1.10", "vendor": "Juniper", "architecture": "", "status": "alive", "address": - "10.255.5.117", "bootupTimestamp": 1622997977.081, "timestamp": 1623025799081}, + "19.4R1.10", "vendor": "Juniper", "serialNumber": "38645725387", "status": "alive", + "address": "10.255.5.117", "bootupTimestamp": 1622997977.081, "timestamp": 1623025799081}, {"namespace": "junos", "hostname": "spine02", "model": "vqfx-10000", "version": - "19.4R1.10", "vendor": "Juniper", "architecture": "", "status": "alive", "address": - "10.255.5.118", "bootupTimestamp": 1622998003.357, "timestamp": 1623025799357}, + "19.4R1.10", "vendor": "Juniper", "serialNumber": "05518142768", "status": "alive", + "address": "10.255.5.118", "bootupTimestamp": 1622998003.357, "timestamp": 1623025799357}, {"namespace": "junos", "hostname": "leaf02", "model": "vqfx-10000", "version": - "19.4R1.10", "vendor": "Juniper", "architecture": "", "status": "alive", "address": - "10.255.5.185", "bootupTimestamp": 1622998018.407, "timestamp": 1623025799407}, + "19.4R1.10", "vendor": "Juniper", "serialNumber": "01333004301", "status": "alive", + "address": "10.255.5.185", "bootupTimestamp": 1622998018.407, "timestamp": 1623025799407}, {"namespace": "junos", "hostname": "exit01", "model": "vqfx-10000", "version": - "19.4R1.10", "vendor": "Juniper", "architecture": "", "status": "alive", "address": - "10.255.5.251", "bootupTimestamp": 1622998009.512, "timestamp": 1623025799512}, + "19.4R1.10", "vendor": "Juniper", "serialNumber": "47187512782", "status": "alive", + "address": "10.255.5.251", "bootupTimestamp": 1622998009.512, "timestamp": 1623025799512}, {"namespace": "junos", "hostname": "leaf01", "model": "vqfx-10000", "version": - "19.4R1.10", "vendor": "Juniper", "architecture": "", "status": "alive", "address": - "10.255.5.184", "bootupTimestamp": 1622998000.875, "timestamp": 1623025799875}, + "19.4R1.10", "vendor": "Juniper", "serialNumber": "66124662877", "status": "alive", + "address": "10.255.5.184", "bootupTimestamp": 1622998000.875, "timestamp": 1623025799875}, {"namespace": "junos", "hostname": "dcedge01", "model": "vqfx-10000", "version": - "19.4R1.10", "vendor": "Juniper", "architecture": "", "status": "alive", "address": - "10.255.5.250", "bootupTimestamp": 1622998015.405, "timestamp": 1623025800405}, + "19.4R1.10", "vendor": "Juniper", "serialNumber": "52105701727", "status": "alive", + "address": "10.255.5.250", "bootupTimestamp": 1622998015.405, "timestamp": 1623025800405}, {"namespace": "junos", "hostname": "exit02", "model": "vqfx-10000", "version": - "19.4R1.10", "vendor": "Juniper", "architecture": "", "status": "alive", "address": - "10.255.5.252", "bootupTimestamp": 1622998009.947, "timestamp": 1623025800947}]' + "19.4R1.10", "vendor": "Juniper", "serialNumber": "87673382385", "status": "alive", + "address": "10.255.5.252", "bootupTimestamp": 1622998009.947, "timestamp": 1623025800947}]' - command: device unique --columns=vendor --format=json --namespace=junos data-directory: tests/data/parquet/ marks: device show filter junos diff --git a/tests/integration/sqcmds/junos-samples/top.yml b/tests/integration/sqcmds/junos-samples/top.yml index 7ba3e834bf..0bcb86ade8 100644 --- a/tests/integration/sqcmds/junos-samples/top.yml +++ b/tests/integration/sqcmds/junos-samples/top.yml @@ -4,39 +4,39 @@ tests: data-directory: tests/data/parquet/ marks: device top junos output: '[{"namespace": "junos", "hostname": "server202", "model": "vm", "version": - "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.5.71", "bootupTimestamp": 1622997902000, "uptime": 27893928, - "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "server101", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.5.72", "bootupTimestamp": 1622997922000, - "uptime": 27873928, "timestamp": 1623025795928}, {"namespace": "junos", "hostname": - "firewall01", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "10.255.5.40", "bootupTimestamp": 1622997934000, + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.5.71", "bootupTimestamp": 1622997902000, "uptime": 27893928, "timestamp": + 1623025795928}, {"namespace": "junos", "hostname": "server101", "model": "vm", + "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", + "address": "10.255.5.72", "bootupTimestamp": 1622997922000, "uptime": 27873928, + "timestamp": 1623025795928}, {"namespace": "junos", "hostname": "firewall01", + "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "10.255.5.40", "bootupTimestamp": 1622997934000, "uptime": 27862138, "timestamp": 1623025796138}, {"namespace": "junos", "hostname": - "server201", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "10.255.5.49", "bootupTimestamp": 1622997945000, + "server201", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.5.49", "bootupTimestamp": 1622997945000, "uptime": 27850928, "timestamp": 1623025795928}, {"namespace": "junos", "hostname": - "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": - "x86-64", "status": "alive", "address": "10.255.5.169", "bootupTimestamp": 1622997951000, + "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.5.169", "bootupTimestamp": 1622997951000, "uptime": 27844928, "timestamp": 1623025795928}]' - command: device top --what=bootupTimestamp --format=json --namespace='junos' data-directory: tests/data/parquet/ marks: device top junos output: '[{"namespace": "junos", "hostname": "leaf02", "model": "vqfx-10000", "version": - "19.4R1.10", "vendor": "Juniper", "architecture": "", "status": "alive", "address": - "10.255.5.185", "bootupTimestamp": 1622998018407, "timestamp": 1623025799407}, + "19.4R1.10", "vendor": "Juniper", "serialNumber": "01333004301", "status": "alive", + "address": "10.255.5.185", "bootupTimestamp": 1622998018407, "timestamp": 1623025799407}, {"namespace": "junos", "hostname": "dcedge01", "model": "vqfx-10000", "version": - "19.4R1.10", "vendor": "Juniper", "architecture": "", "status": "alive", "address": - "10.255.5.250", "bootupTimestamp": 1622998015405, "timestamp": 1623025800405}, + "19.4R1.10", "vendor": "Juniper", "serialNumber": "52105701727", "status": "alive", + "address": "10.255.5.250", "bootupTimestamp": 1622998015405, "timestamp": 1623025800405}, {"namespace": "junos", "hostname": "exit02", "model": "vqfx-10000", "version": - "19.4R1.10", "vendor": "Juniper", "architecture": "", "status": "alive", "address": - "10.255.5.252", "bootupTimestamp": 1622998009947, "timestamp": 1623025800947}, + "19.4R1.10", "vendor": "Juniper", "serialNumber": "87673382385", "status": "alive", + "address": "10.255.5.252", "bootupTimestamp": 1622998009947, "timestamp": 1623025800947}, {"namespace": "junos", "hostname": "exit01", "model": "vqfx-10000", "version": - "19.4R1.10", "vendor": "Juniper", "architecture": "", "status": "alive", "address": - "10.255.5.251", "bootupTimestamp": 1622998009512, "timestamp": 1623025799512}, + "19.4R1.10", "vendor": "Juniper", "serialNumber": "47187512782", "status": "alive", + "address": "10.255.5.251", "bootupTimestamp": 1622998009512, "timestamp": 1623025799512}, {"namespace": "junos", "hostname": "spine02", "model": "vqfx-10000", "version": - "19.4R1.10", "vendor": "Juniper", "architecture": "", "status": "alive", "address": - "10.255.5.118", "bootupTimestamp": 1622998003357, "timestamp": 1623025799357}]' + "19.4R1.10", "vendor": "Juniper", "serialNumber": "05518142768", "status": "alive", + "address": "10.255.5.118", "bootupTimestamp": 1622998003357, "timestamp": 1623025799357}]' - command: bgp top --what=estdTime --format=json --namespace='junos' data-directory: tests/data/parquet/ marks: bgp top junos diff --git a/tests/integration/sqcmds/mixed-samples/all.yml b/tests/integration/sqcmds/mixed-samples/all.yml index 066b96176f..91f74efe47 100644 --- a/tests/integration/sqcmds/mixed-samples/all.yml +++ b/tests/integration/sqcmds/mixed-samples/all.yml @@ -1110,41 +1110,42 @@ tests: data-directory: tests/data/parquet// marks: device show mixed all output: '[{"namespace": "mixed", "hostname": "leaf6-eos", "model": "vEOS", "version": - "4.23.8M", "vendor": "Arista", "architecture": "x86_64", "status": "alive", "address": + "4.23.8M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "nebula.packetflow.co.uk:9008", "bootupTimestamp": 1624392450.0, "timestamp": - 1627395437086, "memory": 2014436, "reason": "", "uptime": 3002987086, "os": "eos", - "serialNumber": "", "active": true}, {"namespace": "mixed", "hostname": "leaf5-eos", - "model": "vEOS", "version": "4.23.8M", "vendor": "Arista", "architecture": "x86_64", + 1627395437086, "architecture": "x86_64", "memory": 2014436, "reason": "", "uptime": + 3002987086, "os": "eos", "active": true}, {"namespace": "mixed", "hostname": "leaf5-eos", + "model": "vEOS", "version": "4.23.8M", "vendor": "Arista", "serialNumber": "", "status": "alive", "address": "nebula.packetflow.co.uk:9007", "bootupTimestamp": - 1624392448.0, "timestamp": 1627395437566, "memory": 2014436, "reason": "", "uptime": - 3002989566, "os": "eos", "serialNumber": "", "active": true}, {"namespace": "mixed", - "hostname": "leaf3-qfx", "model": "vqfx-10000", "version": "18.1R3-S2.5", "vendor": - "Juniper", "architecture": "", "status": "alive", "address": "nebula.packetflow.co.uk:9005", - "bootupTimestamp": 1624392540.571, "timestamp": 1627395437571, "memory": 0, "reason": - "", "uptime": 3002897000, "os": "junos-qfx", "serialNumber": "07150161637", "active": - true}, {"namespace": "mixed", "hostname": "leaf4-qfx", "model": "vqfx-10000", - "version": "18.1R3-S2.5", "vendor": "Juniper", "architecture": "", "status": "alive", - "address": "nebula.packetflow.co.uk:9006", "bootupTimestamp": 1624392469.304, - "timestamp": 1627395438304, "memory": 0, "reason": "", "uptime": 3002969000, "os": - "junos-qfx", "serialNumber": "81674410087", "active": true}, {"namespace": "mixed", + 1624392448.0, "timestamp": 1627395437566, "architecture": "x86_64", "memory": + 2014436, "reason": "", "uptime": 3002989566, "os": "eos", "active": true}, {"namespace": + "mixed", "hostname": "leaf3-qfx", "model": "vqfx-10000", "version": "18.1R3-S2.5", + "vendor": "Juniper", "serialNumber": "07150161637", "status": "alive", "address": + "nebula.packetflow.co.uk:9005", "bootupTimestamp": 1624392540.571, "timestamp": + 1627395437571, "architecture": "", "memory": 0, "reason": "", "uptime": 3002897000, + "os": "junos-qfx", "active": true}, {"namespace": "mixed", "hostname": "leaf4-qfx", + "model": "vqfx-10000", "version": "18.1R3-S2.5", "vendor": "Juniper", "serialNumber": + "81674410087", "status": "alive", "address": "nebula.packetflow.co.uk:9006", "bootupTimestamp": + 1624392469.304, "timestamp": 1627395438304, "architecture": "", "memory": 0, "reason": + "", "uptime": 3002969000, "os": "junos-qfx", "active": true}, {"namespace": "mixed", "hostname": "spine1-nxos", "model": "Nexus9000 C9300v Chassis", "version": "9.3(7a)", - "vendor": "Cisco", "architecture": "", "status": "alive", "address": "nebula.packetflow.co.uk:9001", - "bootupTimestamp": 1625740163.0, "timestamp": 1627395440677, "memory": 8158844, - "reason": "Unknown", "uptime": 1655277677, "os": "nxos", "serialNumber": "97ZE61EG3HU", - "active": true}, {"namespace": "mixed", "hostname": "spine2-nxos", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(7a)", "vendor": "Cisco", "architecture": "", - "status": "alive", "address": "nebula.packetflow.co.uk:9002", "bootupTimestamp": - 1625734028.0, "timestamp": 1627395441587, "memory": 8158844, "reason": "Unknown", - "uptime": 1661413587, "os": "nxos", "serialNumber": "9ZSZSPLAP53", "active": true}, - {"namespace": "mixed", "hostname": "leaf1-ios", "model": "IOSv", "version": "15.6(2)T", - "vendor": "Cisco", "architecture": "", "status": "alive", "address": "nebula.packetflow.co.uk:9003", - "bootupTimestamp": 1649620439.0, "timestamp": 1627395441786, "memory": 836857, - "reason": "reload", "uptime": -22224997214, "os": "ios", "serialNumber": "9W5VPTBQ6YOC586TLJ7U8", - "active": true}, {"namespace": "mixed", "hostname": "leaf2-ios", "model": "IOSv", - "version": "15.6(2)T", "vendor": "Cisco", "architecture": "", "status": "alive", - "address": "nebula.packetflow.co.uk:9004", "bootupTimestamp": 1649620079.0, "timestamp": - 1627395442308, "memory": 836857, "reason": "reload", "uptime": -22224636692, "os": - "ios", "serialNumber": "93IGPL0NJHJSU39YFPRVI", "active": true}]' + "vendor": "Cisco", "serialNumber": "97ZE61EG3HU", "status": "alive", "address": + "nebula.packetflow.co.uk:9001", "bootupTimestamp": 1625740163.0, "timestamp": + 1627395440677, "architecture": "", "memory": 8158844, "reason": "Unknown", "uptime": + 1655277677, "os": "nxos", "active": true}, {"namespace": "mixed", "hostname": + "spine2-nxos", "model": "Nexus9000 C9300v Chassis", "version": "9.3(7a)", "vendor": + "Cisco", "serialNumber": "9ZSZSPLAP53", "status": "alive", "address": "nebula.packetflow.co.uk:9002", + "bootupTimestamp": 1625734028.0, "timestamp": 1627395441587, "architecture": "", + "memory": 8158844, "reason": "Unknown", "uptime": 1661413587, "os": "nxos", "active": + true}, {"namespace": "mixed", "hostname": "leaf1-ios", "model": "IOSv", "version": + "15.6(2)T", "vendor": "Cisco", "serialNumber": "9W5VPTBQ6YOC586TLJ7U8", "status": + "alive", "address": "nebula.packetflow.co.uk:9003", "bootupTimestamp": 1649620439.0, + "timestamp": 1627395441786, "architecture": "", "memory": 836857, "reason": "reload", + "uptime": -22224997214, "os": "ios", "active": true}, {"namespace": "mixed", "hostname": + "leaf2-ios", "model": "IOSv", "version": "15.6(2)T", "vendor": "Cisco", "serialNumber": + "93IGPL0NJHJSU39YFPRVI", "status": "alive", "address": "nebula.packetflow.co.uk:9004", + "bootupTimestamp": 1649620079.0, "timestamp": 1627395442308, "architecture": "", + "memory": 836857, "reason": "reload", "uptime": -22224636692, "os": "ios", "active": + true}]' - command: interface show --format=json --namespace=mixed --columns='*' data-directory: tests/data/parquet// marks: interface show mixed all diff --git a/tests/integration/sqcmds/nxos-samples/all.yml b/tests/integration/sqcmds/nxos-samples/all.yml index 7d7c833469..21696dc85a 100644 --- a/tests/integration/sqcmds/nxos-samples/all.yml +++ b/tests/integration/sqcmds/nxos-samples/all.yml @@ -3334,70 +3334,70 @@ tests: data-directory: tests/data/parquet/ marks: device show nxos all output: '[{"namespace": "nxos", "hostname": "server101", "model": "vm", "version": - "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.204", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256203, - "memory": 0, "reason": "", "uptime": 92875203, "os": "linux", "serialNumber": - "", "active": true}, {"namespace": "nxos", "hostname": "server102", "model": "vm", - "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": - "alive", "address": "10.255.2.39", "bootupTimestamp": 1619182381.0, "timestamp": - 1619275256290, "memory": 0, "reason": "", "uptime": 92875290, "os": "linux", "serialNumber": - "", "active": true}, {"namespace": "nxos", "hostname": "server301", "model": "vm", - "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": - "alive", "address": "10.255.2.140", "bootupTimestamp": 1619182381.0, "timestamp": - 1619275256319, "memory": 0, "reason": "", "uptime": 92875319, "os": "linux", "serialNumber": - "", "active": true}, {"namespace": "nxos", "hostname": "server302", "model": "vm", - "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": - "alive", "address": "10.255.2.114", "bootupTimestamp": 1619182381.0, "timestamp": - 1619275256394, "memory": 0, "reason": "", "uptime": 92875394, "os": "linux", "serialNumber": - "", "active": true}, {"namespace": "nxos", "hostname": "firewall01", "model": - "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.249", "bootupTimestamp": 1619013132.0, - "timestamp": 1619275256497, "memory": 0, "reason": "", "uptime": 262124497, "os": - "linux", "serialNumber": "", "active": true}, {"namespace": "nxos", "hostname": - "dcedge01", "model": "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", - "architecture": "", "status": "alive", "address": "10.255.2.250", "bootupTimestamp": - 1619013129.329, "timestamp": 1619275258329, "memory": 0, "reason": "", "uptime": - 262129000, "os": "junos-qfx", "serialNumber": "27840100856", "active": true}, - {"namespace": "nxos", "hostname": "spine02", "model": "Nexus9000 C9300v Chassis", - "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel Core Processor - (Skylake, IBRS)", "status": "alive", "address": "10.255.2.120", "bootupTimestamp": - 1619013194.0, "timestamp": 1619275263055, "memory": 6096816, "reason": "Unknown", - "uptime": 262069055, "os": "nxos", "serialNumber": "9SM7CHR8WEF", "active": true}, - {"namespace": "nxos", "hostname": "spine01", "model": "Nexus9000 C9300v Chassis", - "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel Core Processor - (Skylake, IBRS)", "status": "alive", "address": "10.255.2.119", "bootupTimestamp": - 1619013190.0, "timestamp": 1619275263589, "memory": 6096816, "reason": "Unknown", - "uptime": 262073589, "os": "nxos", "serialNumber": "9U1GLRQOXD7", "active": true}, - {"namespace": "nxos", "hostname": "leaf03", "model": "Nexus9000 C9300v Chassis", - "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel Core Processor - (Skylake, IBRS)", "status": "alive", "address": "10.255.2.190", "bootupTimestamp": - 1619043796.0, "timestamp": 1619275263596, "memory": 6096816, "reason": "Unknown", - "uptime": 231467596, "os": "nxos", "serialNumber": "901I7PY72LO", "active": true}, - {"namespace": "nxos", "hostname": "exit01", "model": "Nexus9000 C9300v Chassis", - "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel Core Processor - (Skylake, IBRS)", "status": "alive", "address": "10.255.2.253", "bootupTimestamp": - 1619013183.0, "timestamp": 1619275265064, "memory": 6096816, "reason": "Unknown", - "uptime": 262082064, "os": "nxos", "serialNumber": "90QIMGF49OS", "active": true}, - {"namespace": "nxos", "hostname": "leaf04", "model": "Nexus9000 C9300v Chassis", - "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel Core Processor - (Skylake, IBRS)", "status": "alive", "address": "10.255.2.191", "bootupTimestamp": - 1619043813.0, "timestamp": 1619275265167, "memory": 6096816, "reason": "Unknown", - "uptime": 231452167, "os": "nxos", "serialNumber": "9Q04O8RGPL8", "active": true}, - {"namespace": "nxos", "hostname": "exit02", "model": "Nexus9000 C9300v Chassis", - "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel Core Processor - (Skylake, IBRS)", "status": "alive", "address": "10.255.2.254", "bootupTimestamp": - 1619013188.0, "timestamp": 1619275265196, "memory": 6096816, "reason": "Unknown", - "uptime": 262077196, "os": "nxos", "serialNumber": "90ZY6UG6ELL", "active": true}, - {"namespace": "nxos", "hostname": "leaf01", "model": "Nexus9000 C9300v Chassis", - "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel Core Processor - (Skylake, IBRS)", "status": "alive", "address": "10.255.2.189", "bootupTimestamp": - 1619043771.0, "timestamp": 1619275265510, "memory": 6096816, "reason": "Unknown", - "uptime": 231494510, "os": "nxos", "serialNumber": "9DOTFRO0QMW", "active": true}, - {"namespace": "nxos", "hostname": "leaf02", "model": "Nexus9000 C9300v Chassis", - "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel Core Processor - (Skylake, IBRS)", "status": "alive", "address": "10.255.2.188", "bootupTimestamp": - 1619043783.0, "timestamp": 1619275265679, "memory": 6096816, "reason": "Unknown", - "uptime": 231482679, "os": "nxos", "serialNumber": "9AC2MF0S5QO", "active": true}]' + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.204", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256203, "architecture": + "x86-64", "memory": 0, "reason": "", "uptime": 92875203, "os": "linux", "active": + true}, {"namespace": "nxos", "hostname": "server102", "model": "vm", "version": + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.39", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256290, "architecture": + "x86-64", "memory": 0, "reason": "", "uptime": 92875290, "os": "linux", "active": + true}, {"namespace": "nxos", "hostname": "server301", "model": "vm", "version": + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.140", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256319, "architecture": + "x86-64", "memory": 0, "reason": "", "uptime": 92875319, "os": "linux", "active": + true}, {"namespace": "nxos", "hostname": "server302", "model": "vm", "version": + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.114", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256394, "architecture": + "x86-64", "memory": 0, "reason": "", "uptime": 92875394, "os": "linux", "active": + true}, {"namespace": "nxos", "hostname": "firewall01", "model": "vm", "version": + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.249", "bootupTimestamp": 1619013132.0, "timestamp": 1619275256497, "architecture": + "x86-64", "memory": 0, "reason": "", "uptime": 262124497, "os": "linux", "active": + true}, {"namespace": "nxos", "hostname": "dcedge01", "model": "vqfx-10000", "version": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "27840100856", "status": "alive", + "address": "10.255.2.250", "bootupTimestamp": 1619013129.329, "timestamp": 1619275258329, + "architecture": "", "memory": 0, "reason": "", "uptime": 262129000, "os": "junos-qfx", + "active": true}, {"namespace": "nxos", "hostname": "spine02", "model": "Nexus9000 + C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": "9SM7CHR8WEF", + "status": "alive", "address": "10.255.2.120", "bootupTimestamp": 1619013194.0, + "timestamp": 1619275263055, "architecture": "Intel Core Processor (Skylake, IBRS)", + "memory": 6096816, "reason": "Unknown", "uptime": 262069055, "os": "nxos", "active": + true}, {"namespace": "nxos", "hostname": "spine01", "model": "Nexus9000 C9300v + Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": "9U1GLRQOXD7", + "status": "alive", "address": "10.255.2.119", "bootupTimestamp": 1619013190.0, + "timestamp": 1619275263589, "architecture": "Intel Core Processor (Skylake, IBRS)", + "memory": 6096816, "reason": "Unknown", "uptime": 262073589, "os": "nxos", "active": + true}, {"namespace": "nxos", "hostname": "leaf03", "model": "Nexus9000 C9300v + Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": "901I7PY72LO", + "status": "alive", "address": "10.255.2.190", "bootupTimestamp": 1619043796.0, + "timestamp": 1619275263596, "architecture": "Intel Core Processor (Skylake, IBRS)", + "memory": 6096816, "reason": "Unknown", "uptime": 231467596, "os": "nxos", "active": + true}, {"namespace": "nxos", "hostname": "exit01", "model": "Nexus9000 C9300v + Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": "90QIMGF49OS", + "status": "alive", "address": "10.255.2.253", "bootupTimestamp": 1619013183.0, + "timestamp": 1619275265064, "architecture": "Intel Core Processor (Skylake, IBRS)", + "memory": 6096816, "reason": "Unknown", "uptime": 262082064, "os": "nxos", "active": + true}, {"namespace": "nxos", "hostname": "leaf04", "model": "Nexus9000 C9300v + Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": "9Q04O8RGPL8", + "status": "alive", "address": "10.255.2.191", "bootupTimestamp": 1619043813.0, + "timestamp": 1619275265167, "architecture": "Intel Core Processor (Skylake, IBRS)", + "memory": 6096816, "reason": "Unknown", "uptime": 231452167, "os": "nxos", "active": + true}, {"namespace": "nxos", "hostname": "exit02", "model": "Nexus9000 C9300v + Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": "90ZY6UG6ELL", + "status": "alive", "address": "10.255.2.254", "bootupTimestamp": 1619013188.0, + "timestamp": 1619275265196, "architecture": "Intel Core Processor (Skylake, IBRS)", + "memory": 6096816, "reason": "Unknown", "uptime": 262077196, "os": "nxos", "active": + true}, {"namespace": "nxos", "hostname": "leaf01", "model": "Nexus9000 C9300v + Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": "9DOTFRO0QMW", + "status": "alive", "address": "10.255.2.189", "bootupTimestamp": 1619043771.0, + "timestamp": 1619275265510, "architecture": "Intel Core Processor (Skylake, IBRS)", + "memory": 6096816, "reason": "Unknown", "uptime": 231494510, "os": "nxos", "active": + true}, {"namespace": "nxos", "hostname": "leaf02", "model": "Nexus9000 C9300v + Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": "9AC2MF0S5QO", + "status": "alive", "address": "10.255.2.188", "bootupTimestamp": 1619043783.0, + "timestamp": 1619275265679, "architecture": "Intel Core Processor (Skylake, IBRS)", + "memory": 6096816, "reason": "Unknown", "uptime": 231482679, "os": "nxos", "active": + true}]' - command: evpnVni show --columns='*' --format=json --namespace=nxos data-directory: tests/data/parquet/ marks: evpnVni show nxos all diff --git a/tests/integration/sqcmds/nxos-samples/device.yml b/tests/integration/sqcmds/nxos-samples/device.yml index 02346231a5..c889fe9225 100644 --- a/tests/integration/sqcmds/nxos-samples/device.yml +++ b/tests/integration/sqcmds/nxos-samples/device.yml @@ -4,51 +4,47 @@ tests: data-directory: tests/data/parquet/ marks: device show nxos output: '[{"namespace": "nxos", "hostname": "server101", "model": "vm", "version": - "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.204", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256203}, + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.204", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256203}, {"namespace": "nxos", "hostname": "server102", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.39", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256290}, {"namespace": - "nxos", "hostname": "server301", "model": "vm", "version": "18.04.3 LTS", "vendor": - "Ubuntu", "architecture": "x86-64", "status": "alive", "address": "10.255.2.140", - "bootupTimestamp": 1619182381.0, "timestamp": 1619275256319}, {"namespace": "nxos", - "hostname": "server302", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", - "architecture": "x86-64", "status": "alive", "address": "10.255.2.114", "bootupTimestamp": - 1619182381.0, "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", - "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.249", "bootupTimestamp": 1619013132.0, - "timestamp": 1619275256497}, {"namespace": "nxos", "hostname": "dcedge01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1619013129.329, - "timestamp": 1619275258329}, {"namespace": "nxos", "hostname": "spine02", "model": - "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": - "Intel Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.120", - "bootupTimestamp": 1619013194.0, "timestamp": 1619275263055}, {"namespace": "nxos", - "hostname": "spine01", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.119", "bootupTimestamp": 1619013190.0, "timestamp": - 1619275263589}, {"namespace": "nxos", "hostname": "leaf03", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.190", - "bootupTimestamp": 1619043796.0, "timestamp": 1619275263596}, {"namespace": "nxos", - "hostname": "exit01", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.253", "bootupTimestamp": 1619013183.0, "timestamp": - 1619275265064}, {"namespace": "nxos", "hostname": "leaf04", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.191", - "bootupTimestamp": 1619043813.0, "timestamp": 1619275265167}, {"namespace": "nxos", - "hostname": "exit02", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.254", "bootupTimestamp": 1619013188.0, "timestamp": - 1619275265196}, {"namespace": "nxos", "hostname": "leaf01", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.189", - "bootupTimestamp": 1619043771.0, "timestamp": 1619275265510}, {"namespace": "nxos", - "hostname": "leaf02", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.188", "bootupTimestamp": 1619043783.0, "timestamp": - 1619275265679}]' + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.39", + "bootupTimestamp": 1619182381.0, "timestamp": 1619275256290}, {"namespace": "nxos", + "hostname": "server301", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.140", "bootupTimestamp": + 1619182381.0, "timestamp": 1619275256319}, {"namespace": "nxos", "hostname": "server302", + "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "10.255.2.114", "bootupTimestamp": 1619182381.0, + "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", "model": + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.249", "bootupTimestamp": 1619013132.0, "timestamp": + 1619275256497}, {"namespace": "nxos", "hostname": "dcedge01", "model": "vqfx-10000", + "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "27840100856", "status": + "alive", "address": "10.255.2.250", "bootupTimestamp": 1619013129.329, "timestamp": + 1619275258329}, {"namespace": "nxos", "hostname": "spine02", "model": "Nexus9000 + C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": "9SM7CHR8WEF", + "status": "alive", "address": "10.255.2.120", "bootupTimestamp": 1619013194.0, + "timestamp": 1619275263055}, {"namespace": "nxos", "hostname": "spine01", "model": + "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9U1GLRQOXD7", "status": "alive", "address": "10.255.2.119", "bootupTimestamp": + 1619013190.0, "timestamp": 1619275263589}, {"namespace": "nxos", "hostname": "leaf03", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "901I7PY72LO", "status": "alive", "address": "10.255.2.190", "bootupTimestamp": + 1619043796.0, "timestamp": 1619275263596}, {"namespace": "nxos", "hostname": "exit01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90QIMGF49OS", "status": "alive", "address": "10.255.2.253", "bootupTimestamp": + 1619013183.0, "timestamp": 1619275265064}, {"namespace": "nxos", "hostname": "leaf04", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9Q04O8RGPL8", "status": "alive", "address": "10.255.2.191", "bootupTimestamp": + 1619043813.0, "timestamp": 1619275265167}, {"namespace": "nxos", "hostname": "exit02", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90ZY6UG6ELL", "status": "alive", "address": "10.255.2.254", "bootupTimestamp": + 1619013188.0, "timestamp": 1619275265196}, {"namespace": "nxos", "hostname": "leaf01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9DOTFRO0QMW", "status": "alive", "address": "10.255.2.189", "bootupTimestamp": + 1619043771.0, "timestamp": 1619275265510}, {"namespace": "nxos", "hostname": "leaf02", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9AC2MF0S5QO", "status": "alive", "address": "10.255.2.188", "bootupTimestamp": + 1619043783.0, "timestamp": 1619275265679}]' - command: device show --columns=hostname --format=json --namespace=nxos data-directory: tests/data/parquet/ marks: device show nxos @@ -101,51 +97,47 @@ tests: data-directory: tests/data/parquet/ marks: device show filter nxos output: '[{"namespace": "nxos", "hostname": "server101", "model": "vm", "version": - "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.204", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256203}, + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.204", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256203}, {"namespace": "nxos", "hostname": "server102", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.39", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256290}, {"namespace": - "nxos", "hostname": "server301", "model": "vm", "version": "18.04.3 LTS", "vendor": - "Ubuntu", "architecture": "x86-64", "status": "alive", "address": "10.255.2.140", - "bootupTimestamp": 1619182381.0, "timestamp": 1619275256319}, {"namespace": "nxos", - "hostname": "server302", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", - "architecture": "x86-64", "status": "alive", "address": "10.255.2.114", "bootupTimestamp": - 1619182381.0, "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", - "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.249", "bootupTimestamp": 1619013132.0, - "timestamp": 1619275256497}, {"namespace": "nxos", "hostname": "dcedge01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1619013129.329, - "timestamp": 1619275258329}, {"namespace": "nxos", "hostname": "spine02", "model": - "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": - "Intel Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.120", - "bootupTimestamp": 1619013194.0, "timestamp": 1619275263055}, {"namespace": "nxos", - "hostname": "spine01", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.119", "bootupTimestamp": 1619013190.0, "timestamp": - 1619275263589}, {"namespace": "nxos", "hostname": "leaf03", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.190", - "bootupTimestamp": 1619043796.0, "timestamp": 1619275263596}, {"namespace": "nxos", - "hostname": "exit01", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.253", "bootupTimestamp": 1619013183.0, "timestamp": - 1619275265064}, {"namespace": "nxos", "hostname": "leaf04", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.191", - "bootupTimestamp": 1619043813.0, "timestamp": 1619275265167}, {"namespace": "nxos", - "hostname": "exit02", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.254", "bootupTimestamp": 1619013188.0, "timestamp": - 1619275265196}, {"namespace": "nxos", "hostname": "leaf01", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.189", - "bootupTimestamp": 1619043771.0, "timestamp": 1619275265510}, {"namespace": "nxos", - "hostname": "leaf02", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.188", "bootupTimestamp": 1619043783.0, "timestamp": - 1619275265679}]' + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.39", + "bootupTimestamp": 1619182381.0, "timestamp": 1619275256290}, {"namespace": "nxos", + "hostname": "server301", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.140", "bootupTimestamp": + 1619182381.0, "timestamp": 1619275256319}, {"namespace": "nxos", "hostname": "server302", + "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "10.255.2.114", "bootupTimestamp": 1619182381.0, + "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", "model": + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.249", "bootupTimestamp": 1619013132.0, "timestamp": + 1619275256497}, {"namespace": "nxos", "hostname": "dcedge01", "model": "vqfx-10000", + "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "27840100856", "status": + "alive", "address": "10.255.2.250", "bootupTimestamp": 1619013129.329, "timestamp": + 1619275258329}, {"namespace": "nxos", "hostname": "spine02", "model": "Nexus9000 + C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": "9SM7CHR8WEF", + "status": "alive", "address": "10.255.2.120", "bootupTimestamp": 1619013194.0, + "timestamp": 1619275263055}, {"namespace": "nxos", "hostname": "spine01", "model": + "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9U1GLRQOXD7", "status": "alive", "address": "10.255.2.119", "bootupTimestamp": + 1619013190.0, "timestamp": 1619275263589}, {"namespace": "nxos", "hostname": "leaf03", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "901I7PY72LO", "status": "alive", "address": "10.255.2.190", "bootupTimestamp": + 1619043796.0, "timestamp": 1619275263596}, {"namespace": "nxos", "hostname": "exit01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90QIMGF49OS", "status": "alive", "address": "10.255.2.253", "bootupTimestamp": + 1619013183.0, "timestamp": 1619275265064}, {"namespace": "nxos", "hostname": "leaf04", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9Q04O8RGPL8", "status": "alive", "address": "10.255.2.191", "bootupTimestamp": + 1619043813.0, "timestamp": 1619275265167}, {"namespace": "nxos", "hostname": "exit02", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90ZY6UG6ELL", "status": "alive", "address": "10.255.2.254", "bootupTimestamp": + 1619013188.0, "timestamp": 1619275265196}, {"namespace": "nxos", "hostname": "leaf01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9DOTFRO0QMW", "status": "alive", "address": "10.255.2.189", "bootupTimestamp": + 1619043771.0, "timestamp": 1619275265510}, {"namespace": "nxos", "hostname": "leaf02", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9AC2MF0S5QO", "status": "alive", "address": "10.255.2.188", "bootupTimestamp": + 1619043783.0, "timestamp": 1619275265679}]' - command: device show --status="!alive" --format=json --namespace=nxos data-directory: tests/data/parquet/ marks: device show filter nxos @@ -158,275 +150,256 @@ tests: data-directory: tests/data/parquet/ marks: device show filter nxos output: '[{"namespace": "nxos", "hostname": "server101", "model": "vm", "version": - "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.204", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256203}, + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.204", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256203}, {"namespace": "nxos", "hostname": "server102", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.39", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256290}, {"namespace": - "nxos", "hostname": "server301", "model": "vm", "version": "18.04.3 LTS", "vendor": - "Ubuntu", "architecture": "x86-64", "status": "alive", "address": "10.255.2.140", - "bootupTimestamp": 1619182381.0, "timestamp": 1619275256319}, {"namespace": "nxos", - "hostname": "server302", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", - "architecture": "x86-64", "status": "alive", "address": "10.255.2.114", "bootupTimestamp": - 1619182381.0, "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", - "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.249", "bootupTimestamp": 1619013132.0, - "timestamp": 1619275256497}, {"namespace": "nxos", "hostname": "dcedge01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1619013129.329, - "timestamp": 1619275258329}]' + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.39", + "bootupTimestamp": 1619182381.0, "timestamp": 1619275256290}, {"namespace": "nxos", + "hostname": "server301", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.140", "bootupTimestamp": + 1619182381.0, "timestamp": 1619275256319}, {"namespace": "nxos", "hostname": "server302", + "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "10.255.2.114", "bootupTimestamp": 1619182381.0, + "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", "model": + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.249", "bootupTimestamp": 1619013132.0, "timestamp": + 1619275256497}, {"namespace": "nxos", "hostname": "dcedge01", "model": "vqfx-10000", + "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "27840100856", "status": + "alive", "address": "10.255.2.250", "bootupTimestamp": 1619013129.329, "timestamp": + 1619275258329}]' - command: device show --model=" 'Nexus9000 C9300v Chassis'" --format=json --namespace=nxos data-directory: tests/data/parquet/ marks: device show filter nxos output: '[{"namespace": "nxos", "hostname": "spine02", "model": "Nexus9000 C9300v - Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel Core - Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.120", "bootupTimestamp": - 1619013194.0, "timestamp": 1619275263055}, {"namespace": "nxos", "hostname": "spine01", - "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": - "Intel Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.119", - "bootupTimestamp": 1619013190.0, "timestamp": 1619275263589}, {"namespace": "nxos", - "hostname": "leaf03", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.190", "bootupTimestamp": 1619043796.0, "timestamp": - 1619275263596}, {"namespace": "nxos", "hostname": "exit01", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.253", - "bootupTimestamp": 1619013183.0, "timestamp": 1619275265064}, {"namespace": "nxos", - "hostname": "leaf04", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.191", "bootupTimestamp": 1619043813.0, "timestamp": - 1619275265167}, {"namespace": "nxos", "hostname": "exit02", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.254", - "bootupTimestamp": 1619013188.0, "timestamp": 1619275265196}, {"namespace": "nxos", - "hostname": "leaf01", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.189", "bootupTimestamp": 1619043771.0, "timestamp": - 1619275265510}, {"namespace": "nxos", "hostname": "leaf02", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.188", - "bootupTimestamp": 1619043783.0, "timestamp": 1619275265679}]' + Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": "9SM7CHR8WEF", + "status": "alive", "address": "10.255.2.120", "bootupTimestamp": 1619013194.0, + "timestamp": 1619275263055}, {"namespace": "nxos", "hostname": "spine01", "model": + "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9U1GLRQOXD7", "status": "alive", "address": "10.255.2.119", "bootupTimestamp": + 1619013190.0, "timestamp": 1619275263589}, {"namespace": "nxos", "hostname": "leaf03", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "901I7PY72LO", "status": "alive", "address": "10.255.2.190", "bootupTimestamp": + 1619043796.0, "timestamp": 1619275263596}, {"namespace": "nxos", "hostname": "exit01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90QIMGF49OS", "status": "alive", "address": "10.255.2.253", "bootupTimestamp": + 1619013183.0, "timestamp": 1619275265064}, {"namespace": "nxos", "hostname": "leaf04", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9Q04O8RGPL8", "status": "alive", "address": "10.255.2.191", "bootupTimestamp": + 1619043813.0, "timestamp": 1619275265167}, {"namespace": "nxos", "hostname": "exit02", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90ZY6UG6ELL", "status": "alive", "address": "10.255.2.254", "bootupTimestamp": + 1619013188.0, "timestamp": 1619275265196}, {"namespace": "nxos", "hostname": "leaf01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9DOTFRO0QMW", "status": "alive", "address": "10.255.2.189", "bootupTimestamp": + 1619043771.0, "timestamp": 1619275265510}, {"namespace": "nxos", "hostname": "leaf02", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9AC2MF0S5QO", "status": "alive", "address": "10.255.2.188", "bootupTimestamp": + 1619043783.0, "timestamp": 1619275265679}]' - command: device show --model='vqfx-10000' --format=json --namespace=nxos data-directory: tests/data/parquet/ marks: device show filter nxos output: '[{"namespace": "nxos", "hostname": "dcedge01", "model": "vqfx-10000", "version": - "19.4R1.10", "vendor": "Juniper", "architecture": "", "status": "alive", "address": - "10.255.2.250", "bootupTimestamp": 1619013129.329, "timestamp": 1619275258329}]' + "19.4R1.10", "vendor": "Juniper", "serialNumber": "27840100856", "status": "alive", + "address": "10.255.2.250", "bootupTimestamp": 1619013129.329, "timestamp": 1619275258329}]' - command: device show --model='!vqfx-10000' --format=json --namespace=nxos data-directory: tests/data/parquet/ marks: device show filter nxos output: '[{"namespace": "nxos", "hostname": "server101", "model": "vm", "version": - "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.204", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256203}, + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.204", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256203}, {"namespace": "nxos", "hostname": "server102", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.39", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256290}, {"namespace": - "nxos", "hostname": "server301", "model": "vm", "version": "18.04.3 LTS", "vendor": - "Ubuntu", "architecture": "x86-64", "status": "alive", "address": "10.255.2.140", - "bootupTimestamp": 1619182381.0, "timestamp": 1619275256319}, {"namespace": "nxos", - "hostname": "server302", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", - "architecture": "x86-64", "status": "alive", "address": "10.255.2.114", "bootupTimestamp": - 1619182381.0, "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", - "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.249", "bootupTimestamp": 1619013132.0, - "timestamp": 1619275256497}, {"namespace": "nxos", "hostname": "spine02", "model": - "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": - "Intel Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.120", - "bootupTimestamp": 1619013194.0, "timestamp": 1619275263055}, {"namespace": "nxos", - "hostname": "spine01", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.119", "bootupTimestamp": 1619013190.0, "timestamp": - 1619275263589}, {"namespace": "nxos", "hostname": "leaf03", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.190", - "bootupTimestamp": 1619043796.0, "timestamp": 1619275263596}, {"namespace": "nxos", - "hostname": "exit01", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.253", "bootupTimestamp": 1619013183.0, "timestamp": - 1619275265064}, {"namespace": "nxos", "hostname": "leaf04", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.191", - "bootupTimestamp": 1619043813.0, "timestamp": 1619275265167}, {"namespace": "nxos", - "hostname": "exit02", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.254", "bootupTimestamp": 1619013188.0, "timestamp": - 1619275265196}, {"namespace": "nxos", "hostname": "leaf01", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.189", - "bootupTimestamp": 1619043771.0, "timestamp": 1619275265510}, {"namespace": "nxos", - "hostname": "leaf02", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.188", "bootupTimestamp": 1619043783.0, "timestamp": - 1619275265679}]' + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.39", + "bootupTimestamp": 1619182381.0, "timestamp": 1619275256290}, {"namespace": "nxos", + "hostname": "server301", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.140", "bootupTimestamp": + 1619182381.0, "timestamp": 1619275256319}, {"namespace": "nxos", "hostname": "server302", + "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "10.255.2.114", "bootupTimestamp": 1619182381.0, + "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", "model": + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.249", "bootupTimestamp": 1619013132.0, "timestamp": + 1619275256497}, {"namespace": "nxos", "hostname": "spine02", "model": "Nexus9000 + C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": "9SM7CHR8WEF", + "status": "alive", "address": "10.255.2.120", "bootupTimestamp": 1619013194.0, + "timestamp": 1619275263055}, {"namespace": "nxos", "hostname": "spine01", "model": + "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9U1GLRQOXD7", "status": "alive", "address": "10.255.2.119", "bootupTimestamp": + 1619013190.0, "timestamp": 1619275263589}, {"namespace": "nxos", "hostname": "leaf03", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "901I7PY72LO", "status": "alive", "address": "10.255.2.190", "bootupTimestamp": + 1619043796.0, "timestamp": 1619275263596}, {"namespace": "nxos", "hostname": "exit01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90QIMGF49OS", "status": "alive", "address": "10.255.2.253", "bootupTimestamp": + 1619013183.0, "timestamp": 1619275265064}, {"namespace": "nxos", "hostname": "leaf04", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9Q04O8RGPL8", "status": "alive", "address": "10.255.2.191", "bootupTimestamp": + 1619043813.0, "timestamp": 1619275265167}, {"namespace": "nxos", "hostname": "exit02", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90ZY6UG6ELL", "status": "alive", "address": "10.255.2.254", "bootupTimestamp": + 1619013188.0, "timestamp": 1619275265196}, {"namespace": "nxos", "hostname": "leaf01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9DOTFRO0QMW", "status": "alive", "address": "10.255.2.189", "bootupTimestamp": + 1619043771.0, "timestamp": 1619275265510}, {"namespace": "nxos", "hostname": "leaf02", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9AC2MF0S5QO", "status": "alive", "address": "10.255.2.188", "bootupTimestamp": + 1619043783.0, "timestamp": 1619275265679}]' - command: device show --os='nxos' --format=json --namespace=nxos data-directory: tests/data/parquet/ marks: device show filter nxos output: '[{"namespace": "nxos", "hostname": "spine02", "model": "Nexus9000 C9300v - Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel Core - Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.120", "bootupTimestamp": - 1619013194.0, "timestamp": 1619275263055}, {"namespace": "nxos", "hostname": "spine01", - "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": - "Intel Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.119", - "bootupTimestamp": 1619013190.0, "timestamp": 1619275263589}, {"namespace": "nxos", - "hostname": "leaf03", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.190", "bootupTimestamp": 1619043796.0, "timestamp": - 1619275263596}, {"namespace": "nxos", "hostname": "exit01", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.253", - "bootupTimestamp": 1619013183.0, "timestamp": 1619275265064}, {"namespace": "nxos", - "hostname": "leaf04", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.191", "bootupTimestamp": 1619043813.0, "timestamp": - 1619275265167}, {"namespace": "nxos", "hostname": "exit02", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.254", - "bootupTimestamp": 1619013188.0, "timestamp": 1619275265196}, {"namespace": "nxos", - "hostname": "leaf01", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.189", "bootupTimestamp": 1619043771.0, "timestamp": - 1619275265510}, {"namespace": "nxos", "hostname": "leaf02", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.188", - "bootupTimestamp": 1619043783.0, "timestamp": 1619275265679}]' + Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": "9SM7CHR8WEF", + "status": "alive", "address": "10.255.2.120", "bootupTimestamp": 1619013194.0, + "timestamp": 1619275263055}, {"namespace": "nxos", "hostname": "spine01", "model": + "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9U1GLRQOXD7", "status": "alive", "address": "10.255.2.119", "bootupTimestamp": + 1619013190.0, "timestamp": 1619275263589}, {"namespace": "nxos", "hostname": "leaf03", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "901I7PY72LO", "status": "alive", "address": "10.255.2.190", "bootupTimestamp": + 1619043796.0, "timestamp": 1619275263596}, {"namespace": "nxos", "hostname": "exit01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90QIMGF49OS", "status": "alive", "address": "10.255.2.253", "bootupTimestamp": + 1619013183.0, "timestamp": 1619275265064}, {"namespace": "nxos", "hostname": "leaf04", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9Q04O8RGPL8", "status": "alive", "address": "10.255.2.191", "bootupTimestamp": + 1619043813.0, "timestamp": 1619275265167}, {"namespace": "nxos", "hostname": "exit02", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90ZY6UG6ELL", "status": "alive", "address": "10.255.2.254", "bootupTimestamp": + 1619013188.0, "timestamp": 1619275265196}, {"namespace": "nxos", "hostname": "leaf01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9DOTFRO0QMW", "status": "alive", "address": "10.255.2.189", "bootupTimestamp": + 1619043771.0, "timestamp": 1619275265510}, {"namespace": "nxos", "hostname": "leaf02", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9AC2MF0S5QO", "status": "alive", "address": "10.255.2.188", "bootupTimestamp": + 1619043783.0, "timestamp": 1619275265679}]' - command: device show --os='nxos junos' --format=json --namespace=nxos data-directory: tests/data/parquet/ marks: device show filter nxos output: '[{"namespace": "nxos", "hostname": "spine02", "model": "Nexus9000 C9300v - Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel Core - Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.120", "bootupTimestamp": - 1619013194.0, "timestamp": 1619275263055}, {"namespace": "nxos", "hostname": "spine01", - "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": - "Intel Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.119", - "bootupTimestamp": 1619013190.0, "timestamp": 1619275263589}, {"namespace": "nxos", - "hostname": "leaf03", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.190", "bootupTimestamp": 1619043796.0, "timestamp": - 1619275263596}, {"namespace": "nxos", "hostname": "exit01", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.253", - "bootupTimestamp": 1619013183.0, "timestamp": 1619275265064}, {"namespace": "nxos", - "hostname": "leaf04", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.191", "bootupTimestamp": 1619043813.0, "timestamp": - 1619275265167}, {"namespace": "nxos", "hostname": "exit02", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.254", - "bootupTimestamp": 1619013188.0, "timestamp": 1619275265196}, {"namespace": "nxos", - "hostname": "leaf01", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.189", "bootupTimestamp": 1619043771.0, "timestamp": - 1619275265510}, {"namespace": "nxos", "hostname": "leaf02", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.188", - "bootupTimestamp": 1619043783.0, "timestamp": 1619275265679}]' + Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": "9SM7CHR8WEF", + "status": "alive", "address": "10.255.2.120", "bootupTimestamp": 1619013194.0, + "timestamp": 1619275263055}, {"namespace": "nxos", "hostname": "spine01", "model": + "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9U1GLRQOXD7", "status": "alive", "address": "10.255.2.119", "bootupTimestamp": + 1619013190.0, "timestamp": 1619275263589}, {"namespace": "nxos", "hostname": "leaf03", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "901I7PY72LO", "status": "alive", "address": "10.255.2.190", "bootupTimestamp": + 1619043796.0, "timestamp": 1619275263596}, {"namespace": "nxos", "hostname": "exit01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90QIMGF49OS", "status": "alive", "address": "10.255.2.253", "bootupTimestamp": + 1619013183.0, "timestamp": 1619275265064}, {"namespace": "nxos", "hostname": "leaf04", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9Q04O8RGPL8", "status": "alive", "address": "10.255.2.191", "bootupTimestamp": + 1619043813.0, "timestamp": 1619275265167}, {"namespace": "nxos", "hostname": "exit02", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90ZY6UG6ELL", "status": "alive", "address": "10.255.2.254", "bootupTimestamp": + 1619013188.0, "timestamp": 1619275265196}, {"namespace": "nxos", "hostname": "leaf01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9DOTFRO0QMW", "status": "alive", "address": "10.255.2.189", "bootupTimestamp": + 1619043771.0, "timestamp": 1619275265510}, {"namespace": "nxos", "hostname": "leaf02", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9AC2MF0S5QO", "status": "alive", "address": "10.255.2.188", "bootupTimestamp": + 1619043783.0, "timestamp": 1619275265679}]' - command: device show --os='!nxos' --format=json --namespace=nxos data-directory: tests/data/parquet/ marks: device show filter nxos output: '[{"namespace": "nxos", "hostname": "server101", "model": "vm", "version": - "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.204", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256203}, + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.204", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256203}, {"namespace": "nxos", "hostname": "server102", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.39", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256290}, {"namespace": - "nxos", "hostname": "server301", "model": "vm", "version": "18.04.3 LTS", "vendor": - "Ubuntu", "architecture": "x86-64", "status": "alive", "address": "10.255.2.140", - "bootupTimestamp": 1619182381.0, "timestamp": 1619275256319}, {"namespace": "nxos", - "hostname": "server302", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", - "architecture": "x86-64", "status": "alive", "address": "10.255.2.114", "bootupTimestamp": - 1619182381.0, "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", - "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.249", "bootupTimestamp": 1619013132.0, - "timestamp": 1619275256497}, {"namespace": "nxos", "hostname": "dcedge01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1619013129.329, - "timestamp": 1619275258329}]' + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.39", + "bootupTimestamp": 1619182381.0, "timestamp": 1619275256290}, {"namespace": "nxos", + "hostname": "server301", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.140", "bootupTimestamp": + 1619182381.0, "timestamp": 1619275256319}, {"namespace": "nxos", "hostname": "server302", + "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "10.255.2.114", "bootupTimestamp": 1619182381.0, + "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", "model": + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.249", "bootupTimestamp": 1619013132.0, "timestamp": + 1619275256497}, {"namespace": "nxos", "hostname": "dcedge01", "model": "vqfx-10000", + "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "27840100856", "status": + "alive", "address": "10.255.2.250", "bootupTimestamp": 1619013129.329, "timestamp": + 1619275258329}]' - command: device show --version='!=9.3(4)' --format=json --namespace=nxos data-directory: tests/data/parquet/ marks: device show filter nxos output: '[{"namespace": "nxos", "hostname": "server101", "model": "vm", "version": - "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.204", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256203}, + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.204", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256203}, {"namespace": "nxos", "hostname": "server102", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.39", "bootupTimestamp": 1619182381.0, "timestamp": 1619275256290}, {"namespace": - "nxos", "hostname": "server301", "model": "vm", "version": "18.04.3 LTS", "vendor": - "Ubuntu", "architecture": "x86-64", "status": "alive", "address": "10.255.2.140", - "bootupTimestamp": 1619182381.0, "timestamp": 1619275256319}, {"namespace": "nxos", - "hostname": "server302", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", - "architecture": "x86-64", "status": "alive", "address": "10.255.2.114", "bootupTimestamp": - 1619182381.0, "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", - "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", - "status": "alive", "address": "10.255.2.249", "bootupTimestamp": 1619013132.0, - "timestamp": 1619275256497}, {"namespace": "nxos", "hostname": "dcedge01", "model": - "vqfx-10000", "version": "19.4R1.10", "vendor": "Juniper", "architecture": "", - "status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1619013129.329, - "timestamp": 1619275258329}]' + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.39", + "bootupTimestamp": 1619182381.0, "timestamp": 1619275256290}, {"namespace": "nxos", + "hostname": "server301", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.140", "bootupTimestamp": + 1619182381.0, "timestamp": 1619275256319}, {"namespace": "nxos", "hostname": "server302", + "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", + "status": "alive", "address": "10.255.2.114", "bootupTimestamp": 1619182381.0, + "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "firewall01", "model": + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.249", "bootupTimestamp": 1619013132.0, "timestamp": + 1619275256497}, {"namespace": "nxos", "hostname": "dcedge01", "model": "vqfx-10000", + "version": "19.4R1.10", "vendor": "Juniper", "serialNumber": "27840100856", "status": + "alive", "address": "10.255.2.250", "bootupTimestamp": 1619013129.329, "timestamp": + 1619275258329}]' - command: device show --version='>9.3(3) <18.04' --format=json --namespace=nxos data-directory: tests/data/parquet/ marks: device show filter nxos output: '[{"namespace": "nxos", "hostname": "spine02", "model": "Nexus9000 C9300v - Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel Core - Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.120", "bootupTimestamp": - 1619013194.0, "timestamp": 1619275263055}, {"namespace": "nxos", "hostname": "spine01", - "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": - "Intel Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.119", - "bootupTimestamp": 1619013190.0, "timestamp": 1619275263589}, {"namespace": "nxos", - "hostname": "leaf03", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.190", "bootupTimestamp": 1619043796.0, "timestamp": - 1619275263596}, {"namespace": "nxos", "hostname": "exit01", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.253", - "bootupTimestamp": 1619013183.0, "timestamp": 1619275265064}, {"namespace": "nxos", - "hostname": "leaf04", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.191", "bootupTimestamp": 1619043813.0, "timestamp": - 1619275265167}, {"namespace": "nxos", "hostname": "exit02", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.254", - "bootupTimestamp": 1619013188.0, "timestamp": 1619275265196}, {"namespace": "nxos", - "hostname": "leaf01", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.189", "bootupTimestamp": 1619043771.0, "timestamp": - 1619275265510}, {"namespace": "nxos", "hostname": "leaf02", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.188", - "bootupTimestamp": 1619043783.0, "timestamp": 1619275265679}]' + Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": "9SM7CHR8WEF", + "status": "alive", "address": "10.255.2.120", "bootupTimestamp": 1619013194.0, + "timestamp": 1619275263055}, {"namespace": "nxos", "hostname": "spine01", "model": + "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9U1GLRQOXD7", "status": "alive", "address": "10.255.2.119", "bootupTimestamp": + 1619013190.0, "timestamp": 1619275263589}, {"namespace": "nxos", "hostname": "leaf03", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "901I7PY72LO", "status": "alive", "address": "10.255.2.190", "bootupTimestamp": + 1619043796.0, "timestamp": 1619275263596}, {"namespace": "nxos", "hostname": "exit01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90QIMGF49OS", "status": "alive", "address": "10.255.2.253", "bootupTimestamp": + 1619013183.0, "timestamp": 1619275265064}, {"namespace": "nxos", "hostname": "leaf04", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9Q04O8RGPL8", "status": "alive", "address": "10.255.2.191", "bootupTimestamp": + 1619043813.0, "timestamp": 1619275265167}, {"namespace": "nxos", "hostname": "exit02", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90ZY6UG6ELL", "status": "alive", "address": "10.255.2.254", "bootupTimestamp": + 1619013188.0, "timestamp": 1619275265196}, {"namespace": "nxos", "hostname": "leaf01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9DOTFRO0QMW", "status": "alive", "address": "10.255.2.189", "bootupTimestamp": + 1619043771.0, "timestamp": 1619275265510}, {"namespace": "nxos", "hostname": "leaf02", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9AC2MF0S5QO", "status": "alive", "address": "10.255.2.188", "bootupTimestamp": + 1619043783.0, "timestamp": 1619275265679}]' - command: device show --version='>19.4' --format=json --namespace=nxos data-directory: tests/data/parquet/ marks: device show filter nxos output: '[{"namespace": "nxos", "hostname": "dcedge01", "model": "vqfx-10000", "version": - "19.4R1.10", "vendor": "Juniper", "architecture": "", "status": "alive", "address": - "10.255.2.250", "bootupTimestamp": 1619013129.329, "timestamp": 1619275258329}]' + "19.4R1.10", "vendor": "Juniper", "serialNumber": "27840100856", "status": "alive", + "address": "10.255.2.250", "bootupTimestamp": 1619013129.329, "timestamp": 1619275258329}]' - command: device show --version='9.3(4)' --format=json --namespace=nxos data-directory: tests/data/parquet/ marks: device show filter nxos output: '[{"namespace": "nxos", "hostname": "spine02", "model": "Nexus9000 C9300v - Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel Core - Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.120", "bootupTimestamp": - 1619013194.0, "timestamp": 1619275263055}, {"namespace": "nxos", "hostname": "spine01", - "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": - "Intel Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.119", - "bootupTimestamp": 1619013190.0, "timestamp": 1619275263589}, {"namespace": "nxos", - "hostname": "leaf03", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.190", "bootupTimestamp": 1619043796.0, "timestamp": - 1619275263596}, {"namespace": "nxos", "hostname": "exit01", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.253", - "bootupTimestamp": 1619013183.0, "timestamp": 1619275265064}, {"namespace": "nxos", - "hostname": "leaf04", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.191", "bootupTimestamp": 1619043813.0, "timestamp": - 1619275265167}, {"namespace": "nxos", "hostname": "exit02", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.254", - "bootupTimestamp": 1619013188.0, "timestamp": 1619275265196}, {"namespace": "nxos", - "hostname": "leaf01", "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", - "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", "status": - "alive", "address": "10.255.2.189", "bootupTimestamp": 1619043771.0, "timestamp": - 1619275265510}, {"namespace": "nxos", "hostname": "leaf02", "model": "Nexus9000 - C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel - Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.188", - "bootupTimestamp": 1619043783.0, "timestamp": 1619275265679}]' + Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": "9SM7CHR8WEF", + "status": "alive", "address": "10.255.2.120", "bootupTimestamp": 1619013194.0, + "timestamp": 1619275263055}, {"namespace": "nxos", "hostname": "spine01", "model": + "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9U1GLRQOXD7", "status": "alive", "address": "10.255.2.119", "bootupTimestamp": + 1619013190.0, "timestamp": 1619275263589}, {"namespace": "nxos", "hostname": "leaf03", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "901I7PY72LO", "status": "alive", "address": "10.255.2.190", "bootupTimestamp": + 1619043796.0, "timestamp": 1619275263596}, {"namespace": "nxos", "hostname": "exit01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90QIMGF49OS", "status": "alive", "address": "10.255.2.253", "bootupTimestamp": + 1619013183.0, "timestamp": 1619275265064}, {"namespace": "nxos", "hostname": "leaf04", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9Q04O8RGPL8", "status": "alive", "address": "10.255.2.191", "bootupTimestamp": + 1619043813.0, "timestamp": 1619275265167}, {"namespace": "nxos", "hostname": "exit02", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90ZY6UG6ELL", "status": "alive", "address": "10.255.2.254", "bootupTimestamp": + 1619013188.0, "timestamp": 1619275265196}, {"namespace": "nxos", "hostname": "leaf01", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9DOTFRO0QMW", "status": "alive", "address": "10.255.2.189", "bootupTimestamp": + 1619043771.0, "timestamp": 1619275265510}, {"namespace": "nxos", "hostname": "leaf02", + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9AC2MF0S5QO", "status": "alive", "address": "10.255.2.188", "bootupTimestamp": + 1619043783.0, "timestamp": 1619275265679}]' diff --git a/tests/integration/sqcmds/nxos-samples/top.yml b/tests/integration/sqcmds/nxos-samples/top.yml index 4eeb795ff0..496cce9997 100644 --- a/tests/integration/sqcmds/nxos-samples/top.yml +++ b/tests/integration/sqcmds/nxos-samples/top.yml @@ -4,41 +4,39 @@ tests: data-directory: tests/data/parquet/ marks: device top nxos output: '[{"namespace": "nxos", "hostname": "dcedge01", "model": "vqfx-10000", "version": - "19.4R1.10", "vendor": "Juniper", "architecture": "", "status": "alive", "address": - "10.255.2.250", "bootupTimestamp": 1619013129329, "uptime": 262129000, "timestamp": - 1619275258329}, {"namespace": "nxos", "hostname": "firewall01", "model": "vm", - "version": "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": + "19.4R1.10", "vendor": "Juniper", "serialNumber": "27840100856", "status": "alive", + "address": "10.255.2.250", "bootupTimestamp": 1619013129329, "uptime": 262129000, + "timestamp": 1619275258329}, {"namespace": "nxos", "hostname": "firewall01", "model": + "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.249", "bootupTimestamp": 1619013132000, "uptime": 262124497, "timestamp": 1619275256497}, {"namespace": "nxos", "hostname": "exit01", - "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "architecture": - "Intel Core Processor (Skylake, IBRS)", "status": "alive", "address": "10.255.2.253", - "bootupTimestamp": 1619013183000, "uptime": 262082064, "timestamp": 1619275265064}, - {"namespace": "nxos", "hostname": "exit02", "model": "Nexus9000 C9300v Chassis", - "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel Core Processor - (Skylake, IBRS)", "status": "alive", "address": "10.255.2.254", "bootupTimestamp": - 1619013188000, "uptime": 262077196, "timestamp": 1619275265196}, {"namespace": - "nxos", "hostname": "spine01", "model": "Nexus9000 C9300v Chassis", "version": - "9.3(4)", "vendor": "Cisco", "architecture": "Intel Core Processor (Skylake, IBRS)", - "status": "alive", "address": "10.255.2.119", "bootupTimestamp": 1619013190000, - "uptime": 262073589, "timestamp": 1619275263589}]' + "model": "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "90QIMGF49OS", "status": "alive", "address": "10.255.2.253", "bootupTimestamp": + 1619013183000, "uptime": 262082064, "timestamp": 1619275265064}, {"namespace": + "nxos", "hostname": "exit02", "model": "Nexus9000 C9300v Chassis", "version": + "9.3(4)", "vendor": "Cisco", "serialNumber": "90ZY6UG6ELL", "status": "alive", + "address": "10.255.2.254", "bootupTimestamp": 1619013188000, "uptime": 262077196, + "timestamp": 1619275265196}, {"namespace": "nxos", "hostname": "spine01", "model": + "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9U1GLRQOXD7", "status": "alive", "address": "10.255.2.119", "bootupTimestamp": + 1619013190000, "uptime": 262073589, "timestamp": 1619275263589}]' - command: device top --what=bootupTimestamp --format=json --namespace='nxos' data-directory: tests/data/parquet/ marks: device top nxos output: '[{"namespace": "nxos", "hostname": "server302", "model": "vm", "version": - "18.04.3 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.114", "bootupTimestamp": 1619182381000, "timestamp": 1619275256394}, + "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.114", "bootupTimestamp": 1619182381000, "timestamp": 1619275256394}, {"namespace": "nxos", "hostname": "server301", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.140", "bootupTimestamp": 1619182381000, "timestamp": 1619275256319}, - {"namespace": "nxos", "hostname": "server102", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.39", "bootupTimestamp": 1619182381000, "timestamp": 1619275256290}, - {"namespace": "nxos", "hostname": "server101", "model": "vm", "version": "18.04.3 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.204", "bootupTimestamp": 1619182381000, "timestamp": 1619275256203}, - {"namespace": "nxos", "hostname": "leaf04", "model": "Nexus9000 C9300v Chassis", - "version": "9.3(4)", "vendor": "Cisco", "architecture": "Intel Core Processor - (Skylake, IBRS)", "status": "alive", "address": "10.255.2.191", "bootupTimestamp": + LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.140", + "bootupTimestamp": 1619182381000, "timestamp": 1619275256319}, {"namespace": "nxos", + "hostname": "server102", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", + "serialNumber": "", "status": "alive", "address": "10.255.2.39", "bootupTimestamp": + 1619182381000, "timestamp": 1619275256290}, {"namespace": "nxos", "hostname": + "server101", "model": "vm", "version": "18.04.3 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.2.204", "bootupTimestamp": 1619182381000, + "timestamp": 1619275256203}, {"namespace": "nxos", "hostname": "leaf04", "model": + "Nexus9000 C9300v Chassis", "version": "9.3(4)", "vendor": "Cisco", "serialNumber": + "9Q04O8RGPL8", "status": "alive", "address": "10.255.2.191", "bootupTimestamp": 1619043813000, "timestamp": 1619275265167}]' - command: bgp top --what=estdTime --format=json --namespace='nxos' data-directory: tests/data/parquet/ diff --git a/tests/integration/sqcmds/panos-samples/device.yml b/tests/integration/sqcmds/panos-samples/device.yml index 814224f3ca..1b99c2b777 100644 --- a/tests/integration/sqcmds/panos-samples/device.yml +++ b/tests/integration/sqcmds/panos-samples/device.yml @@ -4,45 +4,45 @@ tests: data-directory: tests/data/parquet/ marks: device show panos output: '[{"namespace": "panos", "hostname": "server102", "model": "vm", "version": - "18.04.6 LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", - "address": "10.255.2.76", "bootupTimestamp": 1639384491.0, "timestamp": 1639476253683}, - {"namespace": "panos", "hostname": "server301", "model": "vm", "version": "18.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.241", "bootupTimestamp": 1639384491.0, "timestamp": 1639476253890}, - {"namespace": "panos", "hostname": "server101", "model": "vm", "version": "18.04.6 - LTS", "vendor": "Ubuntu", "architecture": "x86-64", "status": "alive", "address": - "10.255.2.9", "bootupTimestamp": 1639384491.0, "timestamp": 1639476253939}, {"namespace": - "panos", "hostname": "server302", "model": "vm", "version": "18.04.6 LTS", "vendor": - "Ubuntu", "architecture": "x86-64", "status": "alive", "address": "10.255.2.103", - "bootupTimestamp": 1639384491.0, "timestamp": 1639476253939}, {"namespace": "panos", - "hostname": "firewall01", "model": "PA-VM", "version": "8.0.0", "vendor": "Palo - Alto", "architecture": "", "status": "alive", "address": "10.255.2.141", "bootupTimestamp": - 1639384269.0, "timestamp": 1639476253946}, {"namespace": "panos", "hostname": - "dcedge01", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "10.255.2.250", "bootupTimestamp": 1639470236.0, - "timestamp": 1639476254621}, {"namespace": "panos", "hostname": "exit01", "model": - "VX", "version": "4.1.1", "vendor": "Cumulus", "architecture": "x86_64", "status": - "alive", "address": "10.255.2.251", "bootupTimestamp": 1639470234.0, "timestamp": - 1639476254836}, {"namespace": "panos", "hostname": "exit02", "model": "VX", "version": - "4.1.1", "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": - "10.255.2.252", "bootupTimestamp": 1639470235.0, "timestamp": 1639476254836}, - {"namespace": "panos", "hostname": "leaf02", "model": "VX", "version": "4.1.1", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "10.255.2.185", - "bootupTimestamp": 1639470235.0, "timestamp": 1639476254844}, {"namespace": "panos", - "hostname": "leaf04", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", - "architecture": "x86_64", "status": "alive", "address": "10.255.2.187", "bootupTimestamp": - 1639470235.0, "timestamp": 1639476254844}, {"namespace": "panos", "hostname": - "leaf03", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", "architecture": - "x86_64", "status": "alive", "address": "10.255.2.186", "bootupTimestamp": 1639470234.0, - "timestamp": 1639476254852}, {"namespace": "panos", "hostname": "spine01", "model": - "VX", "version": "4.1.1", "vendor": "Cumulus", "architecture": "x86_64", "status": - "alive", "address": "10.255.2.117", "bootupTimestamp": 1639470234.0, "timestamp": - 1639476254852}, {"namespace": "panos", "hostname": "spine02", "model": "VX", "version": - "4.1.1", "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": - "10.255.2.118", "bootupTimestamp": 1639470234.0, "timestamp": 1639476254852}, - {"namespace": "panos", "hostname": "leaf01", "model": "VX", "version": "4.1.1", - "vendor": "Cumulus", "architecture": "x86_64", "status": "alive", "address": "10.255.2.184", - "bootupTimestamp": 1639470234.0, "timestamp": 1639476254878}]' + "18.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": "alive", "address": + "10.255.2.76", "bootupTimestamp": 1639384491.0, "timestamp": 1639476253683}, {"namespace": + "panos", "hostname": "server301", "model": "vm", "version": "18.04.6 LTS", "vendor": + "Ubuntu", "serialNumber": "", "status": "alive", "address": "10.255.2.241", "bootupTimestamp": + 1639384491.0, "timestamp": 1639476253890}, {"namespace": "panos", "hostname": + "server101", "model": "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "serialNumber": + "", "status": "alive", "address": "10.255.2.9", "bootupTimestamp": 1639384491.0, + "timestamp": 1639476253939}, {"namespace": "panos", "hostname": "server302", "model": + "vm", "version": "18.04.6 LTS", "vendor": "Ubuntu", "serialNumber": "", "status": + "alive", "address": "10.255.2.103", "bootupTimestamp": 1639384491.0, "timestamp": + 1639476253939}, {"namespace": "panos", "hostname": "firewall01", "model": "PA-VM", + "version": "8.0.0", "vendor": "Palo Alto", "serialNumber": "unknown", "status": + "alive", "address": "10.255.2.141", "bootupTimestamp": 1639384269.0, "timestamp": + 1639476253946}, {"namespace": "panos", "hostname": "dcedge01", "model": "VX", + "version": "4.1.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", + "address": "10.255.2.250", "bootupTimestamp": 1639470236.0, "timestamp": 1639476254621}, + {"namespace": "panos", "hostname": "exit01", "model": "VX", "version": "4.1.1", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.251", + "bootupTimestamp": 1639470234.0, "timestamp": 1639476254836}, {"namespace": "panos", + "hostname": "exit02", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", + "serialNumber": "None", "status": "alive", "address": "10.255.2.252", "bootupTimestamp": + 1639470235.0, "timestamp": 1639476254836}, {"namespace": "panos", "hostname": + "leaf02", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", "serialNumber": + "None", "status": "alive", "address": "10.255.2.185", "bootupTimestamp": 1639470235.0, + "timestamp": 1639476254844}, {"namespace": "panos", "hostname": "leaf04", "model": + "VX", "version": "4.1.1", "vendor": "Cumulus", "serialNumber": "None", "status": + "alive", "address": "10.255.2.187", "bootupTimestamp": 1639470235.0, "timestamp": + 1639476254844}, {"namespace": "panos", "hostname": "leaf03", "model": "VX", "version": + "4.1.1", "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": + "10.255.2.186", "bootupTimestamp": 1639470234.0, "timestamp": 1639476254852}, + {"namespace": "panos", "hostname": "spine01", "model": "VX", "version": "4.1.1", + "vendor": "Cumulus", "serialNumber": "None", "status": "alive", "address": "10.255.2.117", + "bootupTimestamp": 1639470234.0, "timestamp": 1639476254852}, {"namespace": "panos", + "hostname": "spine02", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", + "serialNumber": "None", "status": "alive", "address": "10.255.2.118", "bootupTimestamp": + 1639470234.0, "timestamp": 1639476254852}, {"namespace": "panos", "hostname": + "leaf01", "model": "VX", "version": "4.1.1", "vendor": "Cumulus", "serialNumber": + "None", "status": "alive", "address": "10.255.2.184", "bootupTimestamp": 1639470234.0, + "timestamp": 1639476254878}]' - command: device show --columns=hostname --format=json --namespace=panos data-directory: tests/data/parquet/ marks: device show panos diff --git a/tests/integration/sqcmds/vmx-samples/all.yml b/tests/integration/sqcmds/vmx-samples/all.yml index f3dc6f0f38..637271c609 100644 --- a/tests/integration/sqcmds/vmx-samples/all.yml +++ b/tests/integration/sqcmds/vmx-samples/all.yml @@ -998,27 +998,26 @@ tests: data-directory: tests/data/parquet marks: device show junos all vmx output: '[{"namespace": "vmx", "hostname": "TOR4CRP-DGW-RT01", "model": "vmx", "version": - "18.2R1.9", "vendor": "Juniper", "architecture": "", "status": "alive", "address": - "172.26.145.154", "bootupTimestamp": 1630916460.155, "timestamp": 1631009087155, - "memory": 0, "reason": "", "uptime": 92627000, "os": "junos", "serialNumber": - "VM611B5AB57B", "active": true}, {"namespace": "vmx", "hostname": "TOR1CRP-DGW-RT01", - "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "architecture": "", + "18.2R1.9", "vendor": "Juniper", "serialNumber": "VM611B5AB57B", "status": "alive", + "address": "172.26.145.154", "bootupTimestamp": 1630916460.155, "timestamp": 1631009087155, + "architecture": "", "memory": 0, "reason": "", "uptime": 92627000, "os": "junos", + "active": true}, {"namespace": "vmx", "hostname": "TOR1CRP-DGW-RT01", "model": + "vmx", "version": "18.2R1.9", "vendor": "Juniper", "serialNumber": "VM611B595318", "status": "alive", "address": "172.26.145.153", "bootupTimestamp": 1629182498.197, - "timestamp": 1631009087197, "memory": 0, "reason": "", "uptime": 1826589000, "os": - "junos", "serialNumber": "VM611B595318", "active": true}, {"namespace": "vmx", - "hostname": "TOR1BBN-PE-RT01", "model": "vmx", "version": "18.2R1.9", "vendor": - "Juniper", "architecture": "", "status": "alive", "address": "172.26.145.155", - "bootupTimestamp": 1629185128.222, "timestamp": 1631009087222, "memory": 0, "reason": - "", "uptime": 1823959000, "os": "junos", "serialNumber": "VM611B64B3CD", "active": - true}, {"namespace": "vmx", "hostname": "CRP-ACC-SW01", "model": "vmx", "version": - "18.2R1.9", "vendor": "Juniper", "architecture": "", "status": "alive", "address": - "172.26.145.151", "bootupTimestamp": 1629105442.745, "timestamp": 1631009087745, - "memory": 0, "reason": "", "uptime": 1903645000, "os": "junos", "serialNumber": - "VM60E81CCE29", "active": true}, {"namespace": "vmx", "hostname": "CRP-DIS-SW01", - "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "architecture": "", + "timestamp": 1631009087197, "architecture": "", "memory": 0, "reason": "", "uptime": + 1826589000, "os": "junos", "active": true}, {"namespace": "vmx", "hostname": "TOR1BBN-PE-RT01", + "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "serialNumber": "VM611B64B3CD", + "status": "alive", "address": "172.26.145.155", "bootupTimestamp": 1629185128.222, + "timestamp": 1631009087222, "architecture": "", "memory": 0, "reason": "", "uptime": + 1823959000, "os": "junos", "active": true}, {"namespace": "vmx", "hostname": "CRP-ACC-SW01", + "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "serialNumber": "VM60E81CCE29", + "status": "alive", "address": "172.26.145.151", "bootupTimestamp": 1629105442.745, + "timestamp": 1631009087745, "architecture": "", "memory": 0, "reason": "", "uptime": + 1903645000, "os": "junos", "active": true}, {"namespace": "vmx", "hostname": "CRP-DIS-SW01", + "model": "vmx", "version": "18.2R1.9", "vendor": "Juniper", "serialNumber": "VM60E8243DDB", "status": "alive", "address": "172.26.145.152", "bootupTimestamp": 1629105452.912, - "timestamp": 1631009087912, "memory": 0, "reason": "", "uptime": 1903635000, "os": - "junos", "serialNumber": "VM60E8243DDB", "active": true}]' + "timestamp": 1631009087912, "architecture": "", "memory": 0, "reason": "", "uptime": + 1903635000, "os": "junos", "active": true}]' - command: evpnVni show --columns='*' --format=json --namespace=vmx data-directory: tests/data/parquet marks: evpnVni show junos all vmx From ac158cc043a2e60dc4864efe06efb6db44190857 Mon Sep 17 00:00:00 2001 From: AndryNick98 Date: Thu, 25 May 2023 16:23:22 +0200 Subject: [PATCH 03/20] added errDisabledCnt to interfaces summarize Signed-off-by: AndryNick98 --- suzieq/engines/pandas/interfaces.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/suzieq/engines/pandas/interfaces.py b/suzieq/engines/pandas/interfaces.py index 903eab8a5a..80de6f5ea9 100644 --- a/suzieq/engines/pandas/interfaces.py +++ b/suzieq/engines/pandas/interfaces.py @@ -220,6 +220,8 @@ def summarize(self, **kwargs) -> pd.DataFrame: ('ifDownCnt', 'state != "up" and adminState == "up"', 'ifname'), ('ifAdminDownCnt', 'adminState != "up"', 'ifname'), ('ifWithMultipleIPCnt', 'ipAddressList.str.len() > 1', 'ifname'), + ('errDisabledCnt', 'state == "errDisabled" and adminState == "up"', + 'ifname') ] self._summarize_on_add_list_or_count = [ From 3a598563613730b0ba78ea717797536d01899bdb Mon Sep 17 00:00:00 2001 From: AndryNick98 Date: Thu, 25 May 2023 16:54:38 +0200 Subject: [PATCH 04/20] update tests Signed-off-by: AndryNick98 --- .../sqcmds/cumulus-samples/interface.yml | 29 ++++++++++--------- .../sqcmds/eos-samples/interface.yml | 7 +++-- .../sqcmds/junos-samples/interface.yml | 6 ++-- .../sqcmds/nxos-samples/interface.yml | 6 ++-- .../sqcmds/panos-samples/interface.yml | 6 ++-- 5 files changed, 28 insertions(+), 26 deletions(-) diff --git a/tests/integration/sqcmds/cumulus-samples/interface.yml b/tests/integration/sqcmds/cumulus-samples/interface.yml index b37d17543c..fc5ccba13c 100644 --- a/tests/integration/sqcmds/cumulus-samples/interface.yml +++ b/tests/integration/sqcmds/cumulus-samples/interface.yml @@ -1439,25 +1439,26 @@ tests: marks: interface summarize output: '{"ospf-single": {"deviceCnt": 14, "interfaceCnt": 97, "devicesWithL2Cnt": 4, "devicesWithVxlanCnt": 0, "ifDownCnt": 0, "ifAdminDownCnt": 12, "ifWithMultipleIPCnt": - 0, "uniqueMTUCnt": {"9216": 44, "1500": 30, "65536": 23}, "uniqueIfTypesCnt": - 5, "speedCnt": 4, "ifChangesStat": [0, 1, 0.0], "ifPerDeviceStat": [3, 10, 9.0], - "uniqueIPv4AddrCnt": 31, "uniqueIPv6AddrCnt": 1}, "dual-evpn": {"deviceCnt": 10, - "interfaceCnt": 146, "devicesWithL2Cnt": 6, "devicesWithVxlanCnt": 12, "ifDownCnt": - 0, "ifAdminDownCnt": 4, "ifWithMultipleIPCnt": 5, "uniqueMTUCnt": 4, "uniqueIfTypesCnt": - 9, "speedCnt": 5, "ifChangesStat": [0, 7, 0.0], "ifPerDeviceStat": [4, 21, 18.0], - "uniqueIPv4AddrCnt": 48, "uniqueIPv6AddrCnt": 1}, "ospf-ibgp": {"deviceCnt": 14, - "interfaceCnt": 178, "devicesWithL2Cnt": 6, "devicesWithVxlanCnt": 14, "ifDownCnt": - 0, "ifAdminDownCnt": 4, "ifWithMultipleIPCnt": 5, "uniqueMTUCnt": 4, "uniqueIfTypesCnt": - 9, "speedCnt": 5, "ifChangesStat": [0, 5, 0.0], "ifPerDeviceStat": [4, 23, 9.5], - "uniqueIPv4AddrCnt": 60, "uniqueIPv6AddrCnt": 1}}' + 0, "errDisabledCnt": 0, "uniqueMTUCnt": {"9216": 44, "1500": 30, "65536": 23}, + "uniqueIfTypesCnt": 5, "speedCnt": 4, "ifChangesStat": [0, 1, 0.0], "ifPerDeviceStat": + [3, 10, 9.0], "uniqueIPv4AddrCnt": 31, "uniqueIPv6AddrCnt": 1}, "dual-evpn": {"deviceCnt": + 10, "interfaceCnt": 146, "devicesWithL2Cnt": 6, "devicesWithVxlanCnt": 12, "ifDownCnt": + 0, "ifAdminDownCnt": 4, "ifWithMultipleIPCnt": 5, "errDisabledCnt": 0, "uniqueMTUCnt": + 4, "uniqueIfTypesCnt": 9, "speedCnt": 5, "ifChangesStat": [0, 7, 0.0], "ifPerDeviceStat": + [4, 21, 18.0], "uniqueIPv4AddrCnt": 48, "uniqueIPv6AddrCnt": 1}, "ospf-ibgp": + {"deviceCnt": 14, "interfaceCnt": 178, "devicesWithL2Cnt": 6, "devicesWithVxlanCnt": + 14, "ifDownCnt": 0, "ifAdminDownCnt": 4, "ifWithMultipleIPCnt": 5, "errDisabledCnt": + 0, "uniqueMTUCnt": 4, "uniqueIfTypesCnt": 9, "speedCnt": 5, "ifChangesStat": [0, + 5, 0.0], "ifPerDeviceStat": [4, 23, 9.5], "uniqueIPv4AddrCnt": 60, "uniqueIPv6AddrCnt": + 1}}' - command: interface summarize --namespace=dual-evpn --format=json data-directory: tests/data/parquet/ marks: interface summarize output: '{"dual-evpn": {"deviceCnt": 10, "interfaceCnt": 146, "devicesWithL2Cnt": 6, "devicesWithVxlanCnt": 12, "ifDownCnt": 0, "ifAdminDownCnt": 4, "ifWithMultipleIPCnt": - 5, "uniqueMTUCnt": 4, "uniqueIfTypesCnt": 9, "speedCnt": 5, "ifChangesStat": [0, - 7, 0.0], "ifPerDeviceStat": [4, 21, 18.0], "uniqueIPv4AddrCnt": 48, "uniqueIPv6AddrCnt": - 1}}' + 5, "errDisabledCnt": 0, "uniqueMTUCnt": 4, "uniqueIfTypesCnt": 9, "speedCnt": + 5, "ifChangesStat": [0, 7, 0.0], "ifPerDeviceStat": [4, 21, 18.0], "uniqueIPv4AddrCnt": + 48, "uniqueIPv6AddrCnt": 1}}' - command: interface unique --format=json --namespace='ospf-single dual-evpn ospf-ibgp' data-directory: tests/data/parquet/ marks: interface unique diff --git a/tests/integration/sqcmds/eos-samples/interface.yml b/tests/integration/sqcmds/eos-samples/interface.yml index efa1c47629..8d8c03c5ec 100644 --- a/tests/integration/sqcmds/eos-samples/interface.yml +++ b/tests/integration/sqcmds/eos-samples/interface.yml @@ -609,9 +609,10 @@ tests: data-directory: tests/data/parquet/ marks: interface summarize eos output: '{"eos": {"deviceCnt": 14, "interfaceCnt": 186, "devicesWithL2Cnt": 6, "devicesWithVxlanCnt": - 6, "ifDownCnt": 1, "ifAdminDownCnt": 0, "ifWithMultipleIPCnt": 8, "uniqueMTUCnt": - 8, "uniqueIfTypesCnt": 13, "speedCnt": 5, "ifChangesStat": [0, 0, 0.0], "ifPerDeviceStat": - [5, 42, 11.5], "uniqueIPv4AddrCnt": 55, "uniqueIPv6AddrCnt": 0}}' + 6, "ifDownCnt": 1, "ifAdminDownCnt": 0, "ifWithMultipleIPCnt": 8, "errDisabledCnt": + 0, "uniqueMTUCnt": 8, "uniqueIfTypesCnt": 13, "speedCnt": 5, "ifChangesStat": + [0, 0, 0.0], "ifPerDeviceStat": [5, 42, 11.5], "uniqueIPv4AddrCnt": 55, "uniqueIPv6AddrCnt": + 0}}' - command: interface unique --format=json --namespace=eos data-directory: tests/data/parquet/ marks: interface unique eos diff --git a/tests/integration/sqcmds/junos-samples/interface.yml b/tests/integration/sqcmds/junos-samples/interface.yml index 9becb7adb1..3526c49930 100644 --- a/tests/integration/sqcmds/junos-samples/interface.yml +++ b/tests/integration/sqcmds/junos-samples/interface.yml @@ -1098,9 +1098,9 @@ tests: marks: interface summarize junos output: '{"junos": {"deviceCnt": 12, "interfaceCnt": 342, "devicesWithL2Cnt": 2, "devicesWithVxlanCnt": 0, "ifDownCnt": 7, "ifAdminDownCnt": 0, "ifWithMultipleIPCnt": - 0, "uniqueMTUCnt": 7, "uniqueIfTypesCnt": 11, "speedCnt": 5, "ifChangesStat": - [0, 0, 0.0], "ifPerDeviceStat": [3, 49, 43.0], "uniqueIPv4AddrCnt": 49, "uniqueIPv6AddrCnt": - 0}}' + 0, "errDisabledCnt": 0, "uniqueMTUCnt": 7, "uniqueIfTypesCnt": 11, "speedCnt": + 5, "ifChangesStat": [0, 0, 0.0], "ifPerDeviceStat": [3, 49, 43.0], "uniqueIPv4AddrCnt": + 49, "uniqueIPv6AddrCnt": 0}}' - command: interface unique --format=json --namespace=junos data-directory: tests/data/parquet/ marks: interface unique junos diff --git a/tests/integration/sqcmds/nxos-samples/interface.yml b/tests/integration/sqcmds/nxos-samples/interface.yml index c3e10d3109..24cd5fdf94 100644 --- a/tests/integration/sqcmds/nxos-samples/interface.yml +++ b/tests/integration/sqcmds/nxos-samples/interface.yml @@ -2220,9 +2220,9 @@ tests: marks: interface summarize nxos output: '{"nxos": {"deviceCnt": 14, "interfaceCnt": 678, "devicesWithL2Cnt": 8, "devicesWithVxlanCnt": 6, "ifDownCnt": 469, "ifAdminDownCnt": 8, "ifWithMultipleIPCnt": - 4, "uniqueMTUCnt": 5, "uniqueIfTypesCnt": 13, "speedCnt": 8, "ifChangesStat": - [0, 6, 0.0], "ifPerDeviceStat": [5, 78, 70.0], "uniqueIPv4AddrCnt": 58, "uniqueIPv6AddrCnt": - 0}}' + 4, "errDisabledCnt": 0, "uniqueMTUCnt": 5, "uniqueIfTypesCnt": 13, "speedCnt": + 8, "ifChangesStat": [0, 6, 0.0], "ifPerDeviceStat": [5, 78, 70.0], "uniqueIPv4AddrCnt": + 58, "uniqueIPv6AddrCnt": 0}}' - command: interface unique --columns=hostname --format=json --namespace=nxos data-directory: tests/data/parquet/ marks: interface unique nxos diff --git a/tests/integration/sqcmds/panos-samples/interface.yml b/tests/integration/sqcmds/panos-samples/interface.yml index ccf75615a5..293eda6763 100644 --- a/tests/integration/sqcmds/panos-samples/interface.yml +++ b/tests/integration/sqcmds/panos-samples/interface.yml @@ -567,9 +567,9 @@ tests: marks: interface summarize panos output: '{"panos": {"deviceCnt": 14, "interfaceCnt": 167, "devicesWithL2Cnt": 6, "devicesWithVxlanCnt": 14, "ifDownCnt": 0, "ifAdminDownCnt": 0, "ifWithMultipleIPCnt": - 4, "uniqueMTUCnt": 5, "uniqueIfTypesCnt": 9, "speedCnt": 4, "ifChangesStat": [0, - 5, 0.0], "ifPerDeviceStat": [5, 21, 9.5], "uniqueIPv4AddrCnt": 50, "uniqueIPv6AddrCnt": - 3}}' + 4, "errDisabledCnt": 0, "uniqueMTUCnt": 5, "uniqueIfTypesCnt": 9, "speedCnt": + 4, "ifChangesStat": [0, 5, 0.0], "ifPerDeviceStat": [5, 21, 9.5], "uniqueIPv4AddrCnt": + 50, "uniqueIPv6AddrCnt": 3}}' - command: interface unique --format=json --namespace=panos data-directory: tests/data/parquet/ marks: interface unique panos From 7c498845527e3913a59017d17f358343b96a2257 Mon Sep 17 00:00:00 2001 From: AndryNick98 Date: Wed, 31 May 2023 15:06:22 +0200 Subject: [PATCH 05/20] fix bug on setting port Signed-off-by: AndryNick98 --- suzieq/poller/controller/source/base_source.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/suzieq/poller/controller/source/base_source.py b/suzieq/poller/controller/source/base_source.py index eff1a6108a..e4efbf5c53 100644 --- a/suzieq/poller/controller/source/base_source.py +++ b/suzieq/poller/controller/source/base_source.py @@ -14,6 +14,8 @@ from suzieq.poller.controller.utils.inventory_utils import read_inventory from suzieq.shared.exceptions import InventorySourceError +_DEFAULT_PORTS = {'http': 80, 'https': 443, 'ssh': 22} + class SourceModel(InventoryPluginModel): """Model for inventory source validation @@ -233,14 +235,17 @@ def set_device(self, inventory: Dict[str, Dict]): devtype = self._device.get('devtype') for node in inventory.values(): + transport_tmp = node.get('transport') or transport or 'ssh' + ignore_known_hosts_tmp = node.get('ignore_known_hosts') node.update({ 'jump_host': node.get('jump_host') or jump_host, 'jump_host_key_file': node.get('jump_host_key_file') or jump_host_key_file, - 'ignore_known_hosts': node.get('ignore_known_hosts') - or ignore_known_hosts, - 'transport': node.get('transport') or transport or 'ssh', - 'port': node.get('port') or port or 22, + 'ignore_known_hosts': ignore_known_hosts_tmp if + ignore_known_hosts_tmp is not None else ignore_known_hosts, + 'transport': transport_tmp, + 'port': node.get('port') or port or + _DEFAULT_PORTS.get(transport_tmp), 'devtype': node.get('devtype') or devtype, 'slow_host': node.get('slow_host', '') or slow_host, 'per_cmd_auth': ((node.get('per_cmd_auth', '') != '') From ded9fa1d59100560fb46f1ed3f139b8391a47462 Mon Sep 17 00:00:00 2001 From: AndryNick98 Date: Wed, 31 May 2023 15:07:08 +0200 Subject: [PATCH 06/20] fix and updated test_devices_set Signed-off-by: AndryNick98 --- .../poller/controller/sources/test_devices.py | 99 +++++++++++++++++-- 1 file changed, 92 insertions(+), 7 deletions(-) diff --git a/tests/unit/poller/controller/sources/test_devices.py b/tests/unit/poller/controller/sources/test_devices.py index 9d763f5f3c..1dc1137ccc 100644 --- a/tests/unit/poller/controller/sources/test_devices.py +++ b/tests/unit/poller/controller/sources/test_devices.py @@ -9,14 +9,63 @@ from suzieq.shared.utils import PollerTransport -_INVENTORY = [{ +_INVENTORY = { 'native-ns.192.168.123.123.443': { 'address': '192.168.123.123', 'hostname': None, 'namespace': 'native-ns', 'port': 443, + 'transport': 'https' + }, + 'native-ns.192.168.123.164.443': + { + 'address': '192.168.123.164', + 'devtype': 'eos', + 'hostname': None, + 'namespace': 'native-ns', + 'port': 443, + 'ignore_known_hosts': False + }, + 'native-ns.192.168.123.111.443': + { + 'address': '192.168.123.111', + 'hostname': None, + 'namespace': 'native-ns', + 'transport': 'https' + }, + 'native-ns.192.168.123.110.22': + { + 'address': '192.168.123.110', + 'hostname': None, + 'namespace': 'native-ns', + 'transport': 'ssh' + }, + 'native-ns.192.168.123.143.443': + { + 'address': '192.168.123.143', + 'hostname': None, + 'namespace': 'native-ns', + 'transport': 'http', + 'port': 443 + }, + 'native-ns.192.168.123.171.22': + { + 'address': '192.168.123.171', + 'hostname': None, + 'namespace': 'native-ns', 'transport': 'http' + } +} + +_RESULT_INVENTORY = { + 'native-ns.192.168.123.123.443': + { + 'address': '192.168.123.123', + 'hostname': None, + 'namespace': 'native-ns', + 'port': 443, + 'transport': 'https' }, 'native-ns.192.168.123.164.443': { @@ -25,9 +74,42 @@ 'hostname': None, 'namespace': 'native-ns', 'port': 443, + 'transport': 'ssh', 'ignore_known_hosts': False + }, + 'native-ns.192.168.123.111.443': + { + 'address': '192.168.123.111', + 'hostname': None, + 'namespace': 'native-ns', + 'transport': 'https', + 'port': 443 + }, + 'native-ns.192.168.123.110.22': + { + 'address': '192.168.123.110', + 'hostname': None, + 'namespace': 'native-ns', + 'transport': 'ssh', + 'port': 22 + }, + 'native-ns.192.168.123.143.443': + { + 'address': '192.168.123.143', + 'hostname': None, + 'namespace': 'native-ns', + 'transport': 'http', + 'port': 443 + }, + 'native-ns.192.168.123.171.22': + { + 'address': '192.168.123.171', + 'hostname': None, + 'namespace': 'native-ns', + 'transport': 'http', + 'port': 80 } -}] +} def set_inventory_mock(self, inventory: Dict): @@ -51,8 +133,9 @@ def set_inventory_mock(self, inventory: Dict): @pytest.mark.poller_unit_tests @pytest.mark.controller_unit_tests @pytest.mark.asyncio -@pytest.mark.parametrize('inventory', _INVENTORY) -async def test_devices_set(inventory: Dict): +@pytest.mark.parametrize('inventory, result_inventory', + [(_INVENTORY, _RESULT_INVENTORY)]) +async def test_devices_set(inventory: Dict, result_inventory: Dict): """Test devices are correctly set Args: @@ -66,7 +149,9 @@ async def test_devices_set(inventory: Dict): 'jump-host-key-file': None, 'devtype': 'panos', 'transport': PollerTransport.ssh, - + 'slow_host': False, + 'per_cmd_auth': True, + 'retries-on-auth-fail': 0 } } @@ -80,14 +165,14 @@ async def test_devices_set(inventory: Dict): # emulate what the function Source.set_device should do exp_inv = {} - for key, node in inventory.items(): + for key, node in result_inventory.items(): exp_inv[key] = node.copy() for k, v in config['device'].items(): k = k.replace('-', '_') if k not in exp_inv[key]: exp_inv[key][k] = v - assert inv == exp_inv + assert inv == exp_inv, 'inventory do not match' @pytest.mark.controller_device From 4f1a1520a4b9e05caffa0db3ab7bbdb5474d171e Mon Sep 17 00:00:00 2001 From: Claudio Usai Date: Fri, 30 Jun 2023 17:44:16 +0200 Subject: [PATCH 07/20] Docs: update rest server's cert files names Signed-off-by: Claudio Usai --- docs/config_file.md | 4 ++-- docs/rate-limiting-AAA.md | 4 ++-- docs/rest-server.md | 6 +++--- samples/suzieq-cfg.yml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/config_file.md b/docs/config_file.md index 32b5f235c3..f8ea913573 100644 --- a/docs/config_file.md +++ b/docs/config_file.md @@ -43,8 +43,8 @@ coalescer: | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |:-------------------------------- | ------------------- | | data-directory | The directory where the poller stores the data collected from the network | - | yes | | temp-directory | Where SuzieQ stores temporary data | /tmp/.suzieq/ | no | -| rest.rest_certfile | certificate for the REST server | - | no | -| rest.rest_keyfile | keyfile for the REST server | - | no | +| rest.rest-certfile | certificate for the REST server | - | no | +| rest.rest-keyfile | keyfile for the REST server | - | no | | rest.API_KEY | API key for the REST server | - | yes (if using rest) | | rest.address | IP address of the REST server. | 127.0.0.1 | no | | rest.port | port of the REST server | 80 | no | diff --git a/docs/rate-limiting-AAA.md b/docs/rate-limiting-AAA.md index 75ae612699..907c06d39b 100644 --- a/docs/rate-limiting-AAA.md +++ b/docs/rate-limiting-AAA.md @@ -20,8 +20,8 @@ rest: # The certificates listed below are provided purely to get started, In any # secure deployment, these must be generated specifically for the site and # these lines uncommented and containing the location of the site-specific file. -# rest_certfile: /suzieq/cert.pem -# rest_keyfile: /suzieq/key.pem +# rest-certfile: /suzieq/cert.pem +# rest-keyfile: /suzieq/key.pem # API_KEY: 496157e6e869ef7f3d6ecb24a6f6d847b224ee4f logging-level: WARNING diff --git a/docs/rest-server.md b/docs/rest-server.md index b200cf99a9..1c98ba951e 100644 --- a/docs/rest-server.md +++ b/docs/rest-server.md @@ -52,12 +52,12 @@ openssl rand -hex 20 ## Configure SSL Key and Certificate -It is possible to secure connections to the REST server via SSL. You can specify the full path of your SSL key and certificate via the ```rest_keyfile``` and ```rest_certfile``` variables under the `rest` section of the suzieq config file, typically at `~/.suzieq/suzieq-cfg.yml`. Here is an example of a config file with these two parameters defined: +It is possible to secure connections to the REST server via SSL. You can specify the full path of your SSL key and certificate via the ```rest-keyfile``` and ```rest-certfile``` variables under the `rest` section of the suzieq config file, typically at `~/.suzieq/suzieq-cfg.yml`. Here is an example of a config file with these two parameters defined: ```yaml rest: - rest_certfile: /home/suzieq/cert.pem - rest_keyfile: /home/suzieq/cert.pem + rest-certfile: /home/suzieq/cert.pem + rest-keyfile: /home/suzieq/cert.pem ``` For more details about the configuration file, check the [configuration](config_file.md) file documentation. diff --git a/samples/suzieq-cfg.yml b/samples/suzieq-cfg.yml index 4ad0369baa..8e22f31f04 100644 --- a/samples/suzieq-cfg.yml +++ b/samples/suzieq-cfg.yml @@ -6,8 +6,8 @@ rest: # The certificates listed below are provided purely to get started, In any # secure deployment, these must be generated specifically for the site and # these lines uncommented and containing the location of the site-specific file. - # rest_certfile: /secrets/cert.pem - # rest_keyfile: /secrets/key.pem + # rest-certfile: /secrets/cert.pem + # rest-keyfile: /secrets/key.pem # API_KEY: 496157e6e869ef7f3d6ecb24a6f6d847b224ee4f logging-level: WARNING From c68f2cd7ae4b5c8de710834a7788cc49248cc543 Mon Sep 17 00:00:00 2001 From: Claudio Usai Date: Fri, 30 Jun 2023 17:45:40 +0200 Subject: [PATCH 08/20] rest: remove default behavior of loading certs included in the package Signed-off-by: Claudio Usai --- suzieq/restServer/query.py | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/suzieq/restServer/query.py b/suzieq/restServer/query.py index a6b6802779..0ba5dffa95 100755 --- a/suzieq/restServer/query.py +++ b/suzieq/restServer/query.py @@ -15,9 +15,9 @@ from fastapi.responses import Response from fastapi.security.api_key import APIKeyHeader, APIKeyQuery from starlette import status + from suzieq.shared.exceptions import UserQueryError -from suzieq.shared.utils import (DATA_FORMATS, get_log_params, - get_sq_install_dir, load_sq_config, +from suzieq.shared.utils import (DATA_FORMATS, get_log_params, load_sq_config, print_version, sq_get_config_file) from suzieq.sqobjects import get_sqobject @@ -80,19 +80,16 @@ def get_api_key(api_key_query: str = Security(api_key_query), def get_cert_files(cfg): - sqdir = get_sq_install_dir() - ssl_certfile = cfg.get('rest', {}) \ - .get('rest-certfile', f'{sqdir}/config/etc/cert.pem') + ssl_certfile = cfg.get('rest', {}).get('rest-certfile') - ssl_keyfile = cfg.get('rest', {}) \ - .get('rest-keyfile', f'{sqdir}/config/etc/key.pem') + ssl_keyfile = cfg.get('rest', {}).get('rest-keyfile') if not os.path.isfile(ssl_certfile): - print(f"ERROR: Missing certificate file: {ssl_certfile}") + print(f"ERROR: Missing SSL certificate file: {ssl_certfile}") sys.exit(1) if not os.path.isfile(ssl_keyfile): - print(f"ERROR: Missing certificate file: {ssl_keyfile}") + print(f"ERROR: Missing SSL key file: {ssl_keyfile}") sys.exit(1) return ssl_keyfile, ssl_certfile From e1b51886bbdc60da3b452946ba0c1fa69b3406e3 Mon Sep 17 00:00:00 2001 From: Claudio Usai Date: Fri, 30 Jun 2023 18:20:35 +0200 Subject: [PATCH 09/20] rest: udate tests for new config load behavior Signed-off-by: Claudio Usai --- tests/integration/test_rest.py | 35 ++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/tests/integration/test_rest.py b/tests/integration/test_rest.py index 20f04a4492..3ada715744 100644 --- a/tests/integration/test_rest.py +++ b/tests/integration/test_rest.py @@ -5,6 +5,7 @@ from dataclasses import dataclass from typing import Dict, List +import yaml import pandas as pd import pytest from fastapi import FastAPI @@ -284,12 +285,12 @@ def _validate_namespace_output(json_out, service, verb, _): return # summarize output has namespace as a key if service in ["bgp", "evpnVni", "devconfig", "mlag"]: - assert(set(json_out.keys()) == set(['ospf-ibgp'])) + assert (set(json_out.keys()) == set(['ospf-ibgp'])) else: assert (set(json_out.keys()) == set(['ospf-ibgp', 'ospf-single'])) else: if service in ["bgp", "evpnVni", "devconfig", "mlag"]: - assert({x['namespace'] for x in json_out} == set(['ospf-ibgp'])) + assert ({x['namespace'] for x in json_out} == set(['ospf-ibgp'])) else: assert ({x['namespace'] for x in json_out} == set(['ospf-ibgp', 'ospf-single'])) @@ -455,7 +456,7 @@ def get(endpoint, service, verb, args): response.content.decode('utf-8'))) if ((c_v_f not in GOOD_FILTER_EMPTY_RESULT_FILTER) and (c_all not in GOOD_FILTER_EMPTY_RESULT_FILTER)): - assert(not df.empty) + assert (not df.empty) else: assert df.empty else: @@ -474,7 +475,7 @@ def get(endpoint, service, verb, args): response.json(), service, verb, args) else: df = pd.DataFrame(json.loads(response.content.decode('utf-8'))) - assert(not df.empty) + assert (not df.empty) else: df = pd.DataFrame(json.loads(response.content.decode('utf-8'))) assert df.empty @@ -627,8 +628,8 @@ def test_rest_server(): f'./suzieq/restServer/sq_rest_server.py -c {cfgfile} --no-https' .split()) sleep(5) - assert(server.pid) - assert(requests.get('http://localhost:8000/api/docs')) + assert (server.pid) + assert (requests.get('http://localhost:8000/api/docs')) server.kill() sleep(5) @@ -636,8 +637,26 @@ def test_rest_server(): server = subprocess.Popen( f'./suzieq/restServer/sq_rest_server.py -c {cfgfile} '.split()) sleep(5) - assert(server.pid) - assert(requests.get('https://localhost:8000/api/docs', verify=False)) + with pytest.raises(requests.exceptions.ConnectionError): + requests.get('https://localhost:8000/api/docs', verify=False) + server.kill() + sleep(5) + + # update config file to provide dummy SSL cert files + with open(cfgfile, 'r+') as f: + cfg = yaml.load(f, Loader=yaml.FullLoader) + cfg['rest']['rest-certfile'] = './suzieq/config/etc/cert.pem' + cfg['rest']['rest-keyfile'] = './suzieq/config/etc/key.pem' + f.seek(0) + f.write(yaml.dump(cfg)) + f.truncate() + + # pylint: disable=consider-using-with + server = subprocess.Popen( + f'./suzieq/restServer/sq_rest_server.py -c {cfgfile} '.split()) + sleep(5) + assert (server.pid) + assert (requests.get('https://localhost:8000/api/docs', verify=False)) server.kill() sleep(5) From 4028cda47e6d46ff65a9f15f20ada41712d4a672 Mon Sep 17 00:00:00 2001 From: LucaNicosia Date: Wed, 5 Jul 2023 16:31:07 +0200 Subject: [PATCH 10/20] docs: add warning about sq-poller in background Signed-off-by: LucaNicosia --- docs/poller.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/poller.md b/docs/poller.md index abb064f3e1..15d80d6e5c 100644 --- a/docs/poller.md +++ b/docs/poller.md @@ -20,9 +20,13 @@ The inventory file format is covered in the [inventory page](./inventory.md). To monitor the status of the poller, you can look at the log files created (by default) in the `/tmp` directory. All the aspects related to the creation/update of the inventory are logged into `sq-poller-controller.log`, while the each worker logs into `sq-poller-.log` where `x` is the worker id. +!!! warning + If you want to start the poller process as background task, remember to redirect the stdout to `/dev/null` otherwise the poller might crash when it tries to write something on the terminal.
+ `sq-poller -I inventory.yml >/dev/null &` + ## Polling Modes -SuzieQ poller can run in either **continuous mode** or **snapshot mode**. In continuous mode, the poller runs forever, gathering data at the specified period from the supplied inventory file. Alternately, it can run in snapshot mode where it gathers the data just once and stops once it has gathered data from all the nodes in the inventory file. If we cannot gather data from a node, we do not persist in gathering data in the snapshot mode. +SuzieQ poller can run in either **continuous mode** or **snapshot mode**. In continuous mode, the poller runs forever, gathering data at the specified period from the supplied inventory file. Alternately, it can run in snapshot mode where it gathers the data just once and stops once it has gathered data from all the nodes in the inventory file. If we cannot gather data from a node, we do not persist in gathering data in the snapshot mode. The default mode is the continuous mode. To use the snapshot mode, add the option `--run-once=update`. @@ -92,7 +96,7 @@ have production versions of that code. ## Polling Period -When polling in continuous mode, SuzieQ uses the default period specified in the suzieq-cfg.yml [configuration file](./config_file.md) (you can change the default location via the `-c` option when launching the poller). +When polling in continuous mode, SuzieQ uses the default period specified in the suzieq-cfg.yml [configuration file](./config_file.md) (you can change the default location via the `-c` option when launching the poller). Independent of this, you can change the polling period of any individual service by modifying (or adding) the `period: