Interface SwitchConnectionConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<SwitchConnectionConfig>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.ChildOf<OpenflowSwitchConnectionConfigData>,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject,org.opendaylight.yangtools.yang.binding.Identifiable<SwitchConnectionConfigKey>
@Generated("mdsal-binding-generator") public interface SwitchConnectionConfig extends org.opendaylight.yangtools.yang.binding.ChildOf<OpenflowSwitchConnectionConfigData>, org.opendaylight.yangtools.yang.binding.Augmentable<SwitchConnectionConfig>, org.opendaylight.yangtools.yang.binding.Identifiable<SwitchConnectionConfigKey>
This class represents the following YANG schema fragment defined in module openflow-switch-connection-config
list switch-connection-config { key instance-name; leaf instance-name { type string; } leaf port { type uint16; } leaf transport-protocol { type of-config:transport-protocol; } leaf channel-outbound-queue-size { type uint16; default 1024; } leaf address { type ietf-inet:ip-address; } leaf use-barrier { type boolean; default true; } leaf group-add-mod-enabled { type boolean; default false; } leaf switch-idle-timeout { type uint32; default 15000; } container tls { leaf keystore { type string; } leaf keystore-type { type of-config:keystore-type; } leaf keystore-path-type { type of-config:path-type; } leaf keystore-password { type string; } leaf certificate-password { type string; } leaf truststore { type string; } leaf truststore-type { type of-config:keystore-type; } leaf truststore-path-type { type of-config:path-type; } leaf truststore-password { type string; } leaf-list cipher-suites { type string; } } container threads { leaf boss-threads { type uint16; } leaf worker-threads { type uint16; } } }The schema path to identify an instance is openflow-switch-connection-config/switch-connection-configTo create instances of this class use
SwitchConnectionConfigBuilder.
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description static booleanbindingEquals(@NonNull SwitchConnectionConfig thisObj, Object obj)Default implementation ofObject.equals(Object)contract for this interface.static intbindingHashCode(@NonNull SwitchConnectionConfig obj)Default implementation ofObject.hashCode()contract for this interface.static StringbindingToString(@NonNull SwitchConnectionConfig obj)Default implementation ofObject.toString()contract for this interface.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressgetAddress()Return address, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint16getChannelOutboundQueueSize()Return channelOutboundQueueSize, ornullif it is not present.BooleangetGroupAddModEnabled()Return groupAddModEnabled, ornullif it is not present.StringgetInstanceName()Return instanceName, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint16getPort()Return port, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getSwitchIdleTimeout()Return switchIdleTimeout, ornullif it is not present.ThreadsgetThreads()Return threads, ornullif it is not present.TlsgetTls()Return tls, ornullif it is not present.TransportProtocolgetTransportProtocol()Return transportProtocol, ornullif it is not present.BooleangetUseBarrier()Return useBarrier, ornullif it is not present.default Class<SwitchConnectionConfig>implementedInterface()default BooleanisGroupAddModEnabled()Deprecated, for removal: This API element is subject to removal in a future version.default BooleanisUseBarrier()Deprecated, for removal: This API element is subject to removal in a future version.SwitchConnectionConfigKeykey()
-
-
-
Method Detail
-
implementedInterface
default Class<SwitchConnectionConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
static int bindingHashCode(@NonNull SwitchConnectionConfig obj)
Default implementation ofObject.hashCode()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
NullPointerException- ifobjis null
-
bindingEquals
static boolean bindingEquals(@NonNull SwitchConnectionConfig thisObj, Object obj)
Default implementation ofObject.equals(Object)contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj- Object acting as the receiver of equals invocationobj- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException- ifthisObjis null
-
bindingToString
static String bindingToString(@NonNull SwitchConnectionConfig obj)
Default implementation ofObject.toString()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj- Object for which to generate toString() result.- Returns:
Stringvalue of data modeled by this interface.- Throws:
NullPointerException- ifobjis null
-
getInstanceName
String getInstanceName()
Return instanceName, ornullif it is not present.Name of the switch connection instance.- Returns:
java.lang.StringinstanceName, ornullif it is not present.
-
getPort
org.opendaylight.yangtools.yang.common.Uint16 getPort()
Return port, ornullif it is not present.local listening port- Returns:
org.opendaylight.yangtools.yang.common.Uint16port, ornullif it is not present.
-
getTransportProtocol
TransportProtocol getTransportProtocol()
Return transportProtocol, ornullif it is not present.Transport protocol used for communication.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.TransportProtocoltransportProtocol, ornullif it is not present.
-
getChannelOutboundQueueSize
org.opendaylight.yangtools.yang.common.Uint16 getChannelOutboundQueueSize()
Return channelOutboundQueueSize, ornullif it is not present.Channel outbound queue size- Returns:
org.opendaylight.yangtools.yang.common.Uint16channelOutboundQueueSize, ornullif it is not present.
-
getAddress
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getAddress()
Return address, ornullif it is not present.address of local listening interface- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressaddress, ornullif it is not present.
-
getUseBarrier
Boolean getUseBarrier()
Return useBarrier, ornullif it is not present.Enable barrier in Openflow java- Returns:
java.lang.BooleanuseBarrier, ornullif it is not present.
-
isUseBarrier
@Deprecated(forRemoval=true) default Boolean isUseBarrier()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getGroupAddModEnabled
Boolean getGroupAddModEnabled()
Return groupAddModEnabled, ornullif it is not present.Group Add Mod Enabled- Returns:
java.lang.BooleangroupAddModEnabled, ornullif it is not present.
-
isGroupAddModEnabled
@Deprecated(forRemoval=true) default Boolean isGroupAddModEnabled()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getSwitchIdleTimeout
org.opendaylight.yangtools.yang.common.Uint32 getSwitchIdleTimeout()
Return switchIdleTimeout, ornullif it is not present.idle timeout in [ms]- Returns:
org.opendaylight.yangtools.yang.common.Uint32switchIdleTimeout, ornullif it is not present.
-
getTls
Tls getTls()
Return tls, ornullif it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow._switch.connection.config.rev160506._switch.connection.config.Tlstls, ornullif it is not present.
-
getThreads
Threads getThreads()
Return threads, ornullif it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow._switch.connection.config.rev160506._switch.connection.config.Threadsthreads, ornullif it is not present.
-
key
SwitchConnectionConfigKey key()
- Specified by:
keyin interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<SwitchConnectionConfigKey>
-
-