We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When attempting to create/update a prefix-list with dynamic_db: true, all prefixes are added into the standard configuration and not the dynamic DB.
junos_prefix_lists
ansible [core 2.13.8] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/MERIT/denike/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /home/MERIT/denike/.local/lib/python3.8/site-packages/ansible ansible collection location = /home/MERIT/denike/.ansible/collections:/opt/ansible/collections executable location = /home/MERIT/denike/.local/bin/ansible python version = 3.8.10 (default, Nov 22 2023, 10:22:35) [GCC 9.4.0] jinja version = 3.1.2 libyaml = True
# /opt/ansible/collections/ansible_collections Collection Version --------------------- ------- junipernetworks.junos 5.0.0
COLLECTIONS_PATHS(/etc/ansible/ansible.cfg) = ['/home/MERIT/denike/.ansible/collections', '/opt/ansible/collections'] DEFAULT_FORKS(/etc/ansible/ansible.cfg) = 10 DEFAULT_GATHERING(/etc/ansible/ansible.cfg) = explicit DEFAULT_HOST_LIST(/etc/ansible/ansible.cfg) = ['/opt/ansible/netdevices'] DEFAULT_MODULE_NAME(/etc/ansible/ansible.cfg) = raw DEFAULT_STDOUT_CALLBACK(/etc/ansible/ansible.cfg) = debug DEPRECATION_WARNINGS(/etc/ansible/ansible.cfg) = False HOST_KEY_CHECKING(/etc/ansible/ansible.cfg) = False INTERPRETER_PYTHON(/etc/ansible/ansible.cfg) = auto_legacy_silent INVENTORY_ENABLED(/etc/ansible/ansible.cfg) = ['host_list', 'script', 'auto', 'yaml', 'ini', 'toml', 'netbox.netbox.nb_inventory'] PERSISTENT_COMMAND_TIMEOUT(/etc/ansible/ansible.cfg) = 300 RETRY_FILES_ENABLED(/etc/ansible/ansible.cfg) = False
--- - name: Test dynamic DB prefix list hosts: device1 gather_facts: no tasks: - name: Test prefixlist module junipernetworks.junos.junos_prefix_lists: config: - name: SOMECUSTOMER-V4-BLAH address_prefixes: - 10.0.0.0/24 - 10.0.10.0/24 dynamic_db: true state: replaced
prefix-list SOMECUSTOMER-V4-BLAH { dynamic-db; } user@device1> configure dynamic Entering configuration mode {master}[edit dynamic] user@device1# show ## Last changed: 2023-12-13 09:14:21 CST policy-options { prefix-list SOMECUSTOMER-V4-BLAH { 1.2.3.0/24; } }
prefix-list SOMECUSTOMER-V4-BLAH { dynamic-db; 10.0.0.0/24; 10.0.10.0/24; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
SUMMARY
When attempting to create/update a prefix-list with dynamic_db: true, all prefixes are added into the standard configuration and not the dynamic DB.
ISSUE TYPE
COMPONENT NAME
junos_prefix_lists
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: