Object filtering

The filtering system allows to display only a subset of the network in the graphical view. A filter is a combination of values (or regular expressions) for the properties of an object.

If the properties of an object does not match all properties of the filter, the object will be undisplayed when the filter is selected.

Filters can be created in objects/object_filtering.

Node filtering

test
This filter enforces the following conditions:
  • name: node.* — this regular expression matches all nodes which name starts with node.
  • type: Router|Switch — matches routers and switches (nodes which type is either Router, or Switch.
  • vendor: Cisco — for this property, the regular expression box is not ticked. This means the value must be exactly Cisco.

In summary, all Cisco routers or switches which name starts with node will match those conditions. All others will be filtered (that is, undisplayed from the graphical view).

備註

All properties which field is left empty are simply ignored.

Apply a filter

Filters are applied from the geographical or logical view. You can switch between filters with the drop-down list in the top-right corner of the screen (framed in red below).

Apply a filter

Example

Initial network

In this first example, we consider the following network:

test

Unfiltered, this network results in the following view:

test

Filter all nodes outside of France or Spain

We add a new condition on the Location of a node to exclude all nodes that are located outside of France or spain:

test

This result in the following view:

test

Restrict to nodes with IOS-XE or IOS-XR

Finally, out of the remaining nodes, we exclude all nodes which operating system is not IOS-XE or IOS-XR:

test

This result in the following view:

test

備註

Using the filtering system is important because network automation in eNMS is done graphically, by selecting nodes in the graphical view. See the automation documentation for more information.