Skip to content
Snippets Groups Projects
Commit 7bb1a674 authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Fix regressions du to interface mac change

- mac is now a column
- the id of the input field changed from #mac_address to #mac

JIRA INFRA-639
parent 09438d30
No related branches found
No related tags found
No related merge requests found
......@@ -74,13 +74,13 @@ $(document).ready(function() {
$.getJSON(
$SCRIPT_ROOT + "/network/_generate_random_mac",
function(json) {
$("#mac_address").val(json.data.mac);
$("#mac_address").prop("readonly", true);
$("#mac").val(json.data.mac);
$("#mac").prop("readonly", true);
}
);
} else {
$("#mac_address").val("");
$("#mac_address").prop("readonly", false);
$("#mac").val("");
$("#mac").prop("readonly", false);
}
}
......
......@@ -90,7 +90,7 @@ def trigger_vm_creation(name, interface, memory, cores):
f"vcpus={cores}",
f"vlan_name={interface.network.vlan_name}",
f"vlan_id={interface.network.vlan_id}",
f"mac={interface.mac.address}",
f"mac={interface.mac}",
]
if interface.is_ioc:
task_name = "trigger_vioc_creation"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment