Add support for Accton wedge100bf_32qs platform to SONiC master (#9257)
* Add support for Accton wedge100bf_32qs platform This pull request is based on wedge100bf_32x. The components on the mainboard are the same as wedge100bf_32x, except for tofino 32Q and COMe models, so it refers to wedge100bf_32x to create new model: wedge100bf_32qs. Signed-off-by: alvin_feng <alvin_feng@accton.com> * Fix lgtm alerts issues Signed-off-by: alvin_feng <alvin_feng@accton.com> * Modify some file permissions and use symlink to link wedge100bf-32qs/sonic_platform Signed-off-by: alvin_feng <alvin_feng@accton.com> * Remove switch-sai.conf file Signed-off-by: alvin_feng <alvin_feng@accton.com> * Modify platform.json to avoid platform TCs issues and changes for correct generating BUFFER_QUEUE values in DB. Signed-off-by: alvin_feng <alvin_feng@accton.com> * Fix error name in platform.json
This commit is contained in:
parent
2210c82ef8
commit
d2f6fe7463
@ -0,0 +1 @@
|
||||
montara t1
|
@ -0,0 +1 @@
|
||||
CONSOLE_SPEED=57600
|
@ -0,0 +1,2 @@
|
||||
{%- set default_topo = 't0' %}
|
||||
{%- include 'buffers_config.j2' %}
|
@ -0,0 +1,79 @@
|
||||
{% set default_cable = '5m' %}
|
||||
{% set ingress_lossless_pool_size = '4194304' %}
|
||||
{% set ingress_lossy_pool_size = '7340032' %}
|
||||
{% set egress_lossless_pool_size = '16777152' %}
|
||||
{% set egress_lossy_pool_size = '7340032' %}
|
||||
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{%- for port_idx in range(0,32) %}
|
||||
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "{{ ingress_lossless_pool_size }}",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"ingress_lossy_pool": {
|
||||
"size": "{{ ingress_lossy_pool_size }}",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "{{ egress_lossless_pool_size }}",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "{{ egress_lossy_pool_size }}",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossless_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"4096",
|
||||
"dynamic_th":"0"
|
||||
},
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossy_pool",
|
||||
"size":"4096",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"4096",
|
||||
"dynamic_th":"7"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"4096",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"q_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"4096",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_queue_buffers(port_names) %}
|
||||
"BUFFER_QUEUE": {
|
||||
{% for port in port_names.split(',') %}
|
||||
"{{ port }}|0-1": {
|
||||
"profile" : "q_lossy_profile"
|
||||
},
|
||||
{% endfor %}
|
||||
{% for port in port_names.split(',') %}
|
||||
"{{ port }}|3-4": {
|
||||
"profile" : "egress_lossless_profile"
|
||||
}{% if not loop.last %},{% endif %}
|
||||
{% endfor %}
|
||||
}
|
||||
{%- endmacro %}
|
@ -0,0 +1,79 @@
|
||||
{% set default_cable = '5m' %}
|
||||
{% set ingress_lossless_pool_size = '2097152' %}
|
||||
{% set ingress_lossy_pool_size = '5242880' %}
|
||||
{% set egress_lossless_pool_size = '16777152' %}
|
||||
{% set egress_lossy_pool_size = '5242880' %}
|
||||
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{%- for port_idx in range(0,32) %}
|
||||
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "{{ ingress_lossless_pool_size }}",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"ingress_lossy_pool": {
|
||||
"size": "{{ ingress_lossy_pool_size }}",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "{{ egress_lossless_pool_size }}",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "{{ egress_lossy_pool_size }}",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossless_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"4096",
|
||||
"dynamic_th":"0"
|
||||
},
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossy_pool",
|
||||
"size":"4096",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"4096",
|
||||
"dynamic_th":"7"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"4096",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"q_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"4096",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_queue_buffers(port_names) %}
|
||||
"BUFFER_QUEUE": {
|
||||
{% for port in port_names.split(',') %}
|
||||
"{{ port }}|0-1": {
|
||||
"profile" : "q_lossy_profile"
|
||||
},
|
||||
{% endfor %}
|
||||
{% for port in port_names.split(',') %}
|
||||
"{{ port }}|3-4": {
|
||||
"profile" : "egress_lossless_profile"
|
||||
}{% if not loop.last %},{% endif %}
|
||||
{% endfor %}
|
||||
}
|
||||
{%- endmacro %}
|
@ -0,0 +1,164 @@
|
||||
{
|
||||
"interfaces": {
|
||||
"Ethernet0": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet4": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet8": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet12": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet16": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet20": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet24": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet28": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet32": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet36": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet40": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet44": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet48": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet52": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet56": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet60": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet64": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet68": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet72": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet76": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet80": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet84": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet88": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet92": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet96": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet100": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet104": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet108": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet112": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet116": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet120": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
},
|
||||
"Ethernet124": {
|
||||
"default_brkout_mode": "1x100G[40G]",
|
||||
"autoneg": "off",
|
||||
"fec": "rs"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
# PG lossless profiles.
|
||||
# speed cable size xon xoff threshold
|
||||
10000 5m 34816 18432 16384 0
|
||||
25000 5m 34816 18432 16384 0
|
||||
40000 5m 34816 18432 16384 0
|
||||
50000 5m 34816 18432 16384 0
|
||||
100000 5m 36864 18432 18432 0
|
||||
10000 40m 36864 18432 18432 0
|
||||
25000 40m 39936 18432 21504 0
|
||||
40000 40m 41984 18432 23552 0
|
||||
50000 40m 41984 18432 23552 0
|
||||
100000 40m 54272 18432 35840 0
|
||||
10000 300m 49152 18432 30720 0
|
||||
25000 300m 71680 18432 53248 0
|
||||
40000 300m 94208 18432 75776 0
|
||||
50000 300m 94208 18432 75776 0
|
||||
100000 300m 184320 18432 165888 0
|
@ -0,0 +1,33 @@
|
||||
# name lanes alias index speed autoneg fec
|
||||
Ethernet0 0,1,2,3 Ethernet0 1 100000 off rs
|
||||
Ethernet4 4,5,6,7 Ethernet4 2 100000 off rs
|
||||
Ethernet8 8,9,10,11 Ethernet8 3 100000 off rs
|
||||
Ethernet12 12,13,14,15 Ethernet12 4 100000 off rs
|
||||
Ethernet16 16,17,18,19 Ethernet16 5 100000 off rs
|
||||
Ethernet20 20,21,22,23 Ethernet20 6 100000 off rs
|
||||
Ethernet24 24,25,26,27 Ethernet24 7 100000 off rs
|
||||
Ethernet28 28,29,30,31 Ethernet28 8 100000 off rs
|
||||
Ethernet32 32,33,34,35 Ethernet32 9 100000 off rs
|
||||
Ethernet36 36,37,38,39 Ethernet36 10 100000 off rs
|
||||
Ethernet40 40,41,42,43 Ethernet40 11 100000 off rs
|
||||
Ethernet44 44,45,46,47 Ethernet44 12 100000 off rs
|
||||
Ethernet48 48,49,50,51 Ethernet48 13 100000 off rs
|
||||
Ethernet52 52,53,54,55 Ethernet52 14 100000 off rs
|
||||
Ethernet56 56,57,58,59 Ethernet56 15 100000 off rs
|
||||
Ethernet60 60,61,62,63 Ethernet60 16 100000 off rs
|
||||
Ethernet64 64,65,66,67 Ethernet64 17 100000 off rs
|
||||
Ethernet68 68,69,70,71 Ethernet68 18 100000 off rs
|
||||
Ethernet72 72,73,74,75 Ethernet72 19 100000 off rs
|
||||
Ethernet76 76,77,78,79 Ethernet76 20 100000 off rs
|
||||
Ethernet80 80,81,82,83 Ethernet80 21 100000 off rs
|
||||
Ethernet84 84,85,86,87 Ethernet84 22 100000 off rs
|
||||
Ethernet88 88,89,90,91 Ethernet88 23 100000 off rs
|
||||
Ethernet92 92,93,94,95 Ethernet92 24 100000 off rs
|
||||
Ethernet96 96,97,98,99 Ethernet96 25 100000 off rs
|
||||
Ethernet100 100,101,102,103 Ethernet100 26 100000 off rs
|
||||
Ethernet104 104,105,106,107 Ethernet104 27 100000 off rs
|
||||
Ethernet108 108,109,110,111 Ethernet108 28 100000 off rs
|
||||
Ethernet112 112,113,114,115 Ethernet112 29 100000 off rs
|
||||
Ethernet116 116,117,118,119 Ethernet116 30 100000 off rs
|
||||
Ethernet120 120,121,122,123 Ethernet120 31 100000 off rs
|
||||
Ethernet124 124,125,126,127 Ethernet124 32 100000 off rs
|
@ -0,0 +1,10 @@
|
||||
{%- macro generate_tc_to_pg_map() %}
|
||||
"TC_TO_PRIORITY_GROUP_MAP": {
|
||||
"AZURE": {
|
||||
"3": "3",
|
||||
"4": "4"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
||||
|
||||
{%- include 'qos_config.j2' %}
|
@ -0,0 +1,3 @@
|
||||
SAI_KEY_WARM_BOOT_WRITE_FILE=/var/warmboot/sai-warmboot.bin
|
||||
SAI_KEY_WARM_BOOT_READ_FILE=/var/warmboot/sai-warmboot.bin
|
||||
|
@ -0,0 +1,40 @@
|
||||
{
|
||||
"instance": 0,
|
||||
"chip_list": [
|
||||
{
|
||||
"id": "asic-0",
|
||||
"chip_family": "Tofino",
|
||||
"instance": 0,
|
||||
"pcie_sysfs_prefix": "/sys/devices/pci0000:00/0000:00:03.0/0000:05:00.0",
|
||||
"pcie_domain": 0,
|
||||
"pcie_bus": 5,
|
||||
"pcie_fn": 0,
|
||||
"pcie_dev": 0,
|
||||
"pcie_int_mode": 1,
|
||||
"sds_fw_path": "share/tofino_sds_fw/avago/firmware"
|
||||
}
|
||||
],
|
||||
"p4_devices": [
|
||||
{
|
||||
"device-id": 0,
|
||||
"agent0": "lib/platform/x86_64-accton_wedge100bf_32qs-r0/libpltfm_mgr.so",
|
||||
"p4_programs": [
|
||||
{
|
||||
"p4_pipelines": [
|
||||
{
|
||||
"p4_pipeline_name": "pipe",
|
||||
"config": "share/switch/pipe/tofino.bin",
|
||||
"context": "share/switch/pipe/context.json"
|
||||
}
|
||||
],
|
||||
"program-name": "switch",
|
||||
"sai": "lib/libsai.so",
|
||||
"bfrt-config": "share/switch/bf-rt.json",
|
||||
"model_json_path" : "share/switch/aug_model.json",
|
||||
"switchapi_port_add": false,
|
||||
"non_default_port_ppgs": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
412
device/accton/x86_64-accton_wedge100bf_32qs-r0/pcie.yaml
Normal file
412
device/accton/x86_64-accton_wedge100bf_32qs-r0/pcie.yaml
Normal file
@ -0,0 +1,412 @@
|
||||
- bus: '00'
|
||||
dev: '00'
|
||||
fn: '0'
|
||||
id: 6f00
|
||||
name: 'Host bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D DMI2
|
||||
(rev 03)'
|
||||
- bus: '00'
|
||||
dev: '01'
|
||||
fn: '0'
|
||||
id: 6f02
|
||||
name: 'PCI bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D PCI
|
||||
Express Root Port 1 (rev 03)'
|
||||
- bus: '00'
|
||||
dev: '01'
|
||||
fn: '1'
|
||||
id: 6f03
|
||||
name: 'PCI bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D PCI
|
||||
Express Root Port 1 (rev 03)'
|
||||
- bus: '00'
|
||||
dev: '02'
|
||||
fn: '0'
|
||||
id: 6f04
|
||||
name: 'PCI bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D PCI
|
||||
Express Root Port 2 (rev 03)'
|
||||
- bus: '00'
|
||||
dev: '02'
|
||||
fn: '2'
|
||||
id: 6f06
|
||||
name: 'PCI bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D PCI
|
||||
Express Root Port 2 (rev 03)'
|
||||
- bus: '00'
|
||||
dev: '03'
|
||||
fn: '0'
|
||||
id: 6f08
|
||||
name: 'PCI bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D PCI
|
||||
Express Root Port 3 (rev 03)'
|
||||
- bus: '00'
|
||||
dev: '05'
|
||||
fn: '0'
|
||||
id: 6f28
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Map/VTd_Misc/System Management (rev 03)'
|
||||
- bus: '00'
|
||||
dev: '05'
|
||||
fn: '1'
|
||||
id: 6f29
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D IIO Hot Plug (rev 03)'
|
||||
- bus: '00'
|
||||
dev: '05'
|
||||
fn: '2'
|
||||
id: 6f2a
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D IIO RAS/Control Status/Global Errors (rev 03)'
|
||||
- bus: '00'
|
||||
dev: '05'
|
||||
fn: '4'
|
||||
id: 6f2c
|
||||
name: 'PIC: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D I/O APIC (rev
|
||||
03)'
|
||||
- bus: '00'
|
||||
dev: '14'
|
||||
fn: '0'
|
||||
id: 8c31
|
||||
name: 'USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB
|
||||
xHCI (rev 05)'
|
||||
- bus: '00'
|
||||
dev: 1d
|
||||
fn: '0'
|
||||
id: 8c26
|
||||
name: 'USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB
|
||||
EHCI #1 (rev 05)'
|
||||
- bus: '00'
|
||||
dev: 1f
|
||||
fn: '0'
|
||||
id: 8c54
|
||||
name: 'ISA bridge: Intel Corporation C224 Series Chipset Family Server Standard
|
||||
SKU LPC Controller (rev 05)'
|
||||
- bus: '00'
|
||||
dev: 1f
|
||||
fn: '2'
|
||||
id: 8c02
|
||||
name: 'SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port
|
||||
SATA Controller 1 [AHCI mode] (rev 05)'
|
||||
- bus: '00'
|
||||
dev: 1f
|
||||
fn: '3'
|
||||
id: 8c22
|
||||
name: 'SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller
|
||||
(rev 05)'
|
||||
- bus: '00'
|
||||
dev: 1f
|
||||
fn: '6'
|
||||
id: 8c24
|
||||
name: 'Signal processing controller: Intel Corporation 8 Series Chipset Family Thermal
|
||||
Management Controller (rev 05)'
|
||||
- bus: '02'
|
||||
dev: '00'
|
||||
fn: '0'
|
||||
id: '1533'
|
||||
name: 'Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev
|
||||
03)'
|
||||
- bus: '03'
|
||||
dev: '00'
|
||||
fn: '0'
|
||||
id: 6f50
|
||||
name: 'System peripheral: Intel Corporation Xeon Processor D Family QuickData Technology
|
||||
Register DMA Channel 0'
|
||||
- bus: '03'
|
||||
dev: '00'
|
||||
fn: '1'
|
||||
id: 6f51
|
||||
name: 'System peripheral: Intel Corporation Xeon Processor D Family QuickData Technology
|
||||
Register DMA Channel 1'
|
||||
- bus: '03'
|
||||
dev: '00'
|
||||
fn: '2'
|
||||
id: 6f52
|
||||
name: 'System peripheral: Intel Corporation Xeon Processor D Family QuickData Technology
|
||||
Register DMA Channel 2'
|
||||
- bus: '03'
|
||||
dev: '00'
|
||||
fn: '3'
|
||||
id: 6f53
|
||||
name: 'System peripheral: Intel Corporation Xeon Processor D Family QuickData Technology
|
||||
Register DMA Channel 3'
|
||||
- bus: '04'
|
||||
dev: '00'
|
||||
fn: '0'
|
||||
id: 10a6
|
||||
name: 'Unassigned class [ff00]: Intel Corporation 82599EB 10-Gigabit Dummy Function'
|
||||
- bus: '05'
|
||||
dev: '00'
|
||||
fn: '0'
|
||||
id: '0010'
|
||||
name: 'Unassigned class [ff00]: Device 1d1c:0010 (rev 10)'
|
||||
- bus: ff
|
||||
dev: 0b
|
||||
fn: '0'
|
||||
id: 6f81
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D R3 QPI Link 0/1 (rev 03)'
|
||||
- bus: ff
|
||||
dev: 0b
|
||||
fn: '1'
|
||||
id: 6f36
|
||||
name: 'Performance counters: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D R3 QPI Link 0/1 (rev 03)'
|
||||
- bus: ff
|
||||
dev: 0b
|
||||
fn: '2'
|
||||
id: 6f37
|
||||
name: 'Performance counters: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D R3 QPI Link 0/1 (rev 03)'
|
||||
- bus: ff
|
||||
dev: 0b
|
||||
fn: '3'
|
||||
id: 6f76
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D R3 QPI Link Debug (rev 03)'
|
||||
- bus: ff
|
||||
dev: 0c
|
||||
fn: '0'
|
||||
id: 6fe0
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Caching Agent (rev 03)'
|
||||
- bus: ff
|
||||
dev: 0c
|
||||
fn: '1'
|
||||
id: 6fe1
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Caching Agent (rev 03)'
|
||||
- bus: ff
|
||||
dev: 0c
|
||||
fn: '2'
|
||||
id: 6fe2
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Caching Agent (rev 03)'
|
||||
- bus: ff
|
||||
dev: 0c
|
||||
fn: '3'
|
||||
id: 6fe3
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Caching Agent (rev 03)'
|
||||
- bus: ff
|
||||
dev: 0f
|
||||
fn: '0'
|
||||
id: 6ff8
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Caching Agent (rev 03)'
|
||||
- bus: ff
|
||||
dev: 0f
|
||||
fn: '4'
|
||||
id: 6ffc
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Caching Agent (rev 03)'
|
||||
- bus: ff
|
||||
dev: 0f
|
||||
fn: '5'
|
||||
id: 6ffd
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Caching Agent (rev 03)'
|
||||
- bus: ff
|
||||
dev: 0f
|
||||
fn: '6'
|
||||
id: 6ffe
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Caching Agent (rev 03)'
|
||||
- bus: ff
|
||||
dev: '10'
|
||||
fn: '0'
|
||||
id: 6f1d
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D R2PCIe Agent (rev 03)'
|
||||
- bus: ff
|
||||
dev: '10'
|
||||
fn: '1'
|
||||
id: 6f34
|
||||
name: 'Performance counters: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D R2PCIe Agent (rev 03)'
|
||||
- bus: ff
|
||||
dev: '10'
|
||||
fn: '5'
|
||||
id: 6f1e
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Ubox (rev 03)'
|
||||
- bus: ff
|
||||
dev: '10'
|
||||
fn: '6'
|
||||
id: 6f7d
|
||||
name: 'Performance counters: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Ubox (rev 03)'
|
||||
- bus: ff
|
||||
dev: '10'
|
||||
fn: '7'
|
||||
id: 6f1f
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Ubox (rev 03)'
|
||||
- bus: ff
|
||||
dev: '12'
|
||||
fn: '0'
|
||||
id: 6fa0
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Home Agent 0 (rev 03)'
|
||||
- bus: ff
|
||||
dev: '12'
|
||||
fn: '1'
|
||||
id: 6f30
|
||||
name: 'Performance counters: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Home Agent 0 (rev 03)'
|
||||
- bus: ff
|
||||
dev: '13'
|
||||
fn: '0'
|
||||
id: 6fa8
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Memory Controller 0 - Target Address/Thermal/RAS (rev 03)'
|
||||
- bus: ff
|
||||
dev: '13'
|
||||
fn: '1'
|
||||
id: 6f71
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Memory Controller 0 - Target Address/Thermal/RAS (rev 03)'
|
||||
- bus: ff
|
||||
dev: '13'
|
||||
fn: '2'
|
||||
id: 6faa
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Memory Controller 0 - Channel Target Address Decoder (rev 03)'
|
||||
- bus: ff
|
||||
dev: '13'
|
||||
fn: '3'
|
||||
id: 6fab
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Memory Controller 0 - Channel Target Address Decoder (rev 03)'
|
||||
- bus: ff
|
||||
dev: '13'
|
||||
fn: '4'
|
||||
id: 6fac
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Memory Controller 0 - Channel Target Address Decoder (rev 03)'
|
||||
- bus: ff
|
||||
dev: '13'
|
||||
fn: '5'
|
||||
id: 6fad
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Memory Controller 0 - Channel Target Address Decoder (rev 03)'
|
||||
- bus: ff
|
||||
dev: '13'
|
||||
fn: '6'
|
||||
id: 6fae
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D DDRIO Channel 0/1 Broadcast (rev 03)'
|
||||
- bus: ff
|
||||
dev: '13'
|
||||
fn: '7'
|
||||
id: 6faf
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D DDRIO Global Broadcast (rev 03)'
|
||||
- bus: ff
|
||||
dev: '14'
|
||||
fn: '0'
|
||||
id: 6fb0
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Memory Controller 0 - Channel 0 Thermal Control (rev 03)'
|
||||
- bus: ff
|
||||
dev: '14'
|
||||
fn: '1'
|
||||
id: 6fb1
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Memory Controller 0 - Channel 1 Thermal Control (rev 03)'
|
||||
- bus: ff
|
||||
dev: '14'
|
||||
fn: '2'
|
||||
id: 6fb2
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Memory Controller 0 - Channel 0 Error (rev 03)'
|
||||
- bus: ff
|
||||
dev: '14'
|
||||
fn: '3'
|
||||
id: 6fb3
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Memory Controller 0 - Channel 1 Error (rev 03)'
|
||||
- bus: ff
|
||||
dev: '14'
|
||||
fn: '4'
|
||||
id: 6fbc
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D DDRIO Channel 0/1 Interface (rev 03)'
|
||||
- bus: ff
|
||||
dev: '14'
|
||||
fn: '5'
|
||||
id: 6fbd
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D DDRIO Channel 0/1 Interface (rev 03)'
|
||||
- bus: ff
|
||||
dev: '14'
|
||||
fn: '6'
|
||||
id: 6fbe
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D DDRIO Channel 0/1 Interface (rev 03)'
|
||||
- bus: ff
|
||||
dev: '14'
|
||||
fn: '7'
|
||||
id: 6fbf
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D DDRIO Channel 0/1 Interface (rev 03)'
|
||||
- bus: ff
|
||||
dev: '15'
|
||||
fn: '0'
|
||||
id: 6fb4
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Memory Controller 0 - Channel 2 Thermal Control (rev 03)'
|
||||
- bus: ff
|
||||
dev: '15'
|
||||
fn: '1'
|
||||
id: 6fb5
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Memory Controller 0 - Channel 3 Thermal Control (rev 03)'
|
||||
- bus: ff
|
||||
dev: '15'
|
||||
fn: '2'
|
||||
id: 6fb6
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Memory Controller 0 - Channel 2 Error (rev 03)'
|
||||
- bus: ff
|
||||
dev: '15'
|
||||
fn: '3'
|
||||
id: 6fb7
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Memory Controller 0 - Channel 3 Error (rev 03)'
|
||||
- bus: ff
|
||||
dev: 1e
|
||||
fn: '0'
|
||||
id: 6f98
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Power Control Unit (rev 03)'
|
||||
- bus: ff
|
||||
dev: 1e
|
||||
fn: '1'
|
||||
id: 6f99
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Power Control Unit (rev 03)'
|
||||
- bus: ff
|
||||
dev: 1e
|
||||
fn: '2'
|
||||
id: 6f9a
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Power Control Unit (rev 03)'
|
||||
- bus: ff
|
||||
dev: 1e
|
||||
fn: '3'
|
||||
id: 6fc0
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Power Control Unit (rev 03)'
|
||||
- bus: ff
|
||||
dev: 1e
|
||||
fn: '4'
|
||||
id: 6f9c
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Power Control Unit (rev 03)'
|
||||
- bus: ff
|
||||
dev: 1f
|
||||
fn: '0'
|
||||
id: 6f88
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Power Control Unit (rev 03)'
|
||||
- bus: ff
|
||||
dev: 1f
|
||||
fn: '2'
|
||||
id: 6f8a
|
||||
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
|
||||
D Power Control Unit (rev 03)'
|
499
device/accton/x86_64-accton_wedge100bf_32qs-r0/platform.json
Executable file
499
device/accton/x86_64-accton_wedge100bf_32qs-r0/platform.json
Executable file
@ -0,0 +1,499 @@
|
||||
{
|
||||
"chassis": {
|
||||
"name": "Wedge100BF-32QS-O-AC-F-BF",
|
||||
"fans": [
|
||||
{
|
||||
"name": "counter-rotating-fan-1"
|
||||
},
|
||||
{
|
||||
"name": "counter-rotating-fan-2"
|
||||
},
|
||||
{
|
||||
"name": "counter-rotating-fan-3"
|
||||
},
|
||||
{
|
||||
"name": "counter-rotating-fan-4"
|
||||
},
|
||||
{
|
||||
"name": "counter-rotating-fan-5"
|
||||
}
|
||||
],
|
||||
"fan_drawers": [
|
||||
{
|
||||
"name": "fantray-1",
|
||||
"fans": [
|
||||
{
|
||||
"name": "counter-rotating-fan-1"
|
||||
},
|
||||
{
|
||||
"name": "counter-rotating-fan-2"
|
||||
},
|
||||
{
|
||||
"name": "counter-rotating-fan-3"
|
||||
},
|
||||
{
|
||||
"name": "counter-rotating-fan-4"
|
||||
},
|
||||
{
|
||||
"name": "counter-rotating-fan-5"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"psus": [
|
||||
{
|
||||
"name": "psu-1"
|
||||
},
|
||||
{
|
||||
"name": "psu-2"
|
||||
}
|
||||
],
|
||||
"thermals": [
|
||||
{
|
||||
"name": "com_e_driver-i2c-4-33:memory-temp"
|
||||
},
|
||||
{
|
||||
"name": "com_e_driver-i2c-4-33:cpu-temp"
|
||||
},
|
||||
{
|
||||
"name": "pfe1100-i2c-7-59:temp1"
|
||||
},
|
||||
{
|
||||
"name": "pfe1100-i2c-7-59:temp2"
|
||||
},
|
||||
{
|
||||
"name": "pfe1100-i2c-7-5a:temp1"
|
||||
},
|
||||
{
|
||||
"name": "pfe1100-i2c-7-5a:temp2"
|
||||
},
|
||||
{
|
||||
"name": "tmp75-i2c-3-48:outlet-middle-temp"
|
||||
},
|
||||
{
|
||||
"name": "tmp75-i2c-3-49:inlet-middle-temp"
|
||||
},
|
||||
{
|
||||
"name": "tmp75-i2c-3-4a:inlet-left-temp"
|
||||
},
|
||||
{
|
||||
"name": "tmp75-i2c-3-4b:switch-temp"
|
||||
},
|
||||
{
|
||||
"name": "tmp75-i2c-3-4c:inlet-right-temp"
|
||||
},
|
||||
{
|
||||
"name": "tmp75-i2c-8-48:outlet-right-temp"
|
||||
},
|
||||
{
|
||||
"name": "tmp75-i2c-8-49:outlet-left-temp"
|
||||
},
|
||||
{
|
||||
"name": "coretemp-isa-0000:package-id-0"
|
||||
},
|
||||
{
|
||||
"name": "coretemp-isa-0000:core-0"
|
||||
},
|
||||
{
|
||||
"name": "coretemp-isa-0000:core-1"
|
||||
},
|
||||
{
|
||||
"name": "coretemp-isa-0000:core-2"
|
||||
},
|
||||
{
|
||||
"name": "coretemp-isa-0000:core-3"
|
||||
},
|
||||
{
|
||||
"name": "pch_haswell-virtual-0:temp1"
|
||||
}
|
||||
],
|
||||
"sfps": [
|
||||
{
|
||||
"name": "sfp1"
|
||||
},
|
||||
{
|
||||
"name": "sfp2"
|
||||
},
|
||||
{
|
||||
"name": "sfp3"
|
||||
},
|
||||
{
|
||||
"name": "sfp4"
|
||||
},
|
||||
{
|
||||
"name": "sfp5"
|
||||
},
|
||||
{
|
||||
"name": "sfp6"
|
||||
},
|
||||
{
|
||||
"name": "sfp7"
|
||||
},
|
||||
{
|
||||
"name": "sfp8"
|
||||
},
|
||||
{
|
||||
"name": "sfp9"
|
||||
},
|
||||
{
|
||||
"name": "sfp10"
|
||||
},
|
||||
{
|
||||
"name": "sfp11"
|
||||
},
|
||||
{
|
||||
"name": "sfp12"
|
||||
},
|
||||
{
|
||||
"name": "sfp13"
|
||||
},
|
||||
{
|
||||
"name": "sfp14"
|
||||
},
|
||||
{
|
||||
"name": "sfp15"
|
||||
},
|
||||
{
|
||||
"name": "sfp16"
|
||||
},
|
||||
{
|
||||
"name": "sfp17"
|
||||
},
|
||||
{
|
||||
"name": "sfp18"
|
||||
},
|
||||
{
|
||||
"name": "sfp19"
|
||||
},
|
||||
{
|
||||
"name": "sfp20"
|
||||
},
|
||||
{
|
||||
"name": "sfp21"
|
||||
},
|
||||
{
|
||||
"name": "sfp22"
|
||||
},
|
||||
{
|
||||
"name": "sfp23"
|
||||
},
|
||||
{
|
||||
"name": "sfp24"
|
||||
},
|
||||
{
|
||||
"name": "sfp25"
|
||||
},
|
||||
{
|
||||
"name": "sfp26"
|
||||
},
|
||||
{
|
||||
"name": "sfp27"
|
||||
},
|
||||
{
|
||||
"name": "sfp28"
|
||||
},
|
||||
{
|
||||
"name": "sfp29"
|
||||
},
|
||||
{
|
||||
"name": "sfp30"
|
||||
},
|
||||
{
|
||||
"name": "sfp31"
|
||||
},
|
||||
{
|
||||
"name": "sfp32"
|
||||
}
|
||||
]
|
||||
},
|
||||
"interfaces": {
|
||||
"Ethernet0": {
|
||||
"index": "1,1,1,1",
|
||||
"lanes": "0,1,2,3",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet0"],
|
||||
"2x50G": ["Ethernet0", "Ethernet2"],
|
||||
"4x25G[10G]": ["Ethernet0", "Ethernet1", "Ethernet2", "Ethernet3"]
|
||||
}
|
||||
},
|
||||
"Ethernet4": {
|
||||
"index": "2,2,2,2",
|
||||
"lanes": "4,5,6,7",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet4"],
|
||||
"2x50G": ["Ethernet4", "Ethernet6"],
|
||||
"4x25G[10G]": ["Ethernet4", "Ethernet5", "Ethernet6", "Ethernet7"]
|
||||
}
|
||||
},
|
||||
"Ethernet8": {
|
||||
"index": "3,3,3,3",
|
||||
"lanes": "8,9,10,11",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet8"],
|
||||
"2x50G": ["Ethernet8", "Ethernet10"],
|
||||
"4x25G[10G]": ["Ethernet8", "Ethernet9", "Ethernet10", "Ethernet11"]
|
||||
}
|
||||
},
|
||||
"Ethernet12": {
|
||||
"index": "4,4,4,4",
|
||||
"lanes": "12,13,14,15",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet12"],
|
||||
"2x50G": ["Ethernet12", "Ethernet14"],
|
||||
"4x25G[10G]": ["Ethernet12", "Ethernet13", "Ethernet14", "Ethernet15"]
|
||||
}
|
||||
},
|
||||
"Ethernet16": {
|
||||
"index": "5,5,5,5",
|
||||
"lanes": "16,17,18,19",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet16"],
|
||||
"2x50G": ["Ethernet16", "Ethernet18"],
|
||||
"4x25G[10G]": ["Ethernet16", "Ethernet17", "Ethernet18", "Ethernet19"]
|
||||
}
|
||||
},
|
||||
"Ethernet20": {
|
||||
"index": "6,6,6,6",
|
||||
"lanes": "20,21,22,23",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet20"],
|
||||
"2x50G": ["Ethernet20", "Ethernet22"],
|
||||
"4x25G[10G]": ["Ethernet20", "Ethernet21", "Ethernet22", "Ethernet23"]
|
||||
}
|
||||
},
|
||||
"Ethernet24": {
|
||||
"index": "7,7,7,7",
|
||||
"lanes": "24,25,26,27",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet24"],
|
||||
"2x50G": ["Ethernet24", "Ethernet26"],
|
||||
"4x25G[10G]": ["Ethernet24", "Ethernet25", "Ethernet26", "Ethernet27"]
|
||||
}
|
||||
},
|
||||
"Ethernet28": {
|
||||
"index": "8,8,8,8",
|
||||
"lanes": "28,29,30,31",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet28"],
|
||||
"2x50G": ["Ethernet28", "Ethernet30"],
|
||||
"4x25G[10G]": ["Ethernet28", "Ethernet29", "Ethernet30", "Ethernet31"]
|
||||
}
|
||||
},
|
||||
"Ethernet32": {
|
||||
"index": "9,9,9,9",
|
||||
"lanes": "32,33,34,35",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet32"],
|
||||
"2x50G": ["Ethernet32", "Ethernet34"],
|
||||
"4x25G[10G]": ["Ethernet32", "Ethernet33", "Ethernet34", "Ethernet35"]
|
||||
}
|
||||
},
|
||||
"Ethernet36": {
|
||||
"index": "10,10,10,10",
|
||||
"lanes": "36,37,38,39",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet36"],
|
||||
"2x50G": ["Ethernet36", "Ethernet38"],
|
||||
"4x25G[10G]": ["Ethernet36", "Ethernet37", "Ethernet38", "Ethernet39"]
|
||||
}
|
||||
},
|
||||
"Ethernet40": {
|
||||
"index": "11,11,11,11",
|
||||
"lanes": "40,41,42,43",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet40"],
|
||||
"2x50G": ["Ethernet40", "Ethernet42"],
|
||||
"4x25G[10G]": ["Ethernet40", "Ethernet41", "Ethernet42", "Ethernet43"]
|
||||
}
|
||||
},
|
||||
"Ethernet44": {
|
||||
"index": "12,12,12,12",
|
||||
"lanes": "44,45,46,47",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet44"],
|
||||
"2x50G": ["Ethernet44", "Ethernet46"],
|
||||
"4x25G[10G]": ["Ethernet44", "Ethernet45", "Ethernet46", "Ethernet47"]
|
||||
}
|
||||
},
|
||||
"Ethernet48": {
|
||||
"index": "13,13,13,13",
|
||||
"lanes": "48,49,50,51",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet48"],
|
||||
"2x50G": ["Ethernet48", "Ethernet50"],
|
||||
"4x25G[10G]": ["Ethernet48", "Ethernet49", "Ethernet50", "Ethernet51"]
|
||||
}
|
||||
},
|
||||
"Ethernet52": {
|
||||
"index": "14,14,14,14",
|
||||
"lanes": "52,53,54,55",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet52"],
|
||||
"2x50G": ["Ethernet52", "Ethernet54"],
|
||||
"4x25G[10G]": ["Ethernet52", "Ethernet53", "Ethernet54", "Ethernet55"]
|
||||
}
|
||||
},
|
||||
"Ethernet56": {
|
||||
"index": "15,15,15,15",
|
||||
"lanes": "56,57,58,59",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet56"],
|
||||
"2x50G": ["Ethernet56", "Ethernet58"],
|
||||
"4x25G[10G]": ["Ethernet56", "Ethernet57", "Ethernet58", "Ethernet59"]
|
||||
}
|
||||
},
|
||||
"Ethernet60": {
|
||||
"index": "16,16,16,16",
|
||||
"lanes": "60,61,62,63",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet60"],
|
||||
"2x50G": ["Ethernet60", "Ethernet62"],
|
||||
"4x25G[10G]": ["Ethernet60", "Ethernet61", "Ethernet62", "Ethernet63"]
|
||||
}
|
||||
},
|
||||
"Ethernet64": {
|
||||
"index": "17,17,17,17",
|
||||
"lanes": "64,65,66,67",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet64"],
|
||||
"2x50G": ["Ethernet64", "Ethernet66"],
|
||||
"4x25G[10G]": ["Ethernet64", "Ethernet65", "Ethernet66", "Ethernet67"]
|
||||
}
|
||||
},
|
||||
"Ethernet68": {
|
||||
"index": "18,18,18,18",
|
||||
"lanes": "68,69,70,71",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet68"],
|
||||
"2x50G": ["Ethernet68", "Ethernet70"],
|
||||
"4x25G[10G]": ["Ethernet68", "Ethernet69", "Ethernet70", "Ethernet71"]
|
||||
}
|
||||
},
|
||||
"Ethernet72": {
|
||||
"index": "19,19,19,19",
|
||||
"lanes": "72,73,74,75",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet72"],
|
||||
"2x50G": ["Ethernet72", "Ethernet74"],
|
||||
"4x25G[10G]": ["Ethernet72", "Ethernet73", "Ethernet74", "Ethernet75"]
|
||||
}
|
||||
},
|
||||
"Ethernet76": {
|
||||
"index": "20,20,20,20",
|
||||
"lanes": "76,77,78,79",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet76"],
|
||||
"2x50G": ["Ethernet76", "Ethernet78"],
|
||||
"4x25G[10G]": ["Ethernet76", "Ethernet77", "Ethernet78", "Ethernet79"]
|
||||
}
|
||||
},
|
||||
"Ethernet80": {
|
||||
"index": "21,21,21,21",
|
||||
"lanes": "80,81,82,83",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet80"],
|
||||
"2x50G": ["Ethernet80", "Ethernet82"],
|
||||
"4x25G[10G]": ["Ethernet80", "Ethernet81", "Ethernet82", "Ethernet83"]
|
||||
}
|
||||
},
|
||||
"Ethernet84": {
|
||||
"index": "22,22,22,22",
|
||||
"lanes": "84,85,86,87",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet84"],
|
||||
"2x50G": ["Ethernet84", "Ethernet86"],
|
||||
"4x25G[10G]": ["Ethernet84", "Ethernet85", "Ethernet86", "Ethernet87"]
|
||||
}
|
||||
},
|
||||
"Ethernet88": {
|
||||
"index": "23,23,23,23",
|
||||
"lanes": "88,89,90,91",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet88"],
|
||||
"2x50G": ["Ethernet88", "Ethernet90"],
|
||||
"4x25G[10G]": ["Ethernet88", "Ethernet89", "Ethernet90", "Ethernet91"]
|
||||
}
|
||||
},
|
||||
"Ethernet92": {
|
||||
"index": "24,24,24,24",
|
||||
"lanes": "92,93,94,95",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet92"],
|
||||
"2x50G": ["Ethernet92", "Ethernet94"],
|
||||
"4x25G[10G]": ["Ethernet92", "Ethernet93", "Ethernet94", "Ethernet95"]
|
||||
}
|
||||
},
|
||||
"Ethernet96": {
|
||||
"index": "25,25,25,25",
|
||||
"lanes": "96,97,98,99",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet96"],
|
||||
"2x50G": ["Ethernet96", "Ethernet98"],
|
||||
"4x25G[10G]": ["Ethernet96", "Ethernet97", "Ethernet98", "Ethernet99"]
|
||||
}
|
||||
},
|
||||
"Ethernet100": {
|
||||
"index": "26,26,26,26",
|
||||
"lanes": "100,101,102,103",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet100"],
|
||||
"2x50G": ["Ethernet100", "Ethernet102"],
|
||||
"4x25G[10G]": ["Ethernet100", "Ethernet101", "Ethernet102", "Ethernet103"]
|
||||
}
|
||||
},
|
||||
"Ethernet104": {
|
||||
"index": "27,27,27,27",
|
||||
"lanes": "104,105,106,107",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet104"],
|
||||
"2x50G": ["Ethernet104", "Ethernet106"],
|
||||
"4x25G[10G]": ["Ethernet104", "Ethernet105", "Ethernet106", "Ethernet107"]
|
||||
}
|
||||
},
|
||||
"Ethernet108": {
|
||||
"index": "28,28,28,28",
|
||||
"lanes": "108,109,110,111",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet108"],
|
||||
"2x50G": ["Ethernet108", "Ethernet110"],
|
||||
"4x25G[10G]": ["Ethernet108", "Ethernet109", "Ethernet110", "Ethernet111"]
|
||||
}
|
||||
},
|
||||
"Ethernet112": {
|
||||
"index": "29,29,29,29",
|
||||
"lanes": "112,113,114,115",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet112"],
|
||||
"2x50G": ["Ethernet112", "Ethernet114"],
|
||||
"4x25G[10G]": ["Ethernet112", "Ethernet113", "Ethernet112", "Ethernet113"]
|
||||
}
|
||||
},
|
||||
"Ethernet116": {
|
||||
"index": "30,30,30,30",
|
||||
"lanes": "116,117,118,119",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet116"],
|
||||
"2x50G": ["Ethernet116", "Ethernet118"],
|
||||
"4x25G[10G]": ["Ethernet116", "Ethernet117", "Ethernet118", "Ethernet119"]
|
||||
}
|
||||
},
|
||||
"Ethernet120": {
|
||||
"index": "31,31,31,31",
|
||||
"lanes": "120,121,122,123",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet120"],
|
||||
"2x50G": ["Ethernet120", "Ethernet122"],
|
||||
"4x25G[10G]": ["Ethernet120", "Ethernet121", "Ethernet122", "Ethernet123"]
|
||||
}
|
||||
},
|
||||
"Ethernet124": {
|
||||
"index": "32,32,32,32",
|
||||
"lanes": "124,125,126,127",
|
||||
"breakout_modes": {
|
||||
"1x100G[40G]": ["Ethernet124"],
|
||||
"2x50G": ["Ethernet124", "Ethernet126"],
|
||||
"4x25G[10G]": ["Ethernet124", "Ethernet125", "Ethernet126", "Ethernet127"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1 @@
|
||||
barefoot
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"chassis": {
|
||||
"Wedge100BF-32QS-O-AC-F": {
|
||||
"component": {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"skip_pcied": false,
|
||||
"skip_fancontrol": true,
|
||||
"skip_thermalctld": false,
|
||||
"skip_ledd": true,
|
||||
"skip_xcvrd": false,
|
||||
"skip_psud": false,
|
||||
"skip_syseepromd": false
|
||||
}
|
@ -12,6 +12,7 @@ $(SONIC_ONE_IMAGE)_LAZY_INSTALLS += $(BFN_NEWPORT_BF_PLATFORM_MODULE)
|
||||
$(SONIC_ONE_IMAGE)_LAZY_INSTALLS += $(WNC_OSW1800_PLATFORM_MODULE)
|
||||
$(SONIC_ONE_IMAGE)_LAZY_INSTALLS += $(INGRASYS_S9180_32X_PLATFORM_MODULE)
|
||||
$(SONIC_ONE_IMAGE)_LAZY_INSTALLS += $(INGRASYS_S9280_64X_PLATFORM_MODULE)
|
||||
$(SONIC_ONE_IMAGE)_LAZY_INSTALLS += $(BFN_MONTARA_QS_PLATFORM_MODULE)
|
||||
ifeq ($(INSTALL_DEBUG_TOOLS),y)
|
||||
$(SONIC_ONE_IMAGE)_DOCKERS += $(SONIC_INSTALL_DOCKER_DBG_IMAGES)
|
||||
$(SONIC_ONE_IMAGE)_DOCKERS += $(filter-out $(patsubst %-$(DBG_IMAGE_MARK).gz,%.gz, $(SONIC_INSTALL_DOCKER_DBG_IMAGES)), $(SONIC_INSTALL_DOCKER_IMAGES))
|
||||
|
11
platform/barefoot/platform-modules-accton.mk
Normal file
11
platform/barefoot/platform-modules-accton.mk
Normal file
@ -0,0 +1,11 @@
|
||||
# BFN Platform modules
|
||||
|
||||
BFN_MONTARA_QS_PLATFORM_MODULE_VERSION = 1.1
|
||||
|
||||
export BFN_MONTARA_QS_PLATFORM_MODULE_VERSION
|
||||
|
||||
BFN_MONTARA_QS_PLATFORM_MODULE = sonic-platform-accton-wedge100bf-32qs_$(BFN_MONTARA_QS_PLATFORM_MODULE_VERSION)_amd64.deb
|
||||
$(BFN_MONTARA_QS_PLATFORM_MODULE)_SRC_PATH = $(PLATFORM_PATH)/sonic-platform-modules-accton
|
||||
$(BFN_MONTARA_QS_PLATFORM_MODULE)_DEPENDS += $(LINUX_HEADERS) $(LINUX_HEADERS_COMMON)
|
||||
$(BFN_MONTARA_QS_PLATFORM_MODULE)_PLATFORM = x86_64-accton_wedge100bf_32qs-r0
|
||||
SONIC_DPKG_DEBS += $(BFN_MONTARA_QS_PLATFORM_MODULE)
|
@ -1,6 +1,7 @@
|
||||
include $(PLATFORM_PATH)/platform-modules-arista.mk
|
||||
include $(PLATFORM_PATH)/platform-modules-bfn.mk
|
||||
include $(PLATFORM_PATH)/platform-modules-bfn-montara.mk
|
||||
include $(PLATFORM_PATH)/platform-modules-accton.mk
|
||||
include $(PLATFORM_PATH)/platform-modules-bfn-newport.mk
|
||||
include $(PLATFORM_PATH)/platform-modules-wnc-osw1800.mk
|
||||
include $(PLATFORM_PATH)/platform-modules-ingrasys.mk
|
||||
|
@ -0,0 +1,11 @@
|
||||
sonic-accton-platform-modules (1.1) unstable; urgency=low
|
||||
|
||||
* Remove bfn asic kernel modules from platform package
|
||||
|
||||
-- Support <support@barefootnetworks.com> Mon, 22 Oct 2018 15:40:00 -0800
|
||||
|
||||
sonic-accton-platform-modules (1.0) unstable; urgency=low
|
||||
|
||||
* Initial release
|
||||
|
||||
-- Support <support@edge-core.com> Mon, 11 Nov 2015 11:11:11 -0800
|
@ -0,0 +1 @@
|
||||
9
|
@ -0,0 +1,12 @@
|
||||
Source: sonic-accton-platform-modules
|
||||
Section: main
|
||||
Priority: extra
|
||||
Maintainer: Support <support@edge-core.com>
|
||||
Build-Depends: debhelper (>= 9.0.0), bzip2
|
||||
Standards-Version: 3.9.3
|
||||
|
||||
Package: sonic-platform-accton-wedge100bf-32qs
|
||||
Architecture: amd64
|
||||
Depends: linux-image-4.19.0-12-2-amd64-unsigned
|
||||
Description: kernel modules for platform devices such as fan, led, sfp
|
||||
|
110
platform/barefoot/sonic-platform-modules-accton/debian/rules
Executable file
110
platform/barefoot/sonic-platform-modules-accton/debian/rules
Executable file
@ -0,0 +1,110 @@
|
||||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
# Sample debian/rules that uses debhelper.
|
||||
# This file was originally written by Joey Hess and Craig Small.
|
||||
# As a special exception, when this file is copied by dh-make into a
|
||||
# dh-make output file, you may use that output file without restriction.
|
||||
# This special exception was added by Craig Small in version 0.37 of dh-make.
|
||||
|
||||
include /usr/share/dpkg/pkg-info.mk
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
export INSTALL_MOD_DIR:=extra
|
||||
|
||||
PYTHON ?= python2
|
||||
PYTHON3 ?= python3
|
||||
|
||||
PACKAGE_PRE_NAME := sonic-platform-accton
|
||||
KVERSION ?= $(shell uname -r)
|
||||
KERNEL_SRC := /lib/modules/$(KVERSION)
|
||||
MOD_SRC_DIR:= $(shell pwd)
|
||||
MODULE_DIRS := wedge100bf-32qs
|
||||
MODULE_DIR := modules
|
||||
UTILS_DIR := utils
|
||||
SERVICE_DIR := service
|
||||
CONF_DIR := conf
|
||||
|
||||
%:
|
||||
dh $@ --with systemd,python2,python3 --buildsystem=pybuild
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean
|
||||
|
||||
build:
|
||||
#make modules -C $(KERNEL_SRC)/build M=$(MODULE_SRC)
|
||||
(for mod in $(MODULE_DIRS); do \
|
||||
make modules -C $(KERNEL_SRC)/build M=$(MOD_SRC_DIR)/$${mod}/modules; \
|
||||
$(PYTHON) $${mod}/setup.py build; \
|
||||
cd $(MOD_SRC_DIR)/$${mod}; \
|
||||
if [ -f sonic_platform_setup.py ]; then \
|
||||
$(PYTHON3) sonic_platform_setup.py bdist_wheel -d $(MOD_SRC_DIR)/$${mod}; \
|
||||
echo "Finished makig whl package for $$mod"; \
|
||||
fi; \
|
||||
cd $(MOD_SRC_DIR); \
|
||||
done)
|
||||
|
||||
binary: binary-arch binary-indep
|
||||
# Nothing to do
|
||||
|
||||
binary-arch:
|
||||
# Nothing to do
|
||||
|
||||
#install: build
|
||||
#dh_testdir
|
||||
#dh_testroot
|
||||
#dh_clean -k
|
||||
#dh_installdirs
|
||||
|
||||
binary-indep:
|
||||
dh_testdir
|
||||
dh_installdirs
|
||||
|
||||
# Custom package commands
|
||||
(for mod in $(MODULE_DIRS); do \
|
||||
if [ -d $${mod}/$(MODULE_DIR) ]; then \
|
||||
dh_installdirs -p$(PACKAGE_PRE_NAME)-$${mod} $(KERNEL_SRC)/$(INSTALL_MOD_DIR); \
|
||||
cp $(MOD_SRC_DIR)/$${mod}/$(MODULE_DIR)/*.ko debian/$(PACKAGE_PRE_NAME)-$${mod}/$(KERNEL_SRC)/$(INSTALL_MOD_DIR); \
|
||||
fi; \
|
||||
if [ -d $${mod}/$(UTILS_DIR) ]; then \
|
||||
dh_installdirs -p$(PACKAGE_PRE_NAME)-$${mod} /usr/local/bin; \
|
||||
cp $(MOD_SRC_DIR)/$${mod}/$(UTILS_DIR)/* debian/$(PACKAGE_PRE_NAME)-$${mod}/usr/local/bin/; \
|
||||
fi; \
|
||||
if [ -d $${mod}/$(SERVICE_DIR) ]; then \
|
||||
dh_installdirs -p$(PACKAGE_PRE_NAME)-$${mod} /lib/systemd/system; \
|
||||
cp $(MOD_SRC_DIR)/$${mod}/$(SERVICE_DIR)/*.service debian/$(PACKAGE_PRE_NAME)-$${mod}/lib/systemd/system/; \
|
||||
fi; \
|
||||
if [ -f $${mod}/setup.py ]; then \
|
||||
$(PYTHON) $${mod}/setup.py install --root=$(MOD_SRC_DIR)/debian/$(PACKAGE_PRE_NAME)-$${mod} --install-layout=deb; \
|
||||
fi; \
|
||||
if [ -f $${mod}/sonic_platform_setup.py ]; then \
|
||||
cd $(MOD_SRC_DIR)/$${mod}; \
|
||||
$(PYTHON3) sonic_platform_setup.py install --root=$(MOD_SRC_DIR)/debian/$(PACKAGE_PRE_NAME)-$${mod} --install-layout=deb; \
|
||||
echo "Insalled whl package for $$mod"; \
|
||||
cd $(MOD_SRC_DIR); \
|
||||
fi; \
|
||||
if [ $$mod = "wedge100bf-32qs" ]; then \
|
||||
dh_installdirs -p$(PACKAGE_PRE_NAME)-$${mod} etc/network/interfaces.d; \
|
||||
cp $(MOD_SRC_DIR)/$${mod}/$(CONF_DIR)/* debian/$(PACKAGE_PRE_NAME)-$${mod}/etc/network/interfaces.d; \
|
||||
fi; \
|
||||
done)
|
||||
# Resuming debhelper scripts
|
||||
dh_testroot
|
||||
dh_install
|
||||
dh_installchangelogs
|
||||
dh_installdocs
|
||||
dh_systemd_enable
|
||||
dh_installinit
|
||||
dh_systemd_start
|
||||
dh_link
|
||||
dh_fixperms
|
||||
dh_compress
|
||||
dh_strip
|
||||
dh_installdeb
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
.PHONY: build binary binary-arch binary-indep clean
|
@ -0,0 +1,2 @@
|
||||
wedge100bf-32qs/sonic_platform-1.0-py3-none-any.whl usr/share/sonic/device/x86_64-accton_wedge100bf_32qs-r0
|
||||
|
@ -0,0 +1,15 @@
|
||||
Copyright (C) 2016 Microsoft, Inc
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
@ -0,0 +1,3 @@
|
||||
# This file describes the maintainers for wedge100bf-32qs
|
||||
# See the SONiC project governance document for more information
|
||||
Mailinglist = sonicproject@googlegroups.com
|
@ -0,0 +1,2 @@
|
||||
# wedge100bf-32qs
|
||||
Device drivers for support of BFN platform for the SONiC project
|
@ -0,0 +1,5 @@
|
||||
# BMC interface
|
||||
auto usb0
|
||||
allow-hotplug usb0
|
||||
iface usb0 inet6
|
||||
up ifconfig usb0 txqueuelen 64
|
14
platform/barefoot/sonic-platform-modules-accton/wedge100bf-32qs/setup.py
Executable file
14
platform/barefoot/sonic-platform-modules-accton/wedge100bf-32qs/setup.py
Executable file
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import os
|
||||
from setuptools import setup
|
||||
os.listdir
|
||||
|
||||
setup(
|
||||
name='wedge100bf-32qs',
|
||||
version='1.0',
|
||||
description='Module to initialize Accton wedge100bf-32qs platforms',
|
||||
|
||||
packages=['wedge100bf-32qs'],
|
||||
package_dir={'wedge100bf-32qs': 'wedge100bf-32qs/classes'},
|
||||
)
|
@ -0,0 +1 @@
|
||||
../../sonic-platform-modules-bfn-montara/sonic_platform/
|
@ -0,0 +1,32 @@
|
||||
from setuptools import setup
|
||||
|
||||
setup(
|
||||
name='sonic-platform',
|
||||
version='1.0',
|
||||
description='SONiC platform API implementation',
|
||||
license='Apache 2.0',
|
||||
author='SONiC Team',
|
||||
author_email='',
|
||||
url='https://github.com/Azure/sonic-buildimage',
|
||||
maintainer='Barefoot',
|
||||
maintainer_email='',
|
||||
packages=[
|
||||
'sonic_platform',
|
||||
'sonic_platform/pltfm_mgr_rpc',
|
||||
'sonic_platform/bfn_extensions',
|
||||
],
|
||||
package_data = {'sonic_platform':['logging.conf']},
|
||||
classifiers=[
|
||||
'Development Status :: 3 - Alpha',
|
||||
'Environment :: Plugins',
|
||||
'Intended Audience :: Developers',
|
||||
'Intended Audience :: Information Technology',
|
||||
'Intended Audience :: System Administrators',
|
||||
'License :: OSI Approved :: Apache Software License',
|
||||
'Natural Language :: English',
|
||||
'Operating System :: POSIX :: Linux',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Topic :: Utilities',
|
||||
],
|
||||
keywords='sonic SONiC platform PLATFORM',
|
||||
)
|
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
python3 -m sonic_platform.bfn_extensions.platform_fancontrol "$@"
|
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
DOCKER_EXEC_FLAGS="i"
|
||||
|
||||
# Determine whether stdout is on a terminal
|
||||
if [ -t 1 ] ; then
|
||||
DOCKER_EXEC_FLAGS+="t"
|
||||
fi
|
||||
|
||||
python3 -m sonic_platform.bfn_extensions.platform_sensors "$@"
|
||||
docker exec -$DOCKER_EXEC_FLAGS pmon sensors "$@"
|
Loading…
Reference in New Issue
Block a user