From dc6d688c96c13e262b1ef7247bb5964f9749fba3 Mon Sep 17 00:00:00 2001 From: Olivier Lambert Date: Wed, 28 Feb 2018 16:43:48 +0100 Subject: [PATCH] feat(filter): add number comparison --- docs/search.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/search.md b/docs/search.md index a8a2ae683..dea6f7515 100644 --- a/docs/search.md +++ b/docs/search.md @@ -95,6 +95,15 @@ Postfix the name of a property by an question mark `?`: - `auto_poweron?` - `high_availability?` +#### Number comparison + +You can use the search field/filter with number comparison: + +* `snapshots:length:>2` (to display VMs with more than 2 snapshots) +* `$VBDs:length:>=4` (VMs with more 4 or more disks attached) +* `VIFs:length:>=2` (number of network interfaces) + + ## Available properties No documentation on this side either, but you can see all objects and their properties using `xo-cli --list-objects`.