Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Configure VLAN role support for Cisco-IOS devices #67

Open
wants to merge 3 commits into
base: devel
Choose a base branch
from

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