Input, loopback and VTI saves with nothing to change send an empty batch and return 500

Open
#1,638 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@xTITUSMAXIMUSX is already working on this.

Since Nov 25, 2026.

Assessment

This issue has not been assessed yet.

Description

bug patch needed UI/UX

Creating an input or VTI interface with only a name, or saving an unchanged input, loopback or VTI interface that has no other leaves, posts an empty batch; execute_batch raises ValueError and the screen shows a 500. The input and VTI builders have no op for the bare tag node (bridge and wwan have set_interface), and the clients should skip the call when no op changed.

Where: backend/vyos_builders/interfaces/{input,vti}.py; frontend/src/lib/api/{input,loopback,vti}.ts (createInterface, updateInterface)
Version: 1.4 and 1.5
fingerprint: interfaces:input_loopback_vti_empty_batch:both

Dominant language
TypeScript
Stars
504
Forks
69
Avg merge
55m
Merged PRs (30d)
205

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Community-VyProjects/VyManager

All issues in Community-VyProjects/VyManager

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.