Revision b3cc1646 lib/cmdlib/common.py

b/lib/cmdlib/common.py
1251 1251
  utils.RemoveNodeFromCandidateCerts(node_uuid, cluster.candidate_certs)
1252 1252

  
1253 1253

  
1254
def CreateNewClientCert(self, node_uuid, filename=None):
1254
def CreateNewClientCert(lu, node_uuid, filename=None):
1255 1255
  """Creates a new client SSL certificate for the node.
1256 1256

  
1257 1257
  @type node_uuid: string
......
1265 1265
  options = {}
1266 1266
  if filename:
1267 1267
    options[constants.CRYPTO_OPTION_CERT_FILE] = filename
1268
  result = self.rpc.call_node_crypto_tokens(
1268
  result = lu.rpc.call_node_crypto_tokens(
1269 1269
             node_uuid,
1270 1270
             [(constants.CRYPTO_TYPE_SSL_DIGEST,
1271 1271
               constants.CRYPTO_ACTION_CREATE,

Also available in: Unified diff