Skip to content

Add use of default udp monitor #939

@clnic

Description

@clnic

Is your feature request related to a problem? Please describe.

When I try to use the default udp monitor in a AS3 body I have an error. It works with the default tcp, icmp, http and https monitor

{ "id": "per-app-declaration", "schemaVersion": "3.50.0", "VS-CNI-UDP": { "class": "Application", "VS-CNI-UDP": { "class": "Service_L4", "virtualPort": 123, "persistenceMethods": [], "layer4": "udp", "virtualAddresses": [ "192.168.0.20" ], "pool": "pool-CNI-UDP" }, "pool-CNI-UDP": { "class": "Pool", "loadBalancingMode": "least-connections-member", "monitors": [ "udp" ], "minimumMonitors": "all", "members": [ { "servicePort": 123, "serverAddresses": [ "192.0.1.30" ] } ] } } }

Response
{ "code": 422, "errors": [ "/VS-CNI-UDP/pool-CNI-UDP/monitors/0: should be equal to one of the allowed values [\"http\",\"https\",\"http2\",\"icmp\",\"tcp\",\"tcp-half-open\"]" ], "message": "declaration is invalid" }

If I want to use a udp monitor I have to create a custom udp monitor.

Describe the solution you'd like

I want to be able to use the default udp monitor instead of having to create a custom one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestuntriagedIssue needs to be reviewed for validity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions