|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.foxsmart.csu.config.CiscoRouterConfigParser
com.foxsmart.csu.config.global.AccessListEntry
com.foxsmart.csu.config.global.ExtMacAddressNumberAccessListEntry
public class ExtMacAddressNumberAccessListEntry
The ExtMacAddressNumberAccessListEntry is used for access lists numbers: 1100-1199.
| Field Summary | |
|---|---|
static java.lang.Integer |
MAX_AL_NUMBER_RANGE
The maximum access list number. |
static java.lang.Integer |
MIN_AL_NUMBER_RANGE
The minimum access list number. |
static MacAddress |
ZERO_MAC_ADDRESS
MAC address of all zeros. |
| Fields inherited from class com.foxsmart.csu.config.global.AccessListEntry |
|---|
ANY, DENY, FILTER_TYPE_DENY, FILTER_TYPE_PERMIT, HOST, LOG, LOG_INPUT, PERMIT |
| Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser |
|---|
log, NO, tokenIndex |
| Constructor Summary | |
|---|---|
ExtMacAddressNumberAccessListEntry()
Constructs an Extended Mac Address number access list entry object. |
|
| Method Summary | |
|---|---|
void |
buildFromIos(java.lang.String line)
|
Commands |
generateIos()
|
java.lang.Integer |
getAccessListNumber()
Gets the access list number. |
ExtendedMacAddressCompareInfo |
getCompareInfo()
Gets the compare information. |
MacAddress |
getDestinationHardwareAddress()
Gets the destination hardware address. |
MacAddress |
getDestinationHardwareAddressMask()
Gets the destination hardware address mask. |
MacAddress |
getSourceHardwareAddress()
Gets the source hardware address. |
MacAddress |
getSourceHardwareAddressMask()
Gets the source hardware address mask. |
boolean |
isAccessNumberSupported(int accessListNumber)
Determines whether an access list number is supported by a specific access list entry type. |
void |
setAccessListNumber(java.lang.Integer accessListNumber)
Sets the access list number. |
void |
setCompareInfo(ExtendedMacAddressCompareInfo compareInfo)
Sets the compare information. |
void |
setDestinationHardwareAddress(MacAddress destinationHardwareAddress)
Sets the destination hardware address. |
void |
setDestinationHardwareAddressMask(MacAddress destinationHardwareAddressMask)
Sets the destination hardware address mask. |
void |
setSourceHardwareAddress(MacAddress sourceHardwareAddress)
Sets the source hardware address. |
void |
setSourceHardwareAddressMask(MacAddress sourceHardwareAddressMask)
Sets the source hardware address mask. |
void |
validate()
|
| Methods inherited from class com.foxsmart.csu.config.global.AccessListEntry |
|---|
clone, getFilterType, isAccessNumberSupported, setFilterType, validateAccessListName, validateAccessListNumber, validateFilterType |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.Integer MIN_AL_NUMBER_RANGE
public static final java.lang.Integer MAX_AL_NUMBER_RANGE
public static final MacAddress ZERO_MAC_ADDRESS
| Constructor Detail |
|---|
public ExtMacAddressNumberAccessListEntry()
| Method Detail |
|---|
public void setAccessListNumber(java.lang.Integer accessListNumber)
setAccessListNumber in interface NumberAccessListEntryaccessListNumber - The access list number.public java.lang.Integer getAccessListNumber()
getAccessListNumber in interface NumberAccessListEntrypublic void setSourceHardwareAddress(MacAddress sourceHardwareAddress)
sourceHardwareAddress - The source hardware address.public MacAddress getSourceHardwareAddress()
public void setSourceHardwareAddressMask(MacAddress sourceHardwareAddressMask)
sourceHardwareAddressMask - The source hardware address mask.public MacAddress getSourceHardwareAddressMask()
public void setDestinationHardwareAddress(MacAddress destinationHardwareAddress)
destinationHardwareAddress - The destination hardware address.public MacAddress getDestinationHardwareAddress()
public void setDestinationHardwareAddressMask(MacAddress destinationHardwareAddressMask)
destinationHardwareAddressMask - The destination hardware address mask.public MacAddress getDestinationHardwareAddressMask()
public void setCompareInfo(ExtendedMacAddressCompareInfo compareInfo)
compareInfo - The compare information.public ExtendedMacAddressCompareInfo getCompareInfo()
public boolean isAccessNumberSupported(int accessListNumber)
isAccessNumberSupported in interface NumberAccessListEntryaccessListNumber - The access list number to verify.
public void buildFromIos(java.lang.String line)
throws InvalidConfigurationException
buildFromIos in interface NumberAccessListEntryline - the IOS line
InvalidConfigurationException - if the configuration is invalid.CiscoRouterConfigComponent
public void validate()
throws InvalidConfigurationException
validate in interface NumberAccessListEntryInvalidConfigurationException - if the configuration is invalid.CiscoRouterConfigComponent
public Commands generateIos()
throws InvalidConfigurationException
generateIos in interface NumberAccessListEntryInvalidConfigurationException - if the configuration is invalid.CiscoRouterConfigComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||