SYMBOL INDEX (1760 symbols across 100 files) FILE: examples/ipsec/filter_plugins/pfsense.py function format_ipsec_aggregate_ipsecs (line 12) | def format_ipsec_aggregate_ipsecs(all_tunnels, pfname): function format_ipsec_aggregate_proposals (line 48) | def format_ipsec_aggregate_proposals(all_tunnels, pfname): function format_ipsec_aggregate_p2s (line 95) | def format_ipsec_aggregate_p2s(all_tunnels, pfname): function format_ipsec_aggregate (line 165) | def format_ipsec_aggregate(*terms): class FilterModule (line 181) | class FilterModule(object): method filters (line 185) | def filters(): FILE: plugins/lookup/pfsense.py function to_unicode (line 232) | def to_unicode(string): function ordered_load (line 239) | def ordered_load(stream, loader_cls=yaml.SafeLoader, object_pairs_hook=O... function static_vars (line 268) | def static_vars(**kwargs): function to_ip_address (line 280) | def to_ip_address(address): function to_ip_network (line 286) | def to_ip_network(address, strict=True): function is_private_ip (line 297) | def is_private_ip(address): function is_private_network (line 312) | def is_private_network(address): function is_ip_broadcast (line 326) | def is_ip_broadcast(address): function is_fqdn (line 336) | def is_fqdn(address): function resolve_hostname (line 343) | def resolve_hostname(address, dns_servers=None): function is_valid_ip (line 375) | def is_valid_ip(address): function is_valid_port (line 384) | def is_valid_port(port): function is_valid_port_range (line 393) | def is_valid_port_range(port_range): function is_valid_network (line 404) | def is_valid_network(address): function rule_product_dict (line 413) | def rule_product_dict(tab, rule, field, out_field=None): function rule_product_ports (line 429) | def rule_product_ports(rule, field, field_port): function get_bool (line 449) | def get_bool(values, field): class PFSenseHostAlias (line 462) | class PFSenseHostAlias(object): method __init__ (line 464) | def __init__(self): method copy (line 482) | def copy(self): method __str__ (line 508) | def __str__(self): method compute_any (line 512) | def compute_any(self, data): method compute_all (line 520) | def compute_all(self, data): method compute_addresses (line 529) | def compute_addresses(self, data): method _is_in_networks (line 579) | def _is_in_networks(self, interface, fcheckname): method is_in_local_network (line 594) | def is_in_local_network(self, interface): method is_in_remote_networks (line 598) | def is_in_remote_networks(self, interface): method is_in_adjacent_networks (line 602) | def is_in_adjacent_networks(self, interface): method compute_routed_interfaces (line 606) | def compute_routed_interfaces(self, data): method compute_local_interfaces (line 634) | def compute_local_interfaces(self, data): method is_whole_local (line 657) | def is_whole_local(self, pfsense): method routed_by_interfaces (line 672) | def routed_by_interfaces(self, pfsense, use_remote_networks=True): method is_adjacent_or_remote (line 698) | def is_adjacent_or_remote(self, pfsense): method is_adjacent (line 702) | def is_adjacent(self, pfsense): method is_ip_broadcast (line 706) | def is_ip_broadcast(self): method is_whole_in_pfsense (line 712) | def is_whole_in_pfsense(self, pfsense): method is_whole_not_in_pfsense (line 734) | def is_whole_not_in_pfsense(self, pfsense): method is_whole_in_same_routing_ifaces (line 755) | def is_whole_in_same_routing_ifaces(self, pfsense): method match_local_interface_ip (line 803) | def match_local_interface_ip(self, pfsense): class PFSenseRule (line 812) | class PFSenseRule(object): method __init__ (line 814) | def __init__(self): method copy (line 839) | def copy(self): method _copy_for_decompose (line 874) | def _copy_for_decompose(self): method get_option (line 909) | def get_option(self, name): method to_json (line 920) | def to_json(self): class PFSenseRuleSeparator (line 953) | class PFSenseRuleSeparator(object): method __init__ (line 955) | def __init__(self): method __hash__ (line 961) | def __hash__(self): method __eq__ (line 964) | def __eq__(self, other): class PFSenseInterface (line 968) | class PFSenseInterface(object): method __init__ (line 970) | def __init__(self): method precompute_network_splits (line 990) | def precompute_network_splits(self): method _networks_contains (line 1005) | def _networks_contains(address, networks): method remote_networks_contains (line 1025) | def remote_networks_contains(self, address): method adjacent_networks_contains (line 1034) | def adjacent_networks_contains(self, address): method local_network_contains (line 1043) | def local_network_contains(self, address): method are_in_same_network (line 1063) | def are_in_same_network(self, src, dst): class PFSense (line 1080) | class PFSense(object): method __init__ (line 1082) | def __init__(self, name, interfaces): method any_adjacent_networks_contains (line 1098) | def any_adjacent_networks_contains(self, address): method any_remote_networks_contains (line 1102) | def any_remote_networks_contains(self, address): method any_local_network_contains (line 1106) | def any_local_network_contains(self, address): method any_network_contains (line 1110) | def any_network_contains(self, address): method _get_iface_networks (line 1114) | def _get_iface_networks(self, attr): method _interfaces_network_contains (line 1122) | def _interfaces_network_contains(self, address, networks_name): method interfaces_local_networks_contains (line 1149) | def interfaces_local_networks_contains(self, address): method interfaces_remote_networks_contains (line 1158) | def interfaces_remote_networks_contains(self, address): method interfaces_adjacent_networks_contains (line 1167) | def interfaces_adjacent_networks_contains(self, address): method interfaces_adjacent_or_remote_networks_contains (line 1176) | def interfaces_adjacent_or_remote_networks_contains(self, address, use... method hack_internet_routing (line 1183) | def hack_internet_routing(self, interfaces, address, use_remote_networ... class PFSenseData (line 1226) | class PFSenseData(object): method __init__ (line 1229) | def __init__(self, hosts_aliases, ports_aliases, pfsenses, rules, targ... method all_aliases (line 1253) | def all_aliases(self): method hosts_aliases (line 1258) | def hosts_aliases(self): method ignored_aliases (line 1263) | def ignored_aliases(self): method hosts_aliases_obj (line 1268) | def hosts_aliases_obj(self): method ports_aliases (line 1273) | def ports_aliases(self): method pfsenses (line 1278) | def pfsenses(self): method pfsenses_obj (line 1283) | def pfsenses_obj(self): method rules_obj (line 1288) | def rules_obj(self): method rules (line 1293) | def rules(self): method ignored_rules (line 1298) | def ignored_rules(self): method rules_separators (line 1303) | def rules_separators(self): method target_name (line 1308) | def target_name(self): method target (line 1313) | def target(self): method target (line 1318) | def target(self, target): method errors (line 1323) | def errors(self): method set_error (line 1327) | def set_error(self, error): method is_child_def (line 1333) | def is_child_def(values): method unalias_ip (line 1340) | def unalias_ip(self, alias): method get_hosts_alias (line 1355) | def get_hosts_alias(self, hosts, ips, networks, _basename): method get_ports_alias (line 1399) | def get_ports_alias(self, ports, _basename): class PFSenseDataParser (line 1428) | class PFSenseDataParser(object): method __init__ (line 1431) | def __init__(self, data): method check_alias_name (line 1435) | def check_alias_name(name): method parse_host_alias (line 1441) | def parse_host_alias(self, obj, src_name, type_name, name, allow_any, ... method parse_hosts_aliases (line 1496) | def parse_hosts_aliases(self): method check_port_alias (line 1547) | def check_port_alias(self, ports, src_name, type_name, name): method parse_ports_aliases (line 1572) | def parse_ports_aliases(self): method create_obj_any_alias (line 1611) | def create_obj_any_alias(self): method create_obj_host_alias (line 1625) | def create_obj_host_alias(self, src, dns_servers=None): method create_obj_rule_from_def (line 1637) | def create_obj_rule_from_def(self, name, rule, separator): method parse_rules (line 1744) | def parse_rules(self, parent=None, parent_separator=None): method parse_target_name (line 1845) | def parse_target_name(self): method check_tcp_udp (line 1853) | def check_tcp_udp(self, rule, name): method check_pfsense_interfaces_objs (line 1864) | def check_pfsense_interfaces_objs(self, interfaces, name): method create_pfsenses_aliases (line 1877) | def create_pfsenses_aliases(self): method parse_pfsense_interfaces (line 2111) | def parse_pfsense_interfaces(self, pfsense, name): method parse_pfsenses (line 2209) | def parse_pfsenses(self): method parse_hosts_aliases_objs (line 2252) | def parse_hosts_aliases_objs(self): method parse (line 2259) | def parse(self): class PFSenseRuleDecomposer (line 2273) | class PFSenseRuleDecomposer(object): method __init__ (line 2276) | def __init__(self, data): method host_separate (line 2279) | def host_separate(self, host): method host_separate_by_iface (line 2309) | def host_separate_by_iface(self, host): method separate_aliases (line 2329) | def separate_aliases(self, rule, field, attr, func): method decompose_rule (line 2342) | def decompose_rule(self, rule): method decompose_rules (line 2380) | def decompose_rules(self): class PFSenseAliasFactory (line 2394) | class PFSenseAliasFactory(object): method __init__ (line 2397) | def __init__(self, data): method add_host_alias_rec (line 2400) | def add_host_alias_rec(self, alias, aliases): method add_port_alias_rec (line 2413) | def add_port_alias_rec(self, alias, aliases): method add_hosts_aliases (line 2423) | def add_hosts_aliases(self, rule, aliases): method add_ports_aliases (line 2431) | def add_ports_aliases(self, rule, aliases): method generate_aliases (line 2439) | def generate_aliases(self, rule_filter=None): method output_aliases (line 2484) | def output_aliases(aliases, ignored_aliases): class PFSenseRuleFactory (line 2528) | class PFSenseRuleFactory(object): method __init__ (line 2531) | def __init__(self, data, display_warnings=True): method rule_interfaces_any (line 2536) | def rule_interfaces_any(self, rule_obj): method rule_interfaces_ip_broadcast (line 2575) | def rule_interfaces_ip_broadcast(self, rule_obj): method bridged_by_interfaces (line 2597) | def bridged_by_interfaces(self, routing_interfaces, dst): method rule_interfaces (line 2613) | def rule_interfaces(self, rule_obj): method generate_rule (line 2766) | def generate_rule(self, name, rule_obj, interfaces, last_name): method aggregate_subrules (line 2937) | def aggregate_subrules(self, rule, interfaces, subrules, sub_interfaces): method guess_rules (line 3041) | def guess_rules(self, rule_filter): method generate_rules (line 3086) | def generate_rules(self, rule_filter=None): method output_rules (line 3129) | def output_rules(self, rules, ignored_rules): method output_src_nat_rules (line 3188) | def output_src_nat_rules(self, rules): method output_dst_nat_rules (line 3229) | def output_dst_nat_rules(self, rules): class PFSenseRuleSeparatorFactory (line 3263) | class PFSenseRuleSeparatorFactory(object): method __init__ (line 3266) | def __init__(self, data): method _find_first_separator_rule (line 3269) | def _find_first_separator_rule(self, separator): method generate_rule_separators (line 3277) | def generate_rule_separators(self, rule_filter=None): method output_rule_separators (line 3315) | def output_rule_separators(self, separators): function _create_target_data (line 3337) | def _create_target_data(cached_data, target_name): class LookupModule (line 3380) | class LookupModule(LookupBase): method get_hostname (line 3383) | def get_hostname(self): method get_definitions (line 3389) | def get_definitions(from_file): method load_data (line 3393) | def load_data(self, from_file): method _run (line 3412) | def _run(self, terms, variables, **kwargs): method run (line 3477) | def run(self, terms, variables, **kwargs): function unit_test_helper (line 3497) | def unit_test_helper(filename, pfname): function main (line 3531) | def main(): FILE: plugins/module_utils/alias.py class PFSenseAliasModule (line 54) | class PFSenseAliasModule(PFSenseModuleBase): method get_argument_spec (line 62) | def get_argument_spec(): method __init__ (line 69) | def __init__(self, module, pfsense=None): method _validate_params (line 78) | def _validate_params(self): FILE: plugins/module_utils/arg_route.py function p2o_cert (line 13) | def p2o_cert(self, name, params, obj): function p2o_interface (line 17) | def p2o_interface(self, name, params, obj): function p2o_interface_with_gwgroup (line 21) | def p2o_interface_with_gwgroup(self, name, params, obj): function p2o_interface_without_virtual (line 25) | def p2o_interface_without_virtual(self, name, params, obj): function p2o_port (line 29) | def p2o_port(self, name, params, obj): function p2o_strip (line 33) | def p2o_strip(self, name, params, obj): FILE: plugins/module_utils/arg_validate.py function validate_cert (line 11) | def validate_cert(self, cert): FILE: plugins/module_utils/default_gateway.py class PFSenseDefaultGatewayModule (line 20) | class PFSenseDefaultGatewayModule(PFSenseModuleBase): method get_argument_spec (line 24) | def get_argument_spec(): method __init__ (line 31) | def __init__(self, module, pfsense=None): method _params_to_obj (line 41) | def _params_to_obj(self): method _validate_params (line 64) | def _validate_params(self): method _create_target (line 88) | def _create_target(self): method _gw2machine (line 100) | def _gw2machine(gateway): method _gw2human (line 114) | def _gw2human(gateway): method _get_params_to_remove (line 128) | def _get_params_to_remove(): method run (line 133) | def run(self, params): method _update (line 145) | def _update(self): method _get_obj_name (line 165) | def _get_obj_name(self): method _log_fields (line 169) | def _log_fields(self, before=None): FILE: plugins/module_utils/dhcp_server.py class PFSenseDHCPServerModule (line 57) | class PFSenseDHCPServerModule(PFSenseModuleBase): method get_argument_spec (line 61) | def get_argument_spec(): method __init__ (line 68) | def __init__(self, module, pfsense=None): method _get_logical_interface (line 80) | def _get_logical_interface(self, interface): method _is_valid_netif (line 99) | def _is_valid_netif(self, netif): method _is_valid_macaddr (line 112) | def _is_valid_macaddr(self, macaddr): method _params_to_obj (line 115) | def _params_to_obj(self): method _validate_params (line 163) | def _validate_params(self): method _get_params_to_remove (line 211) | def _get_params_to_remove(self): method _create_target (line 218) | def _create_target(self): method _find_target (line 222) | def _find_target(self): method _get_obj_name (line 229) | def _get_obj_name(self): method _log_fields (line 233) | def _log_fields(self, before=None): method _update (line 297) | def _update(self): method _pre_remove_target_elt (line 305) | def _pre_remove_target_elt(self): FILE: plugins/module_utils/gateway.py class PFSenseGatewayModule (line 34) | class PFSenseGatewayModule(PFSenseModuleBase): method get_argument_spec (line 38) | def get_argument_spec(): method __init__ (line 45) | def __init__(self, module, pfsense=None): method _check_gateway_groups (line 54) | def _check_gateway_groups(self): method _check_routes (line 71) | def _check_routes(self): method _check_subnet (line 83) | def _check_subnet(self): method _params_to_obj (line 123) | def _params_to_obj(self): method _validate_params (line 156) | def _validate_params(self): method _get_params_to_remove (line 194) | def _get_params_to_remove(): method _update (line 201) | def _update(self): method _get_obj_name (line 221) | def _get_obj_name(self): method _log_fields (line 225) | def _log_fields(self, before=None): FILE: plugins/module_utils/haproxy_backend.py class PFSenseHaproxyBackendModule (line 32) | class PFSenseHaproxyBackendModule(PFSenseModuleBase): method get_argument_spec (line 36) | def get_argument_spec(): method __init__ (line 43) | def __init__(self, module, pfsense=None): method _params_to_obj (line 57) | def _params_to_obj(self): method _validate_params (line 82) | def _validate_params(self): method _create_target (line 91) | def _create_target(self): method _find_target (line 97) | def _find_target(self): method _get_next_id (line 107) | def _get_next_id(self): method _update (line 122) | def _update(self): method _log_fields (line 130) | def _log_fields(self, before=None): method _get_obj_name (line 170) | def _get_obj_name(self): FILE: plugins/module_utils/haproxy_backend_server.py class PFSenseHaproxyBackendServerModule (line 39) | class PFSenseHaproxyBackendServerModule(PFSenseModuleBase): method get_argument_spec (line 43) | def get_argument_spec(): method __init__ (line 50) | def __init__(self, module, pfsense=None): method _params_to_obj (line 68) | def _params_to_obj(self): method _validate_params (line 111) | def _validate_params(self): method _create_target (line 146) | def _create_target(self): method _find_backend (line 152) | def _find_backend(self, name): method _find_target (line 162) | def _find_target(self): method _get_params_to_remove (line 173) | def _get_params_to_remove(): method _get_next_id (line 179) | def _get_next_id(self): method _update (line 194) | def _update(self): method _get_ref_names (line 202) | def _get_ref_names(self, before): method _get_obj_name (line 225) | def _get_obj_name(self): method _log_fields (line 229) | def _log_fields(self, before=None): FILE: plugins/module_utils/interface.py class PFSenseInterfaceModule (line 50) | class PFSenseInterfaceModule(PFSenseModuleBase): method get_argument_spec (line 54) | def get_argument_spec(): method __init__ (line 61) | def __init__(self, module, pfsense=None): method _check_overlaps (line 75) | def _check_overlaps(self, ipfield, netfield): method _params_to_obj (line 108) | def _params_to_obj(self): method _validate_params (line 159) | def _validate_params(self): method _copy_and_add_target (line 217) | def _copy_and_add_target(self): method _copy_and_update_target (line 224) | def _copy_and_update_target(self): method _create_target (line 238) | def _create_target(self): method _get_interface_elt_by_port_and_display_name (line 257) | def _get_interface_elt_by_port_and_display_name(self, interface_port, ... method _get_interface_elt_by_display_name (line 267) | def _get_interface_elt_by_display_name(self, name): method _get_interface_display_name_by_port (line 277) | def _get_interface_display_name_by_port(self, interface_port): method _get_interface_elt_by_port (line 288) | def _get_interface_elt_by_port(self, interface_port): method _find_matching_interface (line 295) | def _find_matching_interface(self): method _find_target (line 315) | def _find_target(self): method _get_params_to_remove (line 320) | def _get_params_to_remove(): method _pre_remove_target_elt (line 325) | def _pre_remove_target_elt(self): method _remove_all_rules (line 345) | def _remove_all_rules(self, interface): method _remove_all_separators (line 385) | def _remove_all_separators(self, interface): method _get_interface_list (line 404) | def _get_interface_list(self): method _get_media_mode (line 464) | def _get_media_mode(self, interface): method get_pre_update_cmds (line 481) | def get_pre_update_cmds(self): method get_update_cmds (line 491) | def get_update_cmds(self): method _pre_update (line 511) | def _pre_update(self): method _update (line 515) | def _update(self): method _get_obj_name (line 522) | def _get_obj_name(self): method _log_fields (line 526) | def _log_fields(self, before=None): method _log_update (line 575) | def _log_update(self, before): FILE: plugins/module_utils/interface_group.py class PFSenseInterfaceGroupModule (line 29) | class PFSenseInterfaceGroupModule(PFSenseModuleBase): method get_argument_spec (line 33) | def get_argument_spec(): method __init__ (line 40) | def __init__(self, module, pfsense=None): method _params_to_obj (line 47) | def _params_to_obj(self): method _validate_params (line 69) | def _validate_params(self): method _remove_all_rules (line 90) | def _remove_all_rules(self, interface): method _remove_all_separators (line 130) | def _remove_all_separators(self, interface): method _update (line 150) | def _update(self): method _log_fields (line 157) | def _log_fields(self, before=None): FILE: plugins/module_utils/ipsec.py function p2o_ipsec_interface (line 96) | def p2o_ipsec_interface(self, name, params, obj): class PFSenseIpsecModule (line 110) | class PFSenseIpsecModule(PFSenseModuleBase): method get_argument_spec (line 114) | def get_argument_spec(): method __init__ (line 121) | def __init__(self, module, pfsense=None): method _create_target (line 134) | def _create_target(self): method _find_free_ikeid (line 140) | def _find_free_ikeid(self): method _find_target (line 155) | def _find_target(self): method _get_params_to_remove (line 161) | def _get_params_to_remove(self): method _pre_remove_target_elt (line 173) | def _pre_remove_target_elt(self): method _remove_phases2 (line 177) | def _remove_phases2(self): method _params_to_obj (line 194) | def _params_to_obj(self): method _deprecated_params (line 231) | def _deprecated_params(self): method _onward_params (line 238) | def _onward_params(self): method _validate_params (line 250) | def _validate_params(self): method _update (line 300) | def _update(self): method _log_fields (line 307) | def _log_fields(self, before=None): method _get_ref_names (line 402) | def _get_ref_names(self, before): FILE: plugins/module_utils/ipsec_p2.py class PFSenseIpsecP2Module (line 74) | class PFSenseIpsecP2Module(PFSenseModuleBase): method get_argument_spec (line 78) | def get_argument_spec(): method __init__ (line 85) | def __init__(self, module, pfsense=None): method _check_for_duplicate_phase2 (line 103) | def _check_for_duplicate_phase2(self, phase2): method _id_to_phase2 (line 129) | def _id_to_phase2(self, name, phase2, address, param_name): method _params_to_obj (line 166) | def _params_to_obj(self): method _validate_params (line 207) | def _validate_params(self): method _copy_and_add_target (line 243) | def _copy_and_add_target(self): method _copy_and_update_target (line 250) | def _copy_and_update_target(self): method _create_target (line 267) | def _create_target(self): method _find_free_reqid (line 275) | def _find_free_reqid(self): method _find_target (line 292) | def _find_target(self): method _remove_deleted_ipsec_params (line 308) | def _remove_deleted_ipsec_params(self): method _remove_extra_deleted_ipsec_params (line 323) | def _remove_extra_deleted_ipsec_params(self, name): method _sync_encryptions (line 343) | def _sync_encryptions(self, phase2_elt): method _sync_hashes (line 393) | def _sync_hashes(self, phase2_elt): method _update (line 432) | def _update(self): method _get_obj_name (line 438) | def _get_obj_name(self): method _log_fields (line 442) | def _log_fields(self, before=None): method _prepare_log_address (line 514) | def _prepare_log_address(self, before, param, name): method _prepare_log_encryptions (line 528) | def _prepare_log_encryptions(before, before_elt): method _prepare_log_hashes (line 548) | def _prepare_log_hashes(before, before_elt): FILE: plugins/module_utils/ipsec_proposal.py class PFSenseIpsecProposalModule (line 32) | class PFSenseIpsecProposalModule(PFSenseModuleBase): method get_argument_spec (line 36) | def get_argument_spec(): method __init__ (line 43) | def __init__(self, module, pfsense=None): method _onward_params (line 56) | def _onward_params(self): method _params_to_obj (line 61) | def _params_to_obj(self): method _validate_params (line 85) | def _validate_params(self): method _copy_and_update_target (line 123) | def _copy_and_update_target(): method _create_target (line 127) | def _create_target(self): method _find_target (line 131) | def _find_target(self): method _update (line 152) | def _update(self): method _get_obj_name (line 159) | def _get_obj_name(self): method _log_fields (line 163) | def _log_fields(self, before=None): method _log_fields_delete (line 174) | def _log_fields_delete(self): FILE: plugins/module_utils/module_base.py function merge_dicts (line 19) | def merge_dicts(a: dict, b: dict, path=None): function move_dict_key (line 34) | def move_dict_key(obj, src, dst): class PFSenseModuleBase (line 48) | class PFSenseModuleBase(object): method get_argument_spec (line 56) | def get_argument_spec(): method __init__ (line 63) | def __init__(self, module, pfsense=None, package=None, name=None, root... method _get_ansible_param (line 169) | def _get_ansible_param(self, obj, name, fname=None, force=False, exclu... method _get_ansible_param_bool (line 185) | def _get_ansible_param_bool(self, obj, name, fname=None, force=False, ... method _params_to_obj (line 204) | def _params_to_obj(self, obj=None): method _validate_params (line 253) | def _validate_params(self): method _deprecated_params (line 266) | def _deprecated_params(self): method _onward_params (line 270) | def _onward_params(self): method _check_deprecated_params (line 274) | def _check_deprecated_params(self): method _check_onward_params (line 284) | def _check_onward_params(self): method _copy_and_add_target (line 297) | def _copy_and_add_target(self): method _copy_and_update_target (line 308) | def _copy_and_update_target(self): method _create_target (line 319) | def _create_target(self): method _find_this_element_index (line 333) | def _find_this_element_index(self): method _find_last_element_index (line 336) | def _find_last_element_index(self): method _find_target (line 342) | def _find_target(self): method _get_params_to_remove (line 355) | def _get_params_to_remove(self): method _remove_deleted_params (line 367) | def _remove_deleted_params(self): method _remove_target_elt (line 377) | def _remove_target_elt(self): method _add (line 385) | def _add(self): method commit_changes (line 403) | def commit_changes(self): method _post_remove_target_elt (line 420) | def _post_remove_target_elt(self): method _pre_remove_target_elt (line 424) | def _pre_remove_target_elt(self): method _remove (line 428) | def _remove(self): method _pre_update (line 438) | def _pre_update(): method _update (line 442) | def _update(self): method _run_post (line 449) | def _run_post(self): method run (line 454) | def run(self, params): method _log_create (line 476) | def _log_create(self): method _log_delete (line 482) | def _log_delete(self): method _log_fields (line 488) | def _log_fields(self, before=None): method _log_fields_delete (line 503) | def _log_fields_delete(): method _log_update (line 507) | def _log_update(self, before): method _get_obj_name (line 513) | def _get_obj_name(self): method _get_module_name (line 517) | def _get_module_name(self, strip=False): method format_cli_field (line 523) | def format_cli_field(self, after, field, log_none=False, add_comma=Tru... method format_updated_cli_field (line 551) | def format_updated_cli_field(self, after, before, field, log_none=True... method fvalue_idem (line 577) | def fvalue_idem(value): method fvalue_bool (line 582) | def fvalue_bool(value): FILE: plugins/module_utils/module_config_base.py class PFSenseModuleConfigBase (line 14) | class PFSenseModuleConfigBase(PFSenseModuleBase): method __init__ (line 20) | def __init__(self, module, pfsense=None, package=None, name=None, root... method _params_to_obj (line 31) | def _params_to_obj(self): method _find_target (line 45) | def _find_target(self): method _get_obj_name (line 52) | def _get_obj_name(self): FILE: plugins/module_utils/nat_outbound.py function p2o_after (line 54) | def p2o_after(self, name, params, obj): function p2o_before (line 58) | def p2o_before(self, name, params, obj): function p2o_ipprotocol (line 62) | def p2o_ipprotocol(self, name, params, obj): function p2o_protocol (line 68) | def p2o_protocol(self, name, params, obj): class PFSenseNatOutboundModule (line 82) | class PFSenseNatOutboundModule(PFSenseModuleBase): method get_argument_spec (line 86) | def get_argument_spec(): method __init__ (line 93) | def __init__(self, module, pfsense=None): method _params_to_obj (line 107) | def _params_to_obj(self): method _parse_address (line 127) | def _parse_address(self, obj, field, field_port, allow_self, target): method _parse_ports (line 180) | def _parse_ports(self, obj, ports, field_port, param): method _parse_translated_address (line 196) | def _parse_translated_address(self, obj): method _validate_params (line 234) | def _validate_params(self): method _copy_and_add_target (line 252) | def _copy_and_add_target(self): method _copy_and_update_target (line 258) | def _copy_and_update_target(self): method _create_target (line 314) | def _create_target(self): method _find_first_rule_idx (line 319) | def _find_first_rule_idx(self): method _find_rule_by_descr (line 328) | def _find_rule_by_descr(self, descr): method _find_target (line 338) | def _find_target(self): method _get_expected_rule_position (line 348) | def _get_expected_rule_position(self): method _get_expected_rule_xml_index (line 368) | def _get_expected_rule_xml_index(self): method _get_params_to_remove (line 394) | def _get_params_to_remove(): method _get_rule_position (line 398) | def _get_rule_position(self, descr=None, fail=True): method _insert (line 408) | def _insert(self, rule_elt): method _update_rule_position (line 413) | def _update_rule_position(self, rule_elt): method _update (line 429) | def _update(self): method fvalue_protocol (line 438) | def fvalue_protocol(value): method fvalue_ipprotocol (line 446) | def fvalue_ipprotocol(value): method _log_fields (line 453) | def _log_fields(self, before=None): method _obj_address_to_log_field (line 497) | def _obj_address_to_log_field(self, rule, addr, target, port): method _obj_to_log_fields (line 518) | def _obj_to_log_fields(self, rule): FILE: plugins/module_utils/nat_port_forward.py class PFSenseNatPortForwardModule (line 36) | class PFSenseNatPortForwardModule(PFSenseModuleBase): method get_argument_spec (line 40) | def get_argument_spec(): method __init__ (line 47) | def __init__(self, module, pfsense=None): method _params_to_obj (line 68) | def _params_to_obj(self): method _parse_target_address (line 110) | def _parse_target_address(self, obj): method _validate_params (line 144) | def _validate_params(self): method _copy_and_add_target (line 159) | def _copy_and_add_target(self): method _copy_and_update_target (line 166) | def _copy_and_update_target(self): method _create_associated_rule (line 184) | def _create_associated_rule(self): method _create_target (line 206) | def _create_target(self): method _delete_associated_rule (line 211) | def _delete_associated_rule(self, ruleid, interface=None): method _find_rule_by_descr (line 229) | def _find_rule_by_descr(self, descr): method _find_target (line 239) | def _find_target(self): method _get_expected_rule_position (line 249) | def _get_expected_rule_position(self): method _get_expected_rule_xml_index (line 269) | def _get_expected_rule_xml_index(self): method _get_params_to_remove (line 295) | def _get_params_to_remove(): method _get_rule_position (line 299) | def _get_rule_position(self, descr=None, fail=True): method _insert (line 309) | def _insert(self, rule_elt): method _pre_remove_target_elt (line 314) | def _pre_remove_target_elt(self): method _set_associated_rule (line 320) | def _set_associated_rule(self, before=None): method _update_rule_position (line 337) | def _update_rule_position(self, rule_elt): method _update (line 355) | def _update(self): method _get_obj_name (line 363) | def _get_obj_name(self): method fassociate (line 368) | def fassociate(value): method fnatreflection (line 379) | def fnatreflection(value): method fprotocol (line 387) | def fprotocol(value): method _log_fields (line 394) | def _log_fields(self, before=None): method _obj_address_to_log_field (line 439) | def _obj_address_to_log_field(rule, addr): method _obj_to_log_fields (line 455) | def _obj_to_log_fields(self, rule): FILE: plugins/module_utils/openvpn_client.py class PFSenseOpenVPNClientModule (line 87) | class PFSenseOpenVPNClientModule(PFSenseModuleBase): method __init__ (line 93) | def __init__(self, module, pfsense=None): method _get_digest_name (line 107) | def _get_digest_name(self, digest: str): method _params_to_obj (line 113) | def _params_to_obj(self): method _validate_params (line 182) | def _validate_params(self): method _nextvpnid (line 222) | def _nextvpnid(self): method _find_openvpn_client (line 232) | def _find_openvpn_client(self, value, field='description'): method _find_last_openvpn_idx (line 242) | def _find_last_openvpn_idx(self): method _copy_and_update_target (line 248) | def _copy_and_update_target(self): method _create_target (line 258) | def _create_target(self): method _find_target (line 270) | def _find_target(self): method _remove_target_elt (line 286) | def _remove_target_elt(self): method _remove (line 294) | def _remove(self): method _update (line 301) | def _update(self): method _get_obj_name (line 308) | def _get_obj_name(self): method _log_fields (line 312) | def _log_fields(self, before=None): FILE: plugins/module_utils/openvpn_override.py class PFSenseOpenVPNOverrideModule (line 52) | class PFSenseOpenVPNOverrideModule(PFSenseModuleBase): method get_argument_spec (line 56) | def get_argument_spec(): method __init__ (line 63) | def __init__(self, module, pfsense=None): method _params_to_obj (line 73) | def _params_to_obj(self): method _validate_params (line 118) | def _validate_params(self): method _find_openvpn_csc (line 144) | def _find_openvpn_csc(self, value, field='common_name'): method _find_last_openvpn_idx (line 154) | def _find_last_openvpn_idx(self): method _copy_and_update_target (line 160) | def _copy_and_update_target(self): method _create_target (line 176) | def _create_target(self): method _find_target (line 185) | def _find_target(self): method _get_params_to_remove (line 190) | def _get_params_to_remove(self): method _remove_target_elt (line 197) | def _remove_target_elt(self): method _remove (line 205) | def _remove(self): method _update (line 212) | def _update(self): method _get_obj_name (line 219) | def _get_obj_name(self): method _log_fields (line 223) | def _log_fields(self, before=None): FILE: plugins/module_utils/openvpn_server.py class PFSenseOpenVPNServerModule (line 101) | class PFSenseOpenVPNServerModule(PFSenseModuleBase): method get_argument_spec (line 105) | def get_argument_spec(): method __init__ (line 112) | def __init__(self, module, pfsense=None): method _get_digest_name (line 126) | def _get_digest_name(self, digest: str): method _params_to_obj (line 132) | def _params_to_obj(self): method _validate_params (line 231) | def _validate_params(self): method _openvpn_port_used (line 273) | def _openvpn_port_used(self, protocol, interface, port, vpnid=0): method _nextvpnid (line 298) | def _nextvpnid(self): method _find_openvpn_server (line 308) | def _find_openvpn_server(self, value, field='description'): method _find_last_openvpn_idx (line 318) | def _find_last_openvpn_idx(self): method _get_params_to_remove (line 324) | def _get_params_to_remove(self): method _copy_and_update_target (line 333) | def _copy_and_update_target(self): method _create_target (line 346) | def _create_target(self): method _find_target (line 359) | def _find_target(self): method _pre_remove_target_elt (line 378) | def _pre_remove_target_elt(self): method _update (line 389) | def _update(self): method _get_obj_name (line 399) | def _get_obj_name(self): method _log_fields (line 403) | def _log_fields(self, before=None): FILE: plugins/module_utils/pfsense.py function xml_find (line 32) | def xml_find(node, elt): class PFSenseModule (line 40) | class PFSenseModule(object): method __init__ (line 43) | def __init__(self, module, config='/cf/conf/config.xml'): method _scrub (line 68) | def _scrub(self): method get_interface_by_display_name (line 73) | def get_interface_by_display_name(self, name): method get_interface_by_port (line 81) | def get_interface_by_port(self, name): method get_interface_display_name (line 88) | def get_interface_display_name(self, interface_id, return_none=False): method get_interface_elt (line 110) | def get_interface_elt(self, interface_id): method get_interface_port (line 117) | def get_interface_port(self, interface_id): method get_interface_port_by_display_name (line 124) | def get_interface_port_by_display_name(self, name): method get_interfaces_networks (line 132) | def get_interfaces_networks(self): method is_interface_port (line 152) | def is_interface_port(self, interface_port): method is_interface_display_name (line 160) | def is_interface_display_name(self, name): method is_interface_group (line 169) | def is_interface_group(self, name): method parse_interface (line 180) | def parse_interface(self, interface, fail=True, with_virtual=True, wit... method is_ipv4_address (line 201) | def is_ipv4_address(address): method is_ipv6_address (line 211) | def is_ipv6_address(address): method is_ipv4_network (line 221) | def is_ipv4_network(address, strict=True): method is_ipv6_network (line 231) | def is_ipv6_network(address, strict=True): method is_ip_network (line 240) | def is_ip_network(self, address, strict=True): method is_within_local_networks (line 244) | def is_within_local_networks(self, address): method parse_ip_network (line 263) | def parse_ip_network(address, strict=True, returns_ip=True): method parse_address (line 279) | def parse_address(self, param, allow_self=True): method parse_port (line 328) | def parse_port(self, src_ports, ret): method check_name (line 343) | def check_name(self, name, objtype): method check_ip_address (line 370) | def check_ip_address(self, address, ipprotocol, objtype, allow_network... method validate_openvpn_tunnel_network (line 391) | def validate_openvpn_tunnel_network(self, network, ipproto): method validate_string (line 409) | def validate_string(self, name, objtype): method addr_normalize (line 416) | def addr_normalize(addr): method new_element (line 435) | def new_element(tag, text='\n\t\t\t'): method get_element (line 443) | def get_element(self, node, root_elt=None, create_node=False): method get_elements (line 456) | def get_elements(self, node, root_elt=None): method get_index (line 462) | def get_index(self, elt, root_elt=None): method find_elt (line 468) | def find_elt(self, node, search_text, search_field='descr', root_elt=N... method find_elt_xpath (line 473) | def find_elt_xpath(self, search_xpath, root_elt=None, multiple_ok=False): method remove_deleted_param_from_elt (line 489) | def remove_deleted_param_from_elt(elt, param, params): method is_ipsec_enabled (line 499) | def is_ipsec_enabled(self): method is_openvpn_enabled (line 509) | def is_openvpn_enabled(self): method find_ipsec_phase1 (line 519) | def find_ipsec_phase1(self, field_value, field='descr'): method rule_match_interface (line 532) | def rule_match_interface(rule_elt, interface, floating): method get_interface_rules_count (line 544) | def get_interface_rules_count(self, interface, floating): method get_rule_position (line 554) | def get_rule_position(self, descr, interface, floating, first=True): method copy_dict_to_element (line 571) | def copy_dict_to_element(self, src, top_elt, sub=0, prev_elt=None): method array_to_php (line 668) | def array_to_php(src, php_name): method dict_to_php (line 675) | def dict_to_php(src, php_name): method element_to_dict (line 686) | def element_to_dict(src_elt): method config_get_path (line 703) | def config_get_path(self, name, default=None): method get_refid (line 711) | def get_refid(self, node, name): method get_caref (line 719) | def get_caref(self, name): method get_certref (line 727) | def get_certref(self, name): method get_crlref (line 731) | def get_crlref(self, name): method get_username (line 736) | def get_username(): method find_alias (line 747) | def find_alias(self, name, aliastype=None): method is_ip_or_alias (line 754) | def is_ip_or_alias(self, address): method is_gateway_group (line 769) | def is_gateway_group(self, gwgroup): method is_port_or_alias (line 773) | def is_port_or_alias(self, port): method is_virtual_ip (line 785) | def is_virtual_ip(self, addr): method get_virtual_ip_interface (line 795) | def get_virtual_ip_interface(self, vip): method find_queue (line 813) | def find_queue(self, name, interface=None, enabled=False): method find_limiter (line 844) | def find_limiter(self, name, enabled=False): method find_vlan (line 862) | def find_vlan(self, interface, tag): method _create_gw_elt (line 874) | def _create_gw_elt(self, name, interface_id, protocol): method find_gateway_elt (line 884) | def find_gateway_elt(self, name, interface=None, protocol=None, dhcp=F... method find_gateway_group_elt (line 928) | def find_gateway_group_elt(self, name, protocol='inet'): method find_active_gateways (line 954) | def find_active_gateways(self): method find_ca_elt (line 980) | def find_ca_elt(self, ca, search_field='descr'): method find_cert_elt (line 984) | def find_cert_elt(self, cert, search_field='descr'): method find_crl_elt (line 988) | def find_crl_elt(self, crl, search_field='descr'): method find_schedule_elt (line 992) | def find_schedule_elt(self, name): method uniqid (line 997) | def uniqid(prefix='', more_entropy=False): method phpshell (line 1004) | def phpshell(self, command, debug=True): method php (line 1013) | def php(self, command): method write_config (line 1030) | def write_config(self, descr='Updated by ansible pfsense module'): method get_version (line 1059) | def get_version(): method is_ce_version (line 1069) | def is_ce_version(version=None): method is_version (line 1077) | def is_version(self, version, or_more=True): method is_at_least_2_5_2 (line 1105) | def is_at_least_2_5_2(self): method is_at_least_2_5_0 (line 1109) | def is_at_least_2_5_0(self): method apply_ipsec_changes (line 1113) | def apply_ipsec_changes(self): FILE: plugins/module_utils/route.py class PFSenseRouteModule (line 23) | class PFSenseRouteModule(PFSenseModuleBase): method get_argument_spec (line 27) | def get_argument_spec(): method __init__ (line 34) | def __init__(self, module, pfsense=None): method _expand_alias (line 48) | def _expand_alias(self, networks): method _params_to_obj (line 64) | def _params_to_obj(self): method _validate_params (line 99) | def _validate_params(self): method _create_target (line 120) | def _create_target(self): method _find_target (line 124) | def _find_target(self): method _get_params_to_remove (line 132) | def _get_params_to_remove(): method _update (line 139) | def _update(self): method _get_obj_name (line 165) | def _get_obj_name(self): method _log_fields (line 169) | def _log_fields(self, before=None): FILE: plugins/module_utils/rule.py class PFSenseRuleModule (line 58) | class PFSenseRuleModule(PFSenseModuleBase): method get_argument_spec (line 62) | def get_argument_spec(): method __init__ (line 69) | def __init__(self, module, pfsense=None): method _params_to_obj (line 93) | def _params_to_obj(self): method _parse_floating_interfaces (line 155) | def _parse_floating_interfaces(self, interfaces): method _validate_params (line 166) | def _validate_params(self): method _adjust_separators (line 262) | def _adjust_separators(self, start_idx, add=True, before=False): method _check_tracker (line 294) | def _check_tracker(self): method _copy_and_add_target (line 309) | def _copy_and_add_target(self): method _copy_and_update_target (line 325) | def _copy_and_update_target(self): method _create_target (line 358) | def _create_target(self): method _find_matching_rule (line 362) | def _find_matching_rule(self): method _find_rule (line 389) | def _find_rule(self, value, field='descr'): method _find_target (line 399) | def _find_target(self): method _get_expected_rule_position (line 408) | def _get_expected_rule_position(self): method _get_expected_rule_xml_index (line 428) | def _get_expected_rule_xml_index(self): method _get_first_rule_xml_index (line 459) | def _get_first_rule_xml_index(self): method _get_last_rule_xml_index (line 468) | def _get_last_rule_xml_index(self): method _get_first_deny_rule_xml_index (line 478) | def _get_first_deny_rule_xml_index(self): method _get_params_to_remove (line 491) | def _get_params_to_remove(): method _get_rule_position (line 495) | def _get_rule_position(self, descr=None, fail=True, first=True): method _insert (line 505) | def _insert(self, rule_elt): method _match_interface (line 513) | def _match_interface(self, rule_elt): method _update_rule_position (line 517) | def _update_rule_position(self, rule_elt): method _pre_remove_target_elt (line 536) | def _pre_remove_target_elt(self): method _rule_element_to_dict (line 542) | def _rule_element_to_dict(self): method _update (line 557) | def _update(self): method _get_obj_name (line 565) | def _get_obj_name(self): method _interface_name (line 569) | def _interface_name(self): method _log_fields (line 577) | def _log_fields(self, before=None): method _obj_address_to_log_field (line 638) | def _obj_address_to_log_field(self, rule, addr): method _obj_to_log_fields (line 671) | def _obj_to_log_fields(self, rule): FILE: plugins/module_utils/rule_separator.py class PFSenseRuleSeparatorModule (line 25) | class PFSenseRuleSeparatorModule(PFSenseModuleBase): method get_argument_spec (line 29) | def get_argument_spec(): method __init__ (line 36) | def __init__(self, module, pfsense=None): method _params_to_obj (line 57) | def _params_to_obj(self): method _create_target (line 89) | def _create_target(self): method _copy_and_add_target (line 93) | def _copy_and_add_target(self): method _find_target (line 99) | def _find_target(self): method _get_expected_separator_position (line 108) | def _get_expected_separator_position(self): method _get_rule_position (line 125) | def _get_rule_position(self, descr): method _get_separator_position (line 132) | def _get_separator_position(self): method _post_remove_target_elt (line 139) | def _post_remove_target_elt(self): method _recompute_separators_tag (line 143) | def _recompute_separators_tag(self): method _update (line 157) | def _update(self): method _get_obj_name (line 165) | def _get_obj_name(self): method _log_fields (line 169) | def _log_fields(self, before=None): FILE: plugins/module_utils/vlan.py class PFSenseVlanModule (line 19) | class PFSenseVlanModule(PFSenseModuleBase): method get_argument_spec (line 23) | def get_argument_spec(): method __init__ (line 30) | def __init__(self, module, pfsense=None): method _params_to_obj (line 80) | def _params_to_obj(self): method _validate_params (line 105) | def _validate_params(self): method _cmd_create (line 130) | def _cmd_create(self): method _copy_and_add_target (line 151) | def _copy_and_add_target(self): method _copy_and_update_target (line 156) | def _copy_and_update_target(self): method _create_target (line 166) | def _create_target(self): method _find_target (line 170) | def _find_target(self): method _pre_remove_target_elt (line 174) | def _pre_remove_target_elt(self): method get_update_cmds (line 185) | def get_update_cmds(self): method _update (line 194) | def _update(self): method _get_obj_name (line 201) | def _get_obj_name(self): method _log_fields (line 205) | def _log_fields(self, before=None): FILE: plugins/modules/pfsense_aggregate.py class PFSenseModuleAggregate (line 653) | class PFSenseModuleAggregate(object): method __init__ (line 656) | def __init__(self, module): method _update (line 668) | def _update(self): method _parse_floating_interfaces (line 699) | def _parse_floating_interfaces(self, interfaces): method want_rule (line 708) | def want_rule(self, rule_elt, rules, name_field='name'): method want_rule_separator (line 752) | def want_rule_separator(self, separator_elt, rule_separators): method want_alias (line 771) | def want_alias(self, alias_elt, aliases): method want_interface (line 791) | def want_interface(interface_elt, interfaces): method want_vlan (line 807) | def want_vlan(vlan_elt, vlans): method is_filtered (line 820) | def is_filtered(interface_filter, params): method run_rules (line 835) | def run_rules(self): method run_nat_outbounds_rules (line 919) | def run_nat_outbounds_rules(self): method run_nat_port_forwards_rules (line 958) | def run_nat_port_forwards_rules(self): method run_aliases (line 997) | def run_aliases(self): method run_interfaces (line 1021) | def run_interfaces(self): method run_rule_separators (line 1047) | def run_rule_separators(self): method run_vlans (line 1087) | def run_vlans(self): method commit_changes (line 1112) | def commit_changes(self): function main (line 1140) | def main(): FILE: plugins/modules/pfsense_alias.py function main (line 90) | def main(): FILE: plugins/modules/pfsense_authserver_ldap.py class PFSenseAuthserverLDAPModule (line 201) | class PFSenseAuthserverLDAPModule(PFSenseModuleBase): method get_argument_spec (line 209) | def get_argument_spec(): method __init__ (line 213) | def __init__(self, module, pfsense=None): method _validate_params (line 220) | def _validate_params(self): method _params_to_obj (line 226) | def _params_to_obj(self): method _find_target (line 292) | def _find_target(self): method _update (line 304) | def _update(self): function main (line 309) | def main(): FILE: plugins/modules/pfsense_authserver_radius.py class PFSenseAuthserverRADIUSModule (line 106) | class PFSenseAuthserverRADIUSModule(PFSenseModuleBase): method get_argument_spec (line 110) | def get_argument_spec(): method __init__ (line 114) | def __init__(self, module, pfsense=None): method _validate_params (line 123) | def _validate_params(self): method _params_to_obj (line 129) | def _params_to_obj(self): method _find_target (line 152) | def _find_target(self): method _find_this_index (line 161) | def _find_this_index(self): method _create_target (line 164) | def _create_target(self): method _copy_and_add_target (line 170) | def _copy_and_add_target(self): method _get_obj_name (line 182) | def _get_obj_name(self): method _log_fields (line 186) | def _log_fields(self, before=None): function main (line 192) | def main(): FILE: plugins/modules/pfsense_ca.py class PFSenseCAModule (line 224) | class PFSenseCAModule(PFSenseModuleBase): method get_argument_spec (line 228) | def get_argument_spec(): method __init__ (line 232) | def __init__(self, module, pfsense=None): method _validate_params (line 247) | def _validate_params(self): method _params_to_obj (line 302) | def _params_to_obj(self): method _find_crl_for_ca (line 332) | def _find_crl_for_ca(self, caref): method _find_crl_by_name (line 341) | def _find_crl_by_name(self, crlname): method _find_crl_by_refid (line 350) | def _find_crl_by_refid(self, crlrefid): method _copy_and_add_target (line 359) | def _copy_and_add_target(self): method _copy_and_update_target (line 374) | def _copy_and_update_target(self): method _update (line 421) | def _update(self): method _pre_remove_target_elt (line 501) | def _pre_remove_target_elt(self): function main (line 514) | def main(): FILE: plugins/modules/pfsense_cert.py class PFSenseCertModule (line 197) | class PFSenseCertModule(PFSenseModuleBase): method get_argument_spec (line 201) | def get_argument_spec(): method __init__ (line 208) | def __init__(self, module, pfsense=None): method _validate_params (line 215) | def _validate_params(self): method _params_to_obj (line 256) | def _params_to_obj(self): method _find_ca (line 286) | def _find_ca(self, caref): method _copy_and_add_target (line 301) | def _copy_and_add_target(self): method _copy_and_update_target (line 310) | def _copy_and_update_target(self): method _get_obj_name (line 324) | def _get_obj_name(self): method _log_fields (line 328) | def _log_fields(self, before=None): method _update (line 340) | def _update(self): method _pre_remove_target_elt (line 429) | def _pre_remove_target_elt(self): function main (line 438) | def main(): FILE: plugins/modules/pfsense_default_gateway.py function main (line 77) | def main(): FILE: plugins/modules/pfsense_dhcp_server.py function main (line 194) | def main(): FILE: plugins/modules/pfsense_dhcp_static.py class PFSenseDHCPStaticModule (line 210) | class PFSenseDHCPStaticModule(PFSenseModuleBase): method get_argument_spec (line 214) | def get_argument_spec(): method __init__ (line 221) | def __init__(self, module, pfsense=None): method _validate_params (line 231) | def _validate_params(self): method _params_to_obj (line 255) | def _params_to_obj(self): method _is_valid_netif (line 288) | def _is_valid_netif(self, netif): method _find_staticmaps (line 301) | def _find_staticmaps(self, netif=None): method _find_target (line 322) | def _find_target(self): method _create_target (line 337) | def _create_target(self): method _copy_and_add_target (line 341) | def _copy_and_add_target(self): method _get_params_to_remove (line 348) | def _get_params_to_remove(): method _get_obj_name (line 355) | def _get_obj_name(self): method _log_fields (line 359) | def _log_fields(self, before=None): method _update (line 375) | def _update(self): method _pre_remove_target_elt (line 385) | def _pre_remove_target_elt(self): function main (line 395) | def main(): FILE: plugins/modules/pfsense_dns_resolver.py class PFSenseDNSResolverModule (line 388) | class PFSenseDNSResolverModule(PFSenseModuleBase): method get_argument_spec (line 392) | def get_argument_spec(): method __init__ (line 399) | def __init__(self, module, pfsense=None): method _get_interface_name (line 416) | def _get_interface_name(self, iface: str): method _params_to_obj (line 429) | def _params_to_obj(self): method _validate_params (line 493) | def _validate_params(self): method _create_target (line 513) | def _create_target(self): method _find_target (line 517) | def _find_target(self): method _get_params_to_remove (line 521) | def _get_params_to_remove(self): method _update (line 532) | def _update(self): method _get_obj_name (line 548) | def _get_obj_name(self): method _log_fields (line 552) | def _log_fields(self, before=None): function main (line 589) | def main(): FILE: plugins/modules/pfsense_gateway.py function main (line 119) | def main(): FILE: plugins/modules/pfsense_gateway_group.py function p2o_members (line 113) | def p2o_members(self, name, params, obj): class PFSenseGatewayGroupModule (line 134) | class PFSenseGatewayGroupModule(PFSenseModuleBase): method get_argument_spec (line 142) | def get_argument_spec(): method __init__ (line 146) | def __init__(self, module, pfsense=None): function main (line 151) | def main(): FILE: plugins/modules/pfsense_group.py class PFSenseGroupModule (line 93) | class PFSenseGroupModule(PFSenseModuleBase): method __init__ (line 96) | def __init__(self, module, pfsense=None): method _params_to_obj (line 105) | def _params_to_obj(self): method _validate_params (line 123) | def _validate_params(self): method _nextgid (line 126) | def _nextgid(self): method _copy_and_add_target (line 136) | def _copy_and_add_target(self): method _copy_and_update_target (line 153) | def _copy_and_update_target(self): method _create_target (line 162) | def _create_target(self): method _find_target (line 166) | def _find_target(self): method _find_group_by_gid (line 169) | def _find_group_by_gid(self, gid): method _find_this_group_index (line 172) | def _find_this_group_index(self): method _find_last_group_index (line 175) | def _find_last_group_index(self): method _update (line 181) | def _update(self): method _get_obj_name (line 190) | def _get_obj_name(self): method _log_fields (line 194) | def _log_fields(self, before=None): function main (line 200) | def main(): FILE: plugins/modules/pfsense_haproxy_backend.py function main (line 129) | def main(): FILE: plugins/modules/pfsense_haproxy_backend_server.py function main (line 146) | def main(): FILE: plugins/modules/pfsense_interface.py function main (line 151) | def main(): FILE: plugins/modules/pfsense_interface_group.py function main (line 85) | def main(): FILE: plugins/modules/pfsense_ipsec.py function main (line 210) | def main(): FILE: plugins/modules/pfsense_ipsec_aggregate.py class PFSenseModuleIpsecAggregate (line 440) | class PFSenseModuleIpsecAggregate(object): method __init__ (line 443) | def __init__(self, module): method _update (line 450) | def _update(self): method want_ipsec (line 457) | def want_ipsec(ipsec_elt, ipsecs): method proposal_elt_to_params (line 471) | def proposal_elt_to_params(self, ipsec_elt, proposal_elt): method want_ipsec_proposal (line 495) | def want_ipsec_proposal(self, ipsec_elt, proposal_elt, proposals): method want_ipsec_phase2 (line 515) | def want_ipsec_phase2(self, phase2_elt, phases2): method run_ipsecs (line 539) | def run_ipsecs(self): method run_ipsec_proposals (line 565) | def run_ipsec_proposals(self): method run_ipsec_p2s (line 598) | def run_ipsec_p2s(self): method commit_changes (line 625) | def commit_changes(self): function main (line 646) | def main(): FILE: plugins/modules/pfsense_ipsec_p2.py function main (line 191) | def main(): FILE: plugins/modules/pfsense_ipsec_proposal.py function main (line 108) | def main(): FILE: plugins/modules/pfsense_log_settings.py class PFSenseLogSettingsModule (line 258) | class PFSenseLogSettingsModule(PFSenseModuleBase): method get_argument_spec (line 262) | def get_argument_spec(): method __init__ (line 269) | def __init__(self, module, pfsense=None): method _params_to_obj (line 284) | def _params_to_obj(self): method _is_interface_ip_or_descr (line 322) | def _is_interface_ip_or_descr(self, address): method _get_interface_by_ip_or_display_name (line 339) | def _get_interface_by_ip_or_display_name(self, address): method _get_source_ip_interface (line 356) | def _get_source_ip_interface(self, address): method _validate_syslog_server (line 367) | def _validate_syslog_server(self, hostname, name): method _validate_params (line 393) | def _validate_params(self): method _remove_deleted_params (line 440) | def _remove_deleted_params(self): method run (line 454) | def run(self, params): method _update (line 462) | def _update(self): method _get_obj_name (line 492) | def _get_obj_name(): method _log_fields (line 496) | def _log_fields(self, before=None): function main (line 510) | def main(): FILE: plugins/modules/pfsense_nat_outbound.py function main (line 134) | def main(): FILE: plugins/modules/pfsense_nat_port_forward.py function main (line 129) | def main(): FILE: plugins/modules/pfsense_openvpn_client.py function main (line 264) | def main(): FILE: plugins/modules/pfsense_openvpn_override.py function main (line 142) | def main(): FILE: plugins/modules/pfsense_openvpn_server.py function main (line 369) | def main(): FILE: plugins/modules/pfsense_phpshell.py class PFSensePHPShellModule (line 83) | class PFSensePHPShellModule(PFSenseModuleBase): method get_argument_spec (line 87) | def get_argument_spec(): method __init__ (line 94) | def __init__(self, module, pfsense=None): method run (line 102) | def run(self, params): function main (line 116) | def main(): FILE: plugins/modules/pfsense_rewrite_config.py class PFSenseRewriteConfigModule (line 42) | class PFSenseRewriteConfigModule(PFSenseModuleBase): method get_argument_spec (line 46) | def get_argument_spec(): method __init__ (line 53) | def __init__(self, module, pfsense=None): method commit_changes (line 61) | def commit_changes(self): method _update (line 70) | def _update(self): function main (line 76) | def main(): FILE: plugins/modules/pfsense_route.py function main (line 74) | def main(): FILE: plugins/modules/pfsense_rule.py function main (line 182) | def main(): FILE: plugins/modules/pfsense_rule_separator.py function main (line 81) | def main(): FILE: plugins/modules/pfsense_setup.py function p2o_dnslocalhost (line 262) | def p2o_dnslocalhost(self, name, params, obj): function p2o_network_list_to_space_separated (line 272) | def p2o_network_list_to_space_separated(self, name, params, obj): function p2o_webguicss (line 280) | def p2o_webguicss(self, name, params, obj): function validate_webguicss (line 289) | def validate_webguicss(self, webguicss): class PFSenseSetupModule (line 334) | class PFSenseSetupModule(PFSenseModuleConfigBase): method get_argument_spec (line 338) | def get_argument_spec(): method __init__ (line 345) | def __init__(self, module, pfsense=None): method _dns_params_to_obj (line 354) | def _dns_params_to_obj(self, params, obj): method _params_to_obj (line 411) | def _params_to_obj(self): method _validate_hostname (line 417) | def _validate_hostname(self, hostname, name, strict=False): method _validate_params (line 429) | def _validate_params(self): method _validate_timezone (line 517) | def _validate_timezone(self, timezone): method _get_params_to_remove (line 526) | def _get_params_to_remove(self): method _update (line 535) | def _update(self): method _get_obj_name (line 590) | def _get_obj_name(): method _log_fields (line 594) | def _log_fields(self, before=None): method _prepare_dns_log (line 638) | def _prepare_dns_log(obj): function main (line 683) | def main(): FILE: plugins/modules/pfsense_shellcmd.py class PFSenseShellcmdModule (line 92) | class PFSenseShellcmdModule(PFSenseModuleBase): method get_argument_spec (line 100) | def get_argument_spec(): method __init__ (line 104) | def __init__(self, module, pfsense=None): method _find_target (line 111) | def _find_target(self): function main (line 126) | def main(): FILE: plugins/modules/pfsense_user.py function parse_groups (line 112) | def parse_groups(self, name, params, obj): function p2o_ssh_pub_key (line 118) | def p2o_ssh_pub_key(self, name, params, obj): function validate_password (line 124) | def validate_password(self, password): class PFSenseUserModule (line 165) | class PFSenseUserModule(PFSenseModuleBase): method get_argument_spec (line 173) | def get_argument_spec(): method __init__ (line 177) | def __init__(self, module, pfsense=None): method _find_group_elt (line 187) | def _find_group_elt(self, name): method _find_group_names_for_uid (line 190) | def _find_group_names_for_uid(self, uid): method _nextuid (line 196) | def _nextuid(self): method _format_diff_priv (line 202) | def _format_diff_priv(self, priv): method _copy_and_add_target (line 208) | def _copy_and_add_target(self): method _copy_and_update_target (line 223) | def _copy_and_update_target(self): method _update_groups (line 240) | def _update_groups(self): method _remove_deleted_disabled_param (line 284) | def _remove_deleted_disabled_param(self): method _update (line 296) | def _update(self): method _pre_remove_target_elt (line 302) | def _pre_remove_target_elt(self): function main (line 324) | def main(): FILE: plugins/modules/pfsense_vlan.py function main (line 76) | def main(): FILE: tests/unit/plugins/lookup/test_pfsense.py function ordered_dump (line 14) | def ordered_dump(data, dumper_cls=yaml.Dumper): class TestPFSenseLookup (line 27) | class TestPFSenseLookup(ModuleTestCase): method __init__ (line 31) | def __init__(self, *args, **kwargs): method setUp (line 39) | def setUp(self): method tearDown (line 53) | def tearDown(self): method build_definitions (line 59) | def build_definitions(self): method save_definitions (line 88) | def save_definitions(self, filename='test_definitions.yml'): method run_rules (line 93) | def run_rules(self): method assert_get_rule (line 98) | def assert_get_rule(self, rule_name, count=1): method assert_rule_not_found (line 114) | def assert_rule_not_found(self, rule_name): method add_missing_fields (line 121) | def add_missing_fields(expected_rule, rule): method correct_aliases (line 134) | def correct_aliases(expected_rule): method compare_rules (line 144) | def compare_rules(self, expected_rule, rule): method gen_rule (line 152) | def gen_rule(self, src, dst, interface, action): method test_basic_generation (line 193) | def test_basic_generation(self): FILE: tests/unit/plugins/module_utils/test_pfsense.py class TestPFSense (line 12) | class TestPFSense(TestPFSenseModule): method __init__ (line 14) | def __init__(self, *args, **kwargs): method setUp (line 17) | def setUp(self): method tearDown (line 23) | def tearDown(self): method my_get_version (line 27) | def my_get_version(self): method test_is_version (line 30) | def test_is_version(self): method test_is_at_least_2_5_0 (line 50) | def test_is_at_least_2_5_0(self): FILE: tests/unit/plugins/modules/pfsense_module.py function load_fixture (line 26) | def load_fixture(name): class TestPFSenseModule (line 44) | class TestPFSenseModule(ModuleTestCase): method __init__ (line 48) | def __init__(self, *args, **kwargs): method setUp (line 55) | def setUp(self): method tearDown (line 87) | def tearDown(self): method get_args_fields (line 106) | def get_args_fields(self): method get_target_elt (line 113) | def get_target_elt(self, obj, absent=False, module_result=None): method check_target_elt (line 117) | def check_target_elt(self, obj, target_elt): method check_target_elt_direct (line 121) | def check_target_elt_direct(self, target_elt, expected_elt_string): method args_from_var (line 126) | def args_from_var(self, var, state='present', **kwargs): method execute_module (line 142) | def execute_module(self, failed=False, changed=False, commands=None, s... method do_module_test (line 164) | def do_module_test(self, obj, command=None, changed=True, failed=False... method failed (line 200) | def failed(self): method changed (line 208) | def changed(self, changed=False): method strip_commands (line 233) | def strip_commands(self, commands): method strip_params (line 237) | def strip_params(self, params): method get_config_file (line 241) | def get_config_file(self): method load_fixtures (line 245) | def load_fixtures(self): method load_xml_result (line 249) | def load_xml_result(self): method find_xml_tag (line 256) | def find_xml_tag(parent_tag, elt_filter): method assert_xml_elt_value (line 273) | def assert_xml_elt_value(self, parent_tag_name, elt_filter, elt_name, ... method assert_xml_elt_dict (line 286) | def assert_xml_elt_dict(self, parent_tag_name, elt_filter, elts): method assert_has_xml_tag (line 300) | def assert_has_xml_tag(self, parent_tag_name, elt_filter, absent=False): method assert_find_xml_elt (line 314) | def assert_find_xml_elt(self, tag, elt_name): method assert_not_find_xml_elt (line 320) | def assert_not_find_xml_elt(self, tag, elt_name): method assert_xml_elt_equal (line 326) | def assert_xml_elt_equal(self, tag, elt_name, elt_value): method assert_xml_elt_match (line 343) | def assert_xml_elt_match(self, tag, elt_name, elt_regex): method assert_xml_elt_is_none_or_empty (line 355) | def assert_xml_elt_is_none_or_empty(self, tag, elt_name): method assert_list_xml_elt_equal (line 363) | def assert_list_xml_elt_equal(self, tag, elt_name, elt_value): method unalias_interface (line 382) | def unalias_interface(interface, physical=False): method check_param_equal (line 398) | def check_param_equal(self, params, target_elt, param, default=None, x... method check_param_bool (line 415) | def check_param_bool(self, params, target_elt, param, default=False, v... method check_value_equal (line 435) | def check_value_equal(self, target_elt, xml_field, value, empty=True): method check_param_equal_or_not_find (line 445) | def check_param_equal_or_not_find(self, params, target_elt, param, xml... method check_param_equal_or_present (line 459) | def check_param_equal_or_present(self, params, target_elt, param, xml_... method check_list_param_equal (line 468) | def check_list_param_equal(self, params, target_elt, param, default=No... method check_list_param_equal_or_not_find (line 485) | def check_list_param_equal_or_not_find(self, params, target_elt, param... FILE: tests/unit/plugins/modules/test_pfsense_aggregate.py class TestPFSenseAggregateModule (line 18) | class TestPFSenseAggregateModule(TestPFSenseModule): method __init__ (line 22) | def __init__(self, *args, **kwargs): method assert_find_alias (line 26) | def assert_find_alias(self, alias): method assert_not_find_alias (line 37) | def assert_not_find_alias(self, alias): method assert_find_rule (line 48) | def assert_find_rule(self, rule, interface): method assert_not_find_rule (line 59) | def assert_not_find_rule(self, rule, interface): method assert_find_rule_separator (line 70) | def assert_find_rule_separator(self, separator, interface): method assert_not_find_rule_separator (line 90) | def assert_not_find_rule_separator(self, separator, interface): method assert_find_vlan (line 110) | def assert_find_vlan(self, interface, vlan_id): method assert_not_find_vlan (line 124) | def assert_not_find_vlan(self, interface, vlan_id): method test_aggregate_aliases (line 142) | def test_aggregate_aliases(self): method test_aggregate_aliases_checkmode (line 170) | def test_aggregate_aliases_checkmode(self): method test_aggregate_aliases_purge (line 194) | def test_aggregate_aliases_purge(self): method test_aggregate_rules (line 224) | def test_aggregate_rules(self): method test_aggregate_rules_purge (line 245) | def test_aggregate_rules_purge(self): method test_aggregate_separators (line 266) | def test_aggregate_separators(self): method test_aggregate_separators_purge (line 291) | def test_aggregate_separators_purge(self): method test_aggregate_nat_outbound (line 321) | def test_aggregate_nat_outbound(self): method test_aggregate_vlans (line 338) | def test_aggregate_vlans(self): method test_aggregate_vlans_with_purge (line 363) | def test_aggregate_vlans_with_purge(self): FILE: tests/unit/plugins/modules/test_pfsense_alias.py class TestPFSenseAliasModule (line 21) | class TestPFSenseAliasModule(TestPFSenseModule): method __init__ (line 25) | def __init__(self, *args, **kwargs): method do_alias_creation_test (line 35) | def do_alias_creation_test(self, alias, set_after=None, unset_after=No... method do_alias_deletion_test (line 53) | def do_alias_deletion_test(self, alias, command=None): method do_alias_update_noop_test (line 63) | def do_alias_update_noop_test(self, alias): method do_alias_update_field (line 73) | def do_alias_update_field(self, alias, set_after=None, command=None, *... method test_host_create (line 93) | def test_host_create(self): method test_host_delete (line 99) | def test_host_delete(self): method test_host_update_noop (line 105) | def test_host_update_noop(self): method test_host_update_ip (line 110) | def test_host_update_ip(self): method test_host_update_descr (line 116) | def test_host_update_descr(self): method test_port_create (line 125) | def test_port_create(self): method test_port_delete (line 131) | def test_port_delete(self): method test_port_update_noop (line 137) | def test_port_update_noop(self): method test_port_update_port (line 142) | def test_port_update_port(self): method test_port_update_descr (line 148) | def test_port_update_descr(self): method test_network_create (line 157) | def test_network_create(self): method test_network_delete (line 163) | def test_network_delete(self): method test_network_update_noop (line 169) | def test_network_update_noop(self): method test_network_update_network (line 174) | def test_network_update_network(self): method test_network_update_descr (line 180) | def test_network_update_descr(self): method test_urltable_create (line 189) | def test_urltable_create(self): method test_urltable_create_url (line 195) | def test_urltable_create_url(self): method test_urltable_create_exclusive (line 201) | def test_urltable_create_exclusive(self): method test_urltable_delete (line 207) | def test_urltable_delete(self): method test_urltable_update_noop (line 214) | def test_urltable_update_noop(self): method test_urltable_update_url (line 220) | def test_urltable_update_url(self): method test_urltable_update_descr (line 227) | def test_urltable_update_descr(self): method test_urltable_update_freq (line 234) | def test_urltable_update_freq(self): method test_urltable_ports_create (line 241) | def test_urltable_ports_create(self): method test_create_alias_duplicate (line 250) | def test_create_alias_duplicate(self): method test_create_alias_invalid_name (line 255) | def test_create_alias_invalid_name(self): method test_create_alias_invalid_name_interface (line 262) | def test_create_alias_invalid_name_interface(self): method test_create_alias_invalid_updatefreq (line 267) | def test_create_alias_invalid_updatefreq(self): method test_create_alias_without_type (line 272) | def test_create_alias_without_type(self): method test_create_alias_without_address (line 277) | def test_create_alias_without_address(self): method test_create_alias_invalid_details (line 282) | def test_create_alias_invalid_details(self): method test_create_alias_invalid_details2 (line 287) | def test_create_alias_invalid_details2(self): method test_delete_inexistent_alias (line 292) | def test_delete_inexistent_alias(self): method test_check_mode (line 302) | def test_check_mode(self): method test_urltable_required_if (line 314) | def test_urltable_required_if(self): method test_urltable_ports_required_if (line 320) | def test_urltable_ports_required_if(self): FILE: tests/unit/plugins/modules/test_pfsense_alias_null.py class TestPFSenseAliasNullModule (line 21) | class TestPFSenseAliasNullModule(TestPFSenseModule): method __init__ (line 25) | def __init__(self, *args, **kwargs): method do_alias_creation_test (line 35) | def do_alias_creation_test(self, alias, failed=False, msg='', command=... method test_host_create (line 51) | def test_host_create(self): FILE: tests/unit/plugins/modules/test_pfsense_authserver_ldap.py class TestPFSenseAuthserverLDAPModule (line 17) | class TestPFSenseAuthserverLDAPModule(TestPFSenseModule): method __init__ (line 21) | def __init__(self, *args, **kwargs): method runTest (line 27) | def runTest(): method get_target_elt (line 31) | def get_target_elt(self, obj, absent=False, module_result=None): method check_target_elt (line 42) | def check_target_elt(self, obj, target_elt): method test_authserver_create (line 70) | def test_authserver_create(self): method test_authserver_delete (line 75) | def test_authserver_delete(self): method test_authserver_update_noop (line 80) | def test_authserver_update_noop(self): method test_authserver_update_host (line 85) | def test_authserver_update_host(self): method test_authserver_disable_allow_unauthenticated (line 90) | def test_authserver_disable_allow_unauthenticated(self): method test_create_authserver_invalid_timeout (line 98) | def test_create_authserver_invalid_timeout(self): method test_delete_inexistent_authserver (line 103) | def test_delete_inexistent_authserver(self): FILE: tests/unit/plugins/modules/test_pfsense_authserver_radius.py class TestPFSenseAuthserverRADIUSModule (line 17) | class TestPFSenseAuthserverRADIUSModule(TestPFSenseModule): method __init__ (line 21) | def __init__(self, *args, **kwargs): method runTest (line 27) | def runTest(): method get_target_elt (line 31) | def get_target_elt(self, obj, absent=False, module_result=None): method check_target_elt (line 42) | def check_target_elt(self, obj, target_elt): method test_authserver_create (line 60) | def test_authserver_create(self): method test_authserver_delete (line 65) | def test_authserver_delete(self): method test_authserver_update_noop (line 70) | def test_authserver_update_noop(self): method test_authserver_update_host (line 75) | def test_authserver_update_host(self): method test_create_authserver_invalid_timeout (line 83) | def test_create_authserver_invalid_timeout(self): method test_delete_inexistent_authserver (line 88) | def test_delete_inexistent_authserver(self): FILE: tests/unit/plugins/modules/test_pfsense_ca.py class TestPFSenseCAModule (line 58) | class TestPFSenseCAModule(TestPFSenseModule): method __init__ (line 62) | def __init__(self, *args, **kwargs): method setUp (line 67) | def setUp(self): method runTest (line 77) | def runTest(): method get_target_elt (line 81) | def get_target_elt(self, obj, absent=False, module_result=None): method check_target_elt (line 92) | def check_target_elt(self, obj, target_elt): method test_ca_create (line 106) | def test_ca_create(self): method test_ca_add_crl (line 111) | def test_ca_add_crl(self): method test_ca_change_crl (line 116) | def test_ca_change_crl(self): method test_ca_delete (line 121) | def test_ca_delete(self): method test_ca_update_noop (line 126) | def test_ca_update_noop(self): method test_ca_update_serial (line 131) | def test_ca_update_serial(self): method test_ca_update_trust (line 136) | def test_ca_update_trust(self): method test_create_ca_invalid_serial (line 144) | def test_create_ca_invalid_serial(self): method test_delete_nonexistent_ca (line 149) | def test_delete_nonexistent_ca(self): FILE: tests/unit/plugins/modules/test_pfsense_cert.py class TestPFSenseCertModule (line 87) | class TestPFSenseCertModule(TestPFSenseModule): method __init__ (line 91) | def __init__(self, *args, **kwargs): method runTest (line 97) | def runTest(): method get_target_elt (line 101) | def get_target_elt(self, obj, absent=False, module_result=None): method check_target_elt (line 112) | def check_target_elt(self, obj, target_elt): method test_cert_create (line 123) | def test_cert_create(self): method test_cert_import (line 128) | def test_cert_import(self): method test_cert_delete (line 133) | def test_cert_delete(self): method test_cert_update_noop (line 138) | def test_cert_update_noop(self): method test_add_invalid_key (line 146) | def test_add_invalid_key(self): FILE: tests/unit/plugins/modules/test_pfsense_dhcp_server.py class TestPFSenseDHCPServerModule (line 18) | class TestPFSenseDHCPServerModule(TestPFSenseModule): method __init__ (line 22) | def __init__(self, *args, **kwargs): method check_target_elt (line 27) | def check_target_elt(self, obj, target_elt, target_idx=-1): method get_target_elt (line 56) | def get_target_elt(self, obj, absent=False, module_result=None): method test_dhcp_server_create (line 64) | def test_dhcp_server_create(self): method test_dhcp_server_update (line 85) | def test_dhcp_server_update(self): method test_dhcp_server_update_disable_denyunknown (line 99) | def test_dhcp_server_update_disable_denyunknown(self): method test_dhcp_server_delete (line 113) | def test_dhcp_server_delete(self): method test_dhcp_server_create_invalid_interface (line 119) | def test_dhcp_server_create_invalid_interface(self): method test_dhcp_server_create_invalid_range (line 124) | def test_dhcp_server_create_invalid_range(self): method test_dhcp_server_create_with_options (line 130) | def test_dhcp_server_create_with_options(self): FILE: tests/unit/plugins/modules/test_pfsense_dhcp_static.py class TestPFSenseDHCPStaticModule (line 18) | class TestPFSenseDHCPStaticModule(TestPFSenseModule): method __init__ (line 22) | def __init__(self, *args, **kwargs): method check_target_elt (line 27) | def check_target_elt(self, obj, target_elt, target_idx=-1): method get_target_elt (line 47) | def get_target_elt(self, obj, absent=False, module_result=None): method test_dhcp_static_create (line 76) | def test_dhcp_static_create(self): method test_dhcp_static_create_empty (line 84) | def test_dhcp_static_create_empty(self): method test_dhcp_static_create_display (line 92) | def test_dhcp_static_create_display(self): method test_dhcp_static_create_arp_table_static_entry (line 100) | def test_dhcp_static_create_arp_table_static_entry(self): method test_dhcp_static_create_wrong_subnet (line 108) | def test_dhcp_static_create_wrong_subnet(self): method test_dhcp_static_create_no_netif (line 113) | def test_dhcp_static_create_no_netif(self): method test_dhcp_static_create_ifgroup (line 118) | def test_dhcp_static_create_ifgroup(self): method test_dhcp_static_create_invalid_macaddr (line 123) | def test_dhcp_static_create_invalid_macaddr(self): method test_dhcp_static_delete_macaddr (line 131) | def test_dhcp_static_delete_macaddr(self): method test_dhcp_static_delete_name (line 136) | def test_dhcp_static_delete_name(self): FILE: tests/unit/plugins/modules/test_pfsense_dns_resolver.py class TestPFSenseDNSResolverModule (line 14) | class TestPFSenseDNSResolverModule(TestPFSenseModule): method __init__ (line 18) | def __init__(self, *args, **kwargs): method setUp (line 23) | def setUp(self): method check_target_elt (line 32) | def check_target_elt(self, obj, target_elt, target_idx=-1): method get_target_elt (line 69) | def get_target_elt(self, obj, absent=False, module_result=None): method test_dns_resolver_init (line 76) | def test_dns_resolver_init(self): method test_dns_resolver_change (line 90) | def test_dns_resolver_change(self): method test_dns_resolver_noop (line 100) | def test_dns_resolver_noop(self): method test_dns_resolver_domainoverrides_forward_tls_upstream (line 105) | def test_dns_resolver_domainoverrides_forward_tls_upstream(self): FILE: tests/unit/plugins/modules/test_pfsense_gateway.py class TestPFSenseGatewayModule (line 18) | class TestPFSenseGatewayModule(TestPFSenseModule): method __init__ (line 22) | def __init__(self, *args, **kwargs): method check_target_elt (line 27) | def check_target_elt(self, obj, target_elt): method get_target_elt (line 44) | def get_target_elt(self, obj, absent=False, module_result=None): method test_gateway_create (line 58) | def test_gateway_create(self): method test_gateway_create_with_params (line 64) | def test_gateway_create_with_params(self): method test_gateway_create_ipv6 (line 70) | def test_gateway_create_ipv6(self): method test_gateway_create_in_vip (line 76) | def test_gateway_create_in_vip(self): method test_gateway_create_invalid_name (line 82) | def test_gateway_create_invalid_name(self): method test_gateway_create_invalid_interface (line 89) | def test_gateway_create_invalid_interface(self): method test_gateway_create_nonlocal (line 95) | def test_gateway_create_nonlocal(self): method test_gateway_create_invalid_ip (line 101) | def test_gateway_create_invalid_ip(self): method test_gateway_create_invalid_ip2 (line 107) | def test_gateway_create_invalid_ip2(self): method test_gateway_create_invalid_ip3 (line 113) | def test_gateway_create_invalid_ip3(self): method test_gateway_create_invalid_ip4 (line 119) | def test_gateway_create_invalid_ip4(self): method test_gateway_create_invalid_monitor (line 125) | def test_gateway_create_invalid_monitor(self): method test_gateway_create_invalid_ipv6 (line 131) | def test_gateway_create_invalid_ipv6(self): method test_gateway_create_invalid_ipv6_2 (line 137) | def test_gateway_create_invalid_ipv6_2(self): method test_gateway_create_invalid_ipv6_monitor (line 143) | def test_gateway_create_invalid_ipv6_monitor(self): method test_gateway_create_invalid_weight (line 149) | def test_gateway_create_invalid_weight(self): method test_gateway_update_noop (line 155) | def test_gateway_update_noop(self): method test_gateway_update_dynamic (line 160) | def test_gateway_update_dynamic(self): method test_gateway_update_dynamic2 (line 166) | def test_gateway_update_dynamic2(self): method test_gateway_update_dynamic3 (line 172) | def test_gateway_update_dynamic3(self): method test_gateway_update_dynamic4 (line 178) | def test_gateway_update_dynamic4(self): method test_gateway_update_interface (line 184) | def test_gateway_update_interface(self): method test_gateway_update_bools_and_monitor (line 190) | def test_gateway_update_bools_and_monitor(self): method test_gateway_delete (line 196) | def test_gateway_delete(self): method test_gateway_delete_static (line 202) | def test_gateway_delete_static(self): method test_gateway_delete_default (line 208) | def test_gateway_delete_default(self): method test_gateway_delete_in_group (line 214) | def test_gateway_delete_in_group(self): method test_gateway_delete_in_route (line 220) | def test_gateway_delete_in_route(self): FILE: tests/unit/plugins/modules/test_pfsense_haproxy_backend.py class TestPFSenseHaproxyBackendModule (line 18) | class TestPFSenseHaproxyBackendModule(TestPFSenseModule): method __init__ (line 22) | def __init__(self, *args, **kwargs): method get_target_elt (line 30) | def get_target_elt(self, obj, absent=False, module_result=None): method check_target_elt (line 45) | def check_target_elt(self, obj, target_elt, backend_id=100): method test_haproxy_backend_create (line 94) | def test_haproxy_backend_create(self): method test_haproxy_backend_create2 (line 100) | def test_haproxy_backend_create2(self): method test_haproxy_backend_create_invalid_name (line 106) | def test_haproxy_backend_create_invalid_name(self): method test_haproxy_backend_delete (line 112) | def test_haproxy_backend_delete(self): method test_haproxy_backend_update_noop (line 118) | def test_haproxy_backend_update_noop(self): method test_haproxy_backend_update_bools (line 125) | def test_haproxy_backend_update_bools(self): FILE: tests/unit/plugins/modules/test_pfsense_haproxy_backend_server.py class TestPFSenseHaproxyBackendServerModule (line 18) | class TestPFSenseHaproxyBackendServerModule(TestPFSenseModule): method __init__ (line 22) | def __init__(self, *args, **kwargs): method get_target_elt (line 30) | def get_target_elt(self, obj, absent=False, module_result=None): method caref (line 56) | def caref(descr): method crlref (line 65) | def crlref(descr): method certref (line 74) | def certref(descr): method idem (line 83) | def idem(descr): method check_target_elt (line 87) | def check_target_elt(self, obj, target_elt, server_id): method test_haproxy_backend_server_create (line 136) | def test_haproxy_backend_server_create(self): method test_haproxy_backend_server_create2 (line 142) | def test_haproxy_backend_server_create2(self): method test_haproxy_backend_server_create_invalid_backend (line 153) | def test_haproxy_backend_server_create_invalid_backend(self): method test_haproxy_backend_server_create_invalid_name (line 159) | def test_haproxy_backend_server_create_invalid_name(self): method test_haproxy_backend_server_delete (line 165) | def test_haproxy_backend_server_delete(self): method test_haproxy_backend_server_update_noop (line 171) | def test_haproxy_backend_server_update_noop(self): method test_haproxy_backend_server_update_frontend (line 176) | def test_haproxy_backend_server_update_frontend(self): method test_haproxy_backend_server_update_certs (line 182) | def test_haproxy_backend_server_update_certs(self): method test_haproxy_backend_server_update_certs2 (line 190) | def test_haproxy_backend_server_update_certs2(self): method test_haproxy_backend_server_update_certs3 (line 198) | def test_haproxy_backend_server_update_certs3(self): method test_haproxy_backend_server_invalid_ca (line 206) | def test_haproxy_backend_server_invalid_ca(self): method test_haproxy_backend_server_invalid_crl (line 212) | def test_haproxy_backend_server_invalid_crl(self): method test_haproxy_backend_server_invalid_cert (line 218) | def test_haproxy_backend_server_invalid_cert(self): method test_haproxy_backend_server_invalid_frontend (line 224) | def test_haproxy_backend_server_invalid_frontend(self): FILE: tests/unit/plugins/modules/test_pfsense_interface.py class TestPFSenseInterfaceModule (line 18) | class TestPFSenseInterfaceModule(TestPFSenseModule): method __init__ (line 22) | def __init__(self, *args, **kwargs): method setUp (line 27) | def setUp(self): method tearDown (line 47) | def tearDown(self): method get_target_elt (line 56) | def get_target_elt(self, obj, absent=False, module_result=None): method check_target_elt (line 63) | def check_target_elt(self, obj, target_elt): method test_interface_create_no_address (line 134) | def test_interface_create_no_address(self): method test_interface_create_by_descr (line 140) | def test_interface_create_by_descr(self): method test_interface_create_static (line 146) | def test_interface_create_static(self): method test_interface_create_static_ipv6 (line 152) | def test_interface_create_static_ipv6(self): method test_interface_create_slaac (line 158) | def test_interface_create_slaac(self): method test_interface_create_none_mac_mtu_mss (line 164) | def test_interface_create_none_mac_mtu_mss(self): method test_interface_delete (line 170) | def test_interface_delete(self): method test_interface_delete_lan (line 176) | def test_interface_delete_lan(self): method test_interface_delete_fails (line 190) | def test_interface_delete_fails(self): method test_interface_update_noop (line 196) | def test_interface_update_noop(self): method test_interface_update_name (line 201) | def test_interface_update_name(self): method test_interface_update_enable (line 207) | def test_interface_update_enable(self): method test_interface_update_enable2 (line 213) | def test_interface_update_enable2(self): method test_interface_update_mac (line 219) | def test_interface_update_mac(self): method test_interface_update_blocks (line 226) | def test_interface_update_blocks(self): method test_interface_error_used (line 233) | def test_interface_error_used(self): method test_interface_error_gw (line 239) | def test_interface_error_gw(self): method test_interface_error_if (line 246) | def test_interface_error_if(self): method test_interface_error_eq (line 253) | def test_interface_error_eq(self): method test_interface_error_overlaps1 (line 259) | def test_interface_error_overlaps1(self): method test_interface_error_overlaps2 (line 265) | def test_interface_error_overlaps2(self): method test_interface_error_inet6_eq (line 271) | def test_interface_error_inet6_eq(self): method test_interface_error_inet6_overlaps1 (line 277) | def test_interface_error_inet6_overlaps1(self): method test_interface_error_inet6_overlaps2 (line 283) | def test_interface_error_inet6_overlaps2(self): method test_interface_delete_sub (line 289) | def test_interface_delete_sub(self): method test_interface_error_not_uniq (line 295) | def test_interface_error_not_uniq(self): FILE: tests/unit/plugins/modules/test_pfsense_interface_group.py class TestPFSenseInterfaceGroupModule (line 19) | class TestPFSenseInterfaceGroupModule(TestPFSenseModule): method __init__ (line 23) | def __init__(self, *args, **kwargs): method setUp (line 28) | def setUp(self): method tearDown (line 48) | def tearDown(self): method get_target_elt (line 57) | def get_target_elt(self, obj, absent=False, module_result=None): method check_target_elt (line 64) | def check_target_elt(self, obj, target_elt): method test_interface_group_create (line 81) | def test_interface_group_create(self): method test_interface_group_create_with_descr (line 87) | def test_interface_group_create_with_descr(self): method test_interface_group_delete (line 93) | def test_interface_group_delete(self): method test_interface_group_update_noop (line 99) | def test_interface_group_update_noop(self): method test_interface_group_update_descr (line 104) | def test_interface_group_update_descr(self): method test_interface_group_update_members (line 110) | def test_interface_group_update_members(self): method test_interface_group_error_no_members (line 116) | def test_interface_group_error_no_members(self): method test_interface_group_error_member_does_not_exist (line 122) | def test_interface_group_error_member_does_not_exist(self): method test_interface_group_error_members_not_uniq (line 128) | def test_interface_group_error_members_not_uniq(self): FILE: tests/unit/plugins/modules/test_pfsense_ipsec.py class TestPFSenseIpsecModule (line 18) | class TestPFSenseIpsecModule(TestPFSenseModule): method __init__ (line 22) | def __init__(self, *args, **kwargs): method get_config_file (line 26) | def get_config_file(self): method get_target_elt (line 34) | def get_target_elt(self, obj, absent=False, module_result=None): method caref (line 42) | def caref(descr): method certref (line 51) | def certref(descr): method check_target_elt (line 59) | def check_target_elt(self, obj, target_elt): method strip_commands (line 159) | def strip_commands(self, commands): method test_ipsec_create_ikev2 (line 168) | def test_ipsec_create_ikev2(self): method test_ipsec_create_ikev1 (line 180) | def test_ipsec_create_ikev1(self): method test_ipsec_create_vip_descr (line 191) | def test_ipsec_create_vip_descr(self): method test_ipsec_create_vip_subnet (line 203) | def test_ipsec_create_vip_subnet(self): method test_ipsec_create_auto (line 214) | def test_ipsec_create_auto(self): method test_ipsec_delete (line 225) | def test_ipsec_delete(self): method test_ipsec_update_noop (line 231) | def test_ipsec_update_noop(self): method test_ipsec_update_ike (line 238) | def test_ipsec_update_ike(self): method test_ipsec_update_gw (line 246) | def test_ipsec_update_gw(self): method test_ipsec_update_auth (line 254) | def test_ipsec_update_auth(self): method test_ipsec_update_cert (line 264) | def test_ipsec_update_cert(self): method test_ipsec_duplicate_gw (line 272) | def test_ipsec_duplicate_gw(self): FILE: tests/unit/plugins/modules/test_pfsense_ipsec_aggregate.py class TestPFSenseIpsecAggregateModule (line 20) | class TestPFSenseIpsecAggregateModule(TestPFSenseModule): method __init__ (line 24) | def __init__(self, *args, **kwargs): method get_config_file (line 27) | def get_config_file(self): method assert_find_ipsec (line 32) | def assert_find_ipsec(self, ipsec): method assert_not_find_ipsec (line 51) | def assert_not_find_ipsec(self, ipsec): method strip_commands (line 70) | def strip_commands(self, commands): method test_ipsec_aggregate_ipsecs (line 91) | def test_ipsec_aggregate_ipsecs(self, pfsense_version): method test_ipsec_aggregate_ipsecs_purge (line 132) | def test_ipsec_aggregate_ipsecs_purge(self, pfsense_version): method test_ipsec_aggregate_proposals (line 168) | def test_ipsec_aggregate_proposals(self, pfsense_version): method test_ipsec_aggregate_proposals_purge (line 195) | def test_ipsec_aggregate_proposals_purge(self, pfsense_version): method test_ipsec_aggregate_p2s (line 232) | def test_ipsec_aggregate_p2s(self): method test_ipsec_aggregate_p2s_purge (line 262) | def test_ipsec_aggregate_p2s_purge(self): FILE: tests/unit/plugins/modules/test_pfsense_ipsec_p2.py class TestPFSenseIpsecP2Module (line 18) | class TestPFSenseIpsecP2Module(TestPFSenseModule): method __init__ (line 22) | def __init__(self, *args, **kwargs): method get_phase1_elt (line 30) | def get_phase1_elt(self, descr, absent=False): method get_target_elt (line 36) | def get_target_elt(self, obj, absent=False, module_result=None): method get_enc_elt (line 46) | def get_enc_elt(phase2_elt, enc_name): method check_enc (line 55) | def check_enc(self, phase2, phase2_elt, enc_name, param_name): method get_hash_elt (line 71) | def get_hash_elt(phase2_elt, hash_name): method check_hash (line 80) | def check_hash(self, phase2, phase2_elt, hash_name, param_name): method param_to_address (line 90) | def param_to_address(self, address): method check_address (line 116) | def check_address(self, phase2, phase2_elt, elt_name, param_name): method check_target_elt (line 138) | def check_target_elt(self, obj, target_elt): method test_phase2_create_vti (line 192) | def test_phase2_create_vti(self): method test_phase2_create_tunnel (line 201) | def test_phase2_create_tunnel(self): method test_phase2_delete (line 210) | def test_phase2_delete(self): method test_phase2_update_noop (line 216) | def test_phase2_update_noop(self): method test_phase2_update_aes_len (line 223) | def test_phase2_update_aes_len(self): method test_phase2_update_disable_aes (line 231) | def test_phase2_update_disable_aes(self): method test_phase2_update_set_3des (line 239) | def test_phase2_update_set_3des(self): method test_phase2_update_remove_3des (line 247) | def test_phase2_update_remove_3des(self): method test_phase2_update_remove_sha256 (line 255) | def test_phase2_update_remove_sha256(self): method test_phase2_update_change_address (line 263) | def test_phase2_update_change_address(self): method test_phase2_update_set_nat (line 271) | def test_phase2_update_set_nat(self): method test_phase2_update_remove_nat (line 279) | def test_phase2_update_remove_nat(self): method test_phase2_inexistent_tunnel (line 287) | def test_phase2_inexistent_tunnel(self): method test_phase2_no_encryption (line 295) | def test_phase2_no_encryption(self): method test_phase2_no_hash (line 302) | def test_phase2_no_hash(self): method test_phase2_vti_lan (line 309) | def test_phase2_vti_lan(self): method test_phase2_vti_lan2 (line 316) | def test_phase2_vti_lan2(self): method test_phase2_tunnel6_remote (line 323) | def test_phase2_tunnel6_remote(self): method test_phase2_tunnel6_remote2 (line 331) | def test_phase2_tunnel6_remote2(self): method test_phase2_tunnel6_local (line 339) | def test_phase2_tunnel6_local(self): method test_phase2_tunnel_remote (line 347) | def test_phase2_tunnel_remote(self): method test_phase2_tunnel_remote2 (line 355) | def test_phase2_tunnel_remote2(self): method test_phase2_tunnel_local (line 363) | def test_phase2_tunnel_local(self): method test_phase2_duplicate (line 371) | def test_phase2_duplicate(self): FILE: tests/unit/plugins/modules/test_pfsense_ipsec_proposal.py class TestPFSenseIpsecProposalModule (line 19) | class TestPFSenseIpsecProposalModule(TestPFSenseModule): method __init__ (line 23) | def __init__(self, *args, **kwargs): method get_config_file (line 27) | def get_config_file(self): method get_target_elt (line 37) | def get_target_elt(self, obj, absent=False, module_result=None): method check_target_elt (line 79) | def check_target_elt(self, obj, target_elt): method strip_commands (line 84) | def strip_commands(self, commands): method test_ipsec_proposal_create (line 94) | def test_ipsec_proposal_create(self, pfsense_version): method test_ipsec_proposal_create_nokeylen (line 102) | def test_ipsec_proposal_create_nokeylen(self, pfsense_version): method test_ipsec_proposal_delete (line 110) | def test_ipsec_proposal_delete(self, pfsense_version): method test_ipsec_proposal_update_noop (line 118) | def test_ipsec_proposal_update_noop(self, pfsense_version): method test_ipsec_proposal_wrong_keylen (line 124) | def test_ipsec_proposal_wrong_keylen(self): method test_ipsec_proposal_wrong_tunnel (line 130) | def test_ipsec_proposal_wrong_tunnel(self): method test_ipsec_proposal_wrong_encryption (line 136) | def test_ipsec_proposal_wrong_encryption(self): FILE: tests/unit/plugins/modules/test_pfsense_log_settings.py class TestPFSenseLogSettingsModule (line 18) | class TestPFSenseLogSettingsModule(TestPFSenseModule): method __init__ (line 22) | def __init__(self, *args, **kwargs): method get_target_elt (line 37) | def get_target_elt(self, obj, absent=False, module_result=None): method check_target_elt (line 41) | def check_target_elt(self, obj, target_elt): method test_syslog_logformat_rfc5424 (line 127) | def test_syslog_logformat_rfc5424(self): method test_syslog_logformat_rfc3164 (line 133) | def test_syslog_logformat_rfc3164(self): method test_syslog_logformat_invalid (line 139) | def test_syslog_logformat_invalid(self): method test_syslog_reverse (line 145) | def test_syslog_reverse(self): method test_syslog_reverse_true (line 151) | def test_syslog_reverse_true(self): method test_syslog_nentries_valid (line 156) | def test_syslog_nentries_valid(self): method test_syslog_nentries_valid2 (line 162) | def test_syslog_nentries_valid2(self): method test_syslog_nentries_valid3 (line 168) | def test_syslog_nentries_valid3(self): method test_syslog_nentries_invalid1 (line 174) | def test_syslog_nentries_invalid1(self): method test_syslog_nentries_invalid2 (line 180) | def test_syslog_nentries_invalid2(self): method test_syslog_nentries_invalid3 (line 186) | def test_syslog_nentries_invalid3(self): method test_syslog_nologdefaultblock_false (line 192) | def test_syslog_nologdefaultblock_false(self): method test_syslog_nologdefaultblock_true (line 197) | def test_syslog_nologdefaultblock_true(self): method test_syslog_nologdefaultpass_false (line 203) | def test_syslog_nologdefaultpass_false(self): method test_syslog_nologdefaultpass_true (line 210) | def test_syslog_nologdefaultpass_true(self): method test_syslog_nologbogons_false (line 215) | def test_syslog_nologbogons_false(self): method test_syslog_nologbogons_true (line 220) | def test_syslog_nologbogons_true(self): method test_syslog_nologprivatenets_false (line 226) | def test_syslog_nologprivatenets_false(self): method test_syslog_nologprivatenets_true (line 231) | def test_syslog_nologprivatenets_true(self): method test_syslog_nolognginx_false (line 237) | def test_syslog_nolognginx_false(self): method test_syslog_nolognginx_true (line 242) | def test_syslog_nolognginx_true(self): method test_syslog_rawfilter_false (line 248) | def test_syslog_rawfilter_false(self): method test_syslog_rawfilter_true (line 253) | def test_syslog_rawfilter_true(self): method test_syslog_filterdescriptions_valid0 (line 259) | def test_syslog_filterdescriptions_valid0(self): method test_syslog_filterdescriptions_valid1 (line 265) | def test_syslog_filterdescriptions_valid1(self): method test_syslog_filterdescriptions_valid2 (line 270) | def test_syslog_filterdescriptions_valid2(self): method test_syslog_filterdescriptions_invalid3 (line 276) | def test_syslog_filterdescriptions_invalid3(self): method test_syslog_disablelocallogging_false (line 282) | def test_syslog_disablelocallogging_false(self): method test_syslog_disablelocallogging_true (line 287) | def test_syslog_disablelocallogging_true(self): method test_syslog_logfilesize_valid1 (line 293) | def test_syslog_logfilesize_valid1(self): method test_syslog_logfilesize_valid2 (line 299) | def test_syslog_logfilesize_valid2(self): method test_syslog_logfilesize_valid3 (line 305) | def test_syslog_logfilesize_valid3(self): method test_syslog_logfilesize_invalid1 (line 311) | def test_syslog_logfilesize_invalid1(self): method test_syslog_logfilesize_invalid2 (line 317) | def test_syslog_logfilesize_invalid2(self): method test_syslog_logfilesize_invalid3 (line 323) | def test_syslog_logfilesize_invalid3(self): method test_syslog_logfilesize_invalid4 (line 329) | def test_syslog_logfilesize_invalid4(self): method test_syslog_logcompressiontype_valid_xz (line 335) | def test_syslog_logcompressiontype_valid_xz(self): method test_syslog_logcompressiontype_valid_gzip (line 341) | def test_syslog_logcompressiontype_valid_gzip(self): method test_syslog_rotatecount_valid0 (line 347) | def test_syslog_rotatecount_valid0(self): method test_syslog_rotatecount_valid1 (line 353) | def test_syslog_rotatecount_valid1(self): method test_syslog_rotatecount_valid2 (line 359) | def test_syslog_rotatecount_valid2(self): method test_syslog_rotatecount_valid3 (line 365) | def test_syslog_rotatecount_valid3(self): method test_syslog_rotatecount_invalid1 (line 371) | def test_syslog_rotatecount_invalid1(self): method test_syslog_rotatecount_invalid2 (line 377) | def test_syslog_rotatecount_invalid2(self): method test_syslog_enable_true (line 383) | def test_syslog_enable_true(self): method test_syslog_enable_false (line 389) | def test_syslog_enable_false(self): method test_syslog_ipproto_ipv4 (line 394) | def test_syslog_ipproto_ipv4(self): method test_syslog_ipproto_ipv6 (line 400) | def test_syslog_ipproto_ipv6(self): method test_syslog_sourceip_wan_ip (line 406) | def test_syslog_sourceip_wan_ip(self): method test_syslog_sourceip_wan_descr (line 412) | def test_syslog_sourceip_wan_descr(self): method test_syslog_sourceip_lan (line 418) | def test_syslog_sourceip_lan(self): method test_syslog_sourceip_lo0 (line 424) | def test_syslog_sourceip_lo0(self): method test_syslog_sourceip_descr (line 430) | def test_syslog_sourceip_descr(self): method test_syslog_sourceip_valid_empty (line 436) | def test_syslog_sourceip_valid_empty(self): method test_syslog_sourceip_valid_vip_ip (line 442) | def test_syslog_sourceip_valid_vip_ip(self): method test_syslog_sourceip_invalid_vip (line 448) | def test_syslog_sourceip_invalid_vip(self): method test_syslog_sourceip_invalid_opt4 (line 454) | def test_syslog_sourceip_invalid_opt4(self): method test_syslog_remoteserver_hostname (line 460) | def test_syslog_remoteserver_hostname(self): method test_syslog_remoteserver_fqdn (line 466) | def test_syslog_remoteserver_fqdn(self): method test_syslog_remoteserver_fqdn_port (line 472) | def test_syslog_remoteserver_fqdn_port(self): method test_syslog_remoteserver_ipv6 (line 478) | def test_syslog_remoteserver_ipv6(self): method test_syslog_remoteserver_ipv6_port (line 484) | def test_syslog_remoteserver_ipv6_port(self): method test_syslog_remoteserver_ipv4_invalid_port1 (line 490) | def test_syslog_remoteserver_ipv4_invalid_port1(self): method test_syslog_remoteserver_ipv4_invalid_port2 (line 496) | def test_syslog_remoteserver_ipv4_invalid_port2(self): method test_syslog_ipproto_invalid (line 502) | def test_syslog_ipproto_invalid(self): method test_syslog_logall_true (line 508) | def test_syslog_logall_true(self): method test_syslog_logall_false (line 514) | def test_syslog_logall_false(self): method test_syslog_system_true (line 520) | def test_syslog_system_true(self): method test_syslog_system_false (line 526) | def test_syslog_system_false(self): method test_syslog_system_invalid_with_logall (line 532) | def test_syslog_system_invalid_with_logall(self): method test_syslog_system_valid_with_logall (line 538) | def test_syslog_system_valid_with_logall(self): method test_syslog_logfilter_true (line 544) | def test_syslog_logfilter_true(self): method test_syslog_logfilter_false (line 550) | def test_syslog_logfilter_false(self): method test_syslog_logfilter_invalid_with_logall (line 556) | def test_syslog_logfilter_invalid_with_logall(self): method test_syslog_logfilter_valid_with_logall (line 562) | def test_syslog_logfilter_valid_with_logall(self): method test_syslog_resolver_true (line 568) | def test_syslog_resolver_true(self): method test_syslog_resolver_false (line 574) | def test_syslog_resolver_false(self): method test_syslog_resolver_invalid_with_logall (line 580) | def test_syslog_resolver_invalid_with_logall(self): method test_syslog_resolver_valid_with_logall (line 586) | def test_syslog_resolver_valid_with_logall(self): method test_syslog_dhcp_true (line 592) | def test_syslog_dhcp_true(self): method test_syslog_dhcp_false (line 598) | def test_syslog_dhcp_false(self): method test_syslog_dhcp_invalid_with_logall (line 604) | def test_syslog_dhcp_invalid_with_logall(self): method test_syslog_dhcp_valid_with_logall (line 610) | def test_syslog_dhcp_valid_with_logall(self): method test_syslog_ppp_true (line 616) | def test_syslog_ppp_true(self): method test_syslog_ppp_false (line 622) | def test_syslog_ppp_false(self): method test_syslog_ppp_invalid_with_logall (line 628) | def test_syslog_ppp_invalid_with_logall(self): method test_syslog_ppp_valid_with_logall (line 634) | def test_syslog_ppp_valid_with_logall(self): method test_syslog_auth_true (line 640) | def test_syslog_auth_true(self): method test_syslog_auth_false (line 646) | def test_syslog_auth_false(self): method test_syslog_auth_invalid_with_logall (line 652) | def test_syslog_auth_invalid_with_logall(self): method test_syslog_auth_valid_with_logall (line 658) | def test_syslog_auth_valid_with_logall(self): method test_syslog_portalauth_true (line 664) | def test_syslog_portalauth_true(self): method test_syslog_portalauth_false (line 670) | def test_syslog_portalauth_false(self): method test_syslog_portalauth_invalid_with_logall (line 676) | def test_syslog_portalauth_invalid_with_logall(self): method test_syslog_portalauth_valid_with_logall (line 682) | def test_syslog_portalauth_valid_with_logall(self): method test_syslog_vpn_true (line 688) | def test_syslog_vpn_true(self): method test_syslog_vpn_false (line 694) | def test_syslog_vpn_false(self): method test_syslog_vpn_invalid_with_logall (line 700) | def test_syslog_vpn_invalid_with_logall(self): method test_syslog_vpn_valid_with_logall (line 706) | def test_syslog_vpn_valid_with_logall(self): method test_syslog_dpinger_true (line 712) | def test_syslog_dpinger_true(self): method test_syslog_dpinger_false (line 718) | def test_syslog_dpinger_false(self): method test_syslog_dpinger_invalid_with_logall (line 724) | def test_syslog_dpinger_invalid_with_logall(self): method test_syslog_dpinger_valid_with_logall (line 730) | def test_syslog_dpinger_valid_with_logall(self): method test_syslog_routing_true (line 736) | def test_syslog_routing_true(self): method test_syslog_routing_false (line 742) | def test_syslog_routing_false(self): method test_syslog_routing_invalid_with_logall (line 748) | def test_syslog_routing_invalid_with_logall(self): method test_syslog_routing_valid_with_logall (line 754) | def test_syslog_routing_valid_with_logall(self): method test_syslog_ntpd_true (line 760) | def test_syslog_ntpd_true(self): method test_syslog_ntpd_false (line 766) | def test_syslog_ntpd_false(self): method test_syslog_ntpd_invalid_with_logall (line 772) | def test_syslog_ntpd_invalid_with_logall(self): method test_syslog_ntpd_valid_with_logall (line 778) | def test_syslog_ntpd_valid_with_logall(self): method test_syslog_hostapd_true (line 784) | def test_syslog_hostapd_true(self): method test_syslog_hostapd_false (line 790) | def test_syslog_hostapd_false(self): method test_syslog_hostapd_invalid_with_logall (line 796) | def test_syslog_hostapd_invalid_with_logall(self): method test_syslog_hostapd_valid_with_logall (line 802) | def test_syslog_hostapd_valid_with_logall(self): FILE: tests/unit/plugins/modules/test_pfsense_nat_outbound.py class TestPFSenseNatOutboundModule (line 19) | class TestPFSenseNatOutboundModule(TestPFSenseModule): method __init__ (line 23) | def __init__(self, *args, **kwargs): method is_ipv4_address (line 29) | def is_ipv4_address(address): method parse_address (line 38) | def parse_address(self, name, addr, field, invert=False): method reparse_network (line 71) | def reparse_network(value): method check_addr (line 78) | def check_addr(self, params, target_elt, addr, field, port, invert=Fal... method check_target_addr (line 90) | def check_target_addr(self, params, target_elt): method md5 (line 106) | def md5(value): method check_target_elt (line 111) | def check_target_elt(self, obj, target_elt, target_idx=-1): method check_rule_idx (line 131) | def check_rule_idx(self, params, target_idx): method get_target_elt (line 149) | def get_target_elt(self, obj, absent=False, module_result=None): method test_nat_outbound_create (line 164) | def test_nat_outbound_create(self): method test_nat_outbound_create_aliases (line 170) | def test_nat_outbound_create_aliases(self): method test_nat_outbound_create_address (line 179) | def test_nat_outbound_create_address(self): method test_nat_outbound_create_address_net (line 185) | def test_nat_outbound_create_address_net(self): method test_nat_outbound_create_networks (line 191) | def test_nat_outbound_create_networks(self): method test_nat_outbound_ipprotocol (line 197) | def test_nat_outbound_ipprotocol(self): method test_nat_outbound_protocol (line 203) | def test_nat_outbound_protocol(self): method test_nat_outbound_create_networks_invert (line 209) | def test_nat_outbound_create_networks_invert(self): method test_nat_outbound_create_interface_destination_network (line 215) | def test_nat_outbound_create_interface_destination_network(self): method test_nat_outbound_create_interface_source_network (line 221) | def test_nat_outbound_create_interface_source_network(self): method test_nat_outbound_create_top (line 227) | def test_nat_outbound_create_top(self): method test_nat_outbound_create_after (line 233) | def test_nat_outbound_create_after(self): method test_nat_outbound_create_before (line 239) | def test_nat_outbound_create_before(self): method test_nat_outbound_create_with_sourcehashkey (line 245) | def test_nat_outbound_create_with_sourcehashkey(self): method test_nat_outbound_create_with_sourcehashkey_str (line 251) | def test_nat_outbound_create_with_sourcehashkey_str(self): method test_nat_outbound_update_noop (line 257) | def test_nat_outbound_update_noop(self): method test_nat_outbound_update_bottom (line 262) | def test_nat_outbound_update_bottom(self): method test_nat_outbound_update_top (line 268) | def test_nat_outbound_update_top(self): method test_nat_outbound_update_source (line 274) | def test_nat_outbound_update_source(self): method test_nat_outbound_update_destination (line 280) | def test_nat_outbound_update_destination(self): method test_nat_outbound_update_interface (line 286) | def test_nat_outbound_update_interface(self): method test_nat_outbound_delete (line 292) | def test_nat_outbound_delete(self): method test_nat_outbound_invalid_sourcehashkey_hex (line 298) | def test_nat_outbound_invalid_sourcehashkey_hex(self): method test_nat_outbound_invalid_sourcehashkey_len (line 304) | def test_nat_outbound_invalid_sourcehashkey_len(self): FILE: tests/unit/plugins/modules/test_pfsense_nat_port_forward.py class TestPFSenseNatPortForwardModule (line 19) | class TestPFSenseNatPortForwardModule(TestPFSenseModule): method __init__ (line 23) | def __init__(self, *args, **kwargs): method check_target_addr (line 28) | def check_target_addr(self, params, target_elt): method get_associated_rule_elt (line 34) | def get_associated_rule_elt(self, params, ruleid): method check_target_elt (line 41) | def check_target_elt(self, obj, target_elt, target_idx=-1): method check_rule_idx (line 74) | def check_rule_idx(self, params, target_idx): method get_target_elt (line 91) | def get_target_elt(self, obj, absent=False, module_result=None): method test_nat_port_forward_create (line 105) | def test_nat_port_forward_create(self): method test_nat_port_forward_create_range (line 113) | def test_nat_port_forward_create_range(self): method test_nat_port_forward_create_associated (line 122) | def test_nat_port_forward_create_associated(self): method test_nat_port_forward_create_unassociated (line 129) | def test_nat_port_forward_create_unassociated(self): method test_nat_port_forward_create_top (line 139) | def test_nat_port_forward_create_top(self): method test_nat_port_forward_create_after (line 148) | def test_nat_port_forward_create_after(self): method test_nat_port_forward_create_before (line 157) | def test_nat_port_forward_create_before(self): method test_nat_port_forward_create_icmp (line 166) | def test_nat_port_forward_create_icmp(self): method test_nat_port_forward_create_tcp_fail_no_port (line 175) | def test_nat_port_forward_create_tcp_fail_no_port(self): method test_nat_port_forward_create_icmp_fail_port (line 181) | def test_nat_port_forward_create_icmp_fail_port(self): method test_nat_port_forward_update_noop (line 187) | def test_nat_port_forward_update_noop(self): method test_nat_port_forward_update_bottom (line 192) | def test_nat_port_forward_update_bottom(self): method test_nat_port_forward_update_top (line 198) | def test_nat_port_forward_update_top(self): method test_nat_port_forward_update_source (line 204) | def test_nat_port_forward_update_source(self): method test_nat_port_forward_update_destination (line 210) | def test_nat_port_forward_update_destination(self): method test_nat_port_forward_update_interface (line 216) | def test_nat_port_forward_update_interface(self): method test_nat_port_forward_update_interface_associated (line 222) | def test_nat_port_forward_update_interface_associated(self): method test_nat_port_forward_delete (line 230) | def test_nat_port_forward_delete(self): FILE: tests/unit/plugins/modules/test_pfsense_openvpn_override.py class TestPFSenseOpenVPNOverrideModule (line 17) | class TestPFSenseOpenVPNOverrideModule(TestPFSenseModule): method __init__ (line 21) | def __init__(self, *args, **kwargs): method runTest (line 27) | def runTest(): method get_target_elt (line 31) | def get_target_elt(self, obj, absent=False, module_result=None): method check_target_elt (line 42) | def check_target_elt(self, obj, target_elt): method test_openvpn_override_create (line 60) | def test_openvpn_override_create(self): method test_openvpn_override_delete (line 65) | def test_openvpn_override_delete(self): method test_openvpn_override_update_noop (line 70) | def test_openvpn_override_update_noop(self): method test_openvpn_override_update_network (line 75) | def test_openvpn_override_update_network(self): method test_create_openvpn_override_invalid_network (line 83) | def test_create_openvpn_override_invalid_network(self): method test_delete_nonexistent_openvpn_override (line 88) | def test_delete_nonexistent_openvpn_override(self): FILE: tests/unit/plugins/modules/test_pfsense_openvpn_server.py class TestPFSenseOpenVPNServerModule (line 43) | class TestPFSenseOpenVPNServerModule(TestPFSenseModule): method __init__ (line 47) | def __init__(self, *args, **kwargs): method setUp (line 52) | def setUp(self): method tearDown (line 65) | def tearDown(self): method runTest (line 72) | def runTest(): method get_target_elt (line 76) | def get_target_elt(self, obj, absent=False, module_result=None): method caref (line 88) | def caref(descr): method crlref (line 95) | def crlref(descr): method certref (line 102) | def certref(descr): method check_target_elt (line 108) | def check_target_elt(self, obj, target_elt): method test_openvpn_server_create (line 167) | def test_openvpn_server_create(self): method test_openvpn_server_create_generate (line 172) | def test_openvpn_server_create_generate(self): method test_openvpn_server_delete (line 177) | def test_openvpn_server_delete(self): method test_openvpn_server_update_noop (line 182) | def test_openvpn_server_update_noop(self): method test_openvpn_server_update_network (line 187) | def test_openvpn_server_update_network(self): method test_create_openvpn_server_duplicate_port (line 195) | def test_create_openvpn_server_duplicate_port(self): method test_create_openvpn_server_invalid_certificate (line 200) | def test_create_openvpn_server_invalid_certificate(self): method test_delete_nonexistent_openvpn_server (line 205) | def test_delete_nonexistent_openvpn_server(self): FILE: tests/unit/plugins/modules/test_pfsense_route.py class TestPFSenseRouteModule (line 19) | class TestPFSenseRouteModule(TestPFSenseModule): method __init__ (line 23) | def __init__(self, *args, **kwargs): method setUp (line 28) | def setUp(self): method tearDown (line 37) | def tearDown(self): method check_target_elt (line 43) | def check_target_elt(self, obj, target_elt): method get_target_elt (line 50) | def get_target_elt(self, obj, absent=False, module_result=None): method test_route_create (line 64) | def test_route_create(self): method test_route_create_invalid_gw (line 70) | def test_route_create_invalid_gw(self): method test_route_create_invalid_ip (line 76) | def test_route_create_invalid_ip(self): method test_route_create_invalid_ip2 (line 82) | def test_route_create_invalid_ip2(self): method test_route_create_invalid_alias (line 88) | def test_route_create_invalid_alias(self): method test_route_update_noop (line 94) | def test_route_update_noop(self): method test_route_update_network (line 99) | def test_route_update_network(self): method test_route_update_gateway (line 105) | def test_route_update_gateway(self): method test_route_delete (line 111) | def test_route_delete(self): method test_route_delete_alias (line 117) | def test_route_delete_alias(self): method test_route_create_dhcp (line 123) | def test_route_create_dhcp(self): method test_route_create_dhcp6 (line 129) | def test_route_create_dhcp6(self): FILE: tests/unit/plugins/modules/test_pfsense_rule.py class TestPFSenseRuleModule (line 19) | class TestPFSenseRuleModule(TestPFSenseModule): method __init__ (line 23) | def __init__(self, *args, **kwargs): method runTest (line 29) | def runTest(): method parse_address (line 33) | def parse_address(self, addr): method check_rule_elt_addr (line 63) | def check_rule_elt_addr(self, rule, rule_elt, addr): method get_target_elt (line 82) | def get_target_elt(self, obj, absent=False, module_result=None): method check_target_elt (line 89) | def check_target_elt(self, obj, target_elt): method check_rule_idx (line 185) | def check_rule_idx(self, rule, target_idx): method check_separator_idx (line 209) | def check_separator_idx(self, interface, sep_name, expected_idx): FILE: tests/unit/plugins/modules/test_pfsense_rule_create.py class TestPFSenseRuleCreateModule (line 16) | class TestPFSenseRuleCreateModule(TestPFSenseRuleModule): method test_rule_create_one_rule (line 21) | def test_rule_create_one_rule(self): method test_rule_create_log (line 27) | def test_rule_create_log(self): method test_rule_create_nolog (line 33) | def test_rule_create_nolog(self): method test_rule_create_pass (line 39) | def test_rule_create_pass(self): method test_rule_create_block (line 45) | def test_rule_create_block(self): method test_rule_create_reject (line 51) | def test_rule_create_reject(self): method test_rule_create_disabled (line 57) | def test_rule_create_disabled(self): method test_rule_create_floating (line 63) | def test_rule_create_floating(self): method test_rule_create_floating_any (line 69) | def test_rule_create_floating_any(self): method test_rule_create_non_floating_any (line 74) | def test_rule_create_non_floating_any(self): method test_rule_create_floating_quick (line 80) | def test_rule_create_floating_quick(self): method test_rule_create_nofloating (line 86) | def test_rule_create_nofloating(self): method test_rule_create_floating_interfaces (line 92) | def test_rule_create_floating_interfaces(self): method test_rule_create_inet46 (line 98) | def test_rule_create_inet46(self): method test_rule_create_inet6 (line 104) | def test_rule_create_inet6(self): method test_rule_create_tcp (line 110) | def test_rule_create_tcp(self): method test_rule_create_udp (line 116) | def test_rule_create_udp(self): method test_rule_create_tcp_udp (line 122) | def test_rule_create_tcp_udp(self): method test_rule_create_icmp (line 128) | def test_rule_create_icmp(self): method test_rule_create_icmp_redir (line 134) | def test_rule_create_icmp_redir(self): method test_rule_create_icmp_invalid_inet (line 140) | def test_rule_create_icmp_invalid_inet(self): method test_rule_create_icmp_invalid_inet6 (line 146) | def test_rule_create_icmp_invalid_inet6(self): method test_rule_create_icmp_invalid_inet46 (line 152) | def test_rule_create_icmp_invalid_inet46(self): method test_rule_create_icmp_invalid_empty (line 158) | def test_rule_create_icmp_invalid_empty(self): method test_rule_create_esp (line 164) | def test_rule_create_esp(self): method test_rule_create_protocol_any (line 170) | def test_rule_create_protocol_any(self): method test_rule_create_tcpflags_any (line 176) | def test_rule_create_tcpflags_any(self): method test_rule_create_state_keep (line 182) | def test_rule_create_state_keep(self): method test_rule_create_state_sloppy (line 188) | def test_rule_create_state_sloppy(self): method test_rule_create_state_synproxy (line 194) | def test_rule_create_state_synproxy(self): method test_rule_create_state_none (line 201) | def test_rule_create_state_none(self): method test_rule_create_state_invalid (line 207) | def test_rule_create_state_invalid(self): method test_rule_create_after (line 213) | def test_rule_create_after(self): method test_rule_create_after_top (line 220) | def test_rule_create_after_top(self): method test_rule_create_after_invalid (line 227) | def test_rule_create_after_invalid(self): method test_rule_create_before (line 233) | def test_rule_create_before(self): method test_rule_create_before_bottom (line 240) | def test_rule_create_before_bottom(self): method test_rule_create_before_bottom_default (line 247) | def test_rule_create_before_bottom_default(self): method test_rule_create_before_invalid (line 254) | def test_rule_create_before_invalid(self): method test_rule_create_source_alias (line 260) | def test_rule_create_source_alias(self): method test_rule_create_source_urltable_alias (line 266) | def test_rule_create_source_urltable_alias(self): method test_rule_create_source_alias_invalid (line 272) | def test_rule_create_source_alias_invalid(self): method test_rule_create_invalid_ports (line 278) | def test_rule_create_invalid_ports(self): method test_rule_create_source_ip_invalid (line 284) | def test_rule_create_source_ip_invalid(self): method test_rule_create_source_net_invalid (line 290) | def test_rule_create_source_net_invalid(self): method test_rule_create_destination_alias (line 296) | def test_rule_create_destination_alias(self): method test_rule_create_destination_alias_invalid (line 302) | def test_rule_create_destination_alias_invalid(self): method test_rule_create_destination_ip_invalid (line 308) | def test_rule_create_destination_ip_invalid(self): method test_rule_create_destination_net_invalid (line 314) | def test_rule_create_destination_net_invalid(self): method test_rule_create_source_self_lan (line 320) | def test_rule_create_source_self_lan(self): method test_rule_create_ip_to_ip (line 326) | def test_rule_create_ip_to_ip(self): method test_rule_create_ip6_to_ip6 (line 332) | def test_rule_create_ip6_to_ip6(self): method test_rule_create_net_to_net (line 338) | def test_rule_create_net_to_net(self): method test_rule_create_net6_to_net6 (line 344) | def test_rule_create_net6_to_net6(self): method test_rule_create_net_interface (line 350) | def test_rule_create_net_interface(self): method test_rule_create_net_interface_invalid (line 356) | def test_rule_create_net_interface_invalid(self): method test_rule_create_net_interface_invalid2 (line 362) | def test_rule_create_net_interface_invalid2(self): method test_rule_create_ip_interface (line 368) | def test_rule_create_ip_interface(self): method test_rule_create_ip_interface_with_port (line 374) | def test_rule_create_ip_interface_with_port(self): method test_rule_create_ip_interface_invalid (line 380) | def test_rule_create_ip_interface_invalid(self): method test_rule_create_interface (line 386) | def test_rule_create_interface(self): method test_rule_create_port_number (line 392) | def test_rule_create_port_number(self): method test_rule_create_port_alias (line 398) | def test_rule_create_port_alias(self): method test_rule_create_urltable_port_alias (line 404) | def test_rule_create_urltable_port_alias(self): method test_rule_create_port_range (line 410) | def test_rule_create_port_range(self): method test_rule_create_port_alias_range (line 416) | def test_rule_create_port_alias_range(self): method test_rule_create_port_alias_range_invalid_1 (line 422) | def test_rule_create_port_alias_range_invalid_1(self): method test_rule_create_port_alias_range_invalid_2 (line 428) | def test_rule_create_port_alias_range_invalid_2(self): method test_rule_create_port_alias_range_invalid_3 (line 434) | def test_rule_create_port_alias_range_invalid_3(self): method test_rule_create_port_number_invalid (line 440) | def test_rule_create_port_number_invalid(self): method test_rule_create_port_alias_invalid (line 446) | def test_rule_create_port_alias_invalid(self): method test_rule_create_negate_source (line 452) | def test_rule_create_negate_source(self): method test_rule_create_negate_destination (line 458) | def test_rule_create_negate_destination(self): method test_rule_create_separator_top (line 464) | def test_rule_create_separator_top(self): method test_rule_create_separator_bottom (line 473) | def test_rule_create_separator_bottom(self): method test_rule_create_separator_before_first (line 482) | def test_rule_create_separator_before_first(self): method test_rule_create_separator_after_third (line 491) | def test_rule_create_separator_after_third(self): method test_rule_create_queue (line 500) | def test_rule_create_queue(self): method test_rule_create_queue_ack (line 506) | def test_rule_create_queue_ack(self): method test_rule_create_queue_ack_without_default (line 512) | def test_rule_create_queue_ack_without_default(self): method test_rule_create_queue_same (line 518) | def test_rule_create_queue_same(self): method test_rule_create_queue_invalid (line 524) | def test_rule_create_queue_invalid(self): method test_rule_create_queue_invalid_ack (line 530) | def test_rule_create_queue_invalid_ack(self): method test_rule_create_limiter (line 536) | def test_rule_create_limiter(self): method test_rule_create_limiter_out (line 542) | def test_rule_create_limiter_out(self): method test_rule_create_limiter_disabled (line 548) | def test_rule_create_limiter_disabled(self): method test_rule_create_limiter_out_without_in (line 554) | def test_rule_create_limiter_out_without_in(self): method test_rule_create_limiter_same (line 560) | def test_rule_create_limiter_same(self): method test_rule_create_limiter_invalid (line 566) | def test_rule_create_limiter_invalid(self): method test_rule_create_limiter_invalid_out (line 572) | def test_rule_create_limiter_invalid_out(self): method test_rule_create_limiter_floating_any (line 578) | def test_rule_create_limiter_floating_any(self): method test_rule_create_gateway (line 584) | def test_rule_create_gateway(self): method test_rule_create_gateway_invalid (line 590) | def test_rule_create_gateway_invalid(self): method test_rule_create_gateway_invalid_ipprotocol (line 596) | def test_rule_create_gateway_invalid_ipprotocol(self): method test_rule_create_gateway_floating (line 602) | def test_rule_create_gateway_floating(self): method test_rule_create_gateway_floating_any (line 608) | def test_rule_create_gateway_floating_any(self): method test_rule_create_gateway_group (line 614) | def test_rule_create_gateway_group(self): method test_rule_create_gateway_group_invalid_ipprotocol (line 620) | def test_rule_create_gateway_group_invalid_ipprotocol(self): method test_rule_create_tracker (line 626) | def test_rule_create_tracker(self): method test_rule_create_tracker_leading0 (line 632) | def test_rule_create_tracker_leading0(self): method test_rule_create_tracker_invalid (line 638) | def test_rule_create_tracker_invalid(self): method test_rule_create_schedule (line 644) | def test_rule_create_schedule(self): method test_rule_create_schedule_invalid (line 650) | def test_rule_create_schedule_invalid(self): method test_rule_create_protocol_any_with_dst_port (line 659) | def test_rule_create_protocol_any_with_dst_port(self): method test_rule_create_protocol_icmp_with_dst_port (line 665) | def test_rule_create_protocol_icmp_with_dst_port(self): method test_rule_create_pass_before_block (line 674) | def test_rule_create_pass_before_block(self): method test_rule_create_block_appends_to_end (line 694) | def test_rule_create_block_appends_to_end(self): method test_rule_create_pass_before_reject (line 714) | def test_rule_create_pass_before_reject(self): FILE: tests/unit/plugins/modules/test_pfsense_rule_misc.py class TestPFSenseRuleMiscModule (line 17) | class TestPFSenseRuleMiscModule(TestPFSenseRuleModule): method test_rule_delete (line 22) | def test_rule_delete(self): method test_check_mode (line 31) | def test_check_mode(self): FILE: tests/unit/plugins/modules/test_pfsense_rule_noop.py class TestPFSenseRuleNoopModule (line 16) | class TestPFSenseRuleNoopModule(TestPFSenseRuleModule): method test_rule_noop_action (line 21) | def test_rule_noop_action(self): method test_rule_noop_disabled (line 26) | def test_rule_noop_disabled(self): method test_rule_noop_enabled (line 31) | def test_rule_noop_enabled(self): method test_rule_noop_disabled_default (line 36) | def test_rule_noop_disabled_default(self): method test_rule_noop_floating_interface (line 41) | def test_rule_noop_floating_interface(self): method test_rule_noop_floating_direction (line 46) | def test_rule_noop_floating_direction(self): method test_rule_noop_inet (line 51) | def test_rule_noop_inet(self): method test_rule_noop_protocol (line 56) | def test_rule_noop_protocol(self): method test_rule_noop_log_no (line 61) | def test_rule_noop_log_no(self): method test_rule_noop_log_yes (line 66) | def test_rule_noop_log_yes(self): method test_rule_noop_log_default (line 71) | def test_rule_noop_log_default(self): method test_rule_noop_source_and_destination (line 76) | def test_rule_noop_source_and_destination(self): method test_rule_noop_negate_source (line 81) | def test_rule_noop_negate_source(self): method test_rule_noop_negate_destination (line 86) | def test_rule_noop_negate_destination(self): method test_rule_noop_before (line 91) | def test_rule_noop_before(self): method test_rule_noop_before_bottom (line 96) | def test_rule_noop_before_bottom(self): method test_rule_noop_position_bottom (line 101) | def test_rule_noop_position_bottom(self): method test_rule_noop_position_middle (line 106) | def test_rule_noop_position_middle(self): method test_rule_noop_after (line 111) | def test_rule_noop_after(self): method test_rule_noop_after_top (line 116) | def test_rule_noop_after_top(self): method test_rule_noop_separator_top (line 121) | def test_rule_noop_separator_top(self): method test_rule_noop_separator_bottom (line 126) | def test_rule_noop_separator_bottom(self): method test_rule_noop_queue_ack (line 131) | def test_rule_noop_queue_ack(self): method test_rule_noop_queue (line 136) | def test_rule_noop_queue(self): method test_rule_noop_limiter_out (line 141) | def test_rule_noop_limiter_out(self): method test_rule_noop_limiter_in (line 147) | def test_rule_noop_limiter_in(self): method test_rule_noop_tracker (line 152) | def test_rule_noop_tracker(self): method test_rule_noop_tracker (line 157) | def test_rule_noop_tracker(self): method test_rule_noop_schedule (line 162) | def test_rule_noop_schedule(self): FILE: tests/unit/plugins/modules/test_pfsense_rule_separator.py class TestPFSenseRuleSeparatorModule (line 17) | class TestPFSenseRuleSeparatorModule(TestPFSenseModule): method __init__ (line 21) | def __init__(self, *args, **kwargs): method get_target_elt (line 26) | def get_target_elt(self, obj, absent=False, module_result=None): method check_target_elt (line 47) | def check_target_elt(self, obj, target_elt): method check_separator_idx (line 61) | def check_separator_idx(self, separator, expected_idx): method test_separator_create (line 72) | def test_separator_create(self): method test_separator_create_floating (line 79) | def test_separator_create_floating(self): method test_separator_create_top (line 86) | def test_separator_create_top(self): method test_separator_create_bottom (line 93) | def test_separator_create_bottom(self): method test_separator_create_after (line 100) | def test_separator_create_after(self): method test_separator_create_before (line 107) | def test_separator_create_before(self): method test_separator_delete (line 114) | def test_separator_delete(self): method test_separator_delete_inexistent (line 120) | def test_separator_delete_inexistent(self): method test_separator_update_noop (line 125) | def test_separator_update_noop(self): method test_separator_update_color (line 130) | def test_separator_update_color(self): method test_separator_update_position (line 137) | def test_separator_update_position(self): FILE: tests/unit/plugins/modules/test_pfsense_rule_update.py class TestPFSenseRuleUpdateModule (line 16) | class TestPFSenseRuleUpdateModule(TestPFSenseRuleModule): method test_rule_update_action (line 21) | def test_rule_update_action(self): method test_rule_update_disabled (line 27) | def test_rule_update_disabled(self): method test_rule_update_enabled (line 33) | def test_rule_update_enabled(self): method test_rule_update_enabled_default (line 39) | def test_rule_update_enabled_default(self): method test_rule_update_floating_interface (line 45) | def test_rule_update_floating_interface(self): method test_rule_update_floating_interfaces (line 51) | def test_rule_update_floating_interfaces(self): method test_rule_update_floating_direction (line 57) | def test_rule_update_floating_direction(self): method test_rule_update_floating_quick (line 63) | def test_rule_update_floating_quick(self): method test_rule_update_floating_remove_quick (line 69) | def test_rule_update_floating_remove_quick(self): method test_rule_update_floating_yes (line 75) | def test_rule_update_floating_yes(self): method test_rule_update_floating_no (line 87) | def test_rule_update_floating_no(self): method test_rule_update_floating_default (line 99) | def test_rule_update_floating_default(self): method test_rule_update_inet (line 111) | def test_rule_update_inet(self): method test_rule_update_protocol_udp (line 117) | def test_rule_update_protocol_udp(self): method test_rule_update_protocol_any (line 123) | def test_rule_update_protocol_any(self): method test_rule_update_protocol_tcp_udp (line 129) | def test_rule_update_protocol_tcp_udp(self): method test_rule_update_log_yes (line 135) | def test_rule_update_log_yes(self): method test_rule_update_log_no (line 141) | def test_rule_update_log_no(self): method test_rule_update_tcpflags_any_yes (line 147) | def test_rule_update_tcpflags_any_yes(self): method test_rule_update_tcpflags_any_no (line 153) | def test_rule_update_tcpflags_any_no(self): method test_rule_update_log_default (line 159) | def test_rule_update_log_default(self): method test_rule_update_negate_add_source (line 165) | def test_rule_update_negate_add_source(self): method test_rule_update_negate_add_destination (line 171) | def test_rule_update_negate_add_destination(self): method test_rule_update_negate_remove_source (line 177) | def test_rule_update_negate_remove_source(self): method test_rule_update_negate_remove_destination (line 183) | def test_rule_update_negate_remove_destination(self): method test_rule_update_before (line 189) | def test_rule_update_before(self): method test_rule_update_before_bottom (line 196) | def test_rule_update_before_bottom(self): method test_rule_update_after (line 203) | def test_rule_update_after(self): method test_rule_update_after_self (line 210) | def test_rule_update_after_self(self): method test_rule_update_before_self (line 216) | def test_rule_update_before_self(self): method test_rule_update_after_top (line 222) | def test_rule_update_after_top(self): method test_rule_update_separator_top (line 229) | def test_rule_update_separator_top(self): method test_rule_update_separator_bottom (line 238) | def test_rule_update_separator_bottom(self): method test_rule_update_separator_before_first (line 247) | def test_rule_update_separator_before_first(self): method test_rule_update_separator_after_third (line 256) | def test_rule_update_separator_after_third(self): method test_rule_update_queue_set (line 265) | def test_rule_update_queue_set(self): method test_rule_update_queue_set_ack (line 271) | def test_rule_update_queue_set_ack(self): method test_rule_update_queue_unset_ack (line 277) | def test_rule_update_queue_unset_ack(self): method test_rule_update_queue_unset (line 283) | def test_rule_update_queue_unset(self): method test_rule_update_limiter_set (line 289) | def test_rule_update_limiter_set(self): method test_rule_update_limiter_set_out (line 295) | def test_rule_update_limiter_set_out(self): method test_rule_update_limiter_unset_out (line 301) | def test_rule_update_limiter_unset_out(self): method test_rule_update_limiter_unset (line 307) | def test_rule_update_limiter_unset(self): method test_rule_update_gateway_set (line 313) | def test_rule_update_gateway_set(self): method test_rule_update_gateway_unset (line 319) | def test_rule_update_gateway_unset(self): method test_rule_update_tracker (line 325) | def test_rule_update_tracker(self): method test_rule_update_icmp (line 331) | def test_rule_update_icmp(self): method test_rule_update_port_old_syntax (line 337) | def test_rule_update_port_old_syntax(self): method test_rule_update_port_new_syntax (line 343) | def test_rule_update_port_new_syntax(self): method test_rule_update_schedule (line 349) | def test_rule_update_schedule(self): method test_rule_update_remove_schedule (line 355) | def test_rule_update_remove_schedule(self): FILE: tests/unit/plugins/modules/test_pfsense_setup.py class TestPFSenseSetupModule (line 18) | class TestPFSenseSetupModule(TestPFSenseModule): method __init__ (line 22) | def __init__(self, *args, **kwargs): method get_args_fields (line 27) | def get_args_fields(): method setUp (line 35) | def setUp(self): method tearDown (line 49) | def tearDown(self): method get_target_elt (line 59) | def get_target_elt(self, obj, absent=False, module_result=None): method check_target_elt (line 63) | def check_target_elt(self, obj, target_elt): method test_setup_hostname (line 109) | def test_setup_hostname(self): method test_setup_hostname_invalid (line 115) | def test_setup_hostname_invalid(self): method test_setup_hostname_invalid2 (line 121) | def test_setup_hostname_invalid2(self): method test_setup_domain (line 127) | def test_setup_domain(self): method test_setup_domain_invalid (line 133) | def test_setup_domain_invalid(self): method test_setup_dnsallowoverride (line 139) | def test_setup_dnsallowoverride(self): method test_setup_dnslocalhost (line 145) | def test_setup_dnslocalhost(self): method test_setup_webguifixedmenu (line 151) | def test_setup_webguifixedmenu(self): method test_setup_interfacessort (line 157) | def test_setup_interfacessort(self): method test_setup_dashboardavailablewidgetspanel (line 163) | def test_setup_dashboardavailablewidgetspanel(self): method test_setup_systemlogsfilterpanel (line 169) | def test_setup_systemlogsfilterpanel(self): method test_setup_systemlogsmanagelogpanel (line 175) | def test_setup_systemlogsmanagelogpanel(self): method test_setup_statusmonitoringsettingspanel (line 181) | def test_setup_statusmonitoringsettingspanel(self): method test_setup_requirestatefilter (line 187) | def test_setup_requirestatefilter(self): method test_setup_webguileftcolumnhyper (line 193) | def test_setup_webguileftcolumnhyper(self): method test_setup_disablealiaspopupdetail (line 199) | def test_setup_disablealiaspopupdetail(self): method test_setup_roworderdragging (line 205) | def test_setup_roworderdragging(self): method test_setup_loginshowhost (line 211) | def test_setup_loginshowhost(self): method test_setup_language (line 217) | def test_setup_language(self): method test_setup_timeservers (line 223) | def test_setup_timeservers(self): method test_setup_timezone (line 229) | def test_setup_timezone(self): method test_setup_webguicss (line 235) | def test_setup_webguicss(self): method test_setup_webguihostnamemenu (line 241) | def test_setup_webguihostnamemenu(self): method test_setup_dashboardcolumns (line 247) | def test_setup_dashboardcolumns(self): method test_setup_dashboardcolumns_invalid (line 253) | def test_setup_dashboardcolumns_invalid(self): method test_setup_logincss (line 259) | def test_setup_logincss(self): method test_setup_logincss_invalid (line 265) | def test_setup_logincss_invalid(self): method test_setup_dns_addresses (line 271) | def test_setup_dns_addresses(self): method test_setup_dns_addresses_invalid (line 277) | def test_setup_dns_addresses_invalid(self): method test_setup_dns_addresses_ipv6 (line 283) | def test_setup_dns_addresses_ipv6(self): method test_setup_dns_addresses_invalid_ipv4 (line 289) | def test_setup_dns_addresses_invalid_ipv4(self): method test_setup_dns_addresses_invalid_ipv6 (line 295) | def test_setup_dns_addresses_invalid_ipv6(self): method test_setup_dns_addresses_invalid_gw (line 301) | def test_setup_dns_addresses_invalid_gw(self): method test_setup_dns_addresses_invalid_gw2 (line 307) | def test_setup_dns_addresses_invalid_gw2(self): method test_setup_dns_addresses_duplicates (line 313) | def test_setup_dns_addresses_duplicates(self): FILE: tests/unit/plugins/modules/test_pfsense_user.py class TestPFSenseUserModule (line 17) | class TestPFSenseUserModule(TestPFSenseModule): method __init__ (line 21) | def __init__(self, *args, **kwargs): method runTest (line 27) | def runTest(): method get_target_elt (line 31) | def get_target_elt(self, obj, absent=False, module_result=None): method check_target_elt (line 42) | def check_target_elt(self, obj, target_elt): method test_user_create (line 58) | def test_user_create(self): method test_user_delete (line 63) | def test_user_delete(self): method test_user_update_noop (line 68) | def test_user_update_noop(self): method test_user_update_descr (line 73) | def test_user_update_descr(self): method test_create_user_invalid_password (line 82) | def test_create_user_invalid_password(self): method test_delete_inexistent_user (line 87) | def test_delete_inexistent_user(self): FILE: tests/unit/plugins/modules/test_pfsense_vlan.py class TestPFSenseVlanModule (line 18) | class TestPFSenseVlanModule(TestPFSenseModule): method __init__ (line 22) | def __init__(self, *args, **kwargs): method get_target_elt (line 31) | def get_target_elt(self, obj, absent=False, module_result=None): method check_target_elt (line 39) | def check_target_elt(self, obj, target_elt): method test_vlan_create (line 60) | def test_vlan_create(self): method test_vlan_create_with_assigned_name (line 66) | def test_vlan_create_with_assigned_name(self): method test_vlan_create_with_friendly_name (line 72) | def test_vlan_create_with_friendly_name(self): method test_vlan_create_with_wrong_inteface (line 78) | def test_vlan_create_with_wrong_inteface(self): method test_vlan_create_with_wrong_vlan (line 84) | def test_vlan_create_with_wrong_vlan(self): method test_vlan_create_with_wrong_prioriy (line 90) | def test_vlan_create_with_wrong_prioriy(self): method test_vlan_create_with_priority (line 96) | def test_vlan_create_with_priority(self): method test_vlan_create_with_descr (line 102) | def test_vlan_create_with_descr(self): method test_vlan_delete (line 108) | def test_vlan_delete(self): method test_vlan_delete_used (line 114) | def test_vlan_delete_used(self): method test_vlan_delete_unexistent (line 119) | def test_vlan_delete_unexistent(self): method test_vlan_update_noop (line 124) | def test_vlan_update_noop(self): method test_vlan_update_priority (line 129) | def test_vlan_update_priority(self): method test_vlan_update_descr (line 135) | def test_vlan_update_descr(self):