Skip to content

Console: a bare address typed as a rule's peer is drawn as a CIDR and refused only at save #247

Open

Description

@avi-papineni

In the policy editor, a rule's peer field takes a bare address such as fd00::1 and draws it as a CIDR chip. Saving the rule is then refused by the control plane:

address is not a valid CIDR (fd00::1)

The console has accepted, and drawn as healthy, text the control plane refuses. The operator learns it only at save, on a chip that looked fine.

One of two things should hold. Either the field reads a bare address as its single-host prefix (fd00::1/128, 10.0.0.5/32) and sends that, or it refuses a bare address when it is typed, with the reason and "The text in the field was not added." like other refused text. The same question applies to the address-group dialog, which splits on commas and whitespace and leaves validation to the control plane.

Seen with an IPv6 address; a bare IPv4 address was not tried and should be checked alongside.


Generated by Claude Code

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions