---
lib/build/rpc_definitions.py | 2 +-
lib/rpc.py | 24 ------------------------
2 files changed, 1 insertions(+), 25 deletions(-)
diff --git a/lib/build/rpc_definitions.py b/lib/build/rpc_definitions.py
index 32c5709..2c36bb6 100644
--- a/lib/build/rpc_definitions.py
+++ b/lib/build/rpc_definitions.py
@@ -328,5 +328,5 @@ _MISC_CALLS = [
]
CALLS = {
- "RpcClientDefault": _IMPEXP_CALLS,
+ "RpcClientDefault": (_IMPEXP_CALLS + _X509_CALLS),
}
diff --git a/lib/rpc.py b/lib/rpc.py
index e1f0f08..4f8fa4e 100644
--- a/lib/rpc.py
+++ b/lib/rpc.py
@@ -1519,30 +1519,6 @@ class RpcRunner(_generated_rpc.RpcClientDefault):
[hvname, hv_full])
@_RpcTimeout(_TMO_NORMAL)
- def call_x509_cert_create(self, node, validity):
- """Creates a new X509 certificate for SSL/TLS.
-
- This is a single-node call.
-
- @type validity: int
- @param validity: Validity in seconds
-
- """
- return self._SingleNodeCall(node, "x509_cert_create", [validity])
-
- @_RpcTimeout(_TMO_NORMAL)
- def call_x509_cert_remove(self, node, name):
- """Removes a X509 certificate.
-
- This is a single-node call.
-
- @type name: string
- @param name: Certificate name
-
- """
- return self._SingleNodeCall(node, "x509_cert_remove", [name])
-
- @_RpcTimeout(_TMO_NORMAL)
def call_import_start(self, node, opts, instance, component,
dest, dest_args):
"""Starts a listener for an import.
--
1.7.6