Skip to content
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

[Accton]: Add a new supported platform, AS5712-54X / update the device #1167

Merged
merged 1 commit into from
Nov 22, 2017
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
147 changes: 73 additions & 74 deletions device/accton/x86_64-accton_as5712_54x-r0/Accton-AS5712-54X/port_config.ini
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,74 +1,73 @@
# name lanes alias
Ethernet0 13 tenGigE0
Ethernet1 14 tenGigE1
Ethernet2 15 tenGigE2
Ethernet3 16 tenGigE3
Ethernet4 21 tenGigE4
Ethernet5 22 tenGigE5
Ethernet6 23 tenGigE6
Ethernet7 24 tenGigE7
Ethernet8 25 tenGigE8
Ethernet9 26 tenGigE9
Ethernet10 27 tenGigE10
Ethernet11 28 tenGigE11
Ethernet12 29 tenGigE12
Ethernet13 30 tenGigE13
Ethernet14 31 tenGigE14
Ethernet15 32 tenGigE15
Ethernet16 45 tenGigE16
Ethernet17 46 tenGigE17
Ethernet18 47 tenGigE18
Ethernet19 48 tenGigE19
Ethernet20 49 tenGigE20
Ethernet21 50 tenGigE21
Ethernet22 51 tenGigE22
Ethernet23 52 tenGigE23
Ethernet24 53 tenGigE24
Ethernet25 54 tenGigE25
Ethernet26 55 tenGigE26
Ethernet27 56 tenGigE27
Ethernet28 57 tenGigE28
Ethernet29 58 tenGigE29
Ethernet30 59 tenGigE30
Ethernet31 60 tenGigE31
Ethernet32 61 tenGigE32
Ethernet33 62 tenGigE33
Ethernet34 63 tenGigE34
Ethernet35 64 tenGigE35
Ethernet36 65 tenGigE36
Ethernet37 66 tenGigE37
Ethernet38 67 tenGigE38
Ethernet39 68 tenGigE39
Ethernet40 69 tenGigE40
Ethernet41 70 tenGigE41
Ethernet42 71 tenGigE42
Ethernet43 72 tenGigE43
Ethernet44 73 tenGigE44
Ethernet45 74 tenGigE45
Ethernet46 75 tenGigE46
Ethernet47 76 tenGigE47
Ethernet48 97 tenGigE48
Ethernet49 98 tenGigE49
Ethernet50 99 tenGigE50
Ethernet51 100 tenGigE51
Ethernet52 101 tenGigE52
Ethernet53 102 tenGigE53
Ethernet54 103 tenGigE54
Ethernet55 104 tenGigE55
Ethernet56 81 tenGigE56
Ethernet57 82 tenGigE57
Ethernet58 83 tenGigE58
Ethernet59 84 tenGigE59
Ethernet60 105 tenGigE60
Ethernet61 106 tenGigE61
Ethernet62 107 tenGigE62
Ethernet63 108 tenGigE63
Ethernet64 109 tenGigE64
Ethernet65 110 tenGigE65
Ethernet66 111 tenGigE66
Ethernet67 112 tenGigE67
Ethernet68 77 tenGigE68
Ethernet69 78 tenGigE69
Ethernet70 79 tenGigE70
Ethernet71 80 tenGigE71

# name lanes alias index
Ethernet0 13 tenGigE0 0
Ethernet1 14 tenGigE1 1
Ethernet2 15 tenGigE2 2
Ethernet3 16 tenGigE3 3
Ethernet4 21 tenGigE4 4
Ethernet5 22 tenGigE5 5
Ethernet6 23 tenGigE6 6
Ethernet7 24 tenGigE7 7
Ethernet8 25 tenGigE8 8
Ethernet9 26 tenGigE9 9
Ethernet10 27 tenGigE10 10
Ethernet11 28 tenGigE11 11
Ethernet12 29 tenGigE12 12
Ethernet13 30 tenGigE13 13
Ethernet14 31 tenGigE14 14
Ethernet15 32 tenGigE15 15
Ethernet16 45 tenGigE16 16
Ethernet17 46 tenGigE17 17
Ethernet18 47 tenGigE18 18
Ethernet19 48 tenGigE19 19
Ethernet20 49 tenGigE20 20
Ethernet21 50 tenGigE21 21
Ethernet22 51 tenGigE22 22
Ethernet23 52 tenGigE23 23
Ethernet24 53 tenGigE24 24
Ethernet25 54 tenGigE25 25
Ethernet26 55 tenGigE26 26
Ethernet27 56 tenGigE27 27
Ethernet28 57 tenGigE28 28
Ethernet29 58 tenGigE29 29
Ethernet30 59 tenGigE30 30
Ethernet31 60 tenGigE31 31
Ethernet32 61 tenGigE32 32
Ethernet33 62 tenGigE33 33
Ethernet34 63 tenGigE34 34
Ethernet35 64 tenGigE35 35
Ethernet36 65 tenGigE36 36
Ethernet37 66 tenGigE37 37
Ethernet38 67 tenGigE38 38
Ethernet39 68 tenGigE39 39
Ethernet40 69 tenGigE40 40
Ethernet41 70 tenGigE41 41
Ethernet42 71 tenGigE42 42
Ethernet43 72 tenGigE43 43
Ethernet44 73 tenGigE44 44
Ethernet45 74 tenGigE45 45
Ethernet46 75 tenGigE46 46
Ethernet47 76 tenGigE47 47
Ethernet48 97 tenGigE48 48
Ethernet49 98 tenGigE49 49
Ethernet50 99 tenGigE50 50
Ethernet51 100 tenGigE51 51
Ethernet52 101 tenGigE52 52
Ethernet53 102 tenGigE53 53
Ethernet54 103 tenGigE54 54
Ethernet55 104 tenGigE55 55
Ethernet56 81 tenGigE56 56
Ethernet57 82 tenGigE57 57
Ethernet58 83 tenGigE58 58
Ethernet59 84 tenGigE59 59
Ethernet60 105 tenGigE60 60
Ethernet61 106 tenGigE61 61
Ethernet62 107 tenGigE62 62
Ethernet63 108 tenGigE63 63
Ethernet64 109 tenGigE64 64
Ethernet65 110 tenGigE65 65
Ethernet66 111 tenGigE66 66
Ethernet67 112 tenGigE67 67
Ethernet68 77 tenGigE68 68
Ethernet69 78 tenGigE69 69
Ethernet70 79 tenGigE70 70
Ethernet71 80 tenGigE71 71
1 change: 0 additions & 1 deletion device/accton/x86_64-accton_as5712_54x-r0/Accton-AS5712-54X/sai.profile
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
SAI_INIT_CONFIG_FILE=/etc/bcm/td2-as5712-72x10G.config.bcm

92 changes: 37 additions & 55 deletions device/accton/x86_64-accton_as5712_54x-r0/minigraph.xml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
<PeeringSessions>
<BGPSession>
<StartRouter>OCPSCH0104001MS</StartRouter>
<StartPeer>10.10.1.26</StartPeer>
<EndRouter>switch1</EndRouter>
<EndPeer>10.10.1.25</EndPeer>
<StartPeer>10.10.1.2</StartPeer>
<EndRouter>OCPSCH01040AALF</EndRouter>
<EndPeer>10.10.1.1</EndPeer>
<Multihop>1</Multihop>
<HoldTime>10</HoldTime>
<KeepAliveTime>3</KeepAliveTime>
</BGPSession>
<BGPSession>
<StartRouter>OCPSCH0104002MS</StartRouter>
<StartPeer>10.10.2.26</StartPeer>
<EndRouter>switch1</EndRouter>
<EndPeer>10.10.2.25</EndPeer>
<StartPeer>10.10.2.2</StartPeer>
<EndRouter>OCPSCH01040AALF</EndRouter>
<EndPeer>10.10.2.1</EndPeer>
<Multihop>1</Multihop>
<HoldTime>10</HoldTime>
<KeepAliveTime>3</KeepAliveTime>
Expand All @@ -24,15 +24,15 @@
<Routers xmlns:a="http://schemas.datacontract.org/2004/07/Microsoft.Search.Autopilot.Evolution">
<a:BGPRouterDeclaration>
<a:ASN>64536</a:ASN>
<a:Hostname>switch1</a:Hostname>
<a:Hostname>OCPSCH01040AALF</a:Hostname>
<a:Peers>
<BGPPeer>
<Address>10.10.1.26</Address>
<Address>10.10.1.1</Address>
<RouteMapIn i:nil="true"/>
<RouteMapOut i:nil="true"/>
</BGPPeer>
<BGPPeer>
<Address>10.10.2.26</Address>
<Address>10.10.2.1</Address>
<RouteMapIn i:nil="true"/>
<RouteMapOut i:nil="true"/>
</BGPPeer>
Expand All @@ -59,29 +59,37 @@
<Name>HostIP</Name>
<AttachTo>Loopback0</AttachTo>
<a:Prefix xmlns:b="Microsoft.Search.Autopilot.NetMux">
<b:IPPrefix>100.0.0.9/32</b:IPPrefix>
<b:IPPrefix>100.0.0.3/32</b:IPPrefix>
</a:Prefix>
<a:PrefixStr>100.0.0.9/32</a:PrefixStr>
<a:PrefixStr>100.0.0.3/32</a:PrefixStr>
</a:LoopbackIPInterface>
</LoopbackIPInterfaces>
<ManagementIPInterfaces xmlns:a="http://schemas.datacontract.org/2004/07/Microsoft.Search.Autopilot.Evolution">
<a:ManagementIPInterface>
<Name>ManagementIP1</Name>
<AttachTo>Management0</AttachTo>
<a:Prefix xmlns:b="Microsoft.Search.Autopilot.NetMux">
<b:IPPrefix>192.168.200.12/24</b:IPPrefix>
</a:Prefix>
<a:PrefixStr>192.168.200.12/24</a:PrefixStr>
</a:ManagementIPInterface>
</ManagementIPInterfaces>
<MplsInterfaces/>
<MplsTeInterfaces/>
<RsvpInterfaces/>
<Hostname>switch1</Hostname>
<Hostname>OCPSCH01040AALF</Hostname>
<PortChannelInterfaces/>
<VlanInterfaces/>
<IPInterfaces>
<IPInterface>
<Name i:nil="true"/>
<AttachTo>Ethernet48</AttachTo>
<Prefix>10.10.1.25/30</Prefix>
<AttachTo>tenGigE0</AttachTo>
<Prefix>10.10.1.1/30</Prefix>
</IPInterface>
<IPInterface>
<Name i:nil="true"/>
<AttachTo>Ethernet52</AttachTo>
<Prefix>10.10.2.25/30</Prefix>
<AttachTo>tenGigE4</AttachTo>
<Prefix>10.10.2.1/30</Prefix>
</IPInterface>
</IPInterfaces>
<DataAcls/>
Expand All @@ -93,59 +101,33 @@
<PngDec>
<DeviceInterfaceLinks>
<DeviceLinkBase i:type="DeviceInterfaceLink">
<Bandwidth>40000</Bandwidth>
<Bandwidth>10000</Bandwidth>
<ElementType>DeviceInterfaceLink</ElementType>
<EndDevice>OCPSCH0104001MS</EndDevice>
<EndPort>Ethernet24</EndPort>
<StartDevice>switch1</StartDevice>
<StartPort>Ethernet48</StartPort>
<EndPort>tenGigE0</EndPort>
<StartDevice>OCPSCH01040AALF</StartDevice>
<StartPort>tenGigE0</StartPort>
</DeviceLinkBase>
<DeviceLinkBase i:type="DeviceInterfaceLink">
<Bandwidth>40000</Bandwidth>
<Bandwidth>10000</Bandwidth>
<ElementType>DeviceInterfaceLink</ElementType>
<EndDevice>OCPSCH0104002MS</EndDevice>
<EndPort>Ethernet24</EndPort>
<StartDevice>switch1</StartDevice>
<StartPort>Ethernet52</StartPort>
<EndPort>tenGigE0</EndPort>
<StartDevice>OCPSCH01040AALF</StartDevice>
<StartPort>tenGigE4</StartPort>
</DeviceLinkBase>
</DeviceInterfaceLinks>
<Devices>
<Devices>
<Device i:type="LeafRouter">
<Hostname>switch1</Hostname>
<Hostname>OCPSCH01040AALF</Hostname>
<HwSku>Accton-AS5712-54X</HwSku>
</Device>
</Devices>
</PngDec>
</PngDec>
<MetadataDeclaration>
<Devices xmlns:a="http://schemas.datacontract.org/2004/07/Microsoft.Search.Autopilot.Evolution">
<a:DeviceMetadata>
<a:Name>switch1</a:Name>
<a:Properties>
<a:DeviceProperty>
<a:Name>DhcpResources</a:Name>
<a:Reference i:nil="true"/>
<a:Value></a:Value>
</a:DeviceProperty>
<a:DeviceProperty>
<a:Name>NtpResources</a:Name>
<a:Reference i:nil="true"/>
<a:Value>0.debian.pool.ntp.org;1.debian.pool.ntp.org;2.debian.pool.ntp.org;3.debian.pool.ntp.org</a:Value>
</a:DeviceProperty>
<a:DeviceProperty>
<a:Name>SyslogResources</a:Name>
<a:Reference i:nil="true"/>
<a:Value></a:Value>
</a:DeviceProperty>
<a:DeviceProperty>
<a:Name>ErspanDestinationIpv4</a:Name>
<a:Reference i:nil="true"/>
<a:Value>2.2.2.2</a:Value>
</a:DeviceProperty>
</a:Properties>
</a:DeviceMetadata>
</Devices>
<Devices xmlns:a="http://schemas.datacontract.org/2004/07/Microsoft.Search.Autopilot.Evolution"/>
<Properties xmlns:a="http://schemas.datacontract.org/2004/07/Microsoft.Search.Autopilot.Evolution"/>
</MetadataDeclaration>
<Hostname>switch1</Hostname>
<Hostname>OCPSCH01040AALF</Hostname>
<HwSku>Accton-AS5712-54X</HwSku>
</DeviceMiniGraph>
Loading