We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a62edc commit 7cb1589Copy full SHA for 7cb1589
plugins/inventory/nb_inventory.py
@@ -248,8 +248,11 @@
248
- role: network-edge-router
249
device_query_filters:
250
- has_primary_ip: 'true'
251
+ - tenant__n: internal
252
253
# has_primary_ip is a useful way to filter out patch panels and other passive devices
254
+# Adding '__n' to a field searches for the negation of the value.
255
+# The above searches for devices that are NOT "tenant = internal"
256
257
# Query filters are passed directly as an argument to the fetching queries.
258
# You can repeat tags in the query string.
0 commit comments