From a0ea8eeae38b892789e65b25066b1fb748664cb6 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 11 Jul 2019 15:36:31 -0400 Subject: [PATCH] Fix nodediscover support of bmc_gateway The command expected spaces, but documentation said underscore, support both old csvs and doc compliant csvs. --- confluent_client/bin/nodediscover | 2 ++ 1 file changed, 2 insertions(+) diff --git a/confluent_client/bin/nodediscover b/confluent_client/bin/nodediscover index d41d5f38..b7301623 100755 --- a/confluent_client/bin/nodediscover +++ b/confluent_client/bin/nodediscover @@ -92,6 +92,8 @@ def process_header(header): fields.append('hardwaremanagement.manager') elif datum in ('bmc gateway', 'xcc gateway', 'imm gateway'): fields.append('net.bmc.ipv4_gateway') + elif datum in ('bmc_gateway', 'xcc_gateway', 'imm_gateway'): + fields.append('net.bmc.ipv4_gateway') elif datum in ('bmcuser', 'username', 'user'): fields.append('secret.hardwaremanagementuser') elif datum in ('bmcpass', 'password', 'pass'):