Skip to content

Extend CelNetworkCompilerLibrary and CelNetworkRuntimeLibrary with the net.CIDR type variable, the 7 CIDR functions (cidr, isCIDR, containsIP, containsCIDR, masked, isMask, and prefixLength), and the cidr_ip and cidr_to_string overloads on ip and string. - #1484

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1024996979

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Extend CelNetworkCompilerLibrary and CelNetworkRuntimeLibrary with the net.CIDR type variable, the 7 CIDR functions (cidr, isCIDR, containsIP, containsCIDR, masked, isMask, and prefixLength), and the cidr_ip and cidr_to_string overloads on ip and string.

Invalid CIDR string conversions surface CelBadFormatException (CelErrorCode.BAD_FORMAT) consistently across the Legacy, Planner, and Lite runtimes.

…h the `net.CIDR` type variable, the 7 CIDR functions (`cidr`, `isCIDR`, `containsIP`, `containsCIDR`, `masked`, `isMask`, and `prefixLength`), and the `cidr_ip` and `cidr_to_string` overloads on `ip` and `string`.

Invalid CIDR string conversions surface `CelBadFormatException` (`CelErrorCode.BAD_FORMAT`) consistently across the Legacy, Planner, and Lite runtimes.

PiperOrigin-RevId: 1024996979
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant