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

Allow referring to a capture via capture.<key> #109

@rhrazdil

Description

@rhrazdil

It may be more user-friendly and less error prone to refer to captured state via capture identity, instead of having to use a pipe.

Consider the following nmpolicy snippet:

spec:
  capture:
    ethernets: interfaces.type=="ethernet"
    ethernets-up: capture.ethernets | interfaces.state=="up"

It would be nice if the pipe wasn't required to access a captured state, and allow referring to it directly by a path, like so:

spec:
  capture:
    ethernets: interfaces.type=="ethernet"
    ethernets-up: capture.ethernets.interfaces.state=="up"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions