diff --git a/os_net_config/schema.yaml b/os_net_config/schema.yaml index 6bb7ac63..f8f9767c 100644 --- a/os_net_config/schema.yaml +++ b/os_net_config/schema.yaml @@ -179,7 +179,7 @@ definitions: type: array items: $ref: "#/definitions/route" - minItems: 1 + minItems: 0 route_rule: type: object diff --git a/releasenotes/notes/allow-list-of-routes-to-be-empty-323690796760630d.yaml b/releasenotes/notes/allow-list-of-routes-to-be-empty-323690796760630d.yaml new file mode 100644 index 00000000..9816cba7 --- /dev/null +++ b/releasenotes/notes/allow-list-of-routes-to-be-empty-323690796760630d.yaml @@ -0,0 +1,6 @@ +--- +other: + - | + The schema now allow the ``routes`` option to be an empty list. (Previously + at least one route was was required.) Bug: `1792992 + _`.