PaloAltoNetworks/pan-os-ansible

`panos_interface` is missing `lldp_passive_pre_negotiation` parameter

Nothing4You opened this issue · 0 comments

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