Skip to content

Resouce pool exclude #494

Open
Open

Description

@KIvanov-1984

Hello, we have resource pool "POWERED OFF" in vSphere, how can we exclude this pool from sync?

Activity

  1. bb-Ricardo commented on Mar 9, 2026

    @bb-Ricardo
    Owner

    Hi, this is currently not possible. There is no detection of resource pool implemented.

  2. semx commented on Oct 10, 2026

    @semx
    Collaborator

    Implemented in development (#589), in the image ghcr.io/bb-ricardo/netbox-sync:development. Two filters: vm_exclude_by_resource_pool_filter and vm_include_by_resource_pool_filter, regexes like vm_exclude_filter. They are matched against the resource pool path (Parent/Child, root pool left out) and against the plain pool name; a VM is skipped when either matches the exclude filter, and kept by the include filter when either matches. A VM in the root pool is judged by the name Resources.

    Could you try it against your vCenter? Run with -n first, then a real run and a second one (the second should change nothing in NetBox), and say what came out, here or in the call for testing: #592. Nothing changes unless the option is set, so pulling the image is safe. It goes into 1.10.0, the next feature release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions