com.foxsmart.csu.config.global.policymap.classmap
Interface Bandwidth

All Known Implementing Classes:
BandwidthPercentage, BandwidthValue

public interface Bandwidth

The bandwidth interface specifies a bandwidth.


Method Summary
 java.lang.String generateDeleteIos(CiscoRouterConfig updatedCiscoRouterConfig)
           
 java.lang.String generateIos()
           
 java.lang.Integer getBandwidth()
          Gets the bandwidth value.
 void setBandwidth(java.lang.Integer bandwidth)
          Sets the bandwidth value in Kbps.
 void validate()
           
 

Method Detail

setBandwidth

void setBandwidth(java.lang.Integer bandwidth)
Sets the bandwidth value in Kbps. Valid values are from 8-2000000.

Parameters:
bandwidth - The bandwidth.

getBandwidth

java.lang.Integer getBandwidth()
Gets the bandwidth value.

Returns:
the bandwidth value.

validate

void validate()
              throws InvalidConfigurationException
Throws:
InvalidConfigurationException - if the configuration is invalid.
See Also:
CiscoRouterConfigComponent

generateIos

java.lang.String generateIos()
                             throws InvalidConfigurationException
Returns:
the generated IOS configuration for this "component".
Throws:
InvalidConfigurationException - if the configuration is invalid.
See Also:
CiscoRouterConfigComponent

generateDeleteIos

java.lang.String generateDeleteIos(CiscoRouterConfig updatedCiscoRouterConfig)
                                   throws InvalidConfigurationException
Parameters:
updatedCiscoRouterConfig - the updated Cisco router configuration.
Returns:
the generated IOS to delete this "component".
Throws:
InvalidConfigurationException - if the configuration is invalid.
See Also:
MultiLineComponent


Copyright © 2005-2008 Fox Smart, Inc. All Rights Reserved.