Comment 4 for bug 1819737

Revision history for this message
Luca Miccini (lmiccini2) wrote :

Comparing the contents of the content of:

'template = yaml.safe_load(contents)'

'TenantInterfaceRoutes': {'default': [], 'description': "Routes for the tenant network traffic. JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}] Unless the default is changed, the parameter is automatically resolved from the subnet host_routes attribute.\n", 'type': 'json'},

to:

'template = replace_links_in_template(template, link_replacement)'

'TenantInterfaceRoutes': {'default': <map object at 0x7fa165c1b898>, 'description': "Routes for the tenant network traffic. JSON route e.g. [{'destination':'10.0.0.0/16', 'nexthop':'10.0.0.1'}] Unless the default is changed, the parameter is automatically resolved from the subnet host_routes attribute.\n", 'type': 'json'},

Issue seems to be happening during 'replace_links_in_template'.