diff --git a/ansible/group_vars/eos/creds.yml b/ansible/group_vars/eos/creds.yml new file mode 100644 index 00000000000..fcef0b95a7d --- /dev/null +++ b/ansible/group_vars/eos/creds.yml @@ -0,0 +1,2 @@ +ansible_user: root +ansible_password: 123456 diff --git a/ansible/group_vars/vm_host/creds.yml b/ansible/group_vars/vm_host/creds.yml new file mode 100644 index 00000000000..d4e25e216b0 --- /dev/null +++ b/ansible/group_vars/vm_host/creds.yml @@ -0,0 +1,3 @@ +ansible_user: username +ansible_password: password +ansible_sudo_pass: strong_password diff --git a/ansible/group_vars/vm_host/main.yml b/ansible/group_vars/vm_host/main.yml new file mode 100644 index 00000000000..b2a87bd0a07 --- /dev/null +++ b/ansible/group_vars/vm_host/main.yml @@ -0,0 +1,9 @@ +root_path: /home/azure/veos-vm +vm_images_url: https://your_id.blob.core.windows.net/vmimages +cd_image_filename: Aboot-veos-serial-2.1.0.iso +hdd_image_filename: vEOS-lab-4.15.2.1F.vmdk + +# Starlab proxy +proxy_env: + http_proxy: http://10.0.0.1:3128 + https_proxy: http://10.0.0.1:3128 diff --git a/ansible/host_vars/SERV-01.yml b/ansible/host_vars/SERV-01.yml new file mode 100644 index 00000000000..da99774bff9 --- /dev/null +++ b/ansible/host_vars/SERV-01.yml @@ -0,0 +1,352 @@ +mgmt_bridge: br1 +mgmt_gw: 10.255.0.1 + +ptf_1_enabled: true +ptf_1_mgmt_ip: 10.255.0.188/24 +ptf_1_external_iface: p4p2 +ptf_1_vlan_base: 101 + +ptf_2_enabled: true +ptf_2_mgmt_ip: 10.255.0.50/24 +ptf_2_external_iface: p5p2 +ptf_2_vlan_base: 101 + +ptf_3_enabled: true +ptf_3_mgmt_ip: 10.255.0.254/24 +ptf_3_external_iface: p6p2 +ptf_3_vlan_base: 233 + +ptf_4_enabled: true +ptf_4_mgmt_ip: 10.255.0.185/24 +ptf_4_external_iface: p6p1 +ptf_4_vlan_base: 801 + +vm_1_enabled: true +vm_1_external_iface: p4p1 +vm_1_vlan_base: 101 +VMs_1: + ARISTA01T0: + filename: 01-ARISTA01T0.yml + serial_port: 5000 + vlan: 17 + memory: "{{ tor_memory }}" + ARISTA01T2: + filename: 01-ARISTA01T2.yml + serial_port: 5016 + vlan: 01 + memory: "{{ spine_memory }}" + ARISTA02T0: + filename: 01-ARISTA02T0.yml + serial_port: 5001 + vlan: 18 + memory: "{{ tor_memory }}" + ARISTA02T2: + filename: 01-ARISTA02T2.yml + serial_port: 5017 + vlan: 02 + memory: "{{ spine_memory }}" + ARISTA03T0: + filename: 01-ARISTA03T0.yml + serial_port: 5002 + vlan: 19 + memory: "{{ tor_memory }}" + ARISTA03T2: + filename: 01-ARISTA03T2.yml + serial_port: 5018 + vlan: 03 + memory: "{{ spine_memory }}" + ARISTA04T0: + filename: 01-ARISTA04T0.yml + serial_port: 5003 + vlan: 20 + memory: "{{ tor_memory }}" + ARISTA04T2: + filename: 01-ARISTA04T2.yml + serial_port: 5019 + vlan: 04 + memory: "{{ spine_memory }}" + ARISTA05T0: + filename: 01-ARISTA05T0.yml + serial_port: 5004 + vlan: 21 + memory: "{{ tor_memory }}" + ARISTA05T2: + filename: 01-ARISTA05T2.yml + serial_port: 5020 + vlan: 05 + memory: "{{ spine_memory }}" + ARISTA06T0: + filename: 01-ARISTA06T0.yml + serial_port: 5005 + vlan: 22 + memory: "{{ tor_memory }}" + ARISTA06T2: + filename: 01-ARISTA06T2.yml + serial_port: 5021 + vlan: 06 + memory: "{{ spine_memory }}" + ARISTA07T0: + filename: 01-ARISTA07T0.yml + serial_port: 5006 + vlan: 23 + memory: "{{ tor_memory }}" + ARISTA07T2: + filename: 01-ARISTA07T2.yml + serial_port: 5022 + vlan: 07 + memory: "{{ spine_memory }}" + ARISTA08T0: + filename: 01-ARISTA08T0.yml + serial_port: 5007 + vlan: 24 + memory: "{{ tor_memory }}" + ARISTA08T2: + filename: 01-ARISTA08T2.yml + serial_port: 5023 + vlan: 08 + memory: "{{ spine_memory }}" + ARISTA09T0: + filename: 01-ARISTA09T0.yml + serial_port: 5008 + vlan: 25 + memory: "{{ tor_memory }}" + ARISTA09T2: + filename: 01-ARISTA09T2.yml + serial_port: 5024 + vlan: 09 + memory: "{{ spine_memory }}" + ARISTA10T0: + filename: 01-ARISTA10T0.yml + serial_port: 5009 + vlan: 26 + memory: "{{ tor_memory }}" + ARISTA10T2: + filename: 01-ARISTA10T2.yml + serial_port: 5025 + vlan: 10 + memory: "{{ spine_memory }}" + ARISTA11T0: + filename: 01-ARISTA11T0.yml + serial_port: 5010 + vlan: 27 + memory: "{{ tor_memory }}" + ARISTA11T2: + filename: 01-ARISTA11T2.yml + serial_port: 5026 + vlan: 11 + memory: "{{ spine_memory }}" + ARISTA12T0: + filename: 01-ARISTA12T0.yml + serial_port: 5011 + vlan: 28 + memory: "{{ tor_memory }}" + ARISTA12T2: + filename: 01-ARISTA12T2.yml + serial_port: 5027 + vlan: 12 + memory: "{{ spine_memory }}" + ARISTA13T0: + filename: 01-ARISTA13T0.yml + serial_port: 5012 + vlan: 29 + memory: "{{ tor_memory }}" + ARISTA13T2: + filename: 01-ARISTA13T2.yml + serial_port: 5028 + vlan: 13 + memory: "{{ spine_memory }}" + ARISTA14T0: + filename: 01-ARISTA14T0.yml + serial_port: 5013 + vlan: 30 + memory: "{{ tor_memory }}" + ARISTA14T2: + filename: 01-ARISTA14T2.yml + serial_port: 5029 + vlan: 14 + memory: "{{ spine_memory }}" + ARISTA15T0: + filename: 01-ARISTA15T0.yml + serial_port: 5014 + vlan: 31 + memory: "{{ tor_memory }}" + ARISTA15T2: + filename: 01-ARISTA15T2.yml + serial_port: 5030 + vlan: 15 + memory: "{{ spine_memory }}" + ARISTA16T0: + filename: 01-ARISTA16T0.yml + serial_port: 5015 + vlan: 32 + memory: "{{ tor_memory }}" + ARISTA16T2: + filename: 01-ARISTA16T2.yml + serial_port: 5031 + vlan: 16 + memory: "{{ spine_memory }}" + +vm_2_enabled: true +vm_2_external_iface: p5p1 +vm_2_vlan_base: 101 +VMs_2: + ARISTA01T0: + filename: 03-ARISTA01T0.yml + serial_port: 5032 + vlan: 17 + memory: "{{ tor_memory }}" + ARISTA01T2: + filename: 03-ARISTA01T2.yml + serial_port: 5048 + vlan: 01 + memory: "{{ spine_memory }}" + ARISTA02T0: + filename: 03-ARISTA02T0.yml + serial_port: 5033 + vlan: 18 + memory: "{{ tor_memory }}" + ARISTA02T2: + filename: 03-ARISTA02T2.yml + serial_port: 5049 + vlan: 02 + memory: "{{ spine_memory }}" + ARISTA03T0: + filename: 03-ARISTA03T0.yml + serial_port: 5034 + vlan: 19 + memory: "{{ tor_memory }}" + ARISTA03T2: + filename: 03-ARISTA03T2.yml + serial_port: 5050 + vlan: 03 + memory: "{{ spine_memory }}" + ARISTA04T0: + filename: 03-ARISTA04T0.yml + serial_port: 5035 + vlan: 20 + memory: "{{ tor_memory }}" + ARISTA04T2: + filename: 03-ARISTA04T2.yml + serial_port: 5051 + vlan: 04 + memory: "{{ spine_memory }}" + ARISTA05T0: + filename: 03-ARISTA05T0.yml + serial_port: 5036 + vlan: 21 + memory: "{{ tor_memory }}" + ARISTA05T2: + filename: 03-ARISTA05T2.yml + serial_port: 5052 + vlan: 05 + memory: "{{ spine_memory }}" + ARISTA06T0: + filename: 03-ARISTA06T0.yml + serial_port: 5037 + vlan: 22 + memory: "{{ tor_memory }}" + ARISTA06T2: + filename: 03-ARISTA06T2.yml + serial_port: 5053 + vlan: 06 + memory: "{{ spine_memory }}" + ARISTA07T0: + filename: 03-ARISTA07T0.yml + serial_port: 5038 + vlan: 23 + memory: "{{ tor_memory }}" + ARISTA07T2: + filename: 03-ARISTA07T2.yml + serial_port: 5054 + vlan: 07 + memory: "{{ spine_memory }}" + ARISTA08T0: + filename: 03-ARISTA08T0.yml + serial_port: 5039 + vlan: 24 + memory: "{{ tor_memory }}" + ARISTA08T2: + filename: 03-ARISTA08T2.yml + serial_port: 5055 + vlan: 08 + memory: "{{ spine_memory }}" + ARISTA09T0: + filename: 03-ARISTA09T0.yml + serial_port: 5040 + vlan: 25 + memory: "{{ tor_memory }}" + ARISTA09T2: + filename: 03-ARISTA09T2.yml + serial_port: 5056 + vlan: 09 + memory: "{{ spine_memory }}" + ARISTA10T0: + filename: 03-ARISTA10T0.yml + serial_port: 5041 + vlan: 26 + memory: "{{ tor_memory }}" + ARISTA10T2: + filename: 03-ARISTA10T2.yml + serial_port: 5057 + vlan: 10 + memory: "{{ spine_memory }}" + ARISTA11T0: + filename: 03-ARISTA11T0.yml + serial_port: 5042 + vlan: 27 + memory: "{{ tor_memory }}" + ARISTA11T2: + filename: 03-ARISTA11T2.yml + serial_port: 5058 + vlan: 11 + memory: "{{ spine_memory }}" + ARISTA12T0: + filename: 03-ARISTA12T0.yml + serial_port: 5043 + vlan: 28 + memory: "{{ tor_memory }}" + ARISTA12T2: + filename: 03-ARISTA12T2.yml + serial_port: 5059 + vlan: 12 + memory: "{{ spine_memory }}" + ARISTA13T0: + filename: 03-ARISTA13T0.yml + serial_port: 5044 + vlan: 29 + memory: "{{ tor_memory }}" + ARISTA13T2: + filename: 03-ARISTA13T2.yml + serial_port: 5060 + vlan: 13 + memory: "{{ spine_memory }}" + ARISTA14T0: + filename: 03-ARISTA14T0.yml + serial_port: 5045 + vlan: 30 + memory: "{{ tor_memory }}" + ARISTA14T2: + filename: 03-ARISTA14T2.yml + serial_port: 5061 + vlan: 14 + memory: "{{ spine_memory }}" + ARISTA15T0: + filename: 03-ARISTA15T0.yml + serial_port: 5046 + vlan: 31 + memory: "{{ tor_memory }}" + ARISTA15T2: + filename: 03-ARISTA15T2.yml + serial_port: 5062 + vlan: 15 + memory: "{{ spine_memory }}" + ARISTA16T0: + filename: 03-ARISTA16T0.yml + serial_port: 5047 + vlan: 32 + memory: "{{ tor_memory }}" + ARISTA16T2: + filename: 03-ARISTA16T2.yml + serial_port: 5063 + vlan: 16 + memory: "{{ spine_memory }}" diff --git a/ansible/host_vars/SERV-02.yml b/ansible/host_vars/SERV-02.yml new file mode 100644 index 00000000000..f85e9453c93 --- /dev/null +++ b/ansible/host_vars/SERV-02.yml @@ -0,0 +1,349 @@ +mgmt_bridge: br1 +mgmt_gw: 10.255.0.1 + +ptf_1_enabled: true +ptf_1_mgmt_ip: 10.255.0.189/24 +ptf_1_external_iface: p4p2 +ptf_1_vlan_base: 101 + +ptf_2_enabled: true +ptf_2_mgmt_ip: 10.255.0.51/24 +ptf_2_external_iface: p5p2 +ptf_2_vlan_base: 101 + +ptf_3_enabled: true +ptf_3_mgmt_ip: 10.255.0.186/24 +ptf_3_external_iface: p6p2 +ptf_3_vlan_base: 233 + +ptf_4_enabled: false + +vm_1_enabled: true +vm_1_external_iface: p4p1 +vm_1_vlan_base: 101 +VMs_1: + ARISTA01T0: + filename: 02-ARISTA01T0.yml + serial_port: 5000 + vlan: 17 + memory: "{{ tor_memory }}" + ARISTA01T2: + filename: 02-ARISTA01T2.yml + serial_port: 5016 + vlan: 01 + memory: "{{ spine_memory }}" + ARISTA02T0: + filename: 02-ARISTA02T0.yml + serial_port: 5001 + vlan: 18 + memory: "{{ tor_memory }}" + ARISTA02T2: + filename: 02-ARISTA02T2.yml + serial_port: 5017 + vlan: 02 + memory: "{{ spine_memory }}" + ARISTA03T0: + filename: 02-ARISTA03T0.yml + serial_port: 5002 + vlan: 19 + memory: "{{ tor_memory }}" + ARISTA03T2: + filename: 02-ARISTA03T2.yml + serial_port: 5018 + vlan: 03 + memory: "{{ spine_memory }}" + ARISTA04T0: + filename: 02-ARISTA04T0.yml + serial_port: 5003 + vlan: 20 + memory: "{{ tor_memory }}" + ARISTA04T2: + filename: 02-ARISTA04T2.yml + serial_port: 5019 + vlan: 04 + memory: "{{ spine_memory }}" + ARISTA05T0: + filename: 02-ARISTA05T0.yml + serial_port: 5004 + vlan: 21 + memory: "{{ tor_memory }}" + ARISTA05T2: + filename: 02-ARISTA05T2.yml + serial_port: 5020 + vlan: 05 + memory: "{{ spine_memory }}" + ARISTA06T0: + filename: 02-ARISTA06T0.yml + serial_port: 5005 + vlan: 22 + memory: "{{ tor_memory }}" + ARISTA06T2: + filename: 02-ARISTA06T2.yml + serial_port: 5021 + vlan: 06 + memory: "{{ spine_memory }}" + ARISTA07T0: + filename: 02-ARISTA07T0.yml + serial_port: 5006 + vlan: 23 + memory: "{{ tor_memory }}" + ARISTA07T2: + filename: 02-ARISTA07T2.yml + serial_port: 5022 + vlan: 07 + memory: "{{ spine_memory }}" + ARISTA08T0: + filename: 02-ARISTA08T0.yml + serial_port: 5007 + vlan: 24 + memory: "{{ tor_memory }}" + ARISTA08T2: + filename: 02-ARISTA08T2.yml + serial_port: 5023 + vlan: 08 + memory: "{{ spine_memory }}" + ARISTA09T0: + filename: 02-ARISTA09T0.yml + serial_port: 5008 + vlan: 25 + memory: "{{ tor_memory }}" + ARISTA09T2: + filename: 02-ARISTA09T2.yml + serial_port: 5024 + vlan: 09 + memory: "{{ spine_memory }}" + ARISTA10T0: + filename: 02-ARISTA10T0.yml + serial_port: 5009 + vlan: 26 + memory: "{{ tor_memory }}" + ARISTA10T2: + filename: 02-ARISTA10T2.yml + serial_port: 5025 + vlan: 10 + memory: "{{ spine_memory }}" + ARISTA11T0: + filename: 02-ARISTA11T0.yml + serial_port: 5010 + vlan: 27 + memory: "{{ tor_memory }}" + ARISTA11T2: + filename: 02-ARISTA11T2.yml + serial_port: 5026 + vlan: 11 + memory: "{{ spine_memory }}" + ARISTA12T0: + filename: 02-ARISTA12T0.yml + serial_port: 5011 + vlan: 28 + memory: "{{ tor_memory }}" + ARISTA12T2: + filename: 02-ARISTA12T2.yml + serial_port: 5027 + vlan: 12 + memory: "{{ spine_memory }}" + ARISTA13T0: + filename: 02-ARISTA13T0.yml + serial_port: 5012 + vlan: 29 + memory: "{{ tor_memory }}" + ARISTA13T2: + filename: 02-ARISTA13T2.yml + serial_port: 5028 + vlan: 13 + memory: "{{ spine_memory }}" + ARISTA14T0: + filename: 02-ARISTA14T0.yml + serial_port: 5013 + vlan: 30 + memory: "{{ tor_memory }}" + ARISTA14T2: + filename: 02-ARISTA14T2.yml + serial_port: 5029 + vlan: 14 + memory: "{{ spine_memory }}" + ARISTA15T0: + filename: 02-ARISTA15T0.yml + serial_port: 5014 + vlan: 31 + memory: "{{ tor_memory }}" + ARISTA15T2: + filename: 02-ARISTA15T2.yml + serial_port: 5030 + vlan: 15 + memory: "{{ spine_memory }}" + ARISTA16T0: + filename: 02-ARISTA16T0.yml + serial_port: 5015 + vlan: 32 + memory: "{{ tor_memory }}" + ARISTA16T2: + filename: 02-ARISTA16T2.yml + serial_port: 5031 + vlan: 16 + memory: "{{ spine_memory }}" + +vm_2_enabled: true +vm_2_external_iface: p5p1 +vm_2_vlan_base: 101 +VMs_2: + ARISTA01T0: + filename: 04-ARISTA01T0.yml + serial_port: 5032 + vlan: 17 + memory: "{{ tor_memory }}" + ARISTA01T2: + filename: 04-ARISTA01T2.yml + serial_port: 5048 + vlan: 01 + memory: "{{ spine_memory }}" + ARISTA02T0: + filename: 04-ARISTA02T0.yml + serial_port: 5033 + vlan: 18 + memory: "{{ tor_memory }}" + ARISTA02T2: + filename: 04-ARISTA02T2.yml + serial_port: 5049 + vlan: 02 + memory: "{{ spine_memory }}" + ARISTA03T0: + filename: 04-ARISTA03T0.yml + serial_port: 5034 + vlan: 19 + memory: "{{ tor_memory }}" + ARISTA03T2: + filename: 04-ARISTA03T2.yml + serial_port: 5050 + vlan: 03 + memory: "{{ spine_memory }}" + ARISTA04T0: + filename: 04-ARISTA04T0.yml + serial_port: 5035 + vlan: 20 + memory: "{{ tor_memory }}" + ARISTA04T2: + filename: 04-ARISTA04T2.yml + serial_port: 5051 + vlan: 04 + memory: "{{ spine_memory }}" + ARISTA05T0: + filename: 04-ARISTA05T0.yml + serial_port: 5036 + vlan: 21 + memory: "{{ tor_memory }}" + ARISTA05T2: + filename: 04-ARISTA05T2.yml + serial_port: 5052 + vlan: 05 + memory: "{{ spine_memory }}" + ARISTA06T0: + filename: 04-ARISTA06T0.yml + serial_port: 5037 + vlan: 22 + memory: "{{ tor_memory }}" + ARISTA06T2: + filename: 04-ARISTA06T2.yml + serial_port: 5053 + vlan: 06 + memory: "{{ spine_memory }}" + ARISTA07T0: + filename: 04-ARISTA07T0.yml + serial_port: 5038 + vlan: 23 + memory: "{{ tor_memory }}" + ARISTA07T2: + filename: 04-ARISTA07T2.yml + serial_port: 5054 + vlan: 07 + memory: "{{ spine_memory }}" + ARISTA08T0: + filename: 04-ARISTA08T0.yml + serial_port: 5039 + vlan: 24 + memory: "{{ tor_memory }}" + ARISTA08T2: + filename: 04-ARISTA08T2.yml + serial_port: 5055 + vlan: 08 + memory: "{{ spine_memory }}" + ARISTA09T0: + filename: 04-ARISTA09T0.yml + serial_port: 5040 + vlan: 25 + memory: "{{ tor_memory }}" + ARISTA09T2: + filename: 04-ARISTA09T2.yml + serial_port: 5056 + vlan: 09 + memory: "{{ spine_memory }}" + ARISTA10T0: + filename: 04-ARISTA10T0.yml + serial_port: 5041 + vlan: 26 + memory: "{{ tor_memory }}" + ARISTA10T2: + filename: 04-ARISTA10T2.yml + serial_port: 5057 + vlan: 10 + memory: "{{ spine_memory }}" + ARISTA11T0: + filename: 04-ARISTA11T0.yml + serial_port: 5042 + vlan: 27 + memory: "{{ tor_memory }}" + ARISTA11T2: + filename: 04-ARISTA11T2.yml + serial_port: 5058 + vlan: 11 + memory: "{{ spine_memory }}" + ARISTA12T0: + filename: 04-ARISTA12T0.yml + serial_port: 5043 + vlan: 28 + memory: "{{ tor_memory }}" + ARISTA12T2: + filename: 04-ARISTA12T2.yml + serial_port: 5059 + vlan: 12 + memory: "{{ spine_memory }}" + ARISTA13T0: + filename: 04-ARISTA13T0.yml + serial_port: 5044 + vlan: 29 + memory: "{{ tor_memory }}" + ARISTA13T2: + filename: 04-ARISTA13T2.yml + serial_port: 5060 + vlan: 13 + memory: "{{ spine_memory }}" + ARISTA14T0: + filename: 04-ARISTA14T0.yml + serial_port: 5045 + vlan: 30 + memory: "{{ tor_memory }}" + ARISTA14T2: + filename: 04-ARISTA14T2.yml + serial_port: 5061 + vlan: 14 + memory: "{{ spine_memory }}" + ARISTA15T0: + filename: 04-ARISTA15T0.yml + serial_port: 5046 + vlan: 31 + memory: "{{ tor_memory }}" + ARISTA15T2: + filename: 04-ARISTA15T2.yml + serial_port: 5062 + vlan: 15 + memory: "{{ spine_memory }}" + ARISTA16T0: + filename: 04-ARISTA16T0.yml + serial_port: 5047 + vlan: 32 + memory: "{{ tor_memory }}" + ARISTA16T2: + filename: 04-ARISTA16T2.yml + serial_port: 5063 + vlan: 16 + memory: "{{ spine_memory }}" diff --git a/ansible/renumber_vm_set.yml b/ansible/renumber_vm_set.yml new file mode 100644 index 00000000000..bd8bf78bb4a --- /dev/null +++ b/ansible/renumber_vm_set.yml @@ -0,0 +1,18 @@ +--- +# This Playbook renumber a vm set. See details about vm sets in start_vm_sets.yml +# +# To renumber second vm set to new vlan range on the second server +# ANSIBLE_SCP_IF_SSH=y ansible-playbook -i veos renumber_vm_set.yml --limit server_2 -e vm_set_2=true -e vm_2_vlan_base=233 + +- hosts: servers:&vm_host + gather_facts: yes + become: true + vars: + vm_set_1: false + vm_set_2: false + vars_files: + - vars/azure_storage.yml + pre_tasks: + roles: + - { role: vm_set, action: 'renumber', id: 1, external_iface: "{{ vm_1_external_iface }}", VMs: "{{ VMs_1 }}", vlan_base: "{{ vm_1_vlan_base }}", when: vm_set_1 and vm_1_enabled } + - { role: vm_set, action: 'renumber', id: 2, external_iface: "{{ vm_2_external_iface }}", VMs: "{{ VMs_2 }}", vlan_base: "{{ vm_2_vlan_base }}", when: vm_set_2 and vm_2_enabled } diff --git a/ansible/roles/eos/files/boot-config b/ansible/roles/eos/files/boot-config new file mode 100644 index 00000000000..0565a4786e0 --- /dev/null +++ b/ansible/roles/eos/files/boot-config @@ -0,0 +1 @@ +SWI=flash:/vEOS.swi diff --git a/ansible/roles/eos/handlers/main.yml b/ansible/roles/eos/handlers/main.yml new file mode 100644 index 00000000000..fefa69c2e19 --- /dev/null +++ b/ansible/roles/eos/handlers/main.yml @@ -0,0 +1,5 @@ +--- +# Handlers for acs + +- name: Restart the box + command: /sbin/shutdown -r now "Ansible updates triggered" diff --git a/ansible/roles/eos/tasks/main.yml b/ansible/roles/eos/tasks/main.yml new file mode 100644 index 00000000000..b98ec743b71 --- /dev/null +++ b/ansible/roles/eos/tasks/main.yml @@ -0,0 +1,21 @@ +# Gather minigraph facts +- name: Gathering facts about the device + include_vars: name=vars/configurations/{{ filename }} + +- name: copy boot-config + copy: src=boot-config + dest=/mnt/flash/boot-config + +- name: build spine startup config + template: src=spine.j2 + dest=/mnt/flash/startup-config + when: swrole == "spine" + notify: + - Restart the box + +- name: build tor startup config + template: src=tor.j2 + dest=/mnt/flash/startup-config + when: swrole == "tor" + notify: + - Restart the box diff --git a/ansible/roles/eos/templates/spine.j2 b/ansible/roles/eos/templates/spine.j2 new file mode 100644 index 00000000000..c9120bd10e8 --- /dev/null +++ b/ansible/roles/eos/templates/spine.j2 @@ -0,0 +1,101 @@ +hostname {{ hostname }} +! +spanning-tree mode mstp +! +aaa root secret 0 123456 +! +username admin privilege 15 role network-admin secret 0 123456 +! +clock timezone UTC +! +lldp run +! +! +ip routing +ipv6 unicast-routing +! +ip route 0.0.0.0/0 {{ minigraph_mgmt_interface["gwaddr"] }} +! +{% for podset in range(0, podset_number) %} +{% for tor in range(0, tor_number) %} +{% for subnet in range(0, tor_subnet_number) %} +ip route 192.168.{{ podset }}.{{ tor * 16 + subnet }}/32 {{ nhip }} +{% endfor %} +{% endfor %} +{% endfor %} +! +{% for podset in range(0, podset_number) %} +{% for tor in range(0, tor_number) %} +ip prefix-list test{{ podset}}_{{ tor }} seq 10 permit 192.168.{{ podset }}.{{ tor * 16 }}/28 ge 28 +{% endfor %} +{% endfor %} +! +interface Management 1 + description TO LAB MGMT SWITCH + ip address {{ minigraph_mgmt_interface["addr"] }} {{ minigraph_mgmt_interface["mask"] }} + no shutdown +! +{% for lo in minigraph_lo_interfaces %} +interface {{ lo['name'] }} + description LOOPBACK +{% if lo['addr'] | ipv4 %} + ip address {{ lo['addr'] }}/{{ lo['prefixlen'] }} +{% elif lo['addr'] | ipv6 %} + ipv6 enable + ipv6 address {{ lo['addr'] }}/{{ lo['prefixlen'] }} + ipv6 nd ra suppress +{% endif %} + no shutdown +{% endfor %} +! +{% for iface in minigraph_interfaces %} +interface {{ iface['name'] }} + no switchport +{% if iface['addr'] | ipv4 %} + ip address {{ iface['addr'] }} {{ iface['mask'] }} +{% elif iface['addr'] | ipv6 %} + ipv6 enable + ipv6 address {{ iface['addr'] }}/{{ iface['mask'] }} + ipv6 nd ra suppress +{% endif %} + no shutdown +! +{% endfor %} +! +{% for podset in range(0, podset_number) %} +{% if range(0, 1000)|random() >= failure_rate %} +{% for tor in range(0, tor_number) %} +{% set leafasn = leaf_asn_start + podset %} +{% set torasn = tor_asn_start + tor %} +route-map PREPENDAS permit {{ podset * tor_number + tor + 1 }} + match ip address prefix-list test{{ podset }}_{{ tor }} + set as-path prepend {{ leafasn }} {{ torasn }} +! +{% endfor %} +{% endif %} +{% endfor %} +! +router bgp {{ minigraph_bgp_asn }} + router-id {{ minigraph_lo_interfaces[0]['addr'] }} + ! +{% for neighbor in minigraph_bgp %} + neighbor {{ neighbor["addr"] }} remote-as {{ neighbor["asn"] }} + neighbor {{ neighbor["addr"] }} description {{ neighbor["asn"]}} +{% if neighbor["addr"] | ipv6 %} + address-family ipv6 + neighbor {{ neighbor["addr"] }} activate + exit +{% endif %} +{% endfor %} + ! +{% for lo in minigraph_lo_interfaces %} + network {{ lo['addr'] }}/{{ lo['prefixlen'] }} +{% endfor %} + redistribute static route-map PREPENDAS +! +management api http-commands + no protocol https + protocol http + no shutdown +! +end diff --git a/ansible/roles/eos/templates/tor.j2 b/ansible/roles/eos/templates/tor.j2 new file mode 100644 index 00000000000..7983319d81c --- /dev/null +++ b/ansible/roles/eos/templates/tor.j2 @@ -0,0 +1,81 @@ +hostname {{ hostname }} +! +spanning-tree mode mstp +! +aaa root secret 0 123456 +! +username admin privilege 15 role network-admin secret 0 123456 +! +clock timezone UTC +! +lldp run +! +! +ip routing +ipv6 unicast-routing +! +ip route 0.0.0.0/0 {{ minigraph_mgmt_interface["gwaddr"] }} +! +{% for subnet in range(0, tor_subnet_number) %} +ip route 172.16.{{ tornum }}.{{ subnet }}/32 {{ nhip }} +{% endfor %} +! +interface Management 1 + description TO LAB MGMT SWITCH + ip address {{ minigraph_mgmt_interface["addr"] }} {{ minigraph_mgmt_interface["mask"] }} + no shutdown +! +{% for lo in minigraph_lo_interfaces %} +interface {{ lo['name'] }} + description LOOPBACK +{% if lo['addr'] | ipv4 %} + ip address {{ lo['addr'] }}/{{ lo['prefixlen'] }} +{% elif lo['addr'] | ipv6 %} + ipv6 enable + ipv6 address {{ lo['addr'] }}/{{ lo['prefixlen'] }} + ipv6 nd ra suppress +{% endif %} + no shutdown +{% endfor %} +! +{% for iface in minigraph_interfaces %} +interface {{ iface['name'] }} + no switchport +{% if iface['addr'] | ipv4 %} + ip address {{ iface['addr'] }} {{ iface['mask'] }} +{% elif iface['addr'] | ipv6 %} + ipv6 enable + ipv6 address {{ iface['addr'] }}/{{ iface['mask'] }} + ipv6 nd ra suppress +{% endif %} + no shutdown +! +{% endfor %} +! +router bgp {{ minigraph_bgp_asn }} + router-id {{ minigraph_lo_interfaces[0]['addr'] }} + ! +{% for neighbor in minigraph_bgp %} + neighbor {{ neighbor["addr"] }} remote-as {{ neighbor["asn"] }} + neighbor {{ neighbor["addr"] }} description {{ neighbor["asn"]}} +{% if neighbor["addr"] | ipv6 %} + address-family ipv6 + neighbor {{ neighbor["addr"] }} activate + exit +{% endif %} +{% endfor %} + ! +{% for lo in minigraph_lo_interfaces %} + network {{ lo['addr'] }}/{{ lo['prefixlen'] }} +{% endfor %} + +{% for subnet in range(0, tor_subnet_number) %} + network 172.16.{{ tornum }}.{{ subnet }}/32 +{% endfor %} +! +management api http-commands + no protocol https + protocol http + no shutdown +! +end diff --git a/ansible/roles/ptf_host/library/ptf_network.py b/ansible/roles/ptf_host/library/ptf_network.py new file mode 100644 index 00000000000..5a33f20c31c --- /dev/null +++ b/ansible/roles/ptf_host/library/ptf_network.py @@ -0,0 +1,267 @@ +#!/usr/bin/python + +import subprocess +from docker import Client +from ansible.module_utils.basic import * + +DOCUMENTATION = ''' +--- +module: ptf_network.py +version_added: "0.2" +author: Pavel Shirshov (pavelsh@microsoft.com) +short_description: Generate virtual network for a ptf container +description: + - This module generates 32 (by default) fp internal network interfaces with names 'eth0'..'eth31', and internal management interface with a name 'mgmt'. + - The internal fp network interfaces are linux vlan interfaces encapsulated inside of a container. + - The management interface is connected to host mgmt bridge using veth pair. + +Parameters: + - ptf_name: name of a ptf container + - ctr_num: a number of ptf container + - iface: external interface, parent for vlans + - num_of_ports: number of FP ports, 32 by default + - vlan_base: the first vlan for the network + - fp_mtu: MTU for FP ports + - mgmt_ip_addr: ip address for mgmt port (with network length) + - mgmt_ip_gw: default gateway for mgmt address + - mgmt_bridge: a name of the management bridge (host network) + +''' + +EXAMPLES = ''' +- name: Create internal network for the docker container + ptf_network: + id: 3 + ptf_name: ptf_{{ id }} + ctr_num: "{{ id }}" + iface: "{{ ptf_external_iface }}" + vlan_base: 101 + mgmt_ip_addr: "10.255.0.198" + mgmt_ip_gw: "10.255.0.1" + mgmt_bridge: "br1" + +''' + + +DEFAULT_MTU = 0 +DEFAULT_N_PORTS = 32 + + +class PTFNetwork(object): + + def __init__(self, ptf_name, ctr_num, iface, fp_mtu=DEFAULT_MTU): + self.ptf_name = ptf_name + self.ctr_num = ctr_num + self.iface = iface + self.fp_mtu = fp_mtu + + self.pid = PTFNetwork.get_pid(ptf_name) + + return + + @staticmethod + def get_pid(ptf_name): + cli = Client(base_url='unix://var/run/docker.sock') + result = cli.inspect_container(ptf_name) + + return result['State']['Pid'] + + @staticmethod + def cmd(cmdline): + cmd = cmdline.split(' ') + process = subprocess.Popen(cmd, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.PIPE) + stdout, stderr = process.communicate() + ret_code = process.returncode + + if ret_code != 0: + raise Exception("ret_code=%d, error message=%s. cmd=%s" % (ret_code, stderr, cmdline)) + + return stdout + + @staticmethod + def brctl(cmdline): + out = PTFNetwork.cmd(cmdline) + + br_to_ifs = {} + if_to_br = {} + + rows = out.split('\n')[1:] + cur_br = None + for row in rows: + if len(row) == 0: + continue + terms = row.split() + if not row[0].isspace(): + cur_br = terms[0] + br_to_ifs[cur_br] = [] + if len(terms) > 3: + br_to_ifs[cur_br].append(terms[3]) + if_to_br[terms[3]] = cur_br + else: + br_to_ifs[cur_br].append(terms[0]) + if_to_br[terms[0]] = cur_br + + return br_to_ifs, if_to_br + + @staticmethod + def ifconfig(cmdline): + out = PTFNetwork.cmd(cmdline) + + ifaces = set() + + rows = out.split('\n') + for row in rows: + if len(row) == 0: + continue + terms = row.split() + if not row[0].isspace(): + ifaces.add(terms[0]) + + return ifaces + + def update(self): + self.host_br_to_ifs, self.host_if_to_br = PTFNetwork.brctl('brctl show') + self.host_ifaces = PTFNetwork.ifconfig('ifconfig -a') + self.ctr_ifaces = PTFNetwork.ifconfig('nsenter -t %s -n ifconfig -a' % self.pid) + + return + + def add_br_if_to_docker(self, bridge, ext_if, int_if): + self.update() + + if ext_if not in self.host_ifaces: + cmd1 = "ip link add %s type veth peer name %s" % (ext_if, int_if) + PTFNetwork.cmd(cmd1) + + if ext_if not in self.host_if_to_br: + cmd2 = "brctl addif %s %s" % (bridge, ext_if) + PTFNetwork.cmd(cmd2) + + cmd3 = "ip link set %s up" % ext_if + PTFNetwork.cmd(cmd3) + + self.update() + + if int_if in self.host_ifaces and int_if not in self.ctr_ifaces: + cmd4 = "ip link set netns %s dev %s" % (self.pid, int_if) + PTFNetwork.cmd(cmd4) + + self.update() + + cmd5 = "nsenter -t %s -n ip link set %s up" % (self.pid, int_if) + PTFNetwork.cmd(cmd5) + + return + + def add_ip_to_int_if(self, int_if, mgmt_ip_addr, mgmt_gw): + self.update() + if int_if in self.ctr_ifaces: + cmd_1 = "nsenter -t %s -n ip addr flush dev %s" % (self.pid, int_if) + PTFNetwork.cmd(cmd_1) + cmd_2 = "nsenter -t %s -n ip addr add %s dev %s" % (self.pid, mgmt_ip_addr, int_if) + PTFNetwork.cmd(cmd_2) + cmd_3 = "nsenter -t %s -n ip route add default via %s dev %s" % (self.pid, mgmt_gw, int_if ) + PTFNetwork.cmd(cmd_3) + + return + + def change_phy_if_mtu(self, iface_name): + if self.fp_mtu == DEFAULT_MTU: + return + + self.update() + + if iface_name in self.ctr_ifaces: + cmd = "nsenter -t %s -n ip link set dev %s mtu %d" % (self.pid, iface_name, self.fp_mtu) + PTFNetwork.cmd(cmd) + else: + raise Exception("Internal interface: %s doesn't exist" % iface_name) + + return + + def add_phy_if_to_docker(self, iface_name, vlan): + int_if = "%s.%d" % (self.iface, vlan) + + if int_if not in self.host_ifaces and iface_name not in self.ctr_ifaces and int_if not in self.ctr_ifaces: + cmd1 = "vconfig add %s %s" % (self.iface, vlan) + PTFNetwork.cmd(cmd1) + + self.update() + + if int_if in self.host_ifaces and int_if not in self.ctr_ifaces and iface_name not in self.ctr_ifaces: + cmd2 = "ip link set netns %s dev %s" % (self.pid, int_if) + PTFNetwork.cmd(cmd2) + + self.update() + + if int_if in self.ctr_ifaces and iface_name not in self.ctr_ifaces: + cmd3 = "nsenter -t %s -n ip link set dev %s name %s" % (self.pid, int_if, iface_name) + PTFNetwork.cmd(cmd3) + + cmd4 = "nsenter -t %s -n ip link set %s up" % (self.pid, iface_name) + PTFNetwork.cmd(cmd4) + + return + + def add_fp_ports(self, num_of_ports, vlan_base): + if self.iface in self.host_ifaces: + cmd = "ip link set %s up" % self.iface + PTFNetwork.cmd(cmd) + + if self.fp_mtu != DEFAULT_MTU: + cmd = "ip link set dev %s mtu %d" % (self.iface, self.fp_mtu) + PTFNetwork.cmd(cmd) + else: + raise Exception("External interface: %s doesn't exist" % self.iface) + + for i in xrange(num_of_ports): + vlan = vlan_base + i + iface_name = "eth%d" % i + self.add_phy_if_to_docker(iface_name, vlan) + self.change_phy_if_mtu(iface_name) + + return + + def add_mgmt_port(self, mgmt_bridge, mgmt_ip, mgmt_gw): + self.add_br_if_to_docker(mgmt_bridge, "ptf-mgmt-%d" % self.ctr_num, "mgmt") + self.add_ip_to_int_if("mgmt", mgmt_ip, mgmt_gw) + + return + + +def main(): + module = AnsibleModule( + argument_spec=dict( + ptf_name=dict(required=True, type='str'), + ctr_num=dict(required=True, type='int'), + iface=dict(required=True, type='str'), + num_of_ports=dict(required=False, type='int', default=DEFAULT_N_PORTS), + vlan_base=dict(required=True, type='int'), + fp_mtu=dict(required=False, type='int', default=DEFAULT_MTU), + mgmt_ip_addr=dict(required=True, type='str'), + mgmt_ip_gw=dict(required=True, type='str'), + mgmt_bridge=dict(required=True, type='str')), + supports_check_mode=False) + + ptf_name = module.params['ptf_name'] + ctr_num = module.params['ctr_num'] + iface = module.params['iface'] + num_of_ports = module.params['num_of_ports'] + vlan_base = module.params['vlan_base'] + fp_mtu = module.params['fp_mtu'] + mgmt_ip_addr = module.params['mgmt_ip_addr'] + mgmt_ip_gw = module.params['mgmt_ip_gw'] + mgmt_bridge = module.params['mgmt_bridge'] + + try: + net = PTFNetwork(ptf_name, ctr_num, iface, fp_mtu) + net.add_mgmt_port(mgmt_bridge, mgmt_ip_addr, mgmt_ip_gw) + net.add_fp_ports(num_of_ports, vlan_base) + + except Exception as error: + module.fail_json(msg=str(error)) + + module.exit_json(changed=True) + +if __name__ == "__main__": + main() diff --git a/ansible/roles/ptf_host/tasks/main.yml b/ansible/roles/ptf_host/tasks/main.yml new file mode 100644 index 00000000000..08691644cbc --- /dev/null +++ b/ansible/roles/ptf_host/tasks/main.yml @@ -0,0 +1,60 @@ +# This role create/destroy one entity of ptf container. +# Input parameters for the role: +# - action: 'start' or 'stop' for creating or removeing ptf container respectively +# - id: sequence number for ptf container on the host. +# - external_iface: interface which will be used as parent for vlan interface creation +# - vlan_base: first vlan id for the container +# - mgmt_ip: ip address with netmask for the management interface of the container +# - mgmt_gw: gateway for the container +# - mgmt_bridge: linux bridge which is used for management interface connections +# - proxy_env: for docker daemon proxy settings. should be dictionary with 'http_proxy', 'https_proxy' values +# - docker_registry_host: ip address of a docker registry host +# - docker_registry_username: username for the docker registry host +# - docker_registry_password: password for the docker registry host + +- name: Install necessary packages. ptf {{ id }} + apt: pkg={{ item }} update_cache=yes cache_valid_time=3600 + with_items: + - net-tools + - bridge-utils + - util-linux + - iproute2 + - vlan + - python-pip + +- name: Install python packages. ptf {{ id }} + pip: name=docker-py state=present version=1.7.2 + environment: "{{ proxy_env | default({}) }}" + +- name: Remove ptf docker container. ptf {{ id }} + docker: + name: ptf_{{ id }} + image: "{{ docker_registry_host }}/{{ docker_image }}" + state: absent + when: action == 'stop' + +- name: Create docker container. ptf {{ id }} + docker: + registry: "{{ docker_registry_host }}" + username: "{{ docker_registry_username }}" + password: "{{ docker_registry_password }}" + name: ptf_{{ id }} + image: "{{ docker_registry_host }}/{{ docker_image }}" + pull: always + state: reloaded + net: none + detach: True + cap_add: NET_ADMIN + when: action == 'start' + +- name: Create internal network for the docker container. ptf {{ id }} + ptf_network: + ptf_name: ptf_{{ id }} + ctr_num: "{{ id }}" + iface: "{{ external_iface }}" + vlan_base: "{{ vlan_base }}" + fp_mtu: "{{ fp_mtu_size }}" + mgmt_ip_addr: "{{ mgmt_ip }}" + mgmt_ip_gw: "{{ mgmt_gw }}" + mgmt_bridge: "{{ mgmt_bridge }}" + when: action == 'start' diff --git a/ansible/roles/ptf_host/vars/main.yml b/ansible/roles/ptf_host/vars/main.yml new file mode 100644 index 00000000000..dbd69308054 --- /dev/null +++ b/ansible/roles/ptf_host/vars/main.yml @@ -0,0 +1,2 @@ +fp_mtu_size: 9216 +docker_image: docker-ptf diff --git a/ansible/roles/vm_set/library/kickstart.py b/ansible/roles/vm_set/library/kickstart.py new file mode 100644 index 00000000000..01aa721cd56 --- /dev/null +++ b/ansible/roles/vm_set/library/kickstart.py @@ -0,0 +1,230 @@ +#!/usr/bin/python + +from telnetlib import Telnet + + +class MyDebug(object): + def __init__(self, filename, enabled=True): + if enabled: + self.fp = open(filename, 'w') + else: + self.fp = None + + return + + def cleanup(self): + if self.fp: + self.fp.close() + self.fp = None + + return + + def __del__(self): + self.cleanup() + + return + + def debug(self, msg): + if self.fp: + self.fp.write('%s\n' % msg) + self.fp.flush() + + return + + +class EMatchNotFound(Exception): + pass + + +class ENotInEnabled(Exception): + pass + + +class SerialSession(object): + def __init__(self, port, debug): + self.enabled = False + self.d = debug + self.d.debug('Starting') + self.tn = Telnet('127.0.0.1', port) + self.tn.write('\r\n') + + return + + def __del__(self): + self.cleanup() + + return + + def cleanup(self): + if self.tn: + self.tn.close() + self.tn = None + self.d.cleanup() + + return + + def pair(self, action, wait_for, timeout): + self.d.debug('output: %s' % action) + self.d.debug('match: %s' % ",".join(wait_for)) + self.tn.write("%s\n" % action) + if wait_for is not None: + index, match, text = self.tn.expect(wait_for, timeout) + self.d.debug('Result of matching: %d %s %s' % (index, str(match), text)) + if index == -1: + raise EMatchNotFound + else: + index = 0 + + return index + + def login(self, user, password): + self.pair('\r', [r'login:'], 240) + index_password = self.pair(user, [r'assword:', r'>'], 20) + if index_password == 0: + self.pair(password, [r'>'], 10) + + return + + def enable(self): + self.pair('enable', [r'#'], 10) + self.enabled = True + + return + + def configure(self, seq): + if self.enabled: + self.pair('configure terminal', [r'\(config\)#'], 10) + for action, wait_for in seq: + self.pair(action, wait_for, 10) + self.pair('exit', [r'#'], 10) + self.pair('wr mem', [r'#'], 10) + else: + raise ENotInEnabled() + + return + + def wait_for_warmup(self): + if self.enabled: + self.pair('wait-for-warmup', [r'#'], 200) + else: + raise ENotInEnabled() + + return + + def rename_boot(self, seq): + if self.enabled: + self.pair('rename flash:vEOS-lab.swi flash:vEOS.swi', [r'#'], 10) + config_add = ('boot system flash:vEOS.swi', [r'\(config\)#']) + seq.append(config_add) + else: + raise ENotInEnabled() + + return + + def logout(self): + self.pair('exit', [r'login:'], 10) + + return + + +def session(port, login, password, new_params): + templates = { + 'hostname': [ + ('hostname %s' % str(new_params['hostname']), [r'\(config\)#']), + ], + 'mgmt_ip': [ + ('interface management 1', [r'\(config-if-Ma1\)#']), + ('no shutdown', [r'\(config-if-Ma1\)#']), + ('ip address %s' % str(new_params['mgmt_ip']), [r'\(config-if-Ma1\)#']), + ('exit', [r'\(config\)#']), + ], + 'mgmt_gw': [ + ('ip route 0.0.0.0/0 %s' % str(new_params['mgmt_gw']), [r'\(config\)#']), + ], + 'new_login': [ + ('username %s privilege 15 role network-admin secret 0 %s' % (str(new_params['new_login']), str(new_params['new_password'])), [r'\(config\)#']), + ], + 'new_password': [], # empty. All data in new_login + 'new_root_password': [ + ('aaa root secret 0 %s' % str(new_params['new_root_password']), [r'\(config\)#']), + ], + } + + seq = [] + for key, param in new_params.iteritems(): + if param is not None: + seq.extend(templates[key]) + + debug = MyDebug('/tmp/debug.txt', enabled=False) + ss = SerialSession(port, debug) + ss.login(login, password) + ss.enable() + ss.wait_for_warmup() + ss.rename_boot(seq) + ss.configure(seq) + ss.wait_for_warmup() + ss.logout() + ss.cleanup() + + return + + +def core(module): + telnet_port = module.params.get('telnet_port', None) + login = module.params.get('login', None) + password = module.params.get('password', None) + + new_params = {} + new_params['hostname'] = module.params.get('hostname', None) + new_params['mgmt_ip'] = module.params.get('mgmt_ip', None) + new_params['mgmt_gw'] = module.params.get('mgmt_gw', None) + new_params['new_login'] = module.params.get('new_login', None) + new_params['new_password'] = module.params.get('new_password', None) + new_params['new_root_password'] = module.params.get('new_root_password', None) + + if (new_params['new_login'] is not None and new_params['new_password'] is None): + module.fail_json(msg = 'new_password is required') + + if (new_params['new_login'] is None and new_params['new_password'] is not None): + module.fail_json(msg = 'new_login is required') + + if telnet_port is None: + module.fail_json(msg = 'telnet port number is required') + + session(telnet_port, login, password, new_params) + + return {'kickstart_code': 0, 'changed': True, 'msg': 'Kickstart completed'} + + +def main(): + + module = AnsibleModule(argument_spec=dict( + telnet_port = dict(required=True), + login = dict(required=True), + password = dict(required=True), + hostname = dict(), + mgmt_ip = dict(), + mgmt_gw = dict(), + new_login = dict(), + new_password = dict(), + new_root_password = dict(), + )) + + try: + result = core(module) + except EOFError: + result = {'kickstart_code': -1, 'changed': False, 'msg': 'EOF during the chat'} + except EMatchNotFound: + result = {'kickstart_code': -1, 'changed': False, 'msg': "Match for output isn't found"} + except ENotInEnabled: + module.fail_json(msg='Not in enabled mode') + except Exception, e: + module.fail_json(msg=str(e)) + + module.exit_json(**result) + + return + + +from ansible.module_utils.basic import * +main() diff --git a/ansible/roles/vm_set/tasks/add_bridge.yml b/ansible/roles/vm_set/tasks/add_bridge.yml new file mode 100644 index 00000000000..cfa7d8719a2 --- /dev/null +++ b/ansible/roles/vm_set/tasks/add_bridge.yml @@ -0,0 +1,6 @@ +- name: Create port0 bridge {{ port0_bridge }}. vm set {{ id }} + command: ovs-vsctl add-br {{ port0_bridge }} + when: port0_bridge not in ansible_interfaces + +- name: Enable port0 bridge {{ port0_bridge }}. vm set {{ id }} + command: ifconfig {{ port0_bridge }} up diff --git a/ansible/roles/vm_set/tasks/add_vlan.yml b/ansible/roles/vm_set/tasks/add_vlan.yml new file mode 100644 index 00000000000..e5e0b432e23 --- /dev/null +++ b/ansible/roles/vm_set/tasks/add_vlan.yml @@ -0,0 +1,23 @@ +- name: Create the external vlan {{ external_iface }} {{ vlan }}. vm set {{ id }} + command: vconfig add {{ external_iface }} {{ vlan }} + when: vlan_iface not in ansible_interfaces + +- name: Enable the external vlan {{ vlan_iface }}. vm set {{ id }} + command: ifconfig {{ vlan_iface }} up + +- name: Get list-ports output {{ port0_bridge }}. vm set {{ id }} + command: ovs-vsctl list-ports {{ port0_bridge }} + register: cur_bridges + +- name: Connect port0 to the external vlan {{ port0_bridge }} {{ vlan_iface }}. vm set {{ id }} + command: ovs-vsctl add-port {{ port0_bridge }} {{ vlan_iface }} + when: cur_bridges.stdout.find( vlan_iface ) == -1 + +- name: Remove standard rules from the ovs bridge {{ port0_bridge }}. vm set {{ id }} + command: ovs-ofctl del-flows {{ port0_bridge }} + +- name: Add first forwarding rule for the ovs bridge {{ port0_bridge }}. vm set {{ id }} + command: ovs-ofctl add-flow {{ port0_bridge }} 'table=0,in_port=1,action=output:2' + +- name: Add second forwarding rule for the ovs bridge {{ port0_bridge }}. vm set {{ id }} + command: ovs-ofctl add-flow {{ port0_bridge }} 'table=0,in_port=2,action=output:1' diff --git a/ansible/roles/vm_set/tasks/delete_bridge.yml b/ansible/roles/vm_set/tasks/delete_bridge.yml new file mode 100644 index 00000000000..32b014451f1 --- /dev/null +++ b/ansible/roles/vm_set/tasks/delete_bridge.yml @@ -0,0 +1,7 @@ +- name: Disable port0 vm bridge {{ port0_bridge }}. vm set {{ id }} + command: ifconfig {{ port0_bridge }} down + when: port0_bridge in ansible_interfaces + +- name: Destroy port0 vm bridge {{ port0_bridge }}. vm set {{ id }} + command: ovs-vsctl del-br {{ port0_bridge }} + when: port0_bridge in ansible_interfaces diff --git a/ansible/roles/vm_set/tasks/delete_vlan.yml b/ansible/roles/vm_set/tasks/delete_vlan.yml new file mode 100644 index 00000000000..e073600c0ba --- /dev/null +++ b/ansible/roles/vm_set/tasks/delete_vlan.yml @@ -0,0 +1,15 @@ +- name: Get output of bridge configurations {{ port0_bridge }}. vm set {{ id }} + command: ovs-vsctl show + register: show + +- name: Remove portinterface {{ vlan_iface }} from the bridge {{ port0_bridge }}. vm set {{ id }} + command: ovs-vsctl del-port {{ port0_bridge }} {{ vlan_iface }} + when: show.stdout.find( vlan_iface ) != -1 + +- name: Disable external vlan {{ vlan_iface }}. vm set {{ id }} + command: ifconfig {{ vlan_iface }} down + when: vlan_iface in ansible_interfaces + +- name: Destroy external vlan {{ vlan_iface }}. vm set {{ id }} + command: vconfig rem {{ vlan_iface }} + when: vlan_iface in ansible_interfaces diff --git a/ansible/roles/vm_set/tasks/main.yml b/ansible/roles/vm_set/tasks/main.yml new file mode 100644 index 00000000000..68ccb32ed36 --- /dev/null +++ b/ansible/roles/vm_set/tasks/main.yml @@ -0,0 +1,48 @@ +# This role creates a set of VM with veos +# Input parameters for the role: +# - action: 'start', 'stop' or 'renumber' for creating, removeing, or renumbering vm set respectively +# - id: sequence number for vm set on the host. +# - external_iface: interface which will be used as parent for vlan interface creation +# - vlan_base: first vlan id for the VMs +# - VMs: a dictionary which contains hostnames of VMs as a key and a dictionary with parameters (filename, serial_port, vlan, memory) for every VM. +# - mgmt_bridge: linux bridge which is used for management interface connections +# - root_path: path where disk images for VMs are created +# - hdd_image_filename: base hdd image for VMs +# - cd_image_filename: base cd image for VMs +# - vm_images_url: url where base images are located +# - vmimages_saskey: a key for Azure download service. Could be set to '' + +- name: Install necessary packages. vm set {{ id }} + apt: pkg={{ item }} update_cache=yes cache_valid_time=3600 + with_items: + - openvswitch-switch + - net-tools + - bridge-utils + - util-linux + - iproute2 + - vlan + - libvirt-bin + - python-libvirt + +- name: Retrieve a list of the defined VMs. vm set {{ id }} + virt: command=list_vms + uri=qemu:///system + register: vm_list_defined + +- name: Retrieve a list of the running VMs. vm set {{ id }} + virt: command=list_vms + uri=qemu:///system + state=running + register: vm_list_running + +- name: Stop vm set {{ id }} + include: stop.yml + when: action == 'stop' + +- name: Start vm set {{ id }} + include: start.yml + when: action == 'start' + +- name: Renumber vm set {{ id }} + include: renumber.yml + when: action == 'renumber' diff --git a/ansible/roles/vm_set/tasks/renumber.yml b/ansible/roles/vm_set/tasks/renumber.yml new file mode 100644 index 00000000000..954df2a8b99 --- /dev/null +++ b/ansible/roles/vm_set/tasks/renumber.yml @@ -0,0 +1,21 @@ +- name: Calculating vlan_base_old. vm set {{ id }} + shell: ifconfig -a | fgrep {{ external_iface }}. | cut -f1 -d ' ' | cut -f2 -d '.' | sort -n | head -n 1 + register: vlan_base_output + +- name: Setting vlan_base_old {{ vlan_base_output.stdout }}. vm set {{ id }} + set_fact: vlan_base_old={{ vlan_base_output.stdout }} + +- name: Remove old external interfaces. vm set {{ id }} + include: delete_vlan.yml + vars: + port0_bridge: "br-vm{{ id }}-vlan{{ item.value.vlan|int - 1 }}" + vlan_iface: "{{ external_iface }}.{{ vlan_base_old|int + item.value.vlan - 1 }}" + with_dict: "{{ VMs }}" + +- name: Add external interfaces. vm set {{ id }} + include: add_vlan.yml + vars: + port0_bridge: "br-vm{{ id }}-vlan{{ item.value.vlan|int - 1 }}" + vlan: "{{ vlan_base|int + item.value.vlan|int - 1 }}" + vlan_iface: "{{ external_iface }}.{{ vlan_base|int + item.value.vlan|int - 1 }}" + with_dict: "{{ VMs }}" diff --git a/ansible/roles/vm_set/tasks/start.yml b/ansible/roles/vm_set/tasks/start.yml new file mode 100644 index 00000000000..b59223f819f --- /dev/null +++ b/ansible/roles/vm_set/tasks/start.yml @@ -0,0 +1,60 @@ +- name: Create directory for vm images and vm disks. vm set {{ id }} + file: path={{ item }} state=directory mode=0755 recurse=yes + with_items: + - "{{ root_path }}/images" + - "{{ root_path }}/disks" + +- name: Check hdd image. vm set {{ id }} + stat: path={{ root_path }}/images/{{ hdd_image_filename }} + register: hdd_stat + +- name: Download hdd images. vm set {{ id }} + get_url: url="{{ vm_images_url }}/{{ hdd_image_filename }}?{{ vmimages_saskey }}" dest="{{ root_path }}/images/{{ hdd_image_filename }}" + when: not hdd_stat.stat.exists + +- name: Check cd image. vm set {{ id }} + stat: path={{ root_path }}/images/{{ cd_image_filename }} + register: cd_stat + +- name: Download cd images. vm set {{ id }} + get_url: url="{{ vm_images_url }}/{{ cd_image_filename }}?{{ vmimages_saskey }}" dest="{{ root_path }}/images/{{ cd_image_filename }}" + when: not cd_stat.stat.exists + +- name: Create port1 bridge {{ port1_bridge }}. vm set {{ id }} + command: brctl addbr {{ port1_bridge }} + when: port1_bridge not in ansible_interfaces + +- name: Enable port1 bridge {{ port1_bridge }}. vm set {{ id }} + command: ifconfig {{ port1_bridge }} up + +- name: Add bridges for fp. vm set {{ id }} + include: add_bridge.yml + vars: + port0_bridge: "br-vm{{ id }}-vlan{{ item.value.vlan|int - 1 }}" + with_dict: "{{ VMs }}" + +- name: Start VMs. vm set {{ id }} + include: start_vm.yml + vars: + vm_name: "{{ id }}_{{ item.key }}" + memory: "{{ item.value.memory }}" + hostname: "{{ item.key }}" + filename: "{{ item.value.filename }}" + serial_port: "{{ item.value.serial_port }}" + disk_image: "{{ root_path }}/disks/{{ vm_name }}_hdd.vmdk" + mgmt_tap: "{{ vm_name }}-m" + port0_bridge: "br-vm{{ id }}-vlan{{ item.value.vlan|int - 1 }}" + port0_tap: "{{ vm_name }}-t0" + port1_tap: "{{ vm_name }}-t1" + with_dict: "{{ VMs }}" + +- name: Enable external interface {{ external_iface }}. vm set {{ id }} + command: ifconfig {{ external_iface }} up + +- name: Add external interfaces. vm set {{ id }} + include: add_vlan.yml + vars: + port0_bridge: "br-vm{{ id }}-vlan{{ item.value.vlan|int - 1 }}" + vlan: "{{ vlan_base|int + item.value.vlan|int - 1 }}" + vlan_iface: "{{ external_iface }}.{{ vlan_base|int + item.value.vlan|int - 1 }}" + with_dict: "{{ VMs }}" diff --git a/ansible/roles/vm_set/tasks/start_vm.yml b/ansible/roles/vm_set/tasks/start_vm.yml new file mode 100644 index 00000000000..8f7b0b9f777 --- /dev/null +++ b/ansible/roles/vm_set/tasks/start_vm.yml @@ -0,0 +1,69 @@ +- name: Gathering facts about the device + include_vars: name=vars/configurations/{{ filename }} + +- name: Device debug output + debug: msg="hostname = {{ hostname }} serial port = {{ serial_port }} ip = {{ minigraph_mgmt_interface.addr }}" + +- name: Check destination file existance. vm set {{ id }} + stat: path={{ disk_image }} + register: file_stat + +- name: Copy arista disk image for {{ hostname }}. vm set {{ id }} + copy: src={{ src_disk_image }} dest={{ disk_image }} remote_src=True + when: not file_stat.stat.exists + +- name: Define vm {{ vm_name }}. vm set {{ id }} + virt: name={{ vm_name }} + command=define + xml="{{ lookup('template', 'templates/arista.xml.j2') }}" + uri=qemu:///system + when: vm_name not in vm_list_defined.list_vms + +- name: Start vm {{ vm_name }}. vm set {{ id }} + virt: name={{ vm_name }} + state=running + uri=qemu:///system + when: vm_name not in vm_list_running.list_vms + +- name: Wait until vm {{ vm_name }} is loaded. vm set {{ id }} + kickstart: telnet_port={{ serial_port }} + login={{ login }} + password={{ password }} + hostname={{ hostname }} + mgmt_ip="{{ minigraph_mgmt_interface.addr }}/{{ minigraph_mgmt_interface.prefixlen }}" + mgmt_gw={{ minigraph_mgmt_interface.gwaddr }} + new_login={{ new_login }} + new_password={{ new_password }} + new_root_password={{ new_root_password }} + register: kickstart_output + when: vm_name not in vm_list_running.list_vms + +- name: Destroy vm {{ vm_name }} if it hangs. vm set {{ id }} + virt: name={{ vm_name }} + command=destroy + uri=qemu:///system + when: vm_name not in vm_list_running.list_vms and kickstart_output.kickstart_code != 0 + +- name: Start vm again {{ vm_name }}. vm set {{ id }} + virt: name={{ vm_name }} + state=running + uri=qemu:///system + when: vm_name not in vm_list_running.list_vms and kickstart_output.kickstart_code != 0 + +- name: Wait until vm {{ vm_name }} is loaded. vm set {{ id }} + kickstart: telnet_port={{ serial_port }} + login={{ login }} + password={{ password }} + hostname={{ hostname }} + mgmt_ip="{{ minigraph_mgmt_interface.addr }}/{{ minigraph_mgmt_interface.prefixlen }}" + mgmt_gw={{ minigraph_mgmt_interface.gwaddr }} + new_login={{ new_login }} + new_password={{ new_password }} + new_root_password={{ new_root_password }} + register: kickstart_output_final + when: vm_name not in vm_list_running.list_vms and kickstart_output.kickstart_code != 0 + +- name: Fail if kickstart gives error again vm {{ vm_name }}. vm set {{ id }} + fail: msg="Two attempts to start vm weren't succesfull" + when: '"skipped" in kickstart_output_final and "kickstart_code" in kickstart_output_final and kickstart_output_final.kickstart_code != 0' + diff --git a/ansible/roles/vm_set/tasks/stop.yml b/ansible/roles/vm_set/tasks/stop.yml new file mode 100644 index 00000000000..b61e2bf1b21 --- /dev/null +++ b/ansible/roles/vm_set/tasks/stop.yml @@ -0,0 +1,34 @@ +- name: Remove VMs. vm set {{ id }} + include: stop_vm.yml + vars: + vm_name: "{{ id }}_{{ item.key }}" + disk_image: "{{ root_path }}/disks/{{ vm_name }}_hdd.vmdk" + with_dict: "{{ VMs }}" + +- name: Calculating vlan_base. vm set {{ id }} + shell: ifconfig -a | fgrep {{ external_iface }}. | cut -f1 -d ' ' | cut -f2 -d '.' | sort -n | head -n 1 + register: vlan_base_output + +- name: Setting vlan_base {{ vlan_base_output.stdout }}. vm set {{ id }} + set_fact: vlan_base={{ vlan_base_output.stdout }} + +- name: Remove external interfaces. vm set {{ id }} + include: delete_vlan.yml + vars: + port0_bridge: "br-vm{{ id }}-vlan{{ item.value.vlan|int - 1 }}" + vlan_iface: "{{ external_iface }}.{{ vlan_base|int + item.value.vlan|int - 1 }}" + with_dict: "{{ VMs }}" + +- name: Remove interfaces. vm set {{ id }} + include: delete_bridge.yml + vars: + port0_bridge: "br-vm{{ id }}-vlan{{ item.value.vlan|int - 1 }}" + with_dict: "{{ VMs }}" + +- name: Disable port1 bridge {{ port1_bridge }}. vm set {{ id }} + command: ifconfig {{ port1_bridge }} down + when: port1_bridge in ansible_interfaces + +- name: Destroy port1 bridge {{ port1_bridge }}. vm set {{ id }} + command: brctl delbr {{ port1_bridge }} + when: port1_bridge in ansible_interfaces diff --git a/ansible/roles/vm_set/tasks/stop_vm.yml b/ansible/roles/vm_set/tasks/stop_vm.yml new file mode 100644 index 00000000000..99c5b5c3a02 --- /dev/null +++ b/ansible/roles/vm_set/tasks/stop_vm.yml @@ -0,0 +1,14 @@ +- name: Destroy VM {{ vm_name }}. vm set {{ id }} + virt: name={{ vm_name }} + state=destroyed + uri=qemu:///system + when: vm_name in vm_list_running.list_vms + +- name: Undefine VM {{ vm_name }}. vm set {{ id }} + virt: name={{ vm_name }} + command=undefine + uri=qemu:///system + when: vm_name in vm_list_defined.list_vms + +- name: Remove arista disk image for {{ vm_name }}. vm set {{ id }} + file: path={{ disk_image }} state=absent diff --git a/ansible/roles/vm_set/templates/arista.xml.j2 b/ansible/roles/vm_set/templates/arista.xml.j2 new file mode 100644 index 00000000000..587e1d9ea42 --- /dev/null +++ b/ansible/roles/vm_set/templates/arista.xml.j2 @@ -0,0 +1,63 @@ + + {{ vm_name }} + {{ memory }} + {{ memory }} + 1 + + /machine + + + hvm + + + + + + + + + destroy + restart + restart + + /usr/bin/qemu-system-x86_64 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + diff --git a/ansible/roles/vm_set/vars/main.yml b/ansible/roles/vm_set/vars/main.yml new file mode 100644 index 00000000000..a521a212b20 --- /dev/null +++ b/ansible/roles/vm_set/vars/main.yml @@ -0,0 +1,13 @@ +login: "admin" +password: "" +new_login: admin +new_password: 123456 +new_root_password: 123456 + +src_disk_image: "{{ root_path }}/images/{{ hdd_image_filename }}" +cdrom_image: "{{ root_path }}/images/{{ cd_image_filename }}" + +tor_memory: 1572864 +spine_memory: 2097152 + +port1_bridge: br-port1-{{ id }} diff --git a/ansible/start_ptf_containers.yml b/ansible/start_ptf_containers.yml new file mode 100644 index 00000000000..430b7d8aa43 --- /dev/null +++ b/ansible/start_ptf_containers.yml @@ -0,0 +1,47 @@ +--- +# This Playbook deploys three ptf docker containers +# +# The ptf docker container has management interface. See ip address of the interface in host_vars +# Also it has 32 ethX interfaces which is connected to an external port with corresponding vlans. +# See the vlan number in host_vars +# +# To start all ptf containers on both servers: +# ansible-playbook -i veos start_ptf_containers.yml +# +# To start all ptf_containers on the first server only: +# ansible-playbook -i veos start_ptf_containers.yml --limit server_1 +# +# To run second ptf container on the second server only +# ansible-playbook -i veos start_only.yml --limit server_2 -e ptf_2=true +# +# To renumber third ptf container to the new vlan range on the second server +# Firstly destroy previous container +# ansible-playbook -i veos stop_ptf_containers.yml --limit server_2 -e ptf_3=true +# +# Then start a new container with new vlan range +# ansible-playbook -i veos start_ptf_containers.yml --limit server_2 -e ptf_3=true -e ptf_3_vlan_base=381 + +- hosts: servers:&vm_host + gather_facts: no + become: true + vars: + ptf_1: false + ptf_2: false + ptf_3: false + ptf_4: false + vars_files: + - vars/docker_registry.yml + - vars/azure_storage.yml + pre_tasks: + - name: Set "tag" variables + set_fact: + ptf_1: true + ptf_2: true + ptf_3: true + ptf_4: true + when: not (ptf_1 or ptf_2 or ptf_3 or ptf_4) + roles: + - { role: ptf_host, action: 'start', id: 1, external_iface: "{{ ptf_1_external_iface }}",vlan_base: "{{ ptf_1_vlan_base }}", mgmt_ip: "{{ ptf_1_mgmt_ip }}", when: ptf_1 and ptf_1_enabled } + - { role: ptf_host, action: 'start', id: 2, external_iface: "{{ ptf_2_external_iface }}",vlan_base: "{{ ptf_2_vlan_base }}", mgmt_ip: "{{ ptf_2_mgmt_ip }}", when: ptf_2 and ptf_2_enabled } + - { role: ptf_host, action: 'start', id: 3, external_iface: "{{ ptf_3_external_iface }}",vlan_base: "{{ ptf_3_vlan_base }}", mgmt_ip: "{{ ptf_3_mgmt_ip }}", when: ptf_3 and ptf_3_enabled } + - { role: ptf_host, action: 'start', id: 4, external_iface: "{{ ptf_4_external_iface }}",vlan_base: "{{ ptf_4_vlan_base }}", mgmt_ip: "{{ ptf_4_mgmt_ip }}", when: ptf_4 and ptf_4_enabled } diff --git a/ansible/start_vm_sets.yml b/ansible/start_vm_sets.yml new file mode 100644 index 00000000000..0135ccf9c0c --- /dev/null +++ b/ansible/start_vm_sets.yml @@ -0,0 +1,57 @@ +--- +# This Playbook deploys two vm sets with 32 veos VMs each +# +# Every VM has three interfaces: +# - mgmt interface which is connected to the management network +# 10.0.0.x/24. See host_vars/SERV-02.yml for the ip +# address +# - Eth1/1 is connected to the external port with corresponding vlan +# See the vlan number in host_vars/SERV-02.yml +# - Eth1/2 is connected to other VM's Eth1/2 +# +# To start all vm_sets on both servers: +# ANSIBLE_SCP_IF_SSH=y ansible-playbook -i veos start_vm_sets.yml +# +# To run on the first server only: +# ANSIBLE_SCP_IF_SSH=y ansible-playbook -i veos start_vm_sets.yml --limit server_1 +# +# To create second vm set only on the second server +# ANSIBLE_SCP_IF_SSH=y ansible-playbook -i veos start_vm_sets.yml --limit server_2 -e vm_set_2=true + +# To destroy second vm set only on the second server +# ANSIBLE_SCP_IF_SSH=y ansible-playbook -i veos stop_vm_sets.yml --limit server_2 -e vm_set_2=true + +# To renumber second vm set to new vlan range on the second server +# ANSIBLE_SCP_IF_SSH=y ansible-playbook -i veos renumber.yml --limit server_2 -e vm_set_2=true -e vm_2_vlan_base=233 + +- hosts: servers:&vm_host + gather_facts: yes + become: true + vars: + vm_set_1: false + vm_set_2: false + vars_files: + - vars/azure_storage.yml + pre_tasks: + - name: Set "tag" variables + set_fact: + vm_set_1: true + vm_set_2: true + when: not (vm_set_1 or vm_set_2) + roles: + - { role: vm_set, action: 'start', id: 1, external_iface: "{{ vm_1_external_iface }}", VMs: "{{ VMs_1 }}", vlan_base: "{{ vm_1_vlan_base }}", when: vm_set_1 and vm_1_enabled } + - { role: vm_set, action: 'start', id: 2, external_iface: "{{ vm_2_external_iface }}", VMs: "{{ VMs_2 }}", vlan_base: "{{ vm_2_vlan_base }}", when: vm_set_2 and vm_2_enabled } + +- hosts: servers:&eos + gather_facts: no + vars: + vm_set_1: false + vm_set_2: false + pre_tasks: + - name: Set "tag" variables + set_fact: + vm_set_1: true + vm_set_2: true + when: not (vm_set_1 or vm_set_2) + roles: + - { role: eos, when: vm_set_1 or vm_set_2 } diff --git a/ansible/stop_ptf_containers.yml b/ansible/stop_ptf_containers.yml new file mode 100644 index 00000000000..827de12cbcd --- /dev/null +++ b/ansible/stop_ptf_containers.yml @@ -0,0 +1,37 @@ +--- +# This Playbook undeploys containers for the testbed. +# +# For additional details see playbook start_ptf_containers.yml +# +# To run on both servers with all ptf containers: +# ansible-playbook -i veos stop_ptf_containers.yml +# +# To run on the first server only: +# ansible-playbook -i veos stop_ptf_containers.yml --limit server_1 +# +# To run on the second server and remove second container only +# ansible-playbook -i veos stop_testbed.yml --limit server_2 -e ptf_2=true + +- hosts: servers:&vm_host + gather_facts: no + become: true + vars: + ptf_1: false + ptf_2: false + ptf_3: false + ptf_4: false + vars_files: + - vars/docker_registry.yml + pre_tasks: + - name: Set "tag" variables + set_fact: + ptf_1: true + ptf_2: true + ptf_3: true + ptf_4: true + when: not (ptf_1 or ptf_2 or ptf_3 or ptf_4) + roles: + - { role: ptf_host, action: 'stop', id: 1, when: ptf_1 and ptf_1_enabled } + - { role: ptf_host, action: 'stop', id: 2, when: ptf_2 and ptf_2_enabled } + - { role: ptf_host, action: 'stop', id: 3, when: ptf_3 and ptf_3_enabled } + - { role: ptf_host, action: 'stop', id: 4, when: ptf_4 and ptf_4_enabled } diff --git a/ansible/stop_vm_sets.yml b/ansible/stop_vm_sets.yml new file mode 100644 index 00000000000..1af205c25d4 --- /dev/null +++ b/ansible/stop_vm_sets.yml @@ -0,0 +1,31 @@ +--- +# This Playbook undeploys the vm sets. +# +# For additional details see playbook start_vm_sets.yml +# +# To run on both servers with all VM sets and ptf containers: +# ANSIBLE_SCP_IF_SSH=y ansible-playbook -i veos stop_vm_sets.yml +# +# To run on the first server only: +# ANSIBLE_SCP_IF_SSH=y ansible-playbook -i veos stop_vm_sets.yml --limit server_1 +# +# To run on the second server and remove second vm set only +# ANSIBLE_SCP_IF_SSH=y ansible-playbook -i veos stop_vm_sets.yml --limit server_2 -e vm_set_2=true + +- hosts: servers:&vm_host + gather_facts: yes + become: true + vars: + vm_set_1: false + vm_set_2: false + vars_files: + - vars/docker_registry.yml + pre_tasks: + - name: Set "tag" variables + set_fact: + vm_set_1: true + vm_set_2: true + when: not (vm_set_1 or vm_set_2) + roles: + - { role: vm_set, action: 'stop', id: 1, external_iface: "{{ vm_1_external_iface }}", VMs: "{{ VMs_1 }}", vlan_base: "{{ vm_1_vlan_base }}", when: vm_set_1 and vm_1_enabled } + - { role: vm_set, action: 'stop', id: 2, external_iface: "{{ vm_2_external_iface }}", VMs: "{{ VMs_2 }}", vlan_base: "{{ vm_2_vlan_base }}", when: vm_set_2 and vm_2_enabled } diff --git a/ansible/vars/azure_storage.yml b/ansible/vars/azure_storage.yml new file mode 100644 index 00000000000..c8e1b7f4d0a --- /dev/null +++ b/ansible/vars/azure_storage.yml @@ -0,0 +1 @@ +vmimages_saskey: very_secret_key diff --git a/ansible/vars/configurations/01-ARISTA01T0.yml b/ansible/vars/configurations/01-ARISTA01T0.yml new file mode 100644 index 00000000000..b09512ba257 --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA01T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.32 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.33 + + +minigraph_bgp_asn: +64001 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.33 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.32 + prefixlen: 31 + subnet: 10.0.0.32/31 +- addr: 10.10.246.17 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.17 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.222 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA01T2.yml b/ansible/vars/configurations/01-ARISTA01T2.yml new file mode 100644 index 00000000000..363a96e1b0d --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA01T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.0 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.1 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.1 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.0 + prefixlen: 31 + subnet: 10.0.0.0/31 +- addr: 10.10.246.1 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.1 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.238 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA02T0.yml b/ansible/vars/configurations/01-ARISTA02T0.yml new file mode 100644 index 00000000000..66936069b14 --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA02T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.34 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.35 + + +minigraph_bgp_asn: +64002 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.35 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.34 + prefixlen: 31 + subnet: 10.0.0.34/31 +- addr: 10.10.246.18 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.18 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.223 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA02T2.yml b/ansible/vars/configurations/01-ARISTA02T2.yml new file mode 100644 index 00000000000..1fd4081a4ab --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA02T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.2 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.3 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.3 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.2 + prefixlen: 31 + subnet: 10.0.0.2/31 +- addr: 10.10.246.2 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.2 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.239 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA03T0.yml b/ansible/vars/configurations/01-ARISTA03T0.yml new file mode 100644 index 00000000000..1b8602c0a14 --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA03T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.36 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.37 + + +minigraph_bgp_asn: +64003 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.37 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.36 + prefixlen: 31 + subnet: 10.0.0.36/31 +- addr: 10.10.246.19 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.19 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.224 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA03T2.yml b/ansible/vars/configurations/01-ARISTA03T2.yml new file mode 100644 index 00000000000..9a06ea7e749 --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA03T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.4 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.5 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.5 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.4 + prefixlen: 31 + subnet: 10.0.0.4/31 +- addr: 10.10.246.3 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.3 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.240 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA04T0.yml b/ansible/vars/configurations/01-ARISTA04T0.yml new file mode 100644 index 00000000000..bc038693215 --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA04T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.38 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.39 + + +minigraph_bgp_asn: +64004 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.39 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.38 + prefixlen: 31 + subnet: 10.0.0.38/31 +- addr: 10.10.246.20 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.20 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.225 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA04T2.yml b/ansible/vars/configurations/01-ARISTA04T2.yml new file mode 100644 index 00000000000..76620caf482 --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA04T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.6 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.7 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.7 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.6 + prefixlen: 31 + subnet: 10.0.0.6/31 +- addr: 10.10.246.4 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.4 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.241 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA05T0.yml b/ansible/vars/configurations/01-ARISTA05T0.yml new file mode 100644 index 00000000000..d6dc2b626be --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA05T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.40 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.41 + + +minigraph_bgp_asn: +64005 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.41 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.40 + prefixlen: 31 + subnet: 10.0.0.40/31 +- addr: 10.10.246.21 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.21 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.226 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA05T2.yml b/ansible/vars/configurations/01-ARISTA05T2.yml new file mode 100644 index 00000000000..ab18763c8d7 --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA05T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.8 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.9 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.9 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.8 + prefixlen: 31 + subnet: 10.0.0.8/31 +- addr: 10.10.246.5 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.5 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.242 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA06T0.yml b/ansible/vars/configurations/01-ARISTA06T0.yml new file mode 100644 index 00000000000..77fe2208270 --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA06T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.42 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.43 + + +minigraph_bgp_asn: +64006 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.43 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.42 + prefixlen: 31 + subnet: 10.0.0.42/31 +- addr: 10.10.246.22 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.22 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.227 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA06T2.yml b/ansible/vars/configurations/01-ARISTA06T2.yml new file mode 100644 index 00000000000..ff5d3f2095c --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA06T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.10 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.11 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.11 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.10 + prefixlen: 31 + subnet: 10.0.0.10/31 +- addr: 10.10.246.6 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.6 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.243 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA07T0.yml b/ansible/vars/configurations/01-ARISTA07T0.yml new file mode 100644 index 00000000000..fe7e4d9925e --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA07T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.44 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.45 + + +minigraph_bgp_asn: +64007 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.45 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.44 + prefixlen: 31 + subnet: 10.0.0.44/31 +- addr: 10.10.246.23 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.23 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.228 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA07T2.yml b/ansible/vars/configurations/01-ARISTA07T2.yml new file mode 100644 index 00000000000..271186fdf90 --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA07T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.12 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.13 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.13 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.12 + prefixlen: 31 + subnet: 10.0.0.12/31 +- addr: 10.10.246.7 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.7 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.244 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA08T0.yml b/ansible/vars/configurations/01-ARISTA08T0.yml new file mode 100644 index 00000000000..e5666341f65 --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA08T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.46 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.47 + + +minigraph_bgp_asn: +64008 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.47 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.46 + prefixlen: 31 + subnet: 10.0.0.46/31 +- addr: 10.10.246.24 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.24 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.229 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA08T2.yml b/ansible/vars/configurations/01-ARISTA08T2.yml new file mode 100644 index 00000000000..caf7b4050ff --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA08T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.14 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.15 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.15 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.14 + prefixlen: 31 + subnet: 10.0.0.14/31 +- addr: 10.10.246.8 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.8 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.245 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA09T0.yml b/ansible/vars/configurations/01-ARISTA09T0.yml new file mode 100644 index 00000000000..2f77ed9abb7 --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA09T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.48 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.49 + + +minigraph_bgp_asn: +64009 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.49 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.48 + prefixlen: 31 + subnet: 10.0.0.48/31 +- addr: 10.10.246.25 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.25 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.230 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA09T2.yml b/ansible/vars/configurations/01-ARISTA09T2.yml new file mode 100644 index 00000000000..d1c9a349cba --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA09T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.16 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.17 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.17 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.16 + prefixlen: 31 + subnet: 10.0.0.16/31 +- addr: 10.10.246.9 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.9 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.246 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA10T0.yml b/ansible/vars/configurations/01-ARISTA10T0.yml new file mode 100644 index 00000000000..aaac9ca3370 --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA10T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.50 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.51 + + +minigraph_bgp_asn: +64010 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.51 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.50 + prefixlen: 31 + subnet: 10.0.0.50/31 +- addr: 10.10.246.26 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.26 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.231 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA10T2.yml b/ansible/vars/configurations/01-ARISTA10T2.yml new file mode 100644 index 00000000000..daa5b866a13 --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA10T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.18 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.19 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.19 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.18 + prefixlen: 31 + subnet: 10.0.0.18/31 +- addr: 10.10.246.10 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.10 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.247 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA11T0.yml b/ansible/vars/configurations/01-ARISTA11T0.yml new file mode 100644 index 00000000000..fc108a842da --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA11T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.52 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.53 + + +minigraph_bgp_asn: +64011 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.53 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.52 + prefixlen: 31 + subnet: 10.0.0.52/31 +- addr: 10.10.246.27 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.27 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.232 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA11T2.yml b/ansible/vars/configurations/01-ARISTA11T2.yml new file mode 100644 index 00000000000..0adbf0166c8 --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA11T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.20 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.21 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.21 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.20 + prefixlen: 31 + subnet: 10.0.0.20/31 +- addr: 10.10.246.11 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.11 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.248 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA12T0.yml b/ansible/vars/configurations/01-ARISTA12T0.yml new file mode 100644 index 00000000000..e52a6623121 --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA12T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.54 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.55 + + +minigraph_bgp_asn: +64012 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.55 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.54 + prefixlen: 31 + subnet: 10.0.0.54/31 +- addr: 10.10.246.28 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.28 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.233 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA12T2.yml b/ansible/vars/configurations/01-ARISTA12T2.yml new file mode 100644 index 00000000000..8100102c59f --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA12T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.22 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.23 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.23 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.22 + prefixlen: 31 + subnet: 10.0.0.22/31 +- addr: 10.10.246.12 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.12 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.249 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA13T0.yml b/ansible/vars/configurations/01-ARISTA13T0.yml new file mode 100644 index 00000000000..17176a86405 --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA13T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.56 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.57 + + +minigraph_bgp_asn: +64013 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.57 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.56 + prefixlen: 31 + subnet: 10.0.0.56/31 +- addr: 10.10.246.29 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.29 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.234 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA13T2.yml b/ansible/vars/configurations/01-ARISTA13T2.yml new file mode 100644 index 00000000000..efa02c78846 --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA13T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.24 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.25 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.25 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.24 + prefixlen: 31 + subnet: 10.0.0.24/31 +- addr: 10.10.246.13 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.13 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.250 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA14T0.yml b/ansible/vars/configurations/01-ARISTA14T0.yml new file mode 100644 index 00000000000..d3d5dd1331a --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA14T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.58 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.59 + + +minigraph_bgp_asn: +64014 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.59 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.58 + prefixlen: 31 + subnet: 10.0.0.58/31 +- addr: 10.10.246.30 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.30 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.235 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA14T2.yml b/ansible/vars/configurations/01-ARISTA14T2.yml new file mode 100644 index 00000000000..9e9c21448a5 --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA14T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.26 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.27 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.27 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.26 + prefixlen: 31 + subnet: 10.0.0.26/31 +- addr: 10.10.246.14 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.14 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.251 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA15T0.yml b/ansible/vars/configurations/01-ARISTA15T0.yml new file mode 100644 index 00000000000..a75d7cafc62 --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA15T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.60 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.61 + + +minigraph_bgp_asn: +64015 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.61 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.60 + prefixlen: 31 + subnet: 10.0.0.60/31 +- addr: 10.10.246.31 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.31 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.236 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA15T2.yml b/ansible/vars/configurations/01-ARISTA15T2.yml new file mode 100644 index 00000000000..5578e2b55b6 --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA15T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.28 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.29 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.29 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.28 + prefixlen: 31 + subnet: 10.0.0.28/31 +- addr: 10.10.246.15 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.15 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.252 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA16T0.yml b/ansible/vars/configurations/01-ARISTA16T0.yml new file mode 100644 index 00000000000..1c0d69cb075 --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA16T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.62 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.63 + + +minigraph_bgp_asn: +64016 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.63 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.62 + prefixlen: 31 + subnet: 10.0.0.62/31 +- addr: 10.10.246.32 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.32 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.237 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/01-ARISTA16T2.yml b/ansible/vars/configurations/01-ARISTA16T2.yml new file mode 100644 index 00000000000..ea52937fead --- /dev/null +++ b/ansible/vars/configurations/01-ARISTA16T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.30 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.31 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.31 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.30 + prefixlen: 31 + subnet: 10.0.0.30/31 +- addr: 10.10.246.16 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.16 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.253 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA01T0.yml b/ansible/vars/configurations/02-ARISTA01T0.yml new file mode 100644 index 00000000000..47c11745385 --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA01T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.32 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.33 + + +minigraph_bgp_asn: +64001 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.33 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.32 + prefixlen: 31 + subnet: 10.0.0.32/31 +- addr: 10.10.246.17 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.17 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.190 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA01T2.yml b/ansible/vars/configurations/02-ARISTA01T2.yml new file mode 100644 index 00000000000..d20e72f9d25 --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA01T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.0 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.1 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.1 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.0 + prefixlen: 31 + subnet: 10.0.0.0/31 +- addr: 10.10.246.1 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.1 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.206 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA02T0.yml b/ansible/vars/configurations/02-ARISTA02T0.yml new file mode 100644 index 00000000000..99f19d601f9 --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA02T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.34 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.35 + + +minigraph_bgp_asn: +64002 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.35 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.34 + prefixlen: 31 + subnet: 10.0.0.34/31 +- addr: 10.10.246.18 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.18 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.191 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA02T2.yml b/ansible/vars/configurations/02-ARISTA02T2.yml new file mode 100644 index 00000000000..4f2b2a43950 --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA02T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.2 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.3 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.3 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.2 + prefixlen: 31 + subnet: 10.0.0.2/31 +- addr: 10.10.246.2 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.2 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.207 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA03T0.yml b/ansible/vars/configurations/02-ARISTA03T0.yml new file mode 100644 index 00000000000..bf38835c2ba --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA03T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.36 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.37 + + +minigraph_bgp_asn: +64003 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.37 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.36 + prefixlen: 31 + subnet: 10.0.0.36/31 +- addr: 10.10.246.19 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.19 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.192 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA03T2.yml b/ansible/vars/configurations/02-ARISTA03T2.yml new file mode 100644 index 00000000000..eba3fb23ed2 --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA03T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.4 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.5 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.5 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.4 + prefixlen: 31 + subnet: 10.0.0.4/31 +- addr: 10.10.246.3 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.3 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.208 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA04T0.yml b/ansible/vars/configurations/02-ARISTA04T0.yml new file mode 100644 index 00000000000..1cc8cd5bf6d --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA04T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.38 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.39 + + +minigraph_bgp_asn: +64004 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.39 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.38 + prefixlen: 31 + subnet: 10.0.0.38/31 +- addr: 10.10.246.20 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.20 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.193 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA04T2.yml b/ansible/vars/configurations/02-ARISTA04T2.yml new file mode 100644 index 00000000000..af5d858fc0a --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA04T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.6 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.7 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.7 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.6 + prefixlen: 31 + subnet: 10.0.0.6/31 +- addr: 10.10.246.4 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.4 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.209 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA05T0.yml b/ansible/vars/configurations/02-ARISTA05T0.yml new file mode 100644 index 00000000000..5005a869eb0 --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA05T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.40 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.41 + + +minigraph_bgp_asn: +64005 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.41 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.40 + prefixlen: 31 + subnet: 10.0.0.40/31 +- addr: 10.10.246.21 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.21 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.194 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA05T2.yml b/ansible/vars/configurations/02-ARISTA05T2.yml new file mode 100644 index 00000000000..83f3434e988 --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA05T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.8 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.9 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.9 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.8 + prefixlen: 31 + subnet: 10.0.0.8/31 +- addr: 10.10.246.5 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.5 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.210 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA06T0.yml b/ansible/vars/configurations/02-ARISTA06T0.yml new file mode 100644 index 00000000000..037998301a7 --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA06T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.42 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.43 + + +minigraph_bgp_asn: +64006 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.43 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.42 + prefixlen: 31 + subnet: 10.0.0.42/31 +- addr: 10.10.246.22 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.22 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.195 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA06T2.yml b/ansible/vars/configurations/02-ARISTA06T2.yml new file mode 100644 index 00000000000..c517dc226e4 --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA06T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.10 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.11 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.11 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.10 + prefixlen: 31 + subnet: 10.0.0.10/31 +- addr: 10.10.246.6 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.6 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.211 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA07T0.yml b/ansible/vars/configurations/02-ARISTA07T0.yml new file mode 100644 index 00000000000..6c55239803d --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA07T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.44 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.45 + + +minigraph_bgp_asn: +64007 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.45 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.44 + prefixlen: 31 + subnet: 10.0.0.44/31 +- addr: 10.10.246.23 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.23 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.196 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA07T2.yml b/ansible/vars/configurations/02-ARISTA07T2.yml new file mode 100644 index 00000000000..30353d7eeac --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA07T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.12 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.13 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.13 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.12 + prefixlen: 31 + subnet: 10.0.0.12/31 +- addr: 10.10.246.7 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.7 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.212 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA08T0.yml b/ansible/vars/configurations/02-ARISTA08T0.yml new file mode 100644 index 00000000000..b0dbb405f1b --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA08T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.46 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.47 + + +minigraph_bgp_asn: +64008 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.47 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.46 + prefixlen: 31 + subnet: 10.0.0.46/31 +- addr: 10.10.246.24 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.24 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.197 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA08T2.yml b/ansible/vars/configurations/02-ARISTA08T2.yml new file mode 100644 index 00000000000..079fa222231 --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA08T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.14 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.15 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.15 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.14 + prefixlen: 31 + subnet: 10.0.0.14/31 +- addr: 10.10.246.8 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.8 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.213 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA09T0.yml b/ansible/vars/configurations/02-ARISTA09T0.yml new file mode 100644 index 00000000000..cb5c6388804 --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA09T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.48 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.49 + + +minigraph_bgp_asn: +64009 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.49 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.48 + prefixlen: 31 + subnet: 10.0.0.48/31 +- addr: 10.10.246.25 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.25 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.198 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA09T2.yml b/ansible/vars/configurations/02-ARISTA09T2.yml new file mode 100644 index 00000000000..1ba48ba74fe --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA09T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.16 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.17 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.17 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.16 + prefixlen: 31 + subnet: 10.0.0.16/31 +- addr: 10.10.246.9 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.9 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.214 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA10T0.yml b/ansible/vars/configurations/02-ARISTA10T0.yml new file mode 100644 index 00000000000..bbf1f627453 --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA10T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.50 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.51 + + +minigraph_bgp_asn: +64010 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.51 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.50 + prefixlen: 31 + subnet: 10.0.0.50/31 +- addr: 10.10.246.26 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.26 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.199 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA10T2.yml b/ansible/vars/configurations/02-ARISTA10T2.yml new file mode 100644 index 00000000000..a879a5b77fa --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA10T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.18 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.19 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.19 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.18 + prefixlen: 31 + subnet: 10.0.0.18/31 +- addr: 10.10.246.10 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.10 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.215 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA11T0.yml b/ansible/vars/configurations/02-ARISTA11T0.yml new file mode 100644 index 00000000000..f7d32f514de --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA11T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.52 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.53 + + +minigraph_bgp_asn: +64011 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.53 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.52 + prefixlen: 31 + subnet: 10.0.0.52/31 +- addr: 10.10.246.27 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.27 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.200 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA11T2.yml b/ansible/vars/configurations/02-ARISTA11T2.yml new file mode 100644 index 00000000000..4dd689e3943 --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA11T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.20 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.21 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.21 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.20 + prefixlen: 31 + subnet: 10.0.0.20/31 +- addr: 10.10.246.11 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.11 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.216 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA12T0.yml b/ansible/vars/configurations/02-ARISTA12T0.yml new file mode 100644 index 00000000000..fc010ad6f28 --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA12T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.54 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.55 + + +minigraph_bgp_asn: +64012 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.55 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.54 + prefixlen: 31 + subnet: 10.0.0.54/31 +- addr: 10.10.246.28 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.28 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.201 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA12T2.yml b/ansible/vars/configurations/02-ARISTA12T2.yml new file mode 100644 index 00000000000..83c1cfae30f --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA12T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.22 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.23 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.23 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.22 + prefixlen: 31 + subnet: 10.0.0.22/31 +- addr: 10.10.246.12 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.12 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.217 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA13T0.yml b/ansible/vars/configurations/02-ARISTA13T0.yml new file mode 100644 index 00000000000..0a26137a745 --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA13T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.56 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.57 + + +minigraph_bgp_asn: +64013 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.57 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.56 + prefixlen: 31 + subnet: 10.0.0.56/31 +- addr: 10.10.246.29 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.29 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.202 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA13T2.yml b/ansible/vars/configurations/02-ARISTA13T2.yml new file mode 100644 index 00000000000..d0827df74cc --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA13T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.24 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.25 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.25 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.24 + prefixlen: 31 + subnet: 10.0.0.24/31 +- addr: 10.10.246.13 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.13 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.218 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA14T0.yml b/ansible/vars/configurations/02-ARISTA14T0.yml new file mode 100644 index 00000000000..9a06ecec0fa --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA14T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.58 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.59 + + +minigraph_bgp_asn: +64014 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.59 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.58 + prefixlen: 31 + subnet: 10.0.0.58/31 +- addr: 10.10.246.30 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.30 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.203 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA14T2.yml b/ansible/vars/configurations/02-ARISTA14T2.yml new file mode 100644 index 00000000000..c53b055828c --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA14T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.26 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.27 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.27 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.26 + prefixlen: 31 + subnet: 10.0.0.26/31 +- addr: 10.10.246.14 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.14 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.219 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA15T0.yml b/ansible/vars/configurations/02-ARISTA15T0.yml new file mode 100644 index 00000000000..3f9ee10ca5c --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA15T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.60 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.61 + + +minigraph_bgp_asn: +64015 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.61 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.60 + prefixlen: 31 + subnet: 10.0.0.60/31 +- addr: 10.10.246.31 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.31 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.204 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA15T2.yml b/ansible/vars/configurations/02-ARISTA15T2.yml new file mode 100644 index 00000000000..8b907a21c89 --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA15T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.28 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.29 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.29 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.28 + prefixlen: 31 + subnet: 10.0.0.28/31 +- addr: 10.10.246.15 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.15 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.220 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA16T0.yml b/ansible/vars/configurations/02-ARISTA16T0.yml new file mode 100644 index 00000000000..204943397fb --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA16T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.62 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.63 + + +minigraph_bgp_asn: +64016 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.63 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.62 + prefixlen: 31 + subnet: 10.0.0.62/31 +- addr: 10.10.246.32 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.32 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.205 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/02-ARISTA16T2.yml b/ansible/vars/configurations/02-ARISTA16T2.yml new file mode 100644 index 00000000000..73d338a6156 --- /dev/null +++ b/ansible/vars/configurations/02-ARISTA16T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.30 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.31 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.31 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.30 + prefixlen: 31 + subnet: 10.0.0.30/31 +- addr: 10.10.246.16 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.16 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.221 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA01T0.yml b/ansible/vars/configurations/03-ARISTA01T0.yml new file mode 100644 index 00000000000..35cb9f399f3 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA01T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.32 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.33 + + +minigraph_bgp_asn: +64001 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.33 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.32 + prefixlen: 31 + subnet: 10.0.0.32/31 +- addr: 10.10.246.17 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.17 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.52 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA01T2.yml b/ansible/vars/configurations/03-ARISTA01T2.yml new file mode 100644 index 00000000000..c82b424899a --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA01T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.0 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.1 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.1 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.0 + prefixlen: 31 + subnet: 10.0.0.0/31 +- addr: 10.10.246.1 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.1 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.68 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA02T0.yml b/ansible/vars/configurations/03-ARISTA02T0.yml new file mode 100644 index 00000000000..c3b559fd66b --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA02T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.34 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.35 + + +minigraph_bgp_asn: +64002 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.35 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.34 + prefixlen: 31 + subnet: 10.0.0.34/31 +- addr: 10.10.246.18 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.18 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.53 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA02T2.yml b/ansible/vars/configurations/03-ARISTA02T2.yml new file mode 100644 index 00000000000..8fd9928cc33 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA02T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.2 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.3 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.3 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.2 + prefixlen: 31 + subnet: 10.0.0.2/31 +- addr: 10.10.246.2 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.2 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.69 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA03T0.yml b/ansible/vars/configurations/03-ARISTA03T0.yml new file mode 100644 index 00000000000..7cdf939f238 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA03T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.36 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.37 + + +minigraph_bgp_asn: +64003 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.37 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.36 + prefixlen: 31 + subnet: 10.0.0.36/31 +- addr: 10.10.246.19 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.19 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.54 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA03T2.yml b/ansible/vars/configurations/03-ARISTA03T2.yml new file mode 100644 index 00000000000..0062f101d16 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA03T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.4 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.5 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.5 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.4 + prefixlen: 31 + subnet: 10.0.0.4/31 +- addr: 10.10.246.3 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.3 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.70 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA04T0.yml b/ansible/vars/configurations/03-ARISTA04T0.yml new file mode 100644 index 00000000000..441f5c8ab5f --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA04T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.38 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.39 + + +minigraph_bgp_asn: +64004 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.39 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.38 + prefixlen: 31 + subnet: 10.0.0.38/31 +- addr: 10.10.246.20 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.20 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.55 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA04T2.yml b/ansible/vars/configurations/03-ARISTA04T2.yml new file mode 100644 index 00000000000..b8505d8a2ee --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA04T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.6 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.7 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.7 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.6 + prefixlen: 31 + subnet: 10.0.0.6/31 +- addr: 10.10.246.4 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.4 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.71 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA05T0.yml b/ansible/vars/configurations/03-ARISTA05T0.yml new file mode 100644 index 00000000000..e4c4e5a6f00 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA05T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.40 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.41 + + +minigraph_bgp_asn: +64005 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.41 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.40 + prefixlen: 31 + subnet: 10.0.0.40/31 +- addr: 10.10.246.21 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.21 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.56 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA05T2.yml b/ansible/vars/configurations/03-ARISTA05T2.yml new file mode 100644 index 00000000000..755b6938eba --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA05T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.8 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.9 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.9 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.8 + prefixlen: 31 + subnet: 10.0.0.8/31 +- addr: 10.10.246.5 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.5 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.72 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA06T0.yml b/ansible/vars/configurations/03-ARISTA06T0.yml new file mode 100644 index 00000000000..88582ce4d7c --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA06T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.42 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.43 + + +minigraph_bgp_asn: +64006 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.43 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.42 + prefixlen: 31 + subnet: 10.0.0.42/31 +- addr: 10.10.246.22 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.22 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.57 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA06T2.yml b/ansible/vars/configurations/03-ARISTA06T2.yml new file mode 100644 index 00000000000..a0c003a7b80 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA06T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.10 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.11 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.11 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.10 + prefixlen: 31 + subnet: 10.0.0.10/31 +- addr: 10.10.246.6 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.6 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.73 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA07T0.yml b/ansible/vars/configurations/03-ARISTA07T0.yml new file mode 100644 index 00000000000..923174a5610 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA07T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.44 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.45 + + +minigraph_bgp_asn: +64007 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.45 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.44 + prefixlen: 31 + subnet: 10.0.0.44/31 +- addr: 10.10.246.23 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.23 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.58 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA07T2.yml b/ansible/vars/configurations/03-ARISTA07T2.yml new file mode 100644 index 00000000000..187ca0f148e --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA07T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.12 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.13 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.13 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.12 + prefixlen: 31 + subnet: 10.0.0.12/31 +- addr: 10.10.246.7 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.7 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.74 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA08T0.yml b/ansible/vars/configurations/03-ARISTA08T0.yml new file mode 100644 index 00000000000..6160f4473a0 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA08T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.46 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.47 + + +minigraph_bgp_asn: +64008 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.47 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.46 + prefixlen: 31 + subnet: 10.0.0.46/31 +- addr: 10.10.246.24 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.24 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.59 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA08T2.yml b/ansible/vars/configurations/03-ARISTA08T2.yml new file mode 100644 index 00000000000..d70dc2e16c7 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA08T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.14 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.15 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.15 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.14 + prefixlen: 31 + subnet: 10.0.0.14/31 +- addr: 10.10.246.8 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.8 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.75 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA09T0.yml b/ansible/vars/configurations/03-ARISTA09T0.yml new file mode 100644 index 00000000000..2b59a9c0cc3 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA09T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.48 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.49 + + +minigraph_bgp_asn: +64009 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.49 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.48 + prefixlen: 31 + subnet: 10.0.0.48/31 +- addr: 10.10.246.25 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.25 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.60 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA09T2.yml b/ansible/vars/configurations/03-ARISTA09T2.yml new file mode 100644 index 00000000000..54f9cf0c22b --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA09T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.16 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.17 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.17 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.16 + prefixlen: 31 + subnet: 10.0.0.16/31 +- addr: 10.10.246.9 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.9 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.76 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA10T0.yml b/ansible/vars/configurations/03-ARISTA10T0.yml new file mode 100644 index 00000000000..4520617e53a --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA10T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.50 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.51 + + +minigraph_bgp_asn: +64010 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.51 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.50 + prefixlen: 31 + subnet: 10.0.0.50/31 +- addr: 10.10.246.26 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.26 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.61 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA10T2.yml b/ansible/vars/configurations/03-ARISTA10T2.yml new file mode 100644 index 00000000000..c33705e3319 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA10T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.18 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.19 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.19 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.18 + prefixlen: 31 + subnet: 10.0.0.18/31 +- addr: 10.10.246.10 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.10 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.77 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA11T0.yml b/ansible/vars/configurations/03-ARISTA11T0.yml new file mode 100644 index 00000000000..8f01456d994 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA11T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.52 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.53 + + +minigraph_bgp_asn: +64011 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.53 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.52 + prefixlen: 31 + subnet: 10.0.0.52/31 +- addr: 10.10.246.27 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.27 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.62 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA11T2.yml b/ansible/vars/configurations/03-ARISTA11T2.yml new file mode 100644 index 00000000000..d2453bff764 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA11T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.20 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.21 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.21 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.20 + prefixlen: 31 + subnet: 10.0.0.20/31 +- addr: 10.10.246.11 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.11 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.78 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA12T0.yml b/ansible/vars/configurations/03-ARISTA12T0.yml new file mode 100644 index 00000000000..481223bf7a1 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA12T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.54 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.55 + + +minigraph_bgp_asn: +64012 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.55 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.54 + prefixlen: 31 + subnet: 10.0.0.54/31 +- addr: 10.10.246.28 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.28 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.63 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA12T2.yml b/ansible/vars/configurations/03-ARISTA12T2.yml new file mode 100644 index 00000000000..22b5fa929e7 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA12T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.22 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.23 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.23 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.22 + prefixlen: 31 + subnet: 10.0.0.22/31 +- addr: 10.10.246.12 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.12 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.79 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA13T0.yml b/ansible/vars/configurations/03-ARISTA13T0.yml new file mode 100644 index 00000000000..f371123ec99 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA13T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.56 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.57 + + +minigraph_bgp_asn: +64013 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.57 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.56 + prefixlen: 31 + subnet: 10.0.0.56/31 +- addr: 10.10.246.29 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.29 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.64 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA13T2.yml b/ansible/vars/configurations/03-ARISTA13T2.yml new file mode 100644 index 00000000000..2ebd7c167f5 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA13T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.24 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.25 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.25 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.24 + prefixlen: 31 + subnet: 10.0.0.24/31 +- addr: 10.10.246.13 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.13 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.80 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA14T0.yml b/ansible/vars/configurations/03-ARISTA14T0.yml new file mode 100644 index 00000000000..5417bffc67a --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA14T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.58 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.59 + + +minigraph_bgp_asn: +64014 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.59 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.58 + prefixlen: 31 + subnet: 10.0.0.58/31 +- addr: 10.10.246.30 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.30 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.65 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA14T2.yml b/ansible/vars/configurations/03-ARISTA14T2.yml new file mode 100644 index 00000000000..e1936860b26 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA14T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.26 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.27 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.27 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.26 + prefixlen: 31 + subnet: 10.0.0.26/31 +- addr: 10.10.246.14 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.14 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.81 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA15T0.yml b/ansible/vars/configurations/03-ARISTA15T0.yml new file mode 100644 index 00000000000..097c22c11e4 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA15T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.60 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.61 + + +minigraph_bgp_asn: +64015 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.61 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.60 + prefixlen: 31 + subnet: 10.0.0.60/31 +- addr: 10.10.246.31 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.31 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.66 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA15T2.yml b/ansible/vars/configurations/03-ARISTA15T2.yml new file mode 100644 index 00000000000..ad6d7514f51 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA15T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.28 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.29 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.29 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.28 + prefixlen: 31 + subnet: 10.0.0.28/31 +- addr: 10.10.246.15 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.15 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.82 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA16T0.yml b/ansible/vars/configurations/03-ARISTA16T0.yml new file mode 100644 index 00000000000..c41ed7e6c64 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA16T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.62 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.63 + + +minigraph_bgp_asn: +64016 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.63 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.62 + prefixlen: 31 + subnet: 10.0.0.62/31 +- addr: 10.10.246.32 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.32 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.67 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/03-ARISTA16T2.yml b/ansible/vars/configurations/03-ARISTA16T2.yml new file mode 100644 index 00000000000..56aace7e6c1 --- /dev/null +++ b/ansible/vars/configurations/03-ARISTA16T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.30 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.31 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.31 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.30 + prefixlen: 31 + subnet: 10.0.0.30/31 +- addr: 10.10.246.16 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.16 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.83 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA01T0.yml b/ansible/vars/configurations/04-ARISTA01T0.yml new file mode 100644 index 00000000000..e4833d1b8ba --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA01T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.32 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.33 + + +minigraph_bgp_asn: +64001 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.33 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.32 + prefixlen: 31 + subnet: 10.0.0.32/31 +- addr: 10.10.246.17 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.17 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.84 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA01T2.yml b/ansible/vars/configurations/04-ARISTA01T2.yml new file mode 100644 index 00000000000..21dbc4b6e84 --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA01T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.0 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.1 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.1 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.0 + prefixlen: 31 + subnet: 10.0.0.0/31 +- addr: 10.10.246.1 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.1 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.108 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA02T0.yml b/ansible/vars/configurations/04-ARISTA02T0.yml new file mode 100644 index 00000000000..26c3ba392cf --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA02T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.34 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.35 + + +minigraph_bgp_asn: +64002 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.35 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.34 + prefixlen: 31 + subnet: 10.0.0.34/31 +- addr: 10.10.246.18 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.18 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.85 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA02T2.yml b/ansible/vars/configurations/04-ARISTA02T2.yml new file mode 100644 index 00000000000..577d70dec6b --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA02T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.2 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.3 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.3 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.2 + prefixlen: 31 + subnet: 10.0.0.2/31 +- addr: 10.10.246.2 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.2 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.109 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA03T0.yml b/ansible/vars/configurations/04-ARISTA03T0.yml new file mode 100644 index 00000000000..d9d3d684864 --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA03T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.36 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.37 + + +minigraph_bgp_asn: +64003 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.37 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.36 + prefixlen: 31 + subnet: 10.0.0.36/31 +- addr: 10.10.246.19 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.19 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.86 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA03T2.yml b/ansible/vars/configurations/04-ARISTA03T2.yml new file mode 100644 index 00000000000..df328f662a6 --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA03T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.4 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.5 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.5 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.4 + prefixlen: 31 + subnet: 10.0.0.4/31 +- addr: 10.10.246.3 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.3 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.114 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA04T0.yml b/ansible/vars/configurations/04-ARISTA04T0.yml new file mode 100644 index 00000000000..e8f20b6d602 --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA04T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.38 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.39 + + +minigraph_bgp_asn: +64004 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.39 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.38 + prefixlen: 31 + subnet: 10.0.0.38/31 +- addr: 10.10.246.20 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.20 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.87 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA04T2.yml b/ansible/vars/configurations/04-ARISTA04T2.yml new file mode 100644 index 00000000000..dc16d22897d --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA04T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.6 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.7 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.7 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.6 + prefixlen: 31 + subnet: 10.0.0.6/31 +- addr: 10.10.246.4 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.4 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.115 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA05T0.yml b/ansible/vars/configurations/04-ARISTA05T0.yml new file mode 100644 index 00000000000..40cfc658ed7 --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA05T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.40 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.41 + + +minigraph_bgp_asn: +64005 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.41 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.40 + prefixlen: 31 + subnet: 10.0.0.40/31 +- addr: 10.10.246.21 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.21 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.88 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA05T2.yml b/ansible/vars/configurations/04-ARISTA05T2.yml new file mode 100644 index 00000000000..589bdf50d03 --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA05T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.8 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.9 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.9 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.8 + prefixlen: 31 + subnet: 10.0.0.8/31 +- addr: 10.10.246.5 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.5 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.116 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA06T0.yml b/ansible/vars/configurations/04-ARISTA06T0.yml new file mode 100644 index 00000000000..91533e54c59 --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA06T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.42 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.43 + + +minigraph_bgp_asn: +64006 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.43 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.42 + prefixlen: 31 + subnet: 10.0.0.42/31 +- addr: 10.10.246.22 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.22 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.89 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA06T2.yml b/ansible/vars/configurations/04-ARISTA06T2.yml new file mode 100644 index 00000000000..fc78a66a040 --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA06T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.10 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.11 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.11 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.10 + prefixlen: 31 + subnet: 10.0.0.10/31 +- addr: 10.10.246.6 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.6 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.117 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA07T0.yml b/ansible/vars/configurations/04-ARISTA07T0.yml new file mode 100644 index 00000000000..6bc1f173bc8 --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA07T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.44 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.45 + + +minigraph_bgp_asn: +64007 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.45 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.44 + prefixlen: 31 + subnet: 10.0.0.44/31 +- addr: 10.10.246.23 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.23 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.90 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA07T2.yml b/ansible/vars/configurations/04-ARISTA07T2.yml new file mode 100644 index 00000000000..3b6afa218fd --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA07T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.12 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.13 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.13 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.12 + prefixlen: 31 + subnet: 10.0.0.12/31 +- addr: 10.10.246.7 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.7 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.118 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA08T0.yml b/ansible/vars/configurations/04-ARISTA08T0.yml new file mode 100644 index 00000000000..a50e3ebea7f --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA08T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.46 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.47 + + +minigraph_bgp_asn: +64008 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.47 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.46 + prefixlen: 31 + subnet: 10.0.0.46/31 +- addr: 10.10.246.24 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.24 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.92 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA08T2.yml b/ansible/vars/configurations/04-ARISTA08T2.yml new file mode 100644 index 00000000000..16a560b0e2d --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA08T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.14 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.15 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.15 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.14 + prefixlen: 31 + subnet: 10.0.0.14/31 +- addr: 10.10.246.8 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.8 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.119 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA09T0.yml b/ansible/vars/configurations/04-ARISTA09T0.yml new file mode 100644 index 00000000000..f6781857ce9 --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA09T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.48 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.49 + + +minigraph_bgp_asn: +64009 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.49 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.48 + prefixlen: 31 + subnet: 10.0.0.48/31 +- addr: 10.10.246.25 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.25 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.93 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA09T2.yml b/ansible/vars/configurations/04-ARISTA09T2.yml new file mode 100644 index 00000000000..8a479c59fcc --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA09T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.16 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.17 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.17 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.16 + prefixlen: 31 + subnet: 10.0.0.16/31 +- addr: 10.10.246.9 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.9 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.120 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA10T0.yml b/ansible/vars/configurations/04-ARISTA10T0.yml new file mode 100644 index 00000000000..1e0b9551d72 --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA10T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.50 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.51 + + +minigraph_bgp_asn: +64010 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.51 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.50 + prefixlen: 31 + subnet: 10.0.0.50/31 +- addr: 10.10.246.26 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.26 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.94 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA10T2.yml b/ansible/vars/configurations/04-ARISTA10T2.yml new file mode 100644 index 00000000000..bd54de4bc95 --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA10T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.18 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.19 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.19 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.18 + prefixlen: 31 + subnet: 10.0.0.18/31 +- addr: 10.10.246.10 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.10 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.121 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA11T0.yml b/ansible/vars/configurations/04-ARISTA11T0.yml new file mode 100644 index 00000000000..51e97db21b8 --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA11T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.52 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.53 + + +minigraph_bgp_asn: +64011 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.53 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.52 + prefixlen: 31 + subnet: 10.0.0.52/31 +- addr: 10.10.246.27 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.27 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.95 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA11T2.yml b/ansible/vars/configurations/04-ARISTA11T2.yml new file mode 100644 index 00000000000..67f5fedcf90 --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA11T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.20 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.21 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.21 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.20 + prefixlen: 31 + subnet: 10.0.0.20/31 +- addr: 10.10.246.11 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.11 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.122 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA12T0.yml b/ansible/vars/configurations/04-ARISTA12T0.yml new file mode 100644 index 00000000000..9c62d04489f --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA12T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.54 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.55 + + +minigraph_bgp_asn: +64012 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.55 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.54 + prefixlen: 31 + subnet: 10.0.0.54/31 +- addr: 10.10.246.28 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.28 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.96 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA12T2.yml b/ansible/vars/configurations/04-ARISTA12T2.yml new file mode 100644 index 00000000000..5e3e3044d93 --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA12T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.22 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.23 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.23 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.22 + prefixlen: 31 + subnet: 10.0.0.22/31 +- addr: 10.10.246.12 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.12 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.123 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA13T0.yml b/ansible/vars/configurations/04-ARISTA13T0.yml new file mode 100644 index 00000000000..2b8ee80269d --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA13T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.56 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.57 + + +minigraph_bgp_asn: +64013 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.57 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.56 + prefixlen: 31 + subnet: 10.0.0.56/31 +- addr: 10.10.246.29 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.29 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.97 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA13T2.yml b/ansible/vars/configurations/04-ARISTA13T2.yml new file mode 100644 index 00000000000..8a75206c5f1 --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA13T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.24 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.25 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.25 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.24 + prefixlen: 31 + subnet: 10.0.0.24/31 +- addr: 10.10.246.13 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.13 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.124 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA14T0.yml b/ansible/vars/configurations/04-ARISTA14T0.yml new file mode 100644 index 00000000000..c1a506e809f --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA14T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.58 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.59 + + +minigraph_bgp_asn: +64014 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.59 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.58 + prefixlen: 31 + subnet: 10.0.0.58/31 +- addr: 10.10.246.30 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.30 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.98 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA14T2.yml b/ansible/vars/configurations/04-ARISTA14T2.yml new file mode 100644 index 00000000000..26df199ca21 --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA14T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.26 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.27 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.27 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.26 + prefixlen: 31 + subnet: 10.0.0.26/31 +- addr: 10.10.246.14 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.14 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.125 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA15T0.yml b/ansible/vars/configurations/04-ARISTA15T0.yml new file mode 100644 index 00000000000..9b8cacf3a83 --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA15T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.60 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.61 + + +minigraph_bgp_asn: +64015 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.61 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.60 + prefixlen: 31 + subnet: 10.0.0.60/31 +- addr: 10.10.246.31 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.31 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.99 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA15T2.yml b/ansible/vars/configurations/04-ARISTA15T2.yml new file mode 100644 index 00000000000..a0988d37364 --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA15T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.28 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.29 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.29 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.28 + prefixlen: 31 + subnet: 10.0.0.28/31 +- addr: 10.10.246.15 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.15 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.146 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA16T0.yml b/ansible/vars/configurations/04-ARISTA16T0.yml new file mode 100644 index 00000000000..9b45b08ca16 --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA16T0.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.62 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.63 + + +minigraph_bgp_asn: +64016 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.63 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.62 + prefixlen: 31 + subnet: 10.0.0.62/31 +- addr: 10.10.246.32 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.32 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.107 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/vars/configurations/04-ARISTA16T2.yml b/ansible/vars/configurations/04-ARISTA16T2.yml new file mode 100644 index 00000000000..d821189bf74 --- /dev/null +++ b/ansible/vars/configurations/04-ARISTA16T2.yml @@ -0,0 +1,78 @@ +minigraph_bgp: +- addr: 10.0.0.30 + asn: 65100 + name: str-s6000-on-3 + peer_addr: 10.0.0.31 + + +minigraph_bgp_asn: +65200 +... + + +minigraph_console: +{} + + +minigraph_devices: +{} + + +minigraph_hwsku: +Arista-VEOS +... + + +minigraph_interfaces: +- addr: 10.0.0.31 + alias: Ethernet1 + family: inet + mask: 255.255.255.254 + name: Ethernet1 + peer_addr: 10.0.0.30 + prefixlen: 31 + subnet: 10.0.0.30/31 +- addr: 10.10.246.16 + alias: Ethernet2 + family: inet + mask: 255.255.255.0 + name: Ethernet2 + prefixlen: 24 + subnet: 10.10.246.0/24 + + +minigraph_lo_interfaces: +- addr: 100.1.0.16 + family: inet + mask: 255.255.255.255 + name: Loopback0 + prefixlen: 32 + + +minigraph_mgmt_interface: +addr: 10.255.0.147 +gwaddr: 10.255.0.1 +mask: 255.255.255.0 +prefixlen: '24' + + +minigraph_neighbors: +{} + + +minigraph_portchannel_interfaces: +[] + + +minigraph_underlay_devices: +null +... + + +minigraph_underlay_neighbors: +null +... + + +minigraph_vlan_interfaces: +[] diff --git a/ansible/veos b/ansible/veos new file mode 100644 index 00000000000..a763a4d45b8 --- /dev/null +++ b/ansible/veos @@ -0,0 +1,204 @@ +[vm_host_1] +SERV-01 ansible_host=10.250.0.245 + +[vm_host_2] +SERV-02 ansible_host=10.250.0.246 + +[vm_host:children] +vm_host_1 +vm_host_2 + +[spine_1] +10.255.0.238 hostname=ARISTA01T2 filename=01-ARISTA01T2.yml +10.255.0.239 hostname=ARISTA02T2 filename=01-ARISTA02T2.yml +10.255.0.240 hostname=ARISTA03T2 filename=01-ARISTA03T2.yml +10.255.0.241 hostname=ARISTA04T2 filename=01-ARISTA04T2.yml +10.255.0.242 hostname=ARISTA05T2 filename=01-ARISTA05T2.yml +10.255.0.243 hostname=ARISTA06T2 filename=01-ARISTA06T2.yml +10.255.0.244 hostname=ARISTA07T2 filename=01-ARISTA07T2.yml +10.255.0.245 hostname=ARISTA08T2 filename=01-ARISTA08T2.yml +10.255.0.246 hostname=ARISTA09T2 filename=01-ARISTA09T2.yml +10.255.0.247 hostname=ARISTA10T2 filename=01-ARISTA10T2.yml +10.255.0.248 hostname=ARISTA11T2 filename=01-ARISTA11T2.yml +10.255.0.249 hostname=ARISTA12T2 filename=01-ARISTA12T2.yml +10.255.0.250 hostname=ARISTA13T2 filename=01-ARISTA13T2.yml +10.255.0.251 hostname=ARISTA14T2 filename=01-ARISTA14T2.yml +10.255.0.252 hostname=ARISTA15T2 filename=01-ARISTA15T2.yml +10.255.0.253 hostname=ARISTA16T2 filename=01-ARISTA16T2.yml + +[spine_2] +10.255.0.206 hostname=ARISTA01T2 filename=02-ARISTA01T2.yml +10.255.0.207 hostname=ARISTA02T2 filename=02-ARISTA02T2.yml +10.255.0.208 hostname=ARISTA03T2 filename=02-ARISTA03T2.yml +10.255.0.209 hostname=ARISTA04T2 filename=02-ARISTA04T2.yml +10.255.0.210 hostname=ARISTA05T2 filename=02-ARISTA05T2.yml +10.255.0.211 hostname=ARISTA06T2 filename=02-ARISTA06T2.yml +10.255.0.212 hostname=ARISTA07T2 filename=02-ARISTA07T2.yml +10.255.0.213 hostname=ARISTA08T2 filename=02-ARISTA08T2.yml +10.255.0.214 hostname=ARISTA09T2 filename=02-ARISTA09T2.yml +10.255.0.215 hostname=ARISTA10T2 filename=02-ARISTA10T2.yml +10.255.0.216 hostname=ARISTA11T2 filename=02-ARISTA11T2.yml +10.255.0.217 hostname=ARISTA12T2 filename=02-ARISTA12T2.yml +10.255.0.218 hostname=ARISTA13T2 filename=02-ARISTA13T2.yml +10.255.0.219 hostname=ARISTA14T2 filename=02-ARISTA14T2.yml +10.255.0.220 hostname=ARISTA15T2 filename=02-ARISTA15T2.yml +10.255.0.221 hostname=ARISTA16T2 filename=02-ARISTA16T2.yml + +[spine_3] +10.255.0.68 hostname=ARISTA01T2 filename=03-ARISTA01T2.yml +10.255.0.69 hostname=ARISTA02T2 filename=03-ARISTA02T2.yml +10.255.0.70 hostname=ARISTA03T2 filename=03-ARISTA03T2.yml +10.255.0.71 hostname=ARISTA04T2 filename=03-ARISTA04T2.yml +10.255.0.72 hostname=ARISTA05T2 filename=03-ARISTA05T2.yml +10.255.0.73 hostname=ARISTA06T2 filename=03-ARISTA06T2.yml +10.255.0.74 hostname=ARISTA07T2 filename=03-ARISTA07T2.yml +10.255.0.75 hostname=ARISTA08T2 filename=03-ARISTA08T2.yml +10.255.0.76 hostname=ARISTA09T2 filename=03-ARISTA09T2.yml +10.255.0.77 hostname=ARISTA10T2 filename=03-ARISTA10T2.yml +10.255.0.78 hostname=ARISTA11T2 filename=03-ARISTA11T2.yml +10.255.0.79 hostname=ARISTA12T2 filename=03-ARISTA12T2.yml +10.255.0.80 hostname=ARISTA13T2 filename=03-ARISTA13T2.yml +10.255.0.81 hostname=ARISTA14T2 filename=03-ARISTA14T2.yml +10.255.0.82 hostname=ARISTA15T2 filename=03-ARISTA15T2.yml +10.255.0.83 hostname=ARISTA16T2 filename=03-ARISTA16T2.yml + +[spine_4] +10.255.0.108 hostname=ARISTA01T2 filename=04-ARISTA01T2.yml +10.255.0.109 hostname=ARISTA02T2 filename=04-ARISTA02T2.yml +10.255.0.114 hostname=ARISTA03T2 filename=04-ARISTA03T2.yml +10.255.0.115 hostname=ARISTA04T2 filename=04-ARISTA04T2.yml +10.255.0.116 hostname=ARISTA05T2 filename=04-ARISTA05T2.yml +10.255.0.117 hostname=ARISTA06T2 filename=04-ARISTA06T2.yml +10.255.0.118 hostname=ARISTA07T2 filename=04-ARISTA07T2.yml +10.255.0.119 hostname=ARISTA08T2 filename=04-ARISTA08T2.yml +10.255.0.120 hostname=ARISTA09T2 filename=04-ARISTA09T2.yml +10.255.0.121 hostname=ARISTA10T2 filename=04-ARISTA10T2.yml +10.255.0.122 hostname=ARISTA11T2 filename=04-ARISTA11T2.yml +10.255.0.123 hostname=ARISTA12T2 filename=04-ARISTA12T2.yml +10.255.0.124 hostname=ARISTA13T2 filename=04-ARISTA13T2.yml +10.255.0.125 hostname=ARISTA14T2 filename=04-ARISTA14T2.yml +10.255.0.146 hostname=ARISTA15T2 filename=04-ARISTA15T2.yml +10.255.0.147 hostname=ARISTA16T2 filename=04-ARISTA16T2.yml + +[spine:children] +spine_1 +spine_2 +spine_3 +spine_4 + +[spine:vars] +swrole=spine +podset_number=200 +tor_number=16 +tor_subnet_number=2 +leaf_asn_start=62001 +tor_asn_start=65501 +failure_rate=0 + +[tor_1] +10.255.0.222 hostname=ARISTA01T0 filename=01-ARISTA01T0.yml tornum=1 +10.255.0.223 hostname=ARISTA02T0 filename=01-ARISTA02T0.yml tornum=2 +10.255.0.224 hostname=ARISTA03T0 filename=01-ARISTA03T0.yml tornum=3 +10.255.0.225 hostname=ARISTA04T0 filename=01-ARISTA04T0.yml tornum=4 +10.255.0.226 hostname=ARISTA05T0 filename=01-ARISTA05T0.yml tornum=5 +10.255.0.227 hostname=ARISTA06T0 filename=01-ARISTA06T0.yml tornum=6 +10.255.0.228 hostname=ARISTA07T0 filename=01-ARISTA07T0.yml tornum=7 +10.255.0.229 hostname=ARISTA08T0 filename=01-ARISTA08T0.yml tornum=8 +10.255.0.230 hostname=ARISTA09T0 filename=01-ARISTA09T0.yml tornum=9 +10.255.0.231 hostname=ARISTA10T0 filename=01-ARISTA10T0.yml tornum=10 +10.255.0.232 hostname=ARISTA11T0 filename=01-ARISTA11T0.yml tornum=11 +10.255.0.233 hostname=ARISTA12T0 filename=01-ARISTA12T0.yml tornum=12 +10.255.0.234 hostname=ARISTA13T0 filename=01-ARISTA13T0.yml tornum=13 +10.255.0.235 hostname=ARISTA14T0 filename=01-ARISTA14T0.yml tornum=14 +10.255.0.236 hostname=ARISTA15T0 filename=01-ARISTA15T0.yml tornum=15 +10.255.0.237 hostname=ARISTA16T0 filename=01-ARISTA16T0.yml tornum=16 + +[tor_2] +10.255.0.190 hostname=ARISTA01T0 filename=02-ARISTA01T0.yml tornum=1 +10.255.0.191 hostname=ARISTA02T0 filename=02-ARISTA02T0.yml tornum=2 +10.255.0.192 hostname=ARISTA03T0 filename=02-ARISTA03T0.yml tornum=3 +10.255.0.193 hostname=ARISTA04T0 filename=02-ARISTA04T0.yml tornum=4 +10.255.0.194 hostname=ARISTA05T0 filename=02-ARISTA05T0.yml tornum=5 +10.255.0.195 hostname=ARISTA06T0 filename=02-ARISTA06T0.yml tornum=6 +10.255.0.196 hostname=ARISTA07T0 filename=02-ARISTA07T0.yml tornum=7 +10.255.0.197 hostname=ARISTA08T0 filename=02-ARISTA08T0.yml tornum=8 +10.255.0.198 hostname=ARISTA09T0 filename=02-ARISTA09T0.yml tornum=9 +10.255.0.199 hostname=ARISTA10T0 filename=02-ARISTA10T0.yml tornum=10 +10.255.0.200 hostname=ARISTA11T0 filename=02-ARISTA11T0.yml tornum=11 +10.255.0.201 hostname=ARISTA12T0 filename=02-ARISTA12T0.yml tornum=12 +10.255.0.202 hostname=ARISTA13T0 filename=02-ARISTA13T0.yml tornum=13 +10.255.0.203 hostname=ARISTA14T0 filename=02-ARISTA14T0.yml tornum=14 +10.255.0.204 hostname=ARISTA15T0 filename=02-ARISTA15T0.yml tornum=15 +10.255.0.205 hostname=ARISTA16T0 filename=02-ARISTA16T0.yml tornum=16 + +[tor_3] +10.255.0.52 hostname=ARISTA01T0 filename=03-ARISTA01T0.yml tornum=1 +10.255.0.53 hostname=ARISTA02T0 filename=03-ARISTA02T0.yml tornum=2 +10.255.0.54 hostname=ARISTA03T0 filename=03-ARISTA03T0.yml tornum=3 +10.255.0.55 hostname=ARISTA04T0 filename=03-ARISTA04T0.yml tornum=4 +10.255.0.56 hostname=ARISTA05T0 filename=03-ARISTA05T0.yml tornum=5 +10.255.0.57 hostname=ARISTA06T0 filename=03-ARISTA06T0.yml tornum=6 +10.255.0.58 hostname=ARISTA07T0 filename=03-ARISTA07T0.yml tornum=7 +10.255.0.59 hostname=ARISTA08T0 filename=03-ARISTA08T0.yml tornum=8 +10.255.0.60 hostname=ARISTA09T0 filename=03-ARISTA09T0.yml tornum=9 +10.255.0.61 hostname=ARISTA10T0 filename=03-ARISTA10T0.yml tornum=10 +10.255.0.62 hostname=ARISTA11T0 filename=03-ARISTA11T0.yml tornum=11 +10.255.0.63 hostname=ARISTA12T0 filename=03-ARISTA12T0.yml tornum=12 +10.255.0.64 hostname=ARISTA13T0 filename=03-ARISTA13T0.yml tornum=13 +10.255.0.65 hostname=ARISTA14T0 filename=03-ARISTA14T0.yml tornum=14 +10.255.0.66 hostname=ARISTA15T0 filename=03-ARISTA15T0.yml tornum=15 +10.255.0.67 hostname=ARISTA16T0 filename=03-ARISTA16T0.yml tornum=16 + +[tor_4] +10.255.0.84 hostname=ARISTA01T0 filename=04-ARISTA01T0.yml tornum=1 +10.255.0.85 hostname=ARISTA02T0 filename=04-ARISTA02T0.yml tornum=2 +10.255.0.86 hostname=ARISTA03T0 filename=04-ARISTA03T0.yml tornum=3 +10.255.0.87 hostname=ARISTA04T0 filename=04-ARISTA04T0.yml tornum=4 +10.255.0.88 hostname=ARISTA05T0 filename=04-ARISTA05T0.yml tornum=5 +10.255.0.89 hostname=ARISTA06T0 filename=04-ARISTA06T0.yml tornum=6 +10.255.0.90 hostname=ARISTA07T0 filename=04-ARISTA07T0.yml tornum=7 +10.255.0.92 hostname=ARISTA08T0 filename=04-ARISTA08T0.yml tornum=8 +10.255.0.93 hostname=ARISTA09T0 filename=04-ARISTA09T0.yml tornum=9 +10.255.0.94 hostname=ARISTA10T0 filename=04-ARISTA10T0.yml tornum=10 +10.255.0.95 hostname=ARISTA11T0 filename=04-ARISTA11T0.yml tornum=11 +10.255.0.96 hostname=ARISTA12T0 filename=04-ARISTA12T0.yml tornum=12 +10.255.0.97 hostname=ARISTA13T0 filename=04-ARISTA13T0.yml tornum=13 +10.255.0.98 hostname=ARISTA14T0 filename=04-ARISTA14T0.yml tornum=14 +10.255.0.99 hostname=ARISTA15T0 filename=04-ARISTA15T0.yml tornum=15 +10.255.0.107 hostname=ARISTA16T0 filename=04-ARISTA16T0.yml tornum=16 + +[tor:children] +tor_1 +tor_2 +tor_3 +tor_4 + +[tor:vars] +swrole=tor +tor_subnet_number=5 + +[eos:children] +spine +tor + +[eos:vars] +nhip=10.10.246.100 + +## The groups below are helper to limit running playbooks to server_1 or server_2 only +[server_1:children] +vm_host_1 +tor_1 +tor_3 +spine_1 +spine_3 + +[server_2:children] +vm_host_2 +tor_2 +tor_4 +spine_2 +spine_4 + +[servers:children] +server_1 +server_2