From 0f20c709c0fd232627e95d2c48ffdde70338d882 Mon Sep 17 00:00:00 2001 From: Markus Hilger Date: Thu, 2 Jul 2026 18:38:00 +0200 Subject: [PATCH] Add more attribute documentation - deployment.lock: add missing 'unlocked' (messages.py's InputDeploymentLock/DeploymentLock already accept and persist it). - hardwaremanagement.method: correct stale "ipmi is used if not specified" claim. Was changed to null in c14165e2bde73917d21a6631a704c5020082f13d. - snmp.privacyprotocol: document that unset is treated as 'des' (snmputil.py explicitly groups None with 'des'). --- 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 ba01ae6e..d2763012 100644 --- a/confluent_server/confluent/config/attributes.py +++ b/confluent_server/confluent/config/attributes.py @@ -222,8 +222,11 @@ node = { 'description': ('Indicates whether deployment actions should be impeded. ' 'If locked, it indicates that a pending profile should not be applied. ' 'If "autolock", then locked will be set when current pending deployment completes. ' + 'If unset or "unlocked", deployment is not impeded. ' + 'Must be manipulated through the {node}/deployment/lock API rather ' + 'than set directly as a normal attribute.' ), - 'validlist': ('autolock', 'locked') + 'validlist': ('autolock', 'locked', 'unlocked') }, 'deployment.pendingprofile': { 'description': ('An OS profile that is pending deployment. This indicates to ' @@ -417,7 +420,9 @@ node = { 'hardwaremanagement.method': { 'description': 'The method used to perform operations such as power ' 'control, get sensor data, get inventory, and so on. ' - 'ipmi is used if not specified.', + 'Must be actively set; if unspecified, hardware ' + 'management operations are not implemented for the ' + 'node (formerly this defaulted to ipmi).', 'validvalues': ('affluent', 'cnos', 'cooltera', 'deltapdu', 'eatonpdu', 'enclosure', 'enlogic', 'enos', 'geist', 'ipmi', 'null', 'nxos', 'pdu', 'proxmox', 'raritan', @@ -613,7 +618,8 @@ node = { 'step up to SNMPv3'), }, 'snmp.privacyprotocol': { - 'description': 'The privacy protocol to use for SNMPv3', + 'description': 'The privacy protocol to use for SNMPv3. If unset, ' + '"des" is assumed.', 'validvalues': ('aes', 'des'), }, # 'secret.snmplocalizedkey': {