From 5f1f41b97516327b81e188b2b53c5c4521bec526 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 8 Aug 2017 15:51:27 -0400 Subject: [PATCH] Add serial and model number to the id attributes Lay groundwork for pulling this sort of data in on discovery. The plan is that *if* serial numbers will be used as a cue for discovery, it would be in the context of a nodediscover command. --- confluent_server/confluent/config/attributes.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/confluent_server/confluent/config/attributes.py b/confluent_server/confluent/config/attributes.py index 27a70c06..96204621 100644 --- a/confluent_server/confluent/config/attributes.py +++ b/confluent_server/confluent/config/attributes.py @@ -293,9 +293,15 @@ node = { #IBM Flex)''', # 'appliesto': ['system'], # }, -# 'id.serial': { -# 'description': 'The manufacturer serial number of node', -# }, + 'id.model': { + 'description': 'The model number of a node. In scenarios where there ' + 'is both a name and a model number, it is generally ' + 'expected that this would be the generally more ' + 'specific model number.' + }, + 'id.serial': { + 'description': 'The manufacturer serial number of node', + }, 'id.uuid': { 'description': 'The UUID of the node as presented in DMI.', },