|
||||||||||
| 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.CiscoRouterConfigComponent
com.foxsmart.csu.config.global.mapclassframerelay.FrameRelayFragmentComponent
public class FrameRelayFragmentComponent
The frame relay fragment class sets the frame relay fragmentation size. Note that Frame Relay traffic-shaping must be configured at the interface level to use this feature.
| Field Summary | |
|---|---|
static java.lang.Integer |
DEFAULT_FRAGMENTATION_SIZE
The default Fragmentation Size. |
static java.lang.String |
FRAGMENT
|
static java.lang.String |
FRAME_RELAY
|
static java.lang.Integer |
MAX_FRAGMENTATION_SIZE
The maximum Fragmentation Size. |
static java.lang.Integer |
MIN_FRAGMENTATION_SIZE
The minimum Fragmentation Size. |
| Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigComponent |
|---|
commentComponent, componentMap, log, parentComponent |
| Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser |
|---|
NO, tokenIndex |
| Constructor Summary | |
|---|---|
FrameRelayFragmentComponent()
Constructs a frame relay fragment object. |
|
| Method Summary | |
|---|---|
java.util.List |
buildFromIos(java.util.List configLines)
Parse and populate the specific CiscoRouterComponent object based on the passed in individual lines of the IOS configuration. |
Commands |
generateIos()
Returns the IOS configuration commands for this component. |
java.lang.Integer |
getSize()
Gets the frame relay fragmentation size. |
void |
setSize(java.lang.Integer size)
Sets the frame relay fragmentation size. |
void |
validate()
Validates this object to ensure it contains a valid IOS configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String FRAME_RELAY
public static final java.lang.String FRAGMENT
public static final java.lang.Integer MIN_FRAGMENTATION_SIZE
public static final java.lang.Integer MAX_FRAGMENTATION_SIZE
public static final java.lang.Integer DEFAULT_FRAGMENTATION_SIZE
| Constructor Detail |
|---|
public FrameRelayFragmentComponent()
| Method Detail |
|---|
public void setSize(java.lang.Integer size)
size - The frame relay fragmentation size.public java.lang.Integer getSize()
public java.util.List buildFromIos(java.util.List configLines)
throws InvalidConfigurationException
CiscoRouterConfigComponent
buildFromIos in class CiscoRouterConfigComponentconfigLines - The list of IOS configuration lines.
InvalidConfigurationException - if the IOS configuration can not be parsed for any reason.CiscoRouterConfigComponent
public void validate()
throws InvalidConfigurationException
CiscoRouterConfigComponent
validate in class CiscoRouterConfigComponentInvalidConfigurationException - if the configuration is invalid.CiscoRouterConfigComponent
public Commands generateIos()
throws InvalidConfigurationException
CiscoRouterConfigComponent
generateIos in class CiscoRouterConfigComponentInvalidConfigurationException - if the IOS configuration is invalid and the IOS string can not be generated.
The validate() method is used to determine if the configuration is valid.CiscoRouterConfigComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||