summaryrefslogtreecommitdiffstats
path: root/ssh-common.h
diff options
context:
space:
mode:
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2017-01-15 13:59:04 +0530
committerPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2017-01-16 17:39:28 +0530
commitc5bcaaaf25e781c21d29dfb0f39b0aeb7edb8283 (patch)
tree3754ef31816e856b34007170afba07778df0cf76 /ssh-common.h
parent0a1c338a4814f91cd49b7747442d413c6b8f0dfa (diff)
gluster-blockd: daemonize the utility
this patch, deprecate ssh way of communicating between server nodes/pods Reason: ssh way is hard to be accepted in container world (Kube). An another option kubeExec way seems to be a bit weird, to have uniform way of communication in container and non container worlds, we prefer RPC. From now we communicate via RPC, using a static port 24009 Hence, we have two components, server component -> gluster-blockd (daemon) client component -> gluster-block (cli) Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Diffstat (limited to 'ssh-common.h')
-rw-r--r--ssh-common.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/ssh-common.h b/ssh-common.h
deleted file mode 100644
index 57c7f9d..0000000
--- a/ssh-common.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- Copyright (c) 2016 Red Hat, Inc. <http://www.redhat.com>
- This file is part of gluster-block.
-
- This file is licensed to you under your choice of the GNU Lesser
- General Public License, version 3 or any later version (LGPLv3 or
- later), or the GNU General Public License, version 2 (GPLv2), in all
- cases as published by the Free Software Foundation.
-*/
-
-
-# ifndef _SSH_COMMON_H
-# define _SSH_COMMON_H 1
-
-# include <libssh/libssh.h>
-
-
-
-char *
-glusterBlockSSHRun(char *host, char *cmd, bool console);
-
-#endif /* _SSH_COMMON_H */