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

panos_interface is missing lldp_passive_pre_negotiation parameter #536

Open
Nothing4You opened this issue Feb 3, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@Nothing4You
Copy link
Contributor

Nothing4You commented Feb 3, 2024

Is your feature request related to a problem?

LLDP passive pre-negotiation is always disabled when configuring interfaces via panos_interface or panos_aggregate_interface.

Describe the solution you'd like

lldp_passive_pre_negotiation should allow enabling LLDP passive pre-negotiation.

Describe alternatives you've considered

Skipping panos_interface and using panos_config_element instead.

Additional context

Workaround:

- name: Enable LLDP passive pre-negotiation for interface
  paloaltonetworks.panos.panos_config_element:
    provider: "{{ provider }}"

    edit: true
    xpath: >-
      /config/devices/entry[@name="localhost.localdomain"]/network/interface/aggregate-ethernet/entry[@name="ae3"]/layer3/lldp/high-availability
    element: |-
      <high-availability>
        <passive-pre-negotiation>yes</passive-pre-negotiation>
      </high-availability>

  diff: true
@Nothing4You Nothing4You added the enhancement New feature or request label Feb 3, 2024
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

No branches or pull requests

1 participant