From 5fff5c164f17e06da850fe16ffe4a4c69925ac16 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Mon, 20 Aug 2007 20:24:46 +0000 Subject: [PATCH] - allow SessionAuth() --- PLC/Methods/BootUpdateNode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PLC/Methods/BootUpdateNode.py b/PLC/Methods/BootUpdateNode.py index 271da9f2..52381cbe 100644 --- a/PLC/Methods/BootUpdateNode.py +++ b/PLC/Methods/BootUpdateNode.py @@ -1,7 +1,7 @@ from PLC.Faults import * from PLC.Method import Method from PLC.Parameter import Parameter, Mixed -from PLC.Auth import Auth, BootAuth +from PLC.Auth import Auth, BootAuth, SessionAuth from PLC.Nodes import Node, Nodes from PLC.NodeNetworks import NodeNetwork, NodeNetworks @@ -22,7 +22,7 @@ class BootUpdateNode(Method): nodenetwork_fields = dict(filter(can_update, NodeNetwork.fields.items())) accepts = [ - BootAuth(), + Mixed(BootAuth(), SessionAuth()), {'boot_state': Node.fields['boot_state'], 'primary_network': nodenetwork_fields, 'ssh_host_key': Node.fields['ssh_rsa_key']} -- 2.47.0