All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, 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 AaaServerConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Common configuration data for AAA servers

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

 grouping aaa-server-config {
   leaf name {
     type string;
   }
   leaf address {
     type oc-inet:ip-address;
   }
   leaf timeout {
     type uint16;
     units seconds;
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return address, or null if it is not present.
    Return name, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint16
    Return timeout, or null if it is not present.
     
    default @NonNull IpAddress
    Return address, guaranteed to be non-null.
    default @NonNull String
    Return name, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint16
    Return timeout, guaranteed to be non-null.
  • Field Details

    • QNAME

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

    • implementedInterface

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

      String getName()
      Return name, or null if it is not present.
           
               Name assigned to the server
           
       
      Returns:
      String name, or null if it is not present.
    • requireName

      default @NonNull String requireName()
      Return name, guaranteed to be non-null.
           
               Name assigned to the server
           
       
      Returns:
      String name, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if name is not present
    • getAddress

      IpAddress getAddress()
      Return address, or null if it is not present.
           
               Address of the authentication server
           
       
      Returns:
      IpAddress address, or null if it is not present.
    • requireAddress

      default @NonNull IpAddress requireAddress()
      Return address, guaranteed to be non-null.
           
               Address of the authentication server
           
       
      Returns:
      IpAddress address, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if address is not present
    • getTimeout

      org.opendaylight.yangtools.yang.common.Uint16 getTimeout()
      Return timeout, or null if it is not present.
           
               Set the timeout in seconds on responses from the AAA server
           
       
      Returns:
      Uint16 timeout, or null if it is not present.
    • requireTimeout

      default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireTimeout()
      Return timeout, guaranteed to be non-null.
           
               Set the timeout in seconds on responses from the AAA server
           
       
      Returns:
      Uint16 timeout, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if timeout is not present