fix documentation
we use '==' not '=' in query depth instead of limit Change-Id: Iac056ddd580ca008e141f2a3f517bcebdea3748c
This commit is contained in:
parent
4e44ea6eeb
commit
0b7c37fbe0
@ -144,7 +144,7 @@ query expression
|
||||
query := expression
|
||||
expression := simple_expression|complex_expression
|
||||
simple_expression := {simple_operator: {field_name: value}}
|
||||
simple_operator := = | != | < | <= | > | >=
|
||||
simple_operator := == | != | < | <= | > | >=
|
||||
complex_expression := {complex_operator: [expression, expression, ...]} | not_expression
|
||||
not_expression := {not: expression}
|
||||
complex_operator := and | or
|
||||
@ -165,26 +165,26 @@ Query example
|
||||
{
|
||||
"or":
|
||||
[
|
||||
"=":
|
||||
"==":
|
||||
{
|
||||
"vitrage_type":"host"
|
||||
},
|
||||
"=":
|
||||
"==":
|
||||
{
|
||||
"vitrage_type":"instance"
|
||||
},
|
||||
"=":
|
||||
"==":
|
||||
{
|
||||
"vitrage_type":"zone"
|
||||
},
|
||||
"=":
|
||||
"==":
|
||||
{
|
||||
"vitrage_type":"node"
|
||||
}
|
||||
]
|
||||
}
|
||||
"graph_type" : "tree"
|
||||
limit : 4
|
||||
"depth" : 4
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user