public class AaaConfig
extends org.onosproject.net.config.Config<org.onosproject.core.ApplicationId>
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_NAS_IP |
protected static String |
DEFAULT_NAS_MAC |
protected static String |
DEFAULT_RADIUS_IP |
protected static String |
DEFAULT_RADIUS_MAC |
protected static String |
DEFAULT_RADIUS_PORT |
protected static String |
DEFAULT_RADIUS_SECRET |
protected static String |
DEFAULT_RADIUS_SERVER_PORT |
protected static String |
DEFAULT_RADIUS_SWITCH |
| Constructor and Description |
|---|
AaaConfig() |
| Modifier and Type | Method and Description |
|---|---|
InetAddress |
nasIp()
Returns the NAS ip.
|
org.onosproject.net.config.basics.BasicElementConfig |
nasIp(String ip)
Sets the NAS ip.
|
String |
nasMac()
Returns the RADIUS MAC address.
|
org.onosproject.net.config.basics.BasicElementConfig |
nasMac(String mac)
Sets the RADIUS MAC address.
|
InetAddress |
radiusIp()
Returns the RADIUS server ip.
|
org.onosproject.net.config.basics.BasicElementConfig |
radiusIp(String ip)
Sets the RADIUS server ip.
|
String |
radiusMac()
Returns the RADIUS MAC address.
|
org.onosproject.net.config.basics.BasicElementConfig |
radiusMac(String mac)
Sets the RADIUS MAC address.
|
long |
radiusPort()
Returns the RADIUS port.
|
org.onosproject.net.config.basics.BasicElementConfig |
radiusPort(long port)
Sets the RADIUS port.
|
String |
radiusSecret()
Returns the RADIUS secret.
|
org.onosproject.net.config.basics.BasicElementConfig |
radiusSecret(String secret)
Sets the RADIUS secret.
|
short |
radiusServerUdpPort()
Returns the RADIUS server UDP port.
|
org.onosproject.net.config.basics.BasicElementConfig |
radiusServerUdpPort(short port)
Sets the RADIUS port.
|
String |
radiusSwitch()
Returns the ID of the RADIUS switch.
|
org.onosproject.net.config.basics.BasicElementConfig |
radiusSwitch(String switchId)
Sets the ID of the RADIUS switch.
|
apply, clear, get, get, get, get, get, get, getList, getList, hasOnlyFields, hasOnlyFields, init, isBoolean, isBoolean, isConnectPoint, isConnectPoint, isDecimal, isIntegralNumber, isIntegralNumber, isIpAddress, isIpAddress, isIpPrefix, isIpPrefix, isMacAddress, isMacAddress, isNumber, isNumber, isString, isString, isValid, key, node, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, subjectprotected static final String DEFAULT_RADIUS_IP
protected static final String DEFAULT_RADIUS_MAC
protected static final String DEFAULT_NAS_IP
protected static final String DEFAULT_NAS_MAC
protected static final String DEFAULT_RADIUS_SECRET
protected static final String DEFAULT_RADIUS_SWITCH
protected static final String DEFAULT_RADIUS_PORT
protected static final String DEFAULT_RADIUS_SERVER_PORT
public InetAddress nasIp()
public org.onosproject.net.config.basics.BasicElementConfig nasIp(String ip)
ip - new ip address; null to clearpublic InetAddress radiusIp()
public org.onosproject.net.config.basics.BasicElementConfig radiusIp(String ip)
ip - new ip address; null to clearpublic String radiusMac()
public org.onosproject.net.config.basics.BasicElementConfig radiusMac(String mac)
mac - new MAC address; null to clearpublic String nasMac()
public org.onosproject.net.config.basics.BasicElementConfig nasMac(String mac)
mac - new MAC address; null to clearpublic String radiusSecret()
public org.onosproject.net.config.basics.BasicElementConfig radiusSecret(String secret)
secret - new MAC address; null to clearpublic String radiusSwitch()
public org.onosproject.net.config.basics.BasicElementConfig radiusSwitch(String switchId)
switchId - new RADIUS switch ID; null to clearpublic long radiusPort()
public org.onosproject.net.config.basics.BasicElementConfig radiusPort(long port)
port - new RADIUS port; null to clearpublic short radiusServerUdpPort()
public org.onosproject.net.config.basics.BasicElementConfig radiusServerUdpPort(short port)
port - new RADIUS UDP port; -1 to clearCopyright © 2016. All rights reserved.