5.15.5.2. PFService methods

Table 5.101. Method summary

Method __init__(self, name, router, snat_policy, dnat_policy, log_verbose, log_spec, limit_policy, geoip_policy)

This constructor defines a packetfilter-service with the specified parameters.

Arguments of __init__
geoip_policy (class)
Default: None
Name of the GeoIpPolicy instance used to restrict geographical location based of the sessions.

limit_policy (class)
Default: None
Name of the LimitPolicy instance used to rate limit the sessions.

log_spec (string)
Default: None
Message filter expression.

log_verbose (integer)
Default: None
Default log verbosity level.