From 2d58741f15b2c1872e7b6fd96982d0fa7e18ccd8 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 4 Dec 2020 12:42:14 -0500 Subject: [PATCH] Fix PXE/HTTP boot UUID and Mac case sensitivity Like the SSDP code, PXE too had case sensitivity issues --- confluent_server/confluent/discovery/protocols/pxe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/confluent_server/confluent/discovery/protocols/pxe.py b/confluent_server/confluent/discovery/protocols/pxe.py index 93b16c35..791b508b 100644 --- a/confluent_server/confluent/discovery/protocols/pxe.py +++ b/confluent_server/confluent/discovery/protocols/pxe.py @@ -423,9 +423,9 @@ def remap_nodes(nodeattribs, configmanager): for node in updates: for attrib in updates[node]: if attrib == 'id.uuid': - uuidmap[updates[node][attrib]['value']] = node + uuidmap[updates[node][attrib]['value'].lower()] = node elif 'hwaddr' in attrib: - macmap[updates[node][attrib]['value']] = node + macmap[updates[node][attrib]['value'].lower()] = node staticassigns = {}