Skip to content

Commit

Permalink
Jsons till 9.9 version
Browse files Browse the repository at this point in the history
  • Loading branch information
mmanwani07 committed Oct 30, 2024
1 parent d9b1a1b commit f2242d5
Show file tree
Hide file tree
Showing 5 changed files with 659,694 additions and 1 deletion.
11 changes: 10 additions & 1 deletion components/create_swagger_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
'SummaryHeatHeatItem': ['event_type', 'lin', 'node'],
'SummaryProtocolProtocolItem': ['node'],
'SummarySystemSystemItem': ['iscsi'],
'QuotaQuota': ['description', 'labels']
'QuotaQuota': ['description', 'labels'],
}

MISSING_POST_RESPONSE = {
Expand Down Expand Up @@ -1385,6 +1385,15 @@ def resolve_schema_issues(definition_name, isi_schema,
(prop_name == 'target_protocol_write_latency_usec')):
props[prop_name]['maximum'] = 1.79769e+308
log.warning("Removing Infinity maximum: {}, {}".format(definition_name, prop_name))
elif prop_name == 'target_protocol_write_latency_usec':
props['target_protocol_write_latency_usec']['maximum'] = 1.79769e+308
log.warning("Removing Infinity maximum: {}".format(definition_name))
elif prop_name == 'impact_multiplier':
props["impact_multiplier"]["properties"]["impact_high"]['maximum'] = 1.79769e+308
props["impact_multiplier"]["properties"]["impact_low"]['maximum'] = 1.79769e+308
props["impact_multiplier"]["properties"]["impact_unset"]['maximum'] = 1.79769e+308
props["impact_multiplier"]["properties"]["impact_medium"]['maximum'] = 1.79769e+308
log.warning("Removing Infinity maximum: {}".format(definition_name))
if (definition_name.find('PerformanceSettingsSettings') != -1):
if ((prop_name == 'target_protocol_read_latency_usec') or
(prop_name == 'target_protocol_write_latency_usec')):
Expand Down
Loading

0 comments on commit f2242d5

Please sign in to comment.