Cisco Systems, Inc.

com.pcube.apps.engage.policy
Class PolicySettings

java.lang.Object
  extended by com.pcube.apps.engage.policy.PolicySettings
All Implemented Interfaces:
Formattable, java.io.Serializable, java.lang.Cloneable

public class PolicySettings
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable, Formattable

PolicySettings has general parameters which define the Policy's system settings.

See Also:
Serialized Form

Field Summary
static int FULLY_FUNCTIONAL_SYSTEM_STATE
          Deprecated. use SYS_MODE_FULLY_FUNCTIONAL
static int LINK_ID_1
          Link id 1 of the SE box
static int LINK_IDX_0
          Link index 0 of the SE box (holds the template in virtual link)
static int LINK_IDX_1
          Link index 1 of the SE box (holds the default in virtual link)
static int MAX_LINKS
          Max Links of the SE box (this number represent the MAX link of MGBE platform)
static long MAX_P2P_PORT
          The largest port which can be configured to identify P2P activity
static int MINIMUM_TRANSACTION_INTERIM_INTERVAL_IN_SECONDS
           
static int PORT_1
          Deprecated. use PORT_SUBSCRIBERS
static int PORT_2
          Deprecated. use PORT_NETWORK
static int PORT_NETWORK
          The network port of the SE box
static int PORT_SUBSCRIBERS
          The subscriber port of the SE box
static int REPORT_ONLY_SYSTEM_STATE
          Deprecated. use SYS_MODE_REPORT_ONLY
static int SECONDS_IN_MINUTES
           
static int SYS_MODE_FULLY_FUNCTIONAL
          fully-functional system mode
static int SYS_MODE_REPORT_ONLY
          report-only system mode
static int SYS_MODE_TRANSPARENT
          transparent system mode
static int SYS_TOPOLOGICAL_MODE_DUPLEX
          Duplex (normal) mode
static int SYS_TOPOLOGICAL_MODE_SPLIT
          Split flow mode
static int TRANSPARENT_SYSTEM_STATE
          Deprecated. use SYS_MODE_TRANSPARENT
 
Constructor Summary
PolicySettings(Policy policy)
          PolicySettings Constructor.
PolicySettings(Policy policy, java.lang.String domainName)
          Deprecated. use PolicySettings(Policy)instead
 
Method Summary
 java.lang.Object clone()
          Producing an identical object to this object.
 void fromStream(java.io.BufferedReader in, Formatter f)
          Reading this object from a BufferedReader
 int getActualLinksNum()
          Holds the number of actual links.
 com.pcube.apps.engage.policy.adv.AdvancedOptions getAdvancedOptions()
           
 int getBlockReportFrequency()
          Gets the frequency of issuing the block report.
 BwPrioritizationMode getBwPrioritizationMode()
           
 com.pcube.apps.engage.policy.antispam.CommonAntiSpamSettings getCommonAntiSpamSettings()
          Return the anti SPAM configuration settings - model that holds all details for anti spam per package
 boolean getDefaultSampleInterval()
           
 boolean getDefaultSamplePeriod()
           
 boolean getDefaultScanPort()
           
 GlobalControllersArray getDownstreamAggregatedGlobalControllersArray()
          Gets aggregate Global Controllers for downstream traffic
 GlobalControllersArray getDownstreamDefaultVirtualLinkGlobalControllerArray()
          Gets the array of virtual link Global Controllers for downstream traffic which is stored on slot 1 in the array Note that starting from 3.6.0 global virtual link gc can be added to virtual link.
 GlobalControllersArray[] getDownstreamGlobalControllersArray()
          Gets the array of the Global Controllers for downstream traffic
 GlobalControllersArray getDownstreamTemplateVirtualLinkGlobalControllerArray()
          Gets the array of template virtual link Global Controllers for downstream traffic which is stored on slot 0 in the array Note that starting from 3.6.0 global virtual link gc can be added to virtual link.
 boolean getEnableFlush()
           
 boolean getEnableGxReport()
           
 boolean getEnableNat()
           
 long getIdentifyP2PFromPort()
          Getting the beginning of the port range from which P2P activity is identified
 long getIdentifyP2PUntilPort()
          Getting the ending of the port range from which P2P activity is identified
 IgnoreFilterRuleArray getIgnoreFilterRuleList()
          Gets the list of IgnorFilterRules for the Policy.
 int getInterimTransactionUsageRDRInterval()
           
 int getLinkRDRRate()
          Getting the rate of the Link RDRs
 long getNetworkUsageRDRRate()
          Gets the rate for issuing the network usage report.
 long getOngoingAdmissionRate()
          Gets the rate if the ongoing admission
 boolean getOSFPEnableDesable()
           
 int getOSFPFlushInterval()
           
 int getOSFPNATDetuctWindow()
           
 int getOSFPSampleInterval()
           
 int getOSFPSamplePeriod()
           
 PackageComboArray getPackageComboList()
           
 int getPackageRDRRate()
          Getting the rate of Package RDRs
 boolean getPackageSwitchNurs()
           
 float getPortTotalWireBWLimit(int port)
          Deprecated. use getPortTotalWireBWLimit(int, int)
 float getPortTotalWireBWLimit(int linkId, int port)
          Gets the total bandwidth limit for a certain port in the Policy's SE boxes.
 TimeBasedValue getPortTotalWireTimeBasedBWLimit(int linkId, int portId)
           
 int getQpQuotaRdrMaxFreq()
           
 int getQpQuotaRdrSampleRate()
           
 int getQpThresholdRdrKbytesLimit()
           
 int getQpThresholdRdrMbytesLimit()
          Deprecated. use getQpThresholdRdrKbytesLimit()
 RealtimeSignalingRdrSettings getRealtimeRdrSettings()
           
 int getRealtimeSubscriberRdrInterval()
          Getting the interval of real time Subscriber RDRs
 int getRealtimeSubscriberRdrMaxRate()
          Getting the maximum rate of real time Subscriber RDRs
 int getScanPort()
           
 SpamDetectionSettings getSpamDetectionSettings()
          Deprecated. use getCommonAntiSpamSettings()instead}
 int getSubscriberUsageRdrMaxRate()
          getting the maximum rate for issuing Subscriber usage reports
 int getSystemState()
          Gets the Policy's operational mode.
 int getSystemTopologicalMode()
          One fo two values: Dulex - Both directions (inbound and outbound) of all flows go through the SCE Split - Only one direction of some part of the flows go through the SCE.
 int getTransactionRDRTotalRate()
          Getting the total rate of transaction RDRs
 int getTransactionUsageRDRThreshold()
           
 GlobalControllersArray getUpstreamAggregatedGlobalControllersArray()
          Gets aggregate Global Controllers for upstream traffic
 GlobalControllersArray getUpstreamDefaultVirtualLinkGlobalControllerArray()
          Gets the array of virtual link Global Controllers for upstream traffic which is stored on slot 1 in the array Note that starting from 3.6.0 global virtual link gc can be added to virtual link.
 GlobalControllersArray[] getUpstreamGlobalControllersArray()
          Gets the array of the Global Controllers for upstream traffic
 GlobalControllersArray getUpstreamTemplateVirtualLinkGlobalControllerArray()
          Gets the array of template virtual link Global Controllers for upstream traffic which is stored on slot 0 in the array Note that starting from 3.6.0 global virtual link gc can be added to virtual link.
 com.pcube.apps.engage.policy.vas.VasConfig getVasConfig()
           
 int getVirtualLinksRDRRate()
           
 int getVirtualLinkUsageRdrMaxRate()
          getting the maximum rate for issuing Virtual Link usage reports
 int getZoneRDRRate()
           
 int getZoneUsageRdrMaxRate()
          getting the maximum rate for issuing Zone usage reports
 boolean isAggregateGcModeEnabled()
           
 boolean isEnableClickStreamTurs()
           
 boolean isEnableExtendedTurs()
           
 boolean isEnableIPV6Turs()
           
 boolean isEnableMidFlowActions()
          Checking if the forcing of actions in the middle of a flow is enabled or disabled.
 boolean isEnableOngoingAdmission()
          Checking if ongoing admission is enabled or disabled.
 boolean isEnableProtocolSpecificTurs()
           
 boolean isEnableTurs()
           
 boolean isEncryptExtendedTurs()
           
 boolean isGcModeSeparateLinkEnabled()
           
 boolean isLinkRdrEnabled()
          Deprecated.  
 boolean isNNTPEnahncedModeEnabled()
          Checking if the NNTP enhanced mode is enabled or disabled
 boolean isQpBreachRdrEnabled()
           
 boolean isQpQuotaRdrEnabled()
           
 boolean isQpStateRestorRdrEnabled()
           
 boolean isQpThresholdRdrEnabled()
           
 boolean isVirtualLinksMode()
           
 void resetTotalBwLimitSettings(float value)
           
 void setActualLinksNum(int actualLinksNum)
          Set the number of actual links.
 void setAggregateGcModeEnabled(boolean inAggregateGcModeEnabled)
           
 void setBlockReportFrequency(int newFrequency)
          Sets the frequency of issuing the block report.
 void setBwPrioritizationMode(BwPrioritizationMode inBwPrioritizationMode)
           
 void setDefaultSampleInterval(boolean enableDefultSampleInterval)
           
 void setDefaultSamplePeriod(boolean enableDefultSamplePeriod)
           
 void setDefaultScanPort(boolean enableDefultScanPort)
           
 void setEnableClickStreamTurs(boolean selected)
           
 void setEnableExtendedTurs(boolean inEnableExtendedTurs)
           
 void setEnableFlush(boolean enableFlush)
           
 void setEnableGxReport(boolean enableGXReport)
           
 void setEnableIPV6Turs(boolean selected)
           
 void setEnableMidFlowActions(boolean value)
          Enabling/disabling the forcing of actions in the middle of a flow
 void setEnableNat(boolean enableNat)
           
 void setEnableOngoingAdmission(boolean value)
          Enabling/disabling ongoing admission
 void setEnableProtocolSpecificTurs(boolean inEnableProtocolSpecificTurs)
           
 void setEnableTurs(boolean inEnableTurs)
           
 void setEncryptExtendedTurs(boolean inEncryptExtendedTurs)
           
 void setGcModeSeparateLinkEnabled(boolean inGcModeSeparateLinkEnabled)
           
 void setIdentifyP2PFromPort(long value)
          Setting the port from which to begin to identify P2P activity
 void setIdentifyP2PUntilPort(long value)
          Setting the end of the port range from which to identify P2P activity
 void setIgnoreFilterRuleList(IgnoreFilterRuleArray newIgnoreFilterList)
          Sets the list of IgnorFilterRules for the Policy.
 void setInterimTransactionUsageRDRInterval(int interimtransactionUsageRDRInterval)
           
 void setLinkRdrEnabled(boolean value)
          Deprecated.  
 void setLinkRDRRate(int rate)
          Setting the rate of the Link RDRs
 void setNetworkUsageRDRRate(long newNetworkUsageRDRRate)
          Sets the rate for issuing the network usage report.
 void setNNTPEnahncedModeEnabled(boolean value)
          Enabling/disabling the NNTP enhanced mode
 void setOngoingAdmissionRate(long value)
          Setting the rate of the ongoing admission
 void setOSFPEnableDisable(boolean enableDesableOFP)
           
 void setOSFPFlushInterval(int OSFINGERPRINT_set_flush_interval)
           
 void setOSFPNATDetuctWindow(int OSFINGERPRINT_set_nat_detect_window)
           
 void setOSFPSampleInterval(int OSFINGERPRINT_set_sample_interval)
           
 void setOSFPSamplePeriod(int OSFINGERPRINT_set_sample_period)
           
 void setPackageComboList(PackageComboArray packageComboList)
           
 void setPackageRDRRate(int rate)
          Setting the rate of Package RDRs
 void setPackageSwitchNurs(boolean selected)
           
 void setPortTotalWireBWLimit(int port, float bw)
          Deprecated. use setPortTotalWireBWLimit(int, int, float)
 void setPortTotalWireBWLimit(int linkId, int port, float bw)
          Deprecated.  
 void setPortTotalWireBWLimit(int linkId, int port, long bw)
           
 void setPortTotalWireBWLimit(int linkId, int portId, TimeBasedValue bw)
           
 void setQpBreachRdrEnabled(boolean inUpBreachRdrEnabled)
           
 void setQpQuotaRdrEnabled(boolean inQpQuotaRdrEnabled)
           
 void setQpQuotaRdrMaxFreq(int inQpQuotaRdrMaxFreq)
           
 void setQpQuotaRdrSampleRate(int inQpQuotaRdrSampleRate)
           
 void setQpStateRestorRdrEnabled(boolean qbStateRestorRdrEnabled)
           
 void setQpThresholdRdrEnabled(boolean inQpThresholdRdrEnabled)
           
 void setQpThresholdRdrKbytesLimit(int qpThresholdRdrKbytesLimit)
           
 void setQpThresholdRdrMbytesLimit(int qpThresholdRdrMbytesLimit)
          Deprecated. use PolicySettings#setQpThresholdRdrKbytesLimit()
 void setRealtimeSubscriberRdrInterval(int interval)
          Setting the interval of real time Subscriber RDRs
 void setRealtimeSubscriberRdrMaxRate(int rate)
          Setting the maximum rate of real time Subscriber RDRs
 void setScanPort(int set_scan_port)
           
 void setSubscriberUsageRdrMaxRate(int rate)
          Setting the maximum rate for issuing Subscriber usage reports
 void setSystemState(int newSystemState)
          Sets the PolicyDomain's operational mode.
 void setSystemTopologicalMode(int newSystemTopologicalMode)
          Sets the policy's topological mode.
 void setTransactionRDRTotalRate(int rate)
          Setting the total rate of transaction RDRs
 void setTransactionUsageRDRThreshold(int inTransactionUsageRDRThreshold)
           
 void setVirtualLinkMode(boolean enabled)
           
 void setVirtualLinksRDRRate(int rate)
           
 void setVirtualLinkUsageRdrMaxRate(int rate)
          Setting the maximum rate for issuing Virtual Link usage reports
 void setZoneRDRRate(int rate)
           
 void setZoneUsageRdrMaxRate(int rate)
          Setting the maximum rate for issuing Zone usage reports
 void toStream(java.io.PrintStream out, Formatter f)
          Writing this object to a PrintStream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LINK_ID_1

public static final int LINK_ID_1
Link id 1 of the SE box

See Also:
Constant Field Values

LINK_IDX_0

public static final int LINK_IDX_0
Link index 0 of the SE box (holds the template in virtual link)

See Also:
Constant Field Values

LINK_IDX_1

public static final int LINK_IDX_1
Link index 1 of the SE box (holds the default in virtual link)

See Also:
Constant Field Values

MAX_LINKS

public static final int MAX_LINKS
Max Links of the SE box (this number represent the MAX link of MGBE platform)

See Also:
Constant Field Values

MAX_P2P_PORT

public static final long MAX_P2P_PORT
The largest port which can be configured to identify P2P activity

See Also:
Constant Field Values

PORT_1

public static final int PORT_1
Deprecated. use PORT_SUBSCRIBERS
See Also:
Constant Field Values

PORT_2

public static final int PORT_2
Deprecated. use PORT_NETWORK
See Also:
Constant Field Values

PORT_NETWORK

public static final int PORT_NETWORK
The network port of the SE box

See Also:
Constant Field Values

PORT_SUBSCRIBERS

public static final int PORT_SUBSCRIBERS
The subscriber port of the SE box

See Also:
Constant Field Values

SYS_MODE_FULLY_FUNCTIONAL

public static final int SYS_MODE_FULLY_FUNCTIONAL
fully-functional system mode

See Also:
Constant Field Values

SYS_MODE_REPORT_ONLY

public static final int SYS_MODE_REPORT_ONLY
report-only system mode

See Also:
Constant Field Values

SYS_MODE_TRANSPARENT

public static final int SYS_MODE_TRANSPARENT
transparent system mode

See Also:
Constant Field Values

SYS_TOPOLOGICAL_MODE_DUPLEX

public static final int SYS_TOPOLOGICAL_MODE_DUPLEX
Duplex (normal) mode

See Also:
Constant Field Values

SYS_TOPOLOGICAL_MODE_SPLIT

public static final int SYS_TOPOLOGICAL_MODE_SPLIT
Split flow mode

See Also:
Constant Field Values

TRANSPARENT_SYSTEM_STATE

public static final int TRANSPARENT_SYSTEM_STATE
Deprecated. use SYS_MODE_TRANSPARENT
See Also:
Constant Field Values

FULLY_FUNCTIONAL_SYSTEM_STATE

public static final int FULLY_FUNCTIONAL_SYSTEM_STATE
Deprecated. use SYS_MODE_FULLY_FUNCTIONAL
See Also:
Constant Field Values

REPORT_ONLY_SYSTEM_STATE

public static final int REPORT_ONLY_SYSTEM_STATE
Deprecated. use SYS_MODE_REPORT_ONLY
See Also:
Constant Field Values

SECONDS_IN_MINUTES

public static final int SECONDS_IN_MINUTES
See Also:
Constant Field Values

MINIMUM_TRANSACTION_INTERIM_INTERVAL_IN_SECONDS

public static final int MINIMUM_TRANSACTION_INTERIM_INTERVAL_IN_SECONDS
See Also:
Constant Field Values
Constructor Detail

PolicySettings

public PolicySettings(Policy policy)
PolicySettings Constructor.

Parameters:
policy - the Policy the settings belong to

PolicySettings

public PolicySettings(Policy policy,
                      java.lang.String domainName)
Deprecated. use PolicySettings(Policy)instead

Method Detail

clone

public java.lang.Object clone()
Producing an identical object to this object.

Overrides:
clone in class java.lang.Object
Returns:
a newly allocated object similar to this object.

fromStream

public void fromStream(java.io.BufferedReader in,
                       Formatter f)
                throws ImportExportException
Reading this object from a BufferedReader

Specified by:
fromStream in interface Formattable
Parameters:
in - the BufferedReader
f - the formatter used to read this object from the BufferedReader
Throws:
ImportExportException

getBlockReportFrequency

public int getBlockReportFrequency()
Gets the frequency of issuing the block report. This report reports flows which were blocked due to enforcing the Policy's rules. The frequency defines the maximum reports generated per second.

Returns:
the frequency the report is issued

getBwPrioritizationMode

public BwPrioritizationMode getBwPrioritizationMode()

getIdentifyP2PFromPort

public long getIdentifyP2PFromPort()
Getting the beginning of the port range from which P2P activity is identified

Returns:
the port number

getIdentifyP2PUntilPort

public long getIdentifyP2PUntilPort()
Getting the ending of the port range from which P2P activity is identified

Returns:
the port number

getIgnoreFilterRuleList

public IgnoreFilterRuleArray getIgnoreFilterRuleList()
Gets the list of IgnorFilterRules for the Policy.

Returns:
the list of IgnorFilterRules for the Policy

getLinkRDRRate

public int getLinkRDRRate()
Getting the rate of the Link RDRs

Returns:
the rate

getNetworkUsageRDRRate

public long getNetworkUsageRDRRate()
Gets the rate for issuing the network usage report.

Returns:
the report's rate

getOngoingAdmissionRate

public long getOngoingAdmissionRate()
Gets the rate if the ongoing admission

Returns:
the rate

getPackageRDRRate

public int getPackageRDRRate()
Getting the rate of Package RDRs

Returns:
the rate

getVirtualLinksRDRRate

public int getVirtualLinksRDRRate()

getPortTotalWireBWLimit

public float getPortTotalWireBWLimit(int port)
Deprecated. use getPortTotalWireBWLimit(int, int)

Parameters:
port -
Returns:

getPortTotalWireBWLimit

public float getPortTotalWireBWLimit(int linkId,
                                     int port)
Gets the total bandwidth limit for a certain port in the Policy's SE boxes.

Parameters:
linkId -
port - the queried port
Returns:
the total bandwidth limit for a certain port in the Policy's SE boxes
See Also:
PORT_NETWORK, PORT_SUBSCRIBERS, LINK_ID_1

getRealtimeRdrSettings

public RealtimeSignalingRdrSettings getRealtimeRdrSettings()

getQpQuotaRdrMaxFreq

public int getQpQuotaRdrMaxFreq()
Returns:
Returns the qpQuotaRdrMaxFreq.

getQpQuotaRdrSampleRate

public int getQpQuotaRdrSampleRate()
Returns:
Returns the qpQuotaRdrSampleRate.

getQpThresholdRdrMbytesLimit

public int getQpThresholdRdrMbytesLimit()
Deprecated. use getQpThresholdRdrKbytesLimit()

Returns:

getQpThresholdRdrKbytesLimit

public int getQpThresholdRdrKbytesLimit()
Returns:

getRealtimeSubscriberRdrInterval

public int getRealtimeSubscriberRdrInterval()
Getting the interval of real time Subscriber RDRs

Returns:
the interval

getRealtimeSubscriberRdrMaxRate

public int getRealtimeSubscriberRdrMaxRate()
Getting the maximum rate of real time Subscriber RDRs

Returns:
the rate

getSubscriberUsageRdrMaxRate

public int getSubscriberUsageRdrMaxRate()
getting the maximum rate for issuing Subscriber usage reports

Returns:
the rate

getZoneUsageRdrMaxRate

public int getZoneUsageRdrMaxRate()
getting the maximum rate for issuing Zone usage reports

Returns:
the rate

getVirtualLinkUsageRdrMaxRate

public int getVirtualLinkUsageRdrMaxRate()
getting the maximum rate for issuing Virtual Link usage reports

Returns:
the rate

getSystemState

public int getSystemState()
Gets the Policy's operational mode.

Returns:
the Policy's operational mode
See Also:
FULLY_FUNCTIONAL_SYSTEM_STATE, TRANSPARENT_SYSTEM_STATE, REPORT_ONLY_SYSTEM_STATE

getTransactionRDRTotalRate

public int getTransactionRDRTotalRate()
Getting the total rate of transaction RDRs

Returns:
the rate

getUpstreamGlobalControllersArray

public GlobalControllersArray[] getUpstreamGlobalControllersArray()
Gets the array of the Global Controllers for upstream traffic

Returns:
the array of the Global Controllers

getUpstreamAggregatedGlobalControllersArray

public GlobalControllersArray getUpstreamAggregatedGlobalControllersArray()
Gets aggregate Global Controllers for upstream traffic

Returns:
the aggregate Global Controllers array

getUpstreamDefaultVirtualLinkGlobalControllerArray

public GlobalControllersArray getUpstreamDefaultVirtualLinkGlobalControllerArray()
Gets the array of virtual link Global Controllers for upstream traffic which is stored on slot 1 in the array Note that starting from 3.6.0 global virtual link gc can be added to virtual link. All Global GCs are being stored at the end of the default and template virtual link. However, only the GCs from the type of GlobalController.DEFAULT_GC_TYPE are part of the template and default virtual link GCs

Returns:
the array of the Global Controllers

getUpstreamTemplateVirtualLinkGlobalControllerArray

public GlobalControllersArray getUpstreamTemplateVirtualLinkGlobalControllerArray()
Gets the array of template virtual link Global Controllers for upstream traffic which is stored on slot 0 in the array Note that starting from 3.6.0 global virtual link gc can be added to virtual link. All Global GCs are being stored at the end of the default and template virtual link. However, only the GCs from the type of GlobalController.DEFAULT_GC_TYPE are part of the template and default virtual link GCs

Returns:
the array of the Global Controllers

getDownstreamGlobalControllersArray

public GlobalControllersArray[] getDownstreamGlobalControllersArray()
Gets the array of the Global Controllers for downstream traffic

Returns:
the array of the Global Controllers

getDownstreamAggregatedGlobalControllersArray

public GlobalControllersArray getDownstreamAggregatedGlobalControllersArray()
Gets aggregate Global Controllers for downstream traffic

Returns:
the aggregate Global Controllers array

getDownstreamDefaultVirtualLinkGlobalControllerArray

public GlobalControllersArray getDownstreamDefaultVirtualLinkGlobalControllerArray()
Gets the array of virtual link Global Controllers for downstream traffic which is stored on slot 1 in the array Note that starting from 3.6.0 global virtual link gc can be added to virtual link. All Global GCs are being stored at the end of the default and template virtual link. However, only the GCs from the type of GlobalController.DEFAULT_GC_TYPE are part of the template and default virtual link GCs

Returns:
the array of the Global Controllers

getDownstreamTemplateVirtualLinkGlobalControllerArray

public GlobalControllersArray getDownstreamTemplateVirtualLinkGlobalControllerArray()
Gets the array of template virtual link Global Controllers for downstream traffic which is stored on slot 0 in the array Note that starting from 3.6.0 global virtual link gc can be added to virtual link. All Global GCs are being stored at the end of the default and template virtual link. However, only the GCs from the type of GlobalController.DEFAULT_GC_TYPE are part of the template and default virtual link GCs

Returns:
the array of the Global Controllers

isEnableMidFlowActions

public boolean isEnableMidFlowActions()
Checking if the forcing of actions in the middle of a flow is enabled or disabled.

Returns:
true or false

isEnableOngoingAdmission

public boolean isEnableOngoingAdmission()
Checking if ongoing admission is enabled or disabled.

Returns:
true or false

isLinkRdrEnabled

public boolean isLinkRdrEnabled()
Deprecated. 

Checking if the generation of the Link RDRs is enabled or disabled

Returns:
true or false

isNNTPEnahncedModeEnabled

public boolean isNNTPEnahncedModeEnabled()
Checking if the NNTP enhanced mode is enabled or disabled

Returns:
true or false

isQpBreachRdrEnabled

public boolean isQpBreachRdrEnabled()
Returns:
Returns the qpBreachRdrEnabled.

isQpQuotaRdrEnabled

public boolean isQpQuotaRdrEnabled()
Returns:
Returns the qpQuotaRdrEnabled.

isQpThresholdRdrEnabled

public boolean isQpThresholdRdrEnabled()
Returns:

isQpStateRestorRdrEnabled

public boolean isQpStateRestorRdrEnabled()

setBlockReportFrequency

public void setBlockReportFrequency(int newFrequency)
Sets the frequency of issuing the block report. This report reports flows which were blocked due to enforcing the Policy's rules. The frequency defines the maximum reports generated per second.

Parameters:
newFrequency - the new frequency for issuing the report

setBwPrioritizationMode

public void setBwPrioritizationMode(BwPrioritizationMode inBwPrioritizationMode)

setEnableMidFlowActions

public void setEnableMidFlowActions(boolean value)
Enabling/disabling the forcing of actions in the middle of a flow

Parameters:
value - true to enable, false to disable

setEnableOngoingAdmission

public void setEnableOngoingAdmission(boolean value)
Enabling/disabling ongoing admission

Parameters:
value - true to enable, false to disable

setIdentifyP2PFromPort

public void setIdentifyP2PFromPort(long value)
Setting the port from which to begin to identify P2P activity

Parameters:
value - the port

setIdentifyP2PUntilPort

public void setIdentifyP2PUntilPort(long value)
Setting the end of the port range from which to identify P2P activity

Parameters:
value - the port

setIgnoreFilterRuleList

public void setIgnoreFilterRuleList(IgnoreFilterRuleArray newIgnoreFilterList)
Sets the list of IgnorFilterRules for the Policy.

Parameters:
newIgnoreFilterList - the new IgnoreFilterRuleArray

setLinkRdrEnabled

public void setLinkRdrEnabled(boolean value)
Deprecated. 

Enabling/disabling the generation of Link RDRs

Parameters:
value - true to enable, false to disable

setLinkRDRRate

public void setLinkRDRRate(int rate)
Setting the rate of the Link RDRs

Parameters:
rate -

setNetworkUsageRDRRate

public void setNetworkUsageRDRRate(long newNetworkUsageRDRRate)
Sets the rate for issuing the network usage report.

Parameters:
newNetworkUsageRDRRate - the new report's rate

setNNTPEnahncedModeEnabled

public void setNNTPEnahncedModeEnabled(boolean value)
Enabling/disabling the NNTP enhanced mode

Parameters:
value - true to enable, false to disable

setOngoingAdmissionRate

public void setOngoingAdmissionRate(long value)
Setting the rate of the ongoing admission

Parameters:
value - the new rate

setPackageRDRRate

public void setPackageRDRRate(int rate)
Setting the rate of Package RDRs

Parameters:
rate -

setVirtualLinksRDRRate

public void setVirtualLinksRDRRate(int rate)

setPortTotalWireBWLimit

public void setPortTotalWireBWLimit(int port,
                                    float bw)
Deprecated. use setPortTotalWireBWLimit(int, int, float)

Parameters:
port -
bw -

setPortTotalWireBWLimit

public void setPortTotalWireBWLimit(int linkId,
                                    int port,
                                    float bw)
Deprecated. 

Sets the total bandwidth limit for a certain port in the Policy's SE boxes.

Parameters:
linkId -
port - the queried port
bw - the new bandwidth limit (in percent of the max SE link BW)
See Also:
PORT_NETWORK, PORT_SUBSCRIBERS, LINK_ID_1

setPortTotalWireBWLimit

public void setPortTotalWireBWLimit(int linkId,
                                    int port,
                                    long bw)

setQpBreachRdrEnabled

public void setQpBreachRdrEnabled(boolean inUpBreachRdrEnabled)
Parameters:
inUpBreachRdrEnabled - The qpBreachRdrEnabled to set.

setQpQuotaRdrEnabled

public void setQpQuotaRdrEnabled(boolean inQpQuotaRdrEnabled)
Parameters:
inQpQuotaRdrEnabled - The qpQuotaRdrEnabled to set.

setQpQuotaRdrMaxFreq

public void setQpQuotaRdrMaxFreq(int inQpQuotaRdrMaxFreq)
Parameters:
inQpQuotaRdrMaxFreq - The qpQuotaRdrMaxFreq to set.

setQpQuotaRdrSampleRate

public void setQpQuotaRdrSampleRate(int inQpQuotaRdrSampleRate)
Parameters:
inQpQuotaRdrSampleRate - The qpQuotaRdrSampleRate to set.

setQpThresholdRdrEnabled

public void setQpThresholdRdrEnabled(boolean inQpThresholdRdrEnabled)
Parameters:
inQpThresholdRdrEnabled -

setQpStateRestorRdrEnabled

public void setQpStateRestorRdrEnabled(boolean qbStateRestorRdrEnabled)

setQpThresholdRdrMbytesLimit

public void setQpThresholdRdrMbytesLimit(int qpThresholdRdrMbytesLimit)
Deprecated. use PolicySettings#setQpThresholdRdrKbytesLimit()

Parameters:
qpThresholdRdrKbytesLimit -

setQpThresholdRdrKbytesLimit

public void setQpThresholdRdrKbytesLimit(int qpThresholdRdrKbytesLimit)
Parameters:
setQpThresholdRdrKbytesLimit -

setRealtimeSubscriberRdrInterval

public void setRealtimeSubscriberRdrInterval(int interval)
Setting the interval of real time Subscriber RDRs

Parameters:
interval -

setRealtimeSubscriberRdrMaxRate

public void setRealtimeSubscriberRdrMaxRate(int rate)
Setting the maximum rate of real time Subscriber RDRs

Parameters:
rate -

setSubscriberUsageRdrMaxRate

public void setSubscriberUsageRdrMaxRate(int rate)
Setting the maximum rate for issuing Subscriber usage reports

Parameters:
rate -

setZoneUsageRdrMaxRate

public void setZoneUsageRdrMaxRate(int rate)
Setting the maximum rate for issuing Zone usage reports

Parameters:
rate -

setVirtualLinkUsageRdrMaxRate

public void setVirtualLinkUsageRdrMaxRate(int rate)
Setting the maximum rate for issuing Virtual Link usage reports

Parameters:
rate -

setSystemState

public void setSystemState(int newSystemState)
Sets the PolicyDomain's operational mode. The mode can be to be passive, to report activity or to be fully functional by enforcing the Policy's rules.

Parameters:
newSystemState - the new Policy's operational state
See Also:
FULLY_FUNCTIONAL_SYSTEM_STATE, TRANSPARENT_SYSTEM_STATE, REPORT_ONLY_SYSTEM_STATE

setTransactionRDRTotalRate

public void setTransactionRDRTotalRate(int rate)
Setting the total rate of transaction RDRs

Parameters:
rate -

toStream

public void toStream(java.io.PrintStream out,
                     Formatter f)
Writing this object to a PrintStream

Specified by:
toStream in interface Formattable
Parameters:
out - the PrintStream
f - the formatter used to write this object

isAggregateGcModeEnabled

public boolean isAggregateGcModeEnabled()

setAggregateGcModeEnabled

public void setAggregateGcModeEnabled(boolean inAggregateGcModeEnabled)

isGcModeSeparateLinkEnabled

public boolean isGcModeSeparateLinkEnabled()

setGcModeSeparateLinkEnabled

public void setGcModeSeparateLinkEnabled(boolean inGcModeSeparateLinkEnabled)

getAdvancedOptions

public com.pcube.apps.engage.policy.adv.AdvancedOptions getAdvancedOptions()

getVasConfig

public com.pcube.apps.engage.policy.vas.VasConfig getVasConfig()

getTransactionUsageRDRThreshold

public int getTransactionUsageRDRThreshold()

setTransactionUsageRDRThreshold

public void setTransactionUsageRDRThreshold(int inTransactionUsageRDRThreshold)

getInterimTransactionUsageRDRInterval

public int getInterimTransactionUsageRDRInterval()

setInterimTransactionUsageRDRInterval

public void setInterimTransactionUsageRDRInterval(int interimtransactionUsageRDRInterval)

setPortTotalWireBWLimit

public void setPortTotalWireBWLimit(int linkId,
                                    int portId,
                                    TimeBasedValue bw)

resetTotalBwLimitSettings

public void resetTotalBwLimitSettings(float value)

getPortTotalWireTimeBasedBWLimit

public TimeBasedValue getPortTotalWireTimeBasedBWLimit(int linkId,
                                                       int portId)

getSystemTopologicalMode

public int getSystemTopologicalMode()
One fo two values: Dulex - Both directions (inbound and outbound) of all flows go through the SCE Split - Only one direction of some part of the flows go through the SCE.

Returns:
Returns the systemTopologicalMode.
See Also:
SYS_TOPOLOGICAL_MODE_DUPLEX, SYS_TOPOLOGICAL_MODE_SPLIT

setSystemTopologicalMode

public void setSystemTopologicalMode(int newSystemTopologicalMode)
Sets the policy's topological mode. The mode can be set to: Dulex - Both directions (inbound and outbound) of all flows go through the SCE Split - Only one direction of some part of the flows go through the SCE.

Parameters:
newSystemTopologicalMode - the Policy's topological mode
See Also:
SYS_TOPOLOGICAL_MODE_DUPLEX, SYS_TOPOLOGICAL_MODE_SPLIT

isVirtualLinksMode

public boolean isVirtualLinksMode()

setVirtualLinkMode

public void setVirtualLinkMode(boolean enabled)

setEnableTurs

public void setEnableTurs(boolean inEnableTurs)

isEnableTurs

public boolean isEnableTurs()

setEnableProtocolSpecificTurs

public void setEnableProtocolSpecificTurs(boolean inEnableProtocolSpecificTurs)

isEnableProtocolSpecificTurs

public boolean isEnableProtocolSpecificTurs()

setEnableExtendedTurs

public void setEnableExtendedTurs(boolean inEnableExtendedTurs)

isEnableExtendedTurs

public boolean isEnableExtendedTurs()

setEncryptExtendedTurs

public void setEncryptExtendedTurs(boolean inEncryptExtendedTurs)

isEncryptExtendedTurs

public boolean isEncryptExtendedTurs()

getCommonAntiSpamSettings

public com.pcube.apps.engage.policy.antispam.CommonAntiSpamSettings getCommonAntiSpamSettings()
Return the anti SPAM configuration settings - model that holds all details for anti spam per package

Returns:

getSpamDetectionSettings

public SpamDetectionSettings getSpamDetectionSettings()
Deprecated. use getCommonAntiSpamSettings()instead}

Returns:

getActualLinksNum

public int getActualLinksNum()
Holds the number of actual links. by default this number is being set to MAX_LINKS. During the apply, this number is being updated based on the SCE device and kept in the PQB.

Returns:

setActualLinksNum

public void setActualLinksNum(int actualLinksNum)
Set the number of actual links. by default this number is being set to MAX_LINKS. During the apply, this number is being updated based on the SCE device and kept in the PQB.

Parameters:
actualLinksNum -

setZoneRDRRate

public void setZoneRDRRate(int rate)

getZoneRDRRate

public int getZoneRDRRate()

isEnableClickStreamTurs

public boolean isEnableClickStreamTurs()

setEnableClickStreamTurs

public void setEnableClickStreamTurs(boolean selected)

setPackageSwitchNurs

public void setPackageSwitchNurs(boolean selected)

getPackageSwitchNurs

public boolean getPackageSwitchNurs()

setOSFPEnableDisable

public void setOSFPEnableDisable(boolean enableDesableOFP)

getOSFPEnableDesable

public boolean getOSFPEnableDesable()

setOSFPSamplePeriod

public void setOSFPSamplePeriod(int OSFINGERPRINT_set_sample_period)

getOSFPSamplePeriod

public int getOSFPSamplePeriod()

setOSFPSampleInterval

public void setOSFPSampleInterval(int OSFINGERPRINT_set_sample_interval)

getOSFPSampleInterval

public int getOSFPSampleInterval()

setOSFPFlushInterval

public void setOSFPFlushInterval(int OSFINGERPRINT_set_flush_interval)

getOSFPFlushInterval

public int getOSFPFlushInterval()

setOSFPNATDetuctWindow

public void setOSFPNATDetuctWindow(int OSFINGERPRINT_set_nat_detect_window)

getOSFPNATDetuctWindow

public int getOSFPNATDetuctWindow()

setDefaultSamplePeriod

public void setDefaultSamplePeriod(boolean enableDefultSamplePeriod)

setDefaultSampleInterval

public void setDefaultSampleInterval(boolean enableDefultSampleInterval)

setEnableFlush

public void setEnableFlush(boolean enableFlush)

setEnableNat

public void setEnableNat(boolean enableNat)

setDefaultScanPort

public void setDefaultScanPort(boolean enableDefultScanPort)

setEnableGxReport

public void setEnableGxReport(boolean enableGXReport)

getDefaultSamplePeriod

public boolean getDefaultSamplePeriod()

getDefaultSampleInterval

public boolean getDefaultSampleInterval()

getEnableFlush

public boolean getEnableFlush()

getEnableNat

public boolean getEnableNat()

getDefaultScanPort

public boolean getDefaultScanPort()

getEnableGxReport

public boolean getEnableGxReport()

setScanPort

public void setScanPort(int set_scan_port)

getScanPort

public int getScanPort()

isEnableIPV6Turs

public boolean isEnableIPV6Turs()

setEnableIPV6Turs

public void setEnableIPV6Turs(boolean selected)

getPackageComboList

public PackageComboArray getPackageComboList()

setPackageComboList

public void setPackageComboList(PackageComboArray packageComboList)

Cisco Systems, Inc.

Copyright © 2013 Cisco Systems, Inc. Confidential.