Skip to content

Conversation

@justjais
Copy link
Member

Added configure_vlan and configure_vlan jinja template for Cisco IOS device provider to configure vlan using ios device provider role.

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

---
- hosts: ios
  gather_facts: no
  tasks:
    - import_role:
        name: cisco_ios
        tasks_from: configure_vlans
      vars:
        vlans:
          - interface: GigabitEthernet 0/2
            id: 30
            bridge_group: 10
            description: this is Vlan with ID 30
            ppoe: enable
            #state: absent

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
@justjais justjais requested a review from gdpak December 10, 2018 11:11
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

Copy link
Member

@trishnaguha trishnaguha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we agreed on having Python module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants