From 9cc556e02502785951e300561b686c0f76a3bf6a Mon Sep 17 00:00:00 2001 From: Hrachya Mughnetsyan Date: Wed, 11 Jan 2017 15:27:04 -0800 Subject: [PATCH] [minigraph][LAG] Add LAG minigraph for Mellanox msn-2700 platform * new minigraph file for Mellanox platform * fix minigraph_facts.py to handle Mellanox msn-2700 signed-off-by hrachya@mellanox.com --- ansible/inventory | 2 + ansible/minigraph/switch5.xml | 916 ++++++++++++++++++++++++++++++++++ 2 files changed, 918 insertions(+) create mode 100644 ansible/minigraph/switch5.xml diff --git a/ansible/inventory b/ansible/inventory index e77450603ad..5aef1e9d1be 100644 --- a/ansible/inventory +++ b/ansible/inventory @@ -3,12 +3,14 @@ switch1 ansible_host=10.0.0.100 sonic_version=v2 sonic_hwsku=ACS-S6000 switch2 ansible_host=10.0.0.101 sonic_version=v2 sonic_hwsku=ACS-MSN2700 switch3 ansible_host=10.0.0.102 sonic_version=v2 sonic_hwsku=ACS-S6000 # LAG topo: 8 LAGs x 2 members/lag to spines; 16 ports to Tors switch4 ansible_host=10.0.0.103 sonic_version=v2 sonic_hwsku=AS7512 sonic_portsku=32x40 +switch5 ansible_host=10.0.0.104 sonic_version=v2 sonic_hwsku=ACS-MSN2700 # Minigraph targeted for MLNX platforms. LAG topo: 8 LAGs x 2 members/lag to spines; 16 ports to Tors [sonic:children] sonic_latest [leaf_topo_1] switch1 +switch5 [ptf] ptf-1 ansible_host=10.0.0.200 ansible_ssh_user=root ansible_ssh_pass=password diff --git a/ansible/minigraph/switch5.xml b/ansible/minigraph/switch5.xml new file mode 100644 index 00000000000..5c208629249 --- /dev/null +++ b/ansible/minigraph/switch5.xml @@ -0,0 +1,916 @@ + + + + + + ARISTA01T0 + 10.0.0.33 + switch5 + 10.0.0.32 + 1 + 180 + 60 + + + switch5 + 10.0.0.0 + ARISTA01T2 + 10.0.0.1 + 1 + 180 + 60 + + + ARISTA02T0 + 10.0.0.35 + switch5 + 10.0.0.34 + 1 + 180 + 60 + + + ARISTA03T0 + 10.0.0.37 + switch5 + 10.0.0.36 + 1 + 180 + 60 + + + switch5 + 10.0.0.4 + ARISTA03T2 + 10.0.0.5 + 1 + 180 + 60 + + + ARISTA04T0 + 10.0.0.39 + switch5 + 10.0.0.38 + 1 + 180 + 60 + + + ARISTA05T0 + 10.0.0.41 + switch5 + 10.0.0.40 + 1 + 180 + 60 + + + switch5 + 10.0.0.8 + ARISTA05T2 + 10.0.0.9 + 1 + 180 + 60 + + + ARISTA06T0 + 10.0.0.43 + switch5 + 10.0.0.42 + 1 + 180 + 60 + + + ARISTA07T0 + 10.0.0.45 + switch5 + 10.0.0.44 + 1 + 180 + 60 + + + switch5 + 10.0.0.12 + ARISTA07T2 + 10.0.0.13 + 1 + 180 + 60 + + + ARISTA08T0 + 10.0.0.47 + switch5 + 10.0.0.46 + 1 + 180 + 60 + + + ARISTA09T0 + 10.0.0.49 + switch5 + 10.0.0.48 + 1 + 180 + 60 + + + switch5 + 10.0.0.16 + ARISTA09T2 + 10.0.0.17 + 1 + 180 + 60 + + + ARISTA10T0 + 10.0.0.51 + switch5 + 10.0.0.50 + 1 + 180 + 60 + + + ARISTA11T0 + 10.0.0.53 + switch5 + 10.0.0.52 + 1 + 180 + 60 + + + switch5 + 10.0.0.20 + ARISTA11T2 + 10.0.0.21 + 1 + 180 + 60 + + + ARISTA12T0 + 10.0.0.55 + switch5 + 10.0.0.54 + 1 + 180 + 60 + + + ARISTA13T0 + 10.0.0.57 + switch5 + 10.0.0.56 + 1 + 180 + 60 + + + switch5 + 10.0.0.24 + ARISTA13T2 + 10.0.0.25 + 1 + 180 + 60 + + + ARISTA14T0 + 10.0.0.59 + switch5 + 10.0.0.58 + 1 + 180 + 60 + + + ARISTA15T0 + 10.0.0.61 + switch5 + 10.0.0.60 + 1 + 180 + 60 + + + switch5 + 10.0.0.28 + ARISTA15T2 + 10.0.0.29 + 1 + 180 + 60 + + + ARISTA16T0 + 10.0.0.63 + switch5 + 10.0.0.62 + 1 + 180 + 60 + + + + + 65100 + switch5 + + +
10.0.0.33
+ + +
+ +
10.0.0.1
+ + +
+ +
10.0.0.35
+ + +
+ +
10.0.0.37
+ + +
+ +
10.0.0.5
+ + +
+ +
10.0.0.39
+ + +
+ +
10.0.0.41
+ + +
+ +
10.0.0.9
+ + +
+ +
10.0.0.43
+ + +
+ +
10.0.0.45
+ + +
+ +
10.0.0.13
+ + +
+ +
10.0.0.47
+ + +
+ +
10.0.0.49
+ + +
+ +
10.0.0.17
+ + +
+ +
10.0.0.51
+ + +
+ +
10.0.0.53
+ + +
+ +
10.0.0.21
+ + +
+ +
10.0.0.55
+ + +
+ +
10.0.0.57
+ + +
+ +
10.0.0.25
+ + +
+ +
10.0.0.59
+ + +
+ +
10.0.0.61
+ + +
+ +
10.0.0.29
+ + +
+ +
10.0.0.63
+ + +
+
+ +
+ + 64001 + ARISTA01T0 + + + + 65200 + ARISTA01T2 + + + + 64002 + ARISTA02T0 + + + + 64003 + ARISTA03T0 + + + + 65200 + ARISTA03T2 + + + + 64004 + ARISTA04T0 + + + + 64005 + ARISTA05T0 + + + + 65200 + ARISTA05T2 + + + + 64006 + ARISTA06T0 + + + + 64007 + ARISTA07T0 + + + + 65200 + ARISTA07T2 + + + + 64008 + ARISTA08T0 + + + + 64009 + ARISTA09T0 + + + + 65200 + ARISTA09T2 + + + + 64010 + ARISTA10T0 + + + + 64011 + ARISTA11T0 + + + + 65200 + ARISTA11T2 + + + + 64012 + ARISTA12T0 + + + + 64013 + ARISTA13T0 + + + + 65200 + ARISTA13T2 + + + + 64014 + ARISTA14T0 + + + + 64015 + ARISTA15T0 + + + + 65200 + ARISTA15T2 + + + + 64016 + ARISTA16T0 + + +
+
+ + + + + + HostIP + Loopback0 + + 10.1.0.32/32 + + 10.1.0.32/32 + + + + + HostIP + eth0 + + 10.3.147.47/24 + + 10.3.147.47/24 + + + + + + switch5 + + + PortChannelInterface + PortChannel0 + Ethernet0;Ethernet4 + + + + PortChannelInterface + PortChannel8 + Ethernet8;Ethernet12 + + + + PortChannelInterface + PortChannel16 + Ethernet16;Ethernet20 + + + + PortChannelInterface + PortChannel24 + Ethernet24;Ethernet28 + + + + PortChannelInterface + PortChannel32 + Ethernet32;Ethernet36 + + + + PortChannelInterface + PortChannel40 + Ethernet40;Ethernet44 + + + + PortChannelInterface + PortChannel48 + Ethernet48;Ethernet52 + + + + PortChannelInterface + PortChannel56 + Ethernet56;Ethernet60 + + + + + + + IPInterface + + PortChannel0 + 10.0.0.0/31 + + + IPInterface + + PortChannel8 + 10.0.0.4/31 + + + IPInterface + + PortChannel16 + 10.0.0.8/31 + + + IPInterface + + PortChannel24 + 10.0.0.12/31 + + + IPInterface + + PortChannel32 + 10.0.0.16/31 + + + IPInterface + + PortChannel40 + 10.0.0.20/31 + + + IPInterface + + PortChannel48 + 10.0.0.24/31 + + + IPInterface + + PortChannel56 + 10.0.0.28/31 + + + + Ethernet64 + 10.0.0.32/31 + + + + Ethernet68 + 10.0.0.34/31 + + + + Ethernet72 + 10.0.0.36/31 + + + + Ethernet76 + 10.0.0.38/31 + + + + Ethernet80 + 10.0.0.40/31 + + + + Ethernet84 + 10.0.0.42/31 + + + + Ethernet88 + 10.0.0.44/31 + + + + Ethernet92 + 10.0.0.46/31 + + + + Ethernet96 + 10.0.0.48/31 + + + + Ethernet100 + 10.0.0.50/31 + + + + Ethernet104 + 10.0.0.52/31 + + + + Ethernet108 + 10.0.0.54/31 + + + + Ethernet112 + 10.0.0.56/31 + + + + Ethernet116 + 10.0.0.58/31 + + + + Ethernet120 + 10.0.0.60/31 + + + + Ethernet124 + 10.0.0.62/31 + + + + + + + + + + + + DeviceInterfaceLink + switch5 + Ethernet0 + ARISTA01T2 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet4 + ARISTA01T2 + Ethernet2 + + + DeviceInterfaceLink + switch5 + Ethernet8 + ARISTA03T2 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet12 + ARISTA03T2 + Ethernet2 + + + DeviceInterfaceLink + switch5 + Ethernet16 + ARISTA05T2 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet20 + ARISTA05T2 + Ethernet2 + + + DeviceInterfaceLink + switch5 + Ethernet24 + ARISTA07T2 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet28 + ARISTA07T2 + Ethernet2 + + + DeviceInterfaceLink + switch5 + Ethernet32 + ARISTA09T2 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet36 + ARISTA09T2 + Ethernet2 + + + DeviceInterfaceLink + switch5 + Ethernet40 + ARISTA11T2 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet44 + ARISTA11T2 + Ethernet2 + + + DeviceInterfaceLink + switch5 + Ethernet48 + ARISTA13T2 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet52 + ARISTA13T2 + Ethernet2 + + + DeviceInterfaceLink + switch5 + Ethernet56 + ARISTA15T2 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet60 + ARISTA15T2 + Ethernet2 + + + DeviceInterfaceLink + switch5 + Ethernet64 + ARISTA01T0 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet68 + ARISTA02T0 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet72 + ARISTA03T0 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet76 + ARISTA04T0 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet80 + ARISTA05T0 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet84 + ARISTA06T0 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet88 + ARISTA07T0 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet92 + ARISTA08T0 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet96 + ARISTA09T0 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet100 + ARISTA10T0 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet104 + ARISTA11T0 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet108 + ARISTA12T0 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet112 + ARISTA13T0 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet116 + ARISTA14T0 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet120 + ARISTA15T0 + Ethernet1 + + + DeviceInterfaceLink + switch5 + Ethernet124 + ARISTA16T0 + Ethernet1 + + + + switch5 + ACS-MSN2700 +