public class NedCmd extends Object implements ch.ethz.ssh2.ServerHostKeyVerifier
Modifier and Type | Class and Description |
---|---|
class |
NedCmd.NedPublicKey |
class |
NedCmd.NedSSHAlgorithms |
Modifier and Type | Field and Description |
---|---|
static int |
ABORT_CLI |
static int |
ABORT_GENERIC |
static int |
CLOSE |
static int |
CLOSE_ALL |
static int |
CMD |
static int |
COMMIT |
static int |
CONFIG_MERGE |
static int |
CONFIG_REPLACE |
static int |
CONNECT_CLI |
static int |
CONNECT_GENERIC |
static int |
CREATE_SUBSCRIPTION |
static int |
FILTER_NONE |
static int |
FILTER_SUBTREE |
static int |
FILTER_XPATH |
static int |
GET_TRANS_ID |
static int |
INITIALIZE |
static int |
IS_ALIVE |
static int |
KEEP_ALIVE |
static String[] |
known_algos |
static org.apache.logging.log4j.Logger |
LOGGER |
static int |
NEW_THREAD |
static int |
NOCONNECT_CLI |
static int |
NOCONNECT_GENERIC |
static int |
NONE |
static int |
PERSIST |
static int |
PREPARE_CLI |
static int |
PREPARE_DRY_CLI |
static int |
PREPARE_DRY_GENERIC |
static int |
PREPARE_GENERIC |
static int |
RECONNECT |
static int |
REJECT_MISMATCH |
static int |
REJECT_UNKNOWN |
static int |
RESTART |
static int |
REVERT_CLI |
static int |
REVERT_GENERIC |
static int |
SHOW_CLI |
static int |
SHOW_GENERIC |
static int |
SHOW_OFFLINE_CLI |
static int |
SHOW_OFFLINE_GENERIC |
static int |
SHOW_PARTIAL_CLI |
static int |
SHOW_PARTIAL_GENERIC |
static int |
SHOW_STATS |
static int |
SHOW_STATS_LIST |
static int |
SHOW_STATS_PATH |
static int |
UNINITIALIZE |
Constructor and Description |
---|
NedCmd(ConfETuple t) |
public static org.apache.logging.log4j.Logger LOGGER
public static final int CONNECT_CLI
public static final int CONNECT_GENERIC
public static final int PREPARE_CLI
public static final int PREPARE_DRY_CLI
public static final int PREPARE_GENERIC
public static final int PREPARE_DRY_GENERIC
public static final int COMMIT
public static final int ABORT_CLI
public static final int ABORT_GENERIC
public static final int REVERT_CLI
public static final int REVERT_GENERIC
public static final int PERSIST
public static final int SHOW_CLI
public static final int SHOW_GENERIC
public static final int CLOSE
public static final int CLOSE_ALL
public static final int NEW_THREAD
public static final int CMD
public static final int SHOW_STATS
public static final int SHOW_STATS_LIST
public static final int GET_TRANS_ID
public static final int RESTART
public static final int IS_ALIVE
public static final int RECONNECT
public static final int INITIALIZE
public static final int UNINITIALIZE
public static final int SHOW_PARTIAL_CLI
public static final int SHOW_PARTIAL_GENERIC
public static final int NOCONNECT_CLI
public static final int NOCONNECT_GENERIC
public static final int KEEP_ALIVE
public static final int SHOW_STATS_PATH
public static final int SHOW_OFFLINE_CLI
public static final int SHOW_OFFLINE_GENERIC
public static final int CREATE_SUBSCRIPTION
public static final int REJECT_UNKNOWN
public static final int REJECT_MISMATCH
public static final int NONE
public static final String[] known_algos
public static final int CONFIG_REPLACE
public static final int CONFIG_MERGE
public static final int FILTER_NONE
public static final int FILTER_XPATH
public static final int FILTER_SUBTREE
public NedCmd(ConfETuple t) throws NedException
NedException
public int getCommand()
public String getId()
public String getDevice()
public InetAddress getIP()
public int getPort()
public String getProtocol()
public String getRemoteUser()
public String getLocalUser()
public String getPassword()
public String getSecondaryPassword()
public String getKeyDir()
public boolean isTrace()
public int getConnectTimeout()
public int getReadTimeout()
public int getWriteTimeout()
public int getTimeout()
public int getWorkerId()
public int getConnectionId()
public String getCliConfigChars()
public String getGenericConfigChars()
public boolean isVerbose()
public String getAdditionalInfo()
public String getProvisionalTransId()
public String getTopTag()
public String[] getCmdPaths()
public ConfPath[] getPaths() throws ConfException
ConfException
public NedEditOp[] getOperations()
public int getTransaction()
public ConfXMLParam[] getParams()
public String getActionName()
public ConfPath getPath()
public int getFromTransactionId()
public int getToTransactionId()
public int getUsid()
public InetSocketAddress getSourceAddress()
public boolean isForce()
public boolean isAll()
public String[] getAuthOrder()
public NedCmd.NedPublicKey[] getPublicKeys()
public int getHostKeyVerify()
public NedCmd.NedPublicKey[] getHostKeys()
public int getLoadOp()
public String getStream()
public String getStartTime()
public int getFilterType()
public String getFilter()
public String getFilterTypeAsString()
public void setAdditionalInfo(String info)
public boolean isSuppressTransId()
public String getHostKeyVerifAsString()
public boolean verifyServerHostKey(String hostname, int port, String serverHostKeyAlgorithm, byte[] serverHostKey)
verifyServerHostKey
in interface ch.ethz.ssh2.ServerHostKeyVerifier
public String cmdString()
public static String cmdToString(int cmd)
public static String cmdToDevicePhase(int cmd)
public NedCmd.NedSSHAlgorithms getSSHAlgorithms()