community / community.network / 1.3.7 / module / ce_lldp Manages LLDP configuration on HUAWEI CloudEngine switches. | "added in version" 0.2.0 of community.network" Authors: xuxiaowei0512 (@CloudEngine-Ansible)community.network.ce_lldp (1.3.7) — module
Install with ansible-galaxy collection install community.network:==1.3.7
collections: - name: community.network version: 1.3.7
Manages LLDP configuration on HUAWEI CloudEngine switches.
- name: "Configure global LLDP enable state" community.network.ce_lldp: lldpenable: enabled
- name: "Configure global MDN enable state" community.network.ce_lldp: mdnstatus: rxOnly
- name: "Configure LLDP transmit interval and ensure global LLDP state is already enabled" community.network.ce_lldp: enable: enable interval: 32
- name: "Configure LLDP transmit multiplier hold and ensure global LLDP state is already enabled" community.network.ce_lldp: enable: enable hold_multiplier: 5
- name: "Configure the delay time of the interface LLDP module from disabled state to re enable" community.network.ce_lldp: enable: enable restart_delay: 3
- name: "Reset the delay time for sending LLDP messages" community.network.ce_lldp: enable: enable transmit_delay: 4
- name: "Configure device to send neighbor device information change alarm delay time" community.network.ce_lldp: lldpenable: enabled notification_interval: 6
- name: "Configure the number of LLDP messages sent to the neighbor nodes by the specified device" community.network.ce_lldp: enable: enable fast_count: 5
- name: "Configure the delay time for sending MDN neighbor information change alarm" community.network.ce_lldp: enable: enable mdn_notification_interval: 6
- name: "Configuring the management IP address of LLDP" community.network.ce_lldp: enable: enable management_address: 10.1.0.1
- name: "Configuring LLDP to manage the binding relationship between IP addresses and interfaces" community.network.ce_lldp: enable: enable bind_name: LoopBack2
state: choices: - present - absent default: present description: - Manage the state of the resource. required: false type: str interval: description: - Frequency at which LLDP advertisements are sent (in seconds). required: false type: int bind_name: default: null description: - Binding interface name. required: false type: str mdnstatus: choices: - rxOnly - disabled description: - Set global MDN enable state. required: false type: str fast_count: description: - The number of LLDP messages sent to the neighbor nodes by the specified device. required: false type: int lldpenable: choices: - enabled - disabled description: - Set global LLDP enable state. required: false type: str restart_delay: description: - Specifies the delay time of the interface LLDP module from disabled state to re enable. required: false type: int transmit_delay: description: - Delay time for sending LLDP messages. required: false type: int hold_multiplier: description: - Time multiplier for device information in neighbor devices. required: false type: int management_address: default: null description: - The management IP address of LLDP. required: false type: str notification_interval: description: - Suppression time for sending LLDP alarm. required: false type: int mdn_notification_interval: description: - Delay time for sending MDN neighbor information change alarm. required: false type: int
changed: description: check to see if a change was made on the device returned: always sample: true type: bool end_state: description: k/v pairs of global LLDP configuration after module execution. returned: always sample: bind_name: LoopBack2 fast_count: '5' hold_multiplier: '5' interval: '32' lldpenable: enabled management_address: 10.1.0.1 mdn_notification_interval: '6' mdnstatus: rxOnly notification_interval: '6' restart_delay: '3' transmit_delay: '4' type: dict existing: description: k/v pairs of existing global LLDP configuration. returned: always sample: lldpenable: disabled mdnstatus: disabled type: dict proposed: description: k/v pairs of parameters passed into module returned: always sample: bind_name: LoopBack2 fast_count: '5' hold_multiplier: '5' interval: '32' lldpenable: enabled management_address: 10.1.0.1 mdn_notification_interval: '6' mdnstatus: rxOnly notification_interval: '6' restart_delay: '3' state: present transmit_delay: '4' type: dict updates: description: command sent to the device returned: always sample: - lldp enable - lldp mdn enable - lldp transmit interval 32 - lldp transmit multiplier 5 - lldp restart 3 - lldp transmit delay 4 - lldp trap-interval 6 - lldp fast-count 5 - lldp mdn trap-interval 6 - lldp management-address 10.1.0.1 - lldp management-address bind interface LoopBack 2 type: list