Interface SecurityChoice

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.ChoiceIn<Security>, org.opendaylight.yangtools.yang.binding.DataContainer
    All Known Subinterfaces:
    InsecureDebugOnly, Secure

    @Generated("mdsal-binding-generator")
    public interface SecurityChoice
    extends org.opendaylight.yangtools.yang.binding.ChoiceIn<Security>
    Default model behavior is a secure case and required keystore-id. If is to use one of the insecure options, then must be defined in request.

    This class represents the following YANG schema fragment defined in module gnmi-topology

     choice security-choice {
       case secure {
         leaf keystore-id {
           type string;
         }
       }
       case insecure-debug-only {
         leaf connection-type {
           type enumeration {
             enum PLAINTEXT;
             enum INSECURE;
           }
         }
       }
     }
     
    The schema path to identify an instance is gnmi-topology/security/security-choice
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Method Summary

      • Methods inherited from interface org.opendaylight.yangtools.yang.binding.DataContainer

        implementedInterface
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME