This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Description
In a scenario where user would like to configure for example all ethernet NICs that are not veth, nmpolicy should
implement has or exists operator.
Currently, the python implementation of nmstatectl outputs type: veth for veth interfaces, but future rust implementation
outputs
type: ethernet
veth:
peer: name
So for filtering ethernet interfaces that are not veths, we'll need to check for existence of veth key.