-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from SindhuParvathi-Gopi/master
Support added to fix template role structure format issue
- Loading branch information
Showing
20 changed files
with
74 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Copyright (c) 2019 Dell Inc. or its subsidiaries. All Rights Reserved. | ||
--- | ||
galaxy_info: | ||
role_name: dellos_template | ||
author: Dell EMC Networking Engineering | ||
description: The dellos_template role facilitates to provide the structured output from CLI in devices running on Dell EMC Networking Operating Systems. | ||
license: Apache 2.0 | ||
min_ansible_version: 2.2 | ||
|
||
platforms: | ||
- name: DellOS | ||
|
||
galaxy_tags: | ||
- networking | ||
- dell | ||
- emc | ||
- dellemc | ||
- dellos10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
#Install Textfsm | ||
- pip: | ||
name: textfsm | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,3 @@ Start | |
^(?!Neighbor)${Neighbor}\s+${AS}\s+${MsgRcvd}\s+${MsgSent}\s+${Status}\s+${State} -> Record | ||
|
||
EOF | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
spine1 ansible_host=10.11.182.25 ansible_net_os_name="dellos10" | ||
spine2 ansible_host=10.16.151.220 ansible_net_os_name="dellos10" | ||
|
||
leaf1 ansible_host=10.11.182.23 ansible_net_os_name="dellos10" | ||
leaf2 ansible_host=10.11.182.16 ansible_net_os_name="dellos10" | ||
leaf3 ansible_host=10.11.182.17 ansible_net_os_name="dellos9" | ||
leaf4 ansible_host=10.16.148.79 ansible_net_os_name="dellos6" | ||
|
||
[spine] | ||
spine1 | ||
spine2 | ||
|
||
[leaf] | ||
leaf1 | ||
leaf2 | ||
leaf3 | ||
leaf4 | ||
|
||
[LeafAndSpineSwitch:children] | ||
spine | ||
leaf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
- hosts: LeafAndSpineSwitch | ||
connection: network_cli | ||
roles: | ||
- Dell-Networking.dellos-template |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
- hosts: LeafAndSpineSwitch | ||
connection: network_cli | ||
tasks: | ||
- import_role: | ||
name: Dell-Networking.dellos-template | ||
tasks_from: show_ip_interface_brief.yaml |