Interface AaaServerConfig
- 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
@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
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn address, ornullif it is not present.getName()Return name, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint16Return timeout, ornullif it is not present.Class<? extends AaaServerConfig>default @NonNull IpAddressReturn address, guaranteed to be non-null.default @NonNull StringReturn name, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16Return timeout, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends AaaServerConfig> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getName
String getName()Return name, ornullif it is not present.Name assigned to the server- Returns:
Stringname, ornullif it is not present.
-
requireName
Return name, guaranteed to be non-null.Name assigned to the server- Returns:
Stringname, guaranteed to be non-null.- Throws:
NoSuchElementException- if name is not present
-
getAddress
IpAddress getAddress()Return address, ornullif it is not present.Address of the authentication server- Returns:
IpAddressaddress, ornullif it is not present.
-
requireAddress
Return address, guaranteed to be non-null.Address of the authentication server- Returns:
IpAddressaddress, guaranteed to be non-null.- Throws:
NoSuchElementException- if address is not present
-
getTimeout
org.opendaylight.yangtools.yang.common.Uint16 getTimeout()Return timeout, ornullif it is not present.Set the timeout in seconds on responses from the AAA server- Returns:
Uint16timeout, ornullif 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:
Uint16timeout, guaranteed to be non-null.- Throws:
NoSuchElementException- if timeout is not present
-