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>
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.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
getAddress()
address of local listening interface@Nullable org.opendaylight.yangtools.yang.common.Uint16
getChannelOutboundQueueSize()
Channel outbound queue size@Nullable String
getInstanceName()
Name of the switch connection instance.@Nullable org.opendaylight.yangtools.yang.common.Uint16
getPort()
local listening port@Nullable org.opendaylight.yangtools.yang.common.Uint32
getSwitchIdleTimeout()
idle timeout in [ms]@Nullable Threads
getThreads()
@Nullable Tls
getTls()
@Nullable TransportProtocol
getTransportProtocol()
Transport protocol used for communication.default Class<SwitchConnectionConfig>
implementedInterface()
@Nullable Boolean
isGroupAddModEnabled()
Group Add Mod Enabled@Nullable Boolean
isUseBarrier()
Enable barrier in Openflow javaSwitchConnectionConfigKey
key()
-
-
-
Method Detail
-
implementedInterface
default Class<SwitchConnectionConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getInstanceName
@Nullable String getInstanceName()
Name of the switch connection instance.- Returns:
java.lang.String
instanceName
, ornull
if not present
-
getPort
@Nullable org.opendaylight.yangtools.yang.common.Uint16 getPort()
local listening port- Returns:
org.opendaylight.yangtools.yang.common.Uint16
port
, ornull
if not present
-
getTransportProtocol
@Nullable TransportProtocol getTransportProtocol()
Transport protocol used for communication.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.TransportProtocol
transportProtocol
, ornull
if not present
-
getChannelOutboundQueueSize
@Nullable org.opendaylight.yangtools.yang.common.Uint16 getChannelOutboundQueueSize()
Channel outbound queue size- Returns:
org.opendaylight.yangtools.yang.common.Uint16
channelOutboundQueueSize
, ornull
if not present
-
getAddress
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getAddress()
address of local listening interface- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
address
, ornull
if not present
-
isUseBarrier
@Nullable Boolean isUseBarrier()
Enable barrier in Openflow java- Returns:
java.lang.Boolean
useBarrier
, ornull
if not present
-
isGroupAddModEnabled
@Nullable Boolean isGroupAddModEnabled()
Group Add Mod Enabled- Returns:
java.lang.Boolean
groupAddModEnabled
, ornull
if not present
-
getSwitchIdleTimeout
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getSwitchIdleTimeout()
idle timeout in [ms]- Returns:
org.opendaylight.yangtools.yang.common.Uint32
switchIdleTimeout
, ornull
if not present
-
getTls
@Nullable Tls getTls()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow._switch.connection.config.rev160506._switch.connection.config.Tls
tls
, ornull
if not present
-
getThreads
@Nullable Threads getThreads()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow._switch.connection.config.rev160506._switch.connection.config.Threads
threads
, ornull
if not present
-
key
SwitchConnectionConfigKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<SwitchConnectionConfigKey>
-
-