ansible-network / cisco_ios

Ansible Network Cisco IOS Provider Role
GNU General Public License v3.0
82 stars 51 forks source link

Adding Configure lldp role support for Cisco-IOS devices #66

Open justjais opened 5 years ago

justjais commented 5 years ago

Added configure_lldp and configure_lldp jinja template for Cisco IOS device provider to configure lldp using ios device provider role.

To configure lldp via this role user needs to build their playbook as:

- hosts: ios

  roles:
  - name ansible-network.cisco_ios
    function: configure_lldp
  vars:
    lldp:
      - holdtime: 60
        reinit: 4
        timer: 60
        tlv-select: management-address
        interface: GigabitEthernet 0/3
        receive: enable
        transmit: disable
softwarefactory-project-zuul[bot] commented 5 years ago

Build succeeded.