Patch the neutron.network.l2_adjacency type with no hints

The attribute is a boolean, but the code does not have a single hint
available about that.
Change-Id: I9c8fb00350e13c61ab7f93e67c1b5502a0c9633b
Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com>
This commit is contained in:
Artem Goncharov
2025年10月14日 09:17:40 +02:00
parent e962f0fa5a
commit 66eb1ee734

View File

@@ -1169,6 +1169,8 @@ class NeutronGenerator(OpenStackServerSourceBase):
js_schema.update({"type": "integer"})
elif resource_key == "agent" and field == "configurations":
js_schema.update({"type": "object"})
elif field == "l2_adjacency":
js_schema.update({"type": "boolean"})
if data.get(f"allow_{method.lower()}", False):
send_props[field] = js_schema
Reference in New Issue
openstack/codegenerator
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.