Interface Security
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,org.opendaylight.yangtools.yang.binding.BindingObject,Credentials,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
ConnectionParameters
@Generated("mdsal-binding-generator")
public interface Security
extends org.opendaylight.yangtools.yang.binding.DataObject, Credentials
Security group of statements are available for session security and
authentication. The session between the client and target MUST be encrypted
using TLS. For DEBUG reasons is available connection type insecure-debug-only.
This class represents the following YANG schema fragment defined in module gnmi-topology
grouping security {
uses credentials;
choice security-choice {
case secure {
leaf keystore-id {
type string;
}
}
case insecure-debug-only {
leaf connection-type {
type enumeration {
enum PLAINTEXT;
enum INSECURE;
}
}
}
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn securityChoice, ornullif it is not present.Methods inherited from interface org.opendaylight.yang.gen.v1.urn.lighty.gnmi.topology.rev210316.Credentials
getCredentials, nonnullCredentials
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceCredentials- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getSecurityChoice
SecurityChoice getSecurityChoice()Return securityChoice, ornullif it is not present.Default model behavior is a secure case and required keystore-id. If is required to use one of the insecure options, then must be defined in request.- Returns:
SecurityChoicesecurityChoice, ornullif it is not present.
-