Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
|
ParameterMap handles and manipulates Zone-Based Policy Firewall parameter maps. More...
Public Member Functions | |
string | getMapName () |
Returns the name of the paramter map. More... | |
ZfwMapType | getMapType () |
Returns the type of the paramter map. More... | |
void | setInUsed (bool) |
Sets the parameter map as in use or not in use. More... | |
void | setMapType (ZfwMapType) |
Sets the type of the paramter map. More... | |
void | setAlert (bool) |
Turns on or off alert. More... | |
void | setAlertEnable (bool) |
Enables or disables alert. More... | |
void | setAuditTrail (bool) |
Turns on or off audit-trail. More... | |
void | setAuditTrailEnable (bool) |
Enables or disables audit-trail. More... | |
void | setDnsTimeout (int) |
Sets the dns-timeout value. More... | |
void | setDnsTimeoutEnable (bool) |
Enables or disables dns-timeout. More... | |
void | setIcmpIdleTimeout (int) |
Sets the icmp idle-timeout value. More... | |
void | setIcmpIdleTimeoutEnable (bool) |
Enables or disables icmp idle-timeout. More... | |
void | setMaxIncompleteLow (int) |
Sets the max-incomplete low value. More... | |
void | setMaxIncompleteLowEnable (bool) |
Enables or disables max-incomplete low. More... | |
void | setMaxIncompleteHigh (int) |
Sets the max-incomplete high value. More... | |
void | setMaxIncompleteHighEnable (bool) |
Enables or disables max-incomplete high. More... | |
void | setSessionMax (int) |
Sets the session max value. More... | |
void | setSessionMaxEnable (bool) |
Enables or disables session max. More... | |
void | setOneMinLow (int) |
Sets the one-minute low value. More... | |
void | setOneMinLowEnable (bool) |
Enables or disables one-minute low. More... | |
void | setOneMinHigh (int) |
Sets the one-minute high value. More... | |
void | setOneMinHighEnable (bool) |
Enables or disables one-minute high. More... | |
void | setTcpFinWaitTimeout (int) |
Sets the tcp finwait-time value. More... | |
void | setTcpFinWaitTimeoutEnable (bool) |
Enables or disables tcp finwait-time. More... | |
void | setTcpIdleTimeout (int) |
Sets the tcp idle-time value. More... | |
void | setTcpIdleTimeoutEnable (bool) |
Enables or disables tcp idle-time. More... | |
void | setTcpMaxIncompleteConn (int) |
Sets the tcp max-incomplete host value. More... | |
void | setTcpMaxIncompleteConnEnable (bool) |
Enables or disables tcp max-incomplete host. More... | |
void | setTcpMaxIncompleteConnBlockTime (int) |
Sets the tcp max-incomplete host block-time value. More... | |
void | setTcpMaxIncompleteConnBlockTimeEnable (bool) |
Enables or disables tcp max-incomplete host block-time. More... | |
void | setTcpSynWaitTimeout (int) |
Sets the tcp synwait-time value. More... | |
void | setTcpSynWaitTimeoutEnable (bool) |
Enables or disables tcp synwait-time block-time. More... | |
void | setUdpIdleTimeout (int) |
Sets the udp idle-time value. More... | |
void | setUdpIdleTimeoutEnable (bool) |
Enables or disables udp idle-time. More... | |
bool | getAlert () |
Returns true if alert is on, otherwise false. More... | |
bool | getAlertEnable () |
Returns true if alert is enabled, otherwise false. More... | |
bool | getAuditTrail () |
Returns true if audit-trail is on, otherwise false. More... | |
bool | getAuditTrailEnable () |
Returns true if audit-trail is enabled, otherwise false. More... | |
int | getDnsTimeout () |
Returns the dns-timeout value. More... | |
bool | getDnsTimeoutEnable () |
Returns true if dns-timeout is enabled, otherwise false. More... | |
int | getIcmpIdleTimeout () |
Returns the icmp idle-timeout value. More... | |
bool | getIcmpIdleTimeoutEnable () |
Returns true if icmp idle-timeout is enabled, otherwise false. More... | |
int | getMaxIncompleteLow () |
Returns the max-incomplete low value. More... | |
bool | getMaxIncompleteLowEnable () |
Returns true if max-incomplete low is enabled, otherwise false. More... | |
int | getMaxIncompleteHigh () |
Returns the max-incomplete high value. More... | |
bool | getMaxIncompleteHighEnable () |
Returns true if max-incomplete high is enabled, otherwise false. More... | |
int | getSessionMax () |
Returns the session max value. More... | |
bool | getSessionMaxEnable () |
Returns true if session max is enabled, otherwise false. More... | |
int | getOneMinLow () |
Returns the one-minute low value. More... | |
bool | getOneMinLowEnable () |
Returns true if one-minute low is enabled, otherwise false. More... | |
int | getOneMinHigh () |
Returns the one-minute high value. More... | |
bool | getOneMinHighEnable () |
Returns true if one-minute high is enabled, otherwise false. More... | |
int | getTcpFinWaitTimeout () |
Returns the tcp finwait-time value. More... | |
bool | getTcpFinWaitTimeoutEnable () |
Returns true if tcp finwait-time is enabled, otherwise false. More... | |
int | getTcpIdleTimeout () |
Returns the tcp idle-time value. More... | |
bool | getTcpIdleTimeoutEnable () |
Returns true if tcp idle-time is enabled, otherwise false. More... | |
int | getTcpMaxIncompleteConn () |
Returns the tcp max-incomplete host value. More... | |
bool | getTcpMaxIncompleteConnEnable () |
Returns true if tcp max-incomplete host is enabled, otherwise false. More... | |
int | getTcpMaxIncompleteConnBlockTime () |
Returns the tcp max-incomplete host block-time value. More... | |
bool | getTcpMaxIncompleteConnBlockTimeEnable () |
Returns true if tcp max-incomplete host block-time is enabled, otherwise false. More... | |
int | getTcpSynWaitTimeout () |
Returns the tcp synwait-time value. More... | |
bool | getTcpSynWaitTimeoutEnable () |
Returns true if tcp synwait-time is enabled, otherwise false. More... | |
int | getUdpIdleTimeout () |
Returns the udp idle-time value. More... | |
bool | getUdpIdleTimeoutEnable () |
Returns true if udp idle-time is enabled, otherwise false. More... | |
bool | isInUsed () |
Returns true if the parameter map is in use, otherwise false. More... | |
string | toString () |
Returns the name of the parameter map. More... | |
ParameterMap handles and manipulates Zone-Based Policy Firewall parameter maps.
bool ParameterMap::getAlert | ( | ) |
Returns true if alert is on, otherwise false.
bool ParameterMap::getAlertEnable | ( | ) |
Returns true if alert is enabled, otherwise false.
bool ParameterMap::getAuditTrail | ( | ) |
Returns true if audit-trail is on, otherwise false.
bool ParameterMap::getAuditTrailEnable | ( | ) |
Returns true if audit-trail is enabled, otherwise false.
int ParameterMap::getDnsTimeout | ( | ) |
Returns the dns-timeout value.
bool ParameterMap::getDnsTimeoutEnable | ( | ) |
Returns true if dns-timeout is enabled, otherwise false.
int ParameterMap::getIcmpIdleTimeout | ( | ) |
Returns the icmp idle-timeout value.
bool ParameterMap::getIcmpIdleTimeoutEnable | ( | ) |
Returns true if icmp idle-timeout is enabled, otherwise false.
string ParameterMap::getMapName | ( | ) |
Returns the name of the paramter map.
ZfwMapType ParameterMap::getMapType | ( | ) |
Returns the type of the paramter map.
int ParameterMap::getMaxIncompleteHigh | ( | ) |
Returns the max-incomplete high value.
bool ParameterMap::getMaxIncompleteHighEnable | ( | ) |
Returns true if max-incomplete high is enabled, otherwise false.
int ParameterMap::getMaxIncompleteLow | ( | ) |
Returns the max-incomplete low value.
bool ParameterMap::getMaxIncompleteLowEnable | ( | ) |
Returns true if max-incomplete low is enabled, otherwise false.
int ParameterMap::getOneMinHigh | ( | ) |
Returns the one-minute high value.
bool ParameterMap::getOneMinHighEnable | ( | ) |
Returns true if one-minute high is enabled, otherwise false.
int ParameterMap::getOneMinLow | ( | ) |
Returns the one-minute low value.
bool ParameterMap::getOneMinLowEnable | ( | ) |
Returns true if one-minute low is enabled, otherwise false.
int ParameterMap::getSessionMax | ( | ) |
Returns the session max value.
bool ParameterMap::getSessionMaxEnable | ( | ) |
Returns true if session max is enabled, otherwise false.
int ParameterMap::getTcpFinWaitTimeout | ( | ) |
Returns the tcp finwait-time value.
bool ParameterMap::getTcpFinWaitTimeoutEnable | ( | ) |
Returns true if tcp finwait-time is enabled, otherwise false.
int ParameterMap::getTcpIdleTimeout | ( | ) |
Returns the tcp idle-time value.
bool ParameterMap::getTcpIdleTimeoutEnable | ( | ) |
Returns true if tcp idle-time is enabled, otherwise false.
int ParameterMap::getTcpMaxIncompleteConn | ( | ) |
Returns the tcp max-incomplete host value.
int ParameterMap::getTcpMaxIncompleteConnBlockTime | ( | ) |
Returns the tcp max-incomplete host block-time value.
bool ParameterMap::getTcpMaxIncompleteConnBlockTimeEnable | ( | ) |
Returns true if tcp max-incomplete host block-time is enabled, otherwise false.
bool ParameterMap::getTcpMaxIncompleteConnEnable | ( | ) |
Returns true if tcp max-incomplete host is enabled, otherwise false.
int ParameterMap::getTcpSynWaitTimeout | ( | ) |
Returns the tcp synwait-time value.
bool ParameterMap::getTcpSynWaitTimeoutEnable | ( | ) |
Returns true if tcp synwait-time is enabled, otherwise false.
int ParameterMap::getUdpIdleTimeout | ( | ) |
Returns the udp idle-time value.
bool ParameterMap::getUdpIdleTimeoutEnable | ( | ) |
Returns true if udp idle-time is enabled, otherwise false.
bool ParameterMap::isInUsed | ( | ) |
Returns true if the parameter map is in use, otherwise false.
void ParameterMap::setAlert | ( | bool | ) |
Turns on or off alert.
p_on_off,true | to enable alert, false to disable it. |
void ParameterMap::setAlertEnable | ( | bool | ) |
Enables or disables alert.
p_enable,true | to enable alert, false to disable it. |
void ParameterMap::setAuditTrail | ( | bool | ) |
Turns on or off audit-trail.
p_on_off,true | to enable audit-trail, false to disable it. |
void ParameterMap::setAuditTrailEnable | ( | bool | ) |
Enables or disables audit-trail.
p_enable,true | to enable audit-trail, false to disable it. |
void ParameterMap::setDnsTimeout | ( | int | ) |
Sets the dns-timeout value.
p_time,the | dns-timeout value. |
void ParameterMap::setDnsTimeoutEnable | ( | bool | ) |
Enables or disables dns-timeout.
p_enable,true | to enable dns-timeout, false to disable it. |
void ParameterMap::setIcmpIdleTimeout | ( | int | ) |
Sets the icmp idle-timeout value.
p_time,the | icmp idle-timeout value. |
void ParameterMap::setIcmpIdleTimeoutEnable | ( | bool | ) |
Enables or disables icmp idle-timeout.
p_enable,true | to enable icmp idle-timeout, false to disable it. |
void ParameterMap::setInUsed | ( | bool | ) |
Sets the parameter map as in use or not in use.
p_used,true | for in use, false for not in use. |
void ParameterMap::setMapType | ( | ZfwMapType | ) |
Sets the type of the paramter map.
mapType,the | type of the paramter map. Map types: type_default = 0, type_global = 1, type_inspect = 2, |
void ParameterMap::setMaxIncompleteHigh | ( | int | ) |
Sets the max-incomplete high value.
p_num,the | max-incomplete high value. |
void ParameterMap::setMaxIncompleteHighEnable | ( | bool | ) |
Enables or disables max-incomplete high.
p_enable,true | to enable max-incomplete high, false to disable it. |
void ParameterMap::setMaxIncompleteLow | ( | int | ) |
Sets the max-incomplete low value.
p_num,the | max-incomplete low value. |
void ParameterMap::setMaxIncompleteLowEnable | ( | bool | ) |
Enables or disables max-incomplete low.
p_enable,true | to enable max-incomplete low, false to disable it. |
void ParameterMap::setOneMinHigh | ( | int | ) |
Sets the one-minute high value.
p_num,the | one-minute high value. |
void ParameterMap::setOneMinHighEnable | ( | bool | ) |
Enables or disables one-minute high.
p_enable,true | to enable one-minute high, false to disable it. |
void ParameterMap::setOneMinLow | ( | int | ) |
Sets the one-minute low value.
p_num,the | one-minute low value. |
void ParameterMap::setOneMinLowEnable | ( | bool | ) |
Enables or disables one-minute low.
p_enable,true | to enable one-minute low, false to disable it. |
void ParameterMap::setSessionMax | ( | int | ) |
Sets the session max value.
p_num,the | session max value. |
void ParameterMap::setSessionMaxEnable | ( | bool | ) |
Enables or disables session max.
p_enable,true | to enable session max, false to disable it. |
void ParameterMap::setTcpFinWaitTimeout | ( | int | ) |
Sets the tcp finwait-time value.
p_time,the | tcp finwait-time value. |
void ParameterMap::setTcpFinWaitTimeoutEnable | ( | bool | ) |
Enables or disables tcp finwait-time.
p_enable,true | to enable tcp finwait-time, false to disable it. |
void ParameterMap::setTcpIdleTimeout | ( | int | ) |
Sets the tcp idle-time value.
p_time,the | tcp idle-time value. |
void ParameterMap::setTcpIdleTimeoutEnable | ( | bool | ) |
Enables or disables tcp idle-time.
p_enable,true | to enable tcp idle-time, false to disable it. |
void ParameterMap::setTcpMaxIncompleteConn | ( | int | ) |
Sets the tcp max-incomplete host value.
p_num,the | tcp max-incomplete host value. |
void ParameterMap::setTcpMaxIncompleteConnBlockTime | ( | int | ) |
Sets the tcp max-incomplete host block-time value.
p_time,the | tcp max-incomplete host block-time value. |
void ParameterMap::setTcpMaxIncompleteConnBlockTimeEnable | ( | bool | ) |
Enables or disables tcp max-incomplete host block-time.
p_enable,true | to enable tcp max-incomplete host block-time, false to disable it. |
void ParameterMap::setTcpMaxIncompleteConnEnable | ( | bool | ) |
Enables or disables tcp max-incomplete host.
p_enable,true | to enable tcp max-incomplete host, false to disable it. |
void ParameterMap::setTcpSynWaitTimeout | ( | int | ) |
Sets the tcp synwait-time value.
p_time,the | tcp synwait-time value. |
void ParameterMap::setTcpSynWaitTimeoutEnable | ( | bool | ) |
Enables or disables tcp synwait-time block-time.
p_enable,true | to enable tcp synwait-time, false to disable it. |
void ParameterMap::setUdpIdleTimeout | ( | int | ) |
Sets the udp idle-time value.
p_time,the | udp idle-time value. |
void ParameterMap::setUdpIdleTimeoutEnable | ( | bool | ) |
Enables or disables udp idle-time.
p_enable,true | to enable udp idle-time, false to disable it. |
string ParameterMap::toString | ( | ) |
Returns the name of the parameter map.