the function 'schema_to_parameters_and_properties'
In https://github.com/openstack/heat/blo...,
the function schema_to_parameters_and_properties
does not support nested schema resource. Like
properties_schema = {
FIXED_IPS: properties.Schema(
properties.Schema.LIST,
schema=properties.Schema(
properties.Schema.MAP,
schema={
FIXED_IP_SUBNET_ID: properties.Schema(
properties.Schema.STRING,
),
FIXED_IP_SUBNET: properties.Schema(
properties.Schema.STRING,
),
FIXED_IP_IP_ADDRESS: properties.Schema(
properties.Schema.STRING,
),
},
),
default=[]
)
}
That is my test version, things is simplified. But I can not convert the schema in correct format, because it does not care the nested schema.
So I think I may get wrong functions to look at, I am wondering how openstack solves this problem.
Thanks
Sihan