Interface Security
-
- All Superinterfaces:
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
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAMEYANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecurityChoicegetSecurityChoice()Return securityChoice, ornullif it is not present.Class<? extends Security>implementedInterface()-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.lighty.gnmi.topology.rev210316.Credentials
getCredentials
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends Security> implementedInterface()
- Specified by:
implementedInterfacein interfaceCredentials- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- 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.
-
-