- repl_dict = {'IP': mininet_ip}
- repl_dict['NAME'] = delegated_name
- variables['update_delegated_xml'] = update_xml_templ.substitute(repl_dict)
- variables['remove_delegated_xml'] = remove_xml_templ.substitute(repl_dict)
- repl_dict['NAME'] = instantiated_name
- variables['add_instantiated_xml'] = add_xml_templ.substitute(repl_dict)
- variables['update_instantiated_xml'] = update_xml_templ.substitute(repl_dict)
- variables['remove_instantiated_xml'] = remove_xml_templ.substitute(repl_dict)
+ repl_dict = {"IP": mininet_ip}
+ repl_dict["NAME"] = delegated_name
+ variables["update_delegated_xml"] = update_xml_templ.substitute(repl_dict)
+ variables["remove_delegated_xml"] = remove_xml_templ.substitute(repl_dict)
+ repl_dict["NAME"] = instantiated_name
+ variables["add_instantiated_xml"] = add_xml_templ.substitute(repl_dict)
+ variables["update_instantiated_xml"] = update_xml_templ.substitute(repl_dict)
+ variables["remove_instantiated_xml"] = remove_xml_templ.substitute(repl_dict)