Skip to content

add t0-52 topology #476

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ansible/roles/eos/templates/t0-52-leaf.j2
12 changes: 10 additions & 2 deletions ansible/testbed_add_vm_topology.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@

- name: Check that variable topo is defined
fail: msg="Define topo variable with -e topo=something"
when: topo is not defined or topo not in topologies
when: topo is not defined

- name: Check if it is a known topology
fail: msg="Unknown topology {{ topo }}"
when: topo not in topologies

- name: Check that variable ptf_imagename is defined
fail: msg="Define ptf_imagename variable with -e ptf_imagename=something"
Expand All @@ -77,7 +81,11 @@
pre_tasks:
- name: Check that variable topo is defined
fail: msg="Define topo variable with -e topo=something"
when: topo is not defined or topo not in topologies
when: topo is not defined

- name: Check if it is a known topology
fail: msg="Unknown topology {{ topo }}"
when: topo not in topologies

- name: Check that variable VM_base is defined
fail: msg="Define VM_base variable with -e VM_base=something"
Expand Down
171 changes: 171 additions & 0 deletions ansible/vars/topo_t0-52.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
topology:
host_interfaces:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
VMs:
ARISTA01T1:
vlans:
- 48
vm_offset: 0
ARISTA02T1:
vlans:
- 49
vm_offset: 1
ARISTA03T1:
vlans:
- 50
vm_offset: 2
ARISTA04T1:
vlans:
- 51
vm_offset: 3

configuration_properties:
common:
swrole: leaf
podset_number: 200
tor_number: 16
tor_subnet_number: 2
max_tor_subnet_number: 16
tor_subnet_size: 64
spine_asn: 65534
leaf_asn_start: 64600
tor_asn_start: 65100
failure_rate: 0
nhipv4: 10.10.246.100
nhipv6: FC0A::C9

configuration:
ARISTA01T1:
properties:
- common
bgp:
asn: 64600
peers:
65100:
- 10.0.0.56
- FC00::71
interfaces:
Loopback0:
ipv4: 100.1.0.29/32
ipv6: 2064:100::1d/128
Ethernet1:
lacp: 1
Port-Channel1:
ipv4: 10.0.0.57/31
ipv6: fc00::72/126
bp_interface:
ipv4: 10.10.246.29/24
ipv6: fc0a::3a/64

ARISTA02T1:
properties:
- common
bgp:
asn: 64600
peers:
65100:
- 10.0.0.58
- FC00::75
interfaces:
Loopback0:
ipv4: 100.1.0.30/32
ipv6: 2064:100::1e/128
Ethernet1:
lacp: 1
Port-Channel1:
ipv4: 10.0.0.59/31
ipv6: fc00::76/126
bp_interface:
ipv4: 10.10.246.30/24
ipv6: fc0a::3d/64

ARISTA03T1:
properties:
- common
bgp:
asn: 64600
peers:
65100:
- 10.0.0.60
- FC00::79
interfaces:
Loopback0:
ipv4: 100.1.0.31/32
ipv6: 2064:100::1f/128
Ethernet1:
lacp: 1
Port-Channel1:
ipv4: 10.0.0.61/31
ipv6: fc00::7a/126
bp_interface:
ipv4: 10.10.246.31/24
ipv6: fc0a::3e/64

ARISTA04T1:
properties:
- common
bgp:
asn: 64600
peers:
65100:
- 10.0.0.62
- FC00::7D
interfaces:
Loopback0:
ipv4: 100.1.0.32/32
ipv6: 2064:100::20/128
Ethernet1:
lacp: 1
Port-Channel1:
ipv4: 10.0.0.63/31
ipv6: fc00::7e/126
bp_interface:
ipv4: 10.10.246.32/24
ipv6: fc0a::41/64
2 changes: 1 addition & 1 deletion ansible/veos
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ server_1
server_2

[servers:vars]
topologies=['t1', 't1-lag', 't1-64-lag', 't0', 'ptf32', 'ptf64', 't0-64', 't0-64-32', 't0-116']
topologies=['t1', 't1-lag', 't1-64-lag', 't0', 't0-52', 'ptf32', 'ptf64', 't0-64', 't0-64-32', 't0-116']