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:
1 changed files with 2 additions and 0 deletions
@@ -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
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.