Interface AaaAdminConfig

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Config, State

    @Generated("mdsal-binding-generator")
    public interface AaaAdminConfig
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Configuration data for the system built-in administrator / root user account

    This class represents the following YANG schema fragment defined in module openconfig-aaa

     grouping aaa-admin-config {
       leaf admin-password {
         type string;
         oc-ext:openconfig-hashed-value;
       }
       leaf admin-password-hashed {
         type oc-aaa-types:crypt-password-type;
       }
     }
     
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

        Class<? extends AaaAdminConfig> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getAdminPassword

        String getAdminPassword()
        Return adminPassword, or null if it is not present.
             
                 The admin/root password, supplied as a cleartext string. The system should hash
                 and only store the password as a hashed value.
             
         
        Returns:
        String adminPassword, or null if it is not present.
      • requireAdminPassword

        default @NonNull String requireAdminPassword()
        Return adminPassword, guaranteed to be non-null.
             
                 The admin/root password, supplied as a cleartext string. The system should hash
                 and only store the password as a hashed value.
             
         
        Returns:
        String adminPassword, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if adminPassword is not present
      • getAdminPasswordHashed

        CryptPasswordType getAdminPasswordHashed()
        Return adminPasswordHashed, or null if it is not present.
             
                 The admin/root password, supplied as a hashed value using the notation described
                 in the definition of the crypt-password-type.
             
         
        Returns:
        CryptPasswordType adminPasswordHashed, or null if it is not present.
      • requireAdminPasswordHashed

        default @NonNull CryptPasswordType requireAdminPasswordHashed()
        Return adminPasswordHashed, guaranteed to be non-null.
             
                 The admin/root password, supplied as a hashed value using the notation described
                 in the definition of the crypt-password-type.
             
         
        Returns:
        CryptPasswordType adminPasswordHashed, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if adminPasswordHashed is not present