diff options
Diffstat (limited to 'ansible_collections/dellemc/os6/playbooks')
6 files changed, 0 insertions, 138 deletions
diff --git a/ansible_collections/dellemc/os6/playbooks/ibgp/README.md b/ansible_collections/dellemc/os6/playbooks/ibgp/README.md deleted file mode 100644 index ab3e4e404..000000000 --- a/ansible_collections/dellemc/os6/playbooks/ibgp/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# Provision OS6 Switch Stack using the Ansible Network Collection for Dell EMC OS6 - -This example describes how to use Ansible to configure Dell EMC PowerSwitch platforms running Dell EMC OS6. The sample topology contains two OS6 switches connected with each other. This example configures iBGP between two routers using the same AS. - -## Create a simple Ansible playbook - -**1**. Create an inventory file called `inventory.yaml`, then specify the device IP addresses under use in the inventory. - -**2**. Create a group variable file called `group_vars/all`, then define credentials common to all hosts. - -**3**. Create a host variable file called `host_vars/switch1.yaml`, then define credentials, hostname for switch1. - -**4**. Create a host variable file called `host_vars/switch2.yaml`, then define credentials and hostname for switch2. - -**5**. Create a playbook called `os6switch.yaml`. - -**6**. Run the playbook. - - ansible-playbook -i inventory.yaml os6switch.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os6/playbooks/ibgp/group_vars/all b/ansible_collections/dellemc/os6/playbooks/ibgp/group_vars/all deleted file mode 100644 index a24c1a2e8..000000000 --- a/ansible_collections/dellemc/os6/playbooks/ibgp/group_vars/all +++ /dev/null @@ -1,4 +0,0 @@ -ansible_ssh_user: xxxx -ansible_ssh_pass: xxxx -ansible_network_os: dellemc.os6.os6 -build_dir: ../tmp/tmp_os6 diff --git a/ansible_collections/dellemc/os6/playbooks/ibgp/host_vars/switch1.yaml b/ansible_collections/dellemc/os6/playbooks/ibgp/host_vars/switch1.yaml deleted file mode 100644 index 8e3a1b365..000000000 --- a/ansible_collections/dellemc/os6/playbooks/ibgp/host_vars/switch1.yaml +++ /dev/null @@ -1,47 +0,0 @@ -hostname: switch1 -ansible_ssh_user: xxxx -ansible_ssh_pass: xxxx -ansible_become: yes -ansible_become_method: enable -ansible_network_os: dellemc.os6.os6 -switch1_hostname: "switch1" - -os6_system: - hostname: "{{ switch1_hostname }}" - #enable_password: xxxx - mtu: 2000 - -os6_vlan: - vlan 20: - default_vlan: False - name: "os6vlan" - untagged_members: - - port: Te7/0/1 - state: present - state: present - -os6_interface: - Te7/0/1: - desc: "bgp" - admin: up - portmode: access - - vlan 20: - ip_type_dynamic: False - ip_and_mask: 20.20.20.3 255.255.255.0 - -os6_bgp: - asn: 4545 - router_id: 20.20.20.3 - maxpath_ibgp: 3 - ipv4_network: - - address: 20.20.20.3 255.255.255.255 - state: present - neighbor: - - type: ipv4 - ip: 20.20.20.2 - remote_asn: 4545 - timer: 5 10 - default_originate: True - state: present - state: present
\ No newline at end of file diff --git a/ansible_collections/dellemc/os6/playbooks/ibgp/host_vars/switch2.yaml b/ansible_collections/dellemc/os6/playbooks/ibgp/host_vars/switch2.yaml deleted file mode 100644 index 0416fab8f..000000000 --- a/ansible_collections/dellemc/os6/playbooks/ibgp/host_vars/switch2.yaml +++ /dev/null @@ -1,47 +0,0 @@ -hostname: switch2 -ansible_ssh_user: xxxx -ansible_ssh_pass: xxxx -ansible_become: yes -ansible_become_method: enable -ansible_network_os: dellemc.os6.os6 -switch2_hostname: "switch2" - -os6_system: - hostname: "{{ switch2_hostname }}" - #enable_password: xxxx - mtu: 2000 - -os6_vlan: - vlan 20: - default_vlan: False - name: "os6vlan" - untagged_members: - - port: Te1/0/48 - state: present - state: present - -os6_interface: - Te1/0/48: - desc: "bgp" - admin: up - portmode: access - - vlan 20: - ip_type_dynamic: False - ip_and_mask: 20.20.20.2 255.255.255.0 - -os6_bgp: - asn: 4545 - router_id: 20.20.20.2 - maxpath_ibgp: 3 - ipv4_network: - - address: 20.20.20.2 255.255.255.255 - state: present - neighbor: - - type: ipv4 - ip: 20.20.20.3 - remote_asn: 4545 - timer: 5 10 - default_originate: True - state: present - state: present diff --git a/ansible_collections/dellemc/os6/playbooks/ibgp/inventory.yaml b/ansible_collections/dellemc/os6/playbooks/ibgp/inventory.yaml deleted file mode 100644 index 1cda8da38..000000000 --- a/ansible_collections/dellemc/os6/playbooks/ibgp/inventory.yaml +++ /dev/null @@ -1,6 +0,0 @@ -switch1 ansible_host=100.94.51.40 -switch2 ansible_host=100.94.52.38 - -[os6switches] -switch1 -switch2
\ No newline at end of file diff --git a/ansible_collections/dellemc/os6/playbooks/ibgp/os6switch.yaml b/ansible_collections/dellemc/os6/playbooks/ibgp/os6switch.yaml deleted file mode 100644 index 59eb0dc80..000000000 --- a/ansible_collections/dellemc/os6/playbooks/ibgp/os6switch.yaml +++ /dev/null @@ -1,13 +0,0 @@ ---- -- hosts: os6switches - gather_facts: no - become: yes - become_method: enable - connection: network_cli - collections: - - dellemc.os6 - roles: - - os6_system - - os6_vlan - - os6_interface - - os6_bgp |