Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major refactor of PFSenseModuleBase supporting generate_module pfsensible module generator #112

Open
wants to merge 62 commits into
base: master
Choose a base branch
from

Conversation

opoplawski
Copy link
Contributor

No description provided.

@opoplawski opoplawski added the enhancement New feature or request label Jan 21, 2024
@opoplawski opoplawski added this to the 0.7.0 milestone Jan 21, 2024
@opoplawski opoplawski self-assigned this Jan 21, 2024
@opoplawski opoplawski force-pushed the module_base_extended branch 2 times, most recently from 0c926e7 to 4db67e9 Compare January 21, 2024 15:43
@opoplawski opoplawski force-pushed the module_base_extended branch from 4db67e9 to 0da13fe Compare January 31, 2024 02:36
@opoplawski opoplawski force-pushed the module_base_extended branch from 0da13fe to 70b0fc3 Compare February 8, 2024 04:53
@opoplawski opoplawski force-pushed the module_base_extended branch 2 times, most recently from 6fd5dd8 to 2931af2 Compare March 25, 2024 23:51
- Allow for managing root_elt, elements
- Add _find_this_element_index
- Handle no existing elements
- Implement _create_target and _find_target for node
…; _find_target only for root_is_exclusive == False
…clusive affects _copy_and_add_target(); _get_obj_name() uses key
- Add url parameter, deprecate address for urltable/urltable_ports
- Use map_param_if and param_force
Remove unneeded test for type presence, don't mark it default
…elf.elements in _copy_and_add_target - needed by some modules like user
- Add --name-param, and default to key
- Strip 'manage' from url for module name
- Detect lists in XML
- Better list doc/example
- Handle root paths
- Make diff['after'] reflect _remove_deleted_params
- Allow map_param to move items into nested dictionaries
- Fix handling lack of 'state'
- Fix bool_style
- Allow passing obj to params_to_obj
- Remove bool params from obj, unset bools from parameters
- Add fail message for not finding package
- Use bool_values, set root
- targetip -> target for pfSense 2.7.1 pf+ 23.09
- Add diff support
@opoplawski opoplawski force-pushed the module_base_extended branch from 2931af2 to c6a6a78 Compare April 29, 2024 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant