Package dev.galasa.ipnetwork.spi
Class AbstractGenericIpHost
java.lang.Object
dev.galasa.ipnetwork.spi.AbstractGenericIpHost
- All Implemented Interfaces:
IIpHost,IIpHostSpi
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractGenericIpHost(IConfigurationPropertyStoreService cps, IDynamicStatusStoreService dss, ICredentialsService creds, String prefix, String hostid) -
Method Summary
Modifier and TypeMethodDescription@NotNull ICredentialsintGet the FTP port, defaults to 21Get the default Hostname of the HostGet the IPV4 Hostname of the HostGet the IPV6 Hostname of the HostintGet the SSH port, defaults to 22intGet the Telnet port, defaults to 23booleanIs the FTP port secured by TLS, default falsebooleanIs the Telnet port secured by TLS, default falsebooleanShould the Telnet server's certificate be verified, default falseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.galasa.ipnetwork.spi.IIpHostSpi
provisionPort
-
Constructor Details
-
AbstractGenericIpHost
public AbstractGenericIpHost(IConfigurationPropertyStoreService cps, IDynamicStatusStoreService dss, ICredentialsService creds, String prefix, String hostid) throws IpNetworkManagerException - Throws:
IpNetworkManagerException
-
-
Method Details
-
getPrefixHost
- Specified by:
getPrefixHostin interfaceIIpHostSpi
-
getHostname
Description copied from interface:IIpHostGet the default Hostname of the Host- Specified by:
getHostnamein interfaceIIpHost
-
getIpv4Hostname
Description copied from interface:IIpHostGet the IPV4 Hostname of the Host- Specified by:
getIpv4Hostnamein interfaceIIpHost
-
getIpv6Hostname
Description copied from interface:IIpHostGet the IPV6 Hostname of the Host- Specified by:
getIpv6Hostnamein interfaceIIpHost
-
getTelnetPort
Description copied from interface:IIpHostGet the Telnet port, defaults to 23- Specified by:
getTelnetPortin interfaceIIpHost- Returns:
- Telnet port
- Throws:
IpNetworkManagerException- if there is a problem accessing the CPS
-
isTelnetPortTls
Description copied from interface:IIpHostIs the Telnet port secured by TLS, default false- Specified by:
isTelnetPortTlsin interfaceIIpHost- Returns:
- secured?
- Throws:
IpNetworkManagerException- if there is a problem accessing the CPS
-
shouldVerifyTelnetServer
Description copied from interface:IIpHostShould the Telnet server's certificate be verified, default false- Specified by:
shouldVerifyTelnetServerin interfaceIIpHost- Returns:
- verify?
- Throws:
IpNetworkManagerException- if there is a problem accessing the CPS
-
getFtpPort
Description copied from interface:IIpHostGet the FTP port, defaults to 21- Specified by:
getFtpPortin interfaceIIpHost- Returns:
- FTP port
- Throws:
IpNetworkManagerException- if there is a problem accessing the CPS
-
isFtpPortTls
Description copied from interface:IIpHostIs the FTP port secured by TLS, default false- Specified by:
isFtpPortTlsin interfaceIIpHost- Returns:
- secured?
- Throws:
IpNetworkManagerException- if there is a problem accessing the CPS
-
getSshPort
Description copied from interface:IIpHostGet the SSH port, defaults to 22- Specified by:
getSshPortin interfaceIIpHost- Returns:
- SSH Port
- Throws:
IpNetworkManagerException- if there is a problem accessing the CPS
-
getDefaultCredentials
- Specified by:
getDefaultCredentialsin interfaceIIpHost- Returns:
- Throws:
IpNetworkManagerException
-