Skip to content

Latest commit

 

History

History
131 lines (106 loc) · 4.34 KB

comware_lldp_module.rst

File metadata and controls

131 lines (106 loc) · 4.34 KB

comware_lldp

Added in version 1.0

the default fast Interval is 1 and tx-interval is 30,hold-multplier is 4.Using this module ,you must be use comware_lldp_global to enable global

parameter required default choices comments
fast_intervalId no lldp fast Interval
tx_intervalId no lldp fast Interval
multiplierlId no lldp hold-muliplierlid
state yes present
  • present
  • default
Desired state for the interface configuration
port no 830 NETCONF port number
hostname yes IP Address or hostname of the Comware v7 device that has NETCONF enabled
username yes Username used to login to the switch
password yes Password used to login to the switch
look_for_keys no False Whether searching for discoverable private key files in ~/.ssh/


  # lldp config
  - comware_lldp:
      fast_intervalId:8
      tx_intervalId:4
      multiplierId:8
      username: "{{ username }}"
      password: "{{ password }}"
      hostname: "{{ inventory_hostname }}"
      state: present

# config fast-Interval and tx-interval into default state
  - comware_lldp:
      fast_intervalId:5
      tx_intervalId:4
      username: "{{ username }}"
      password: "{{ password }}"
      hostname: "{{ inventory_hostname }}"
      state: default