Interface AaaRadiusServerConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface AaaRadiusServerConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration data for a RADIUS serverThis class represents the following YANG schema fragment defined in module openconfig-aaa
grouping aaa-radius-server-config { leaf auth-port { type oc-inet:port-number; default 1812; } leaf acct-port { type oc-inet:port-number; default 1813; } leaf secret-key { type oc-types:routing-password; } leaf secret-key-hashed { type oc-aaa-types:crypt-password-type; } leaf source-address { type oc-inet:ip-address; } leaf retransmit-attempts { type uint8; } }The schema path to identify an instance is openconfig-aaaaaa-radius-server-config
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PortNumbergetAcctPort()Return acctPort, ornullif it is not present.PortNumbergetAuthPort()Return authPort, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint8getRetransmitAttempts()Return retransmitAttempts, ornullif it is not present.RoutingPasswordgetSecretKey()Return secretKey, ornullif it is not present.CryptPasswordTypegetSecretKeyHashed()Return secretKeyHashed, ornullif it is not present.IpAddressgetSourceAddress()Return sourceAddress, ornullif it is not present.Class<? extends AaaRadiusServerConfig>implementedInterface()default @NonNull PortNumberrequireAcctPort()Return acctPort, guaranteed to be non-null.default @NonNull PortNumberrequireAuthPort()Return authPort, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8requireRetransmitAttempts()Return retransmitAttempts, guaranteed to be non-null.default @NonNull RoutingPasswordrequireSecretKey()Return secretKey, guaranteed to be non-null.default @NonNull CryptPasswordTyperequireSecretKeyHashed()Return secretKeyHashed, guaranteed to be non-null.default @NonNull IpAddressrequireSourceAddress()Return sourceAddress, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends AaaRadiusServerConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAuthPort
PortNumber getAuthPort()
Return authPort, ornullif it is not present.Port number for authentication requests- Returns:
PortNumberauthPort, ornullif it is not present.
-
requireAuthPort
default @NonNull PortNumber requireAuthPort()
Return authPort, guaranteed to be non-null.Port number for authentication requests- Returns:
PortNumberauthPort, guaranteed to be non-null.- Throws:
NoSuchElementException- if authPort is not present
-
getAcctPort
PortNumber getAcctPort()
Return acctPort, ornullif it is not present.Port number for accounting requests- Returns:
PortNumberacctPort, ornullif it is not present.
-
requireAcctPort
default @NonNull PortNumber requireAcctPort()
Return acctPort, guaranteed to be non-null.Port number for accounting requests- Returns:
PortNumberacctPort, guaranteed to be non-null.- Throws:
NoSuchElementException- if acctPort is not present
-
getSecretKey
RoutingPassword getSecretKey()
Return secretKey, ornullif it is not present.The unencrypted shared key used between the authentication server and the device.- Returns:
RoutingPasswordsecretKey, ornullif it is not present.
-
requireSecretKey
default @NonNull RoutingPassword requireSecretKey()
Return secretKey, guaranteed to be non-null.The unencrypted shared key used between the authentication server and the device.- Returns:
RoutingPasswordsecretKey, guaranteed to be non-null.- Throws:
NoSuchElementException- if secretKey is not present
-
getSecretKeyHashed
CryptPasswordType getSecretKeyHashed()
Return secretKeyHashed, ornullif it is not present.The hashed shared key used between the authentication server and the device.- Returns:
CryptPasswordTypesecretKeyHashed, ornullif it is not present.
-
requireSecretKeyHashed
default @NonNull CryptPasswordType requireSecretKeyHashed()
Return secretKeyHashed, guaranteed to be non-null.The hashed shared key used between the authentication server and the device.- Returns:
CryptPasswordTypesecretKeyHashed, guaranteed to be non-null.- Throws:
NoSuchElementException- if secretKeyHashed is not present
-
getSourceAddress
IpAddress getSourceAddress()
Return sourceAddress, ornullif it is not present.Source IP address to use in messages to the RADIUS server- Returns:
IpAddresssourceAddress, ornullif it is not present.
-
requireSourceAddress
default @NonNull IpAddress requireSourceAddress()
Return sourceAddress, guaranteed to be non-null.Source IP address to use in messages to the RADIUS server- Returns:
IpAddresssourceAddress, guaranteed to be non-null.- Throws:
NoSuchElementException- if sourceAddress is not present
-
getRetransmitAttempts
org.opendaylight.yangtools.yang.common.Uint8 getRetransmitAttempts()
Return retransmitAttempts, ornullif it is not present.Number of times the system may resend a request to the RADIUS server when it is unresponsive- Returns:
Uint8retransmitAttempts, ornullif it is not present.
-
requireRetransmitAttempts
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireRetransmitAttempts()
Return retransmitAttempts, guaranteed to be non-null.Number of times the system may resend a request to the RADIUS server when it is unresponsive- Returns:
Uint8retransmitAttempts, guaranteed to be non-null.- Throws:
NoSuchElementException- if retransmitAttempts is not present
-
-