diff --git a/src/sonic-config-engine/MANIFEST.in b/src/sonic-config-engine/MANIFEST.in index c228a249adfb..a7038d546e9c 100644 --- a/src/sonic-config-engine/MANIFEST.in +++ b/src/sonic-config-engine/MANIFEST.in @@ -1,2 +1 @@ -recursive-include platform *.json *.ini *.conf recursive-include tests *.j2 *.yml *.xml diff --git a/src/sonic-config-engine/platform/ACS-MSN2700/port_config.ini b/src/sonic-config-engine/platform/ACS-MSN2700/port_config.ini deleted file mode 100644 index 816bb0e94a70..000000000000 --- a/src/sonic-config-engine/platform/ACS-MSN2700/port_config.ini +++ /dev/null @@ -1,33 +0,0 @@ -# name lanes -Ethernet0 0,1,2,3 -Ethernet4 4,5,6,7 -Ethernet8 8,9,10,11 -Ethernet12 12,13,14,15 -Ethernet16 16,17,18,19 -Ethernet20 20,21,22,23 -Ethernet24 24,25,26,27 -Ethernet28 28,29,30,31 -Ethernet32 32,33,34,35 -Ethernet36 36,37,38,39 -Ethernet40 40,41,42,43 -Ethernet44 44,45,46,47 -Ethernet48 48,49,50,51 -Ethernet52 52,53,54,55 -Ethernet56 56,57,58,59 -Ethernet60 60,61,62,63 -Ethernet64 64,65,66,67 -Ethernet68 68,69,70,71 -Ethernet72 72,73,74,75 -Ethernet76 76,77,78,79 -Ethernet80 80,81,82,83 -Ethernet84 84,85,86,87 -Ethernet88 88,89,90,91 -Ethernet92 92,93,94,95 -Ethernet96 96,97,98,99 -Ethernet100 100,101,102,103 -Ethernet104 104,105,106,107 -Ethernet108 108,109,110,111 -Ethernet112 112,113,114,115 -Ethernet116 116,117,118,119 -Ethernet120 120,121,122,123 -Ethernet124 124,125,126,127 diff --git a/src/sonic-config-engine/platform/ACS-MSN2700/sensors.conf b/src/sonic-config-engine/platform/ACS-MSN2700/sensors.conf deleted file mode 100644 index a3e30391863e..000000000000 --- a/src/sonic-config-engine/platform/ACS-MSN2700/sensors.conf +++ /dev/null @@ -1,21 +0,0 @@ -bus "i2c-7" "i2c-1-mux (chan_id 5)" -chip "lm75-i2c-7-4a" - label temp1 "Ambient Port Temp" - -bus "i2c-5" "i2c-1-mux (chan_id 3)" -chip "ucd9200-i2c-5-27" - label in1 "UCD1 vin" - label in2 "ASIC 3.3 vout" - label in3 "ASIC 1.2 vout" - label temp1 "UCD1 Temp" - label temp2 "UCD1 Temp2" - -chip "ucd9200-i2c-5-41" - label in1 "UCD2 vin" - label in2 "ASIC Vcore vout" - label temp1 "UCD2 Temp1" - label temp2 "UCD2 Temp2" - -bus "i2c-17" "i2c-1-mux (chan_id 7)" -chip "lm75-i2c-17-49" - label temp1 "Ambient Board Temp" diff --git a/src/sonic-config-engine/platform/AS7512/port_config.ini b/src/sonic-config-engine/platform/AS7512/port_config.ini deleted file mode 100644 index c10cd2786941..000000000000 --- a/src/sonic-config-engine/platform/AS7512/port_config.ini +++ /dev/null @@ -1,33 +0,0 @@ -# name lanes -Ethernet0 16,17,18,19 -Ethernet4 20,21,22,23 -Ethernet8 24,25,26,27 -Ethernet12 28,29,30,31 -Ethernet16 32,33,34,35 -Ethernet20 36,37,38,39 -Ethernet24 40,41,42,43 -Ethernet28 44,45,46,47 -Ethernet32 0,1,2,3 -Ethernet36 4,5,6,7 -Ethernet40 8,9,10,11 -Ethernet44 12,13,14,15 -Ethernet48 48,49,50,51 -Ethernet52 52,53,54,55 -Ethernet56 56,57,58,59 -Ethernet60 60,61,62,63 -Ethernet64 127,126,125,124 -Ethernet68 123,122,121,120 -Ethernet72 115,114,113,112 -Ethernet76 119,118,117,116 -Ethernet80 79,78,77,76 -Ethernet84 75,74,73,72 -Ethernet88 64,65,66,67 -Ethernet92 71,70,68,69 -Ethernet96 111,110,109,108 -Ethernet100 107,106,105,104 -Ethernet104 103,102,101,100 -Ethernet108 99,98,97,96 -Ethernet112 95,94,93,92 -Ethernet116 91,90,89,88 -Ethernet120 87,86,85,84 -Ethernet124 83,82,81,80 diff --git a/src/sonic-config-engine/platform/Arista-7050-QX32/port_config.ini b/src/sonic-config-engine/platform/Arista-7050-QX32/port_config.ini deleted file mode 100644 index b9ab8854a2ec..000000000000 --- a/src/sonic-config-engine/platform/Arista-7050-QX32/port_config.ini +++ /dev/null @@ -1,33 +0,0 @@ -# name lanes alias -Ethernet0 125,126,127,128 Ethernet1/1 -Ethernet4 121,122,123,124 Ethernet2/1 -Ethernet8 13,14,15,16 Ethernet3/1 -Ethernet12 9,10,11,12 Ethernet4/1 -Ethernet16 17,18,19,20 Ethernet5/1 -Ethernet20 21,22,23,24 Ethernet6/1 -Ethernet24 25,26,27,28 Ethernet7/1 -Ethernet28 29,30,31,32 Ethernet8/1 -Ethernet32 37,38,39,40 Ethernet9/1 -Ethernet36 33,34,35,36 Ethernet10/1 -Ethernet40 45,46,47,48 Ethernet11/1 -Ethernet44 41,42,43,44 Ethernet12/1 -Ethernet48 53,54,55,56 Ethernet13/1 -Ethernet52 49,50,51,52 Ethernet14/1 -Ethernet56 69,70,71,72 Ethernet15/1 -Ethernet60 65,66,67,68 Ethernet16/1 -Ethernet64 77,78,79,80 Ethernet17/1 -Ethernet68 73,74,75,76 Ethernet18/1 -Ethernet72 93,94,95,96 Ethernet19/1 -Ethernet76 89,90,91,92 Ethernet20/1 -Ethernet80 101,102,103,104 Ethernet21/1 -Ethernet84 97,98,99,100 Ethernet22/1 -Ethernet88 109,110,111,112 Ethernet23/1 -Ethernet92 105,106,107,108 Ethernet24/1 -Ethernet96 61,62,63,64 Ethernet25 -Ethernet100 57,58,59,60 Ethernet26 -Ethernet104 81,82,83,84 Ethernet27 -Ethernet108 85,86,87,88 Ethernet28 -Ethernet112 117,118,119,120 Ethernet29 -Ethernet116 113,114,115,116 Ethernet30 -Ethernet120 5,6,7,8 Ethernet31 -Ethernet124 1,2,3,4 Ethernet32 diff --git a/src/sonic-config-engine/platform/Arista-7050-QX32/sensors.conf b/src/sonic-config-engine/platform/Arista-7050-QX32/sensors.conf deleted file mode 100644 index 7745054a05ca..000000000000 --- a/src/sonic-config-engine/platform/Arista-7050-QX32/sensors.conf +++ /dev/null @@ -1,79 +0,0 @@ -# libsensors configuration file -# ---------------------------------------------- -# - -bus "i2c-2" "SCD SMBus master 0 bus 0" -bus "i2c-3" "SCD SMBus master 0 bus 1" -bus "i2c-5" "SCD SMBus master 0 bus 3" -bus "i2c-6" "SCD SMBus master 0 bus 4" -bus "i2c-7" "SCD SMBus master 0 bus 5" - -chip "k10temp-pci-00c3" - label temp1 "Cpu temp sensor" - -chip "lm73-i2c-3-48" - label temp1 "Rear Temp Sensor" - set temp1_max 65 - #set temp1_max_alarm 75 # read-only - -chip "lm86-i2c-2-4c" - label temp1 "Board Temp Sensor" - set temp1_max 65 - set temp1_crit 75 - - label temp2 "Front-panel Temp Sensor" - set temp2_max 65 - set temp2_crit 75 - -chip "pmbus-i2c-3-4e" - label temp1 "Power Controller Sensor 1" - set temp1_max 60 - set temp1_crit 70 - - label temp2 "Power Controller Sensor 2" - set temp2_max 60 - set temp2_crit 70 - - ignore curr1 - -chip "pmbus-i2c-5-58" - label temp1 "Power Supply 1 Sensor 1" - set temp1_max 60 - set temp1_crit 70 - - label temp2 "Power Supply 1 Sensor 2" - set temp2_max 60 - set temp2_crit 70 - - ignore temp3 - - set in1_max 250 - set in1_crit 255 - set power1_max 525 - set power2_max 460 - set power2_crit 462 - set curr1_max 5.28 - set curr1_crit 5.30 - set curr2_max 36 - set curr2_crit 37 - -chip "pmbus-i2c-6-58" - label temp1 "Power Supply 2 Sensor 1" - set temp1_max 60 - set temp1_crit 70 - - label temp2 "Power Supply 2 Sensor 2" - set temp2_max 60 - set temp2_crit 70 - - ignore temp3 - - set in1_max 250 - set in1_crit 255 - set power1_max 525 - set power2_max 460 - set power2_crit 462 - set curr1_max 5.28 - set curr1_crit 5.30 - set curr2_max 36 - set curr2_crit 37 diff --git a/src/sonic-config-engine/platform/Arista-7060-CX32S/port_config.ini b/src/sonic-config-engine/platform/Arista-7060-CX32S/port_config.ini deleted file mode 100644 index 414fb94efbc1..000000000000 --- a/src/sonic-config-engine/platform/Arista-7060-CX32S/port_config.ini +++ /dev/null @@ -1,33 +0,0 @@ -# name lanes alias -Ethernet0 33,34,35,36 Ethernet1/1 -Ethernet4 37,38,39,40 Ethernet2/1 -Ethernet8 41,42,43,44 Ethernet3/1 -Ethernet12 45,46,47,48 Ethernet4/1 -Ethernet16 49,50,51,52 Ethernet5/1 -Ethernet20 53,54,55,56 Ethernet6/1 -Ethernet24 57,58,59,60 Ethernet7/1 -Ethernet28 61,62,63,64 Ethernet8/1 -Ethernet32 65,66,67,68 Ethernet9/1 -Ethernet36 69,70,71,72 Ethernet10/1 -Ethernet40 73,74,75,76 Ethernet11/1 -Ethernet44 77,78,79,80 Ethernet12/1 -Ethernet48 81,82,83,84 Ethernet13/1 -Ethernet52 85,86,87,88 Ethernet14/1 -Ethernet56 89,90,91,92 Ethernet15/1 -Ethernet60 93,94,95,96 Ethernet16/1 -Ethernet64 97,98,99,100 Ethernet17/1 -Ethernet68 101,102,103,104 Ethernet18/1 -Ethernet72 105,106,107,108 Ethernet19/1 -Ethernet76 109,110,111,112 Ethernet20/1 -Ethernet80 113,114,115,116 Ethernet21/1 -Ethernet84 117,118,119,120 Ethernet22/1 -Ethernet88 121,122,123,124 Ethernet23/1 -Ethernet92 125,126,127,128 Ethernet24/1 -Ethernet96 1,2,3,4 Ethernet25/1 -Ethernet100 5,6,7,8 Ethernet26/1 -Ethernet104 9,10,11,12 Ethernet27/1 -Ethernet108 13,14,15,16 Ethernet28/1 -Ethernet112 17,18,19,20 Ethernet29/1 -Ethernet116 21,22,23,24 Ethernet30/1 -Ethernet120 25,26,27,28 Ethernet31/1 -Ethernet124 29,30,31,32 Ethernet32/1 diff --git a/src/sonic-config-engine/platform/Arista-7060-CX32S/sensors.conf b/src/sonic-config-engine/platform/Arista-7060-CX32S/sensors.conf deleted file mode 100644 index 3b4dd2385322..000000000000 --- a/src/sonic-config-engine/platform/Arista-7060-CX32S/sensors.conf +++ /dev/null @@ -1,47 +0,0 @@ -# libsensors configuration file for DCS-7060CX-32S -# ------------------------------------------------ -# - -bus "i2c-2" "SCD SMBus master 0 bus 0" -bus "i2c-3" "SCD SMBus master 0 bus 1" -bus "i2c-5" "SCD SMBus master 0 bus 3" -bus "i2c-6" "SCD SMBus master 0 bus 4" -bus "i2c-7" "SCD SMBus master 0 bus 5" - -chip "k10temp-pci-00c3" - label temp1 "Cpu temp sensor" - -# missing support for -# chip "max6697-i2c-2-1a" -# board sensor 65 75 -# (1) switch chip left sensor 95 105 -# (5) switch chip right sensor 95 105 -# (6) front panel temp sensor 65 75 - -chip "max6658-i2c-3-4c" - label temp1 "Cpu board temp sensor" - set temp1_max 75 - set temp1_crit 80 - - label temp2 "Back panel temp sensor" - set temp2_max 75 - set temp2_crit 80 - -chip "pmbus-i2c-3-4e" - label temp1 "Power controller 1 sensor 1" - label temp2 "Power controller 1 sensor 2" - -chip "pmbus-i2c-7-4e" - label temp1 "Power controller 2 sensor 1" - label temp2 "Power controller 2 sensor 2" - -chip "pmbus-i2c-6-58" - label temp1 "Power supply 1 hotspot sensor" - label temp2 "Power supply 1 inlet temp sensor" - label temp3 "Power supply 1 sensor" - -chip "pmbus-i2c-5-58" - label temp1 "Power supply 2 hotspot sensor" - label temp2 "Power supply 2 inlet temp sensor" - label temp3 "Power supply 2 sensor" - diff --git a/src/sonic-config-engine/platform/Force10-S6000/port_config.ini b/src/sonic-config-engine/platform/Force10-S6000/port_config.ini deleted file mode 100644 index 06898f1d7964..000000000000 --- a/src/sonic-config-engine/platform/Force10-S6000/port_config.ini +++ /dev/null @@ -1,33 +0,0 @@ -# name lanes alias -Ethernet0 29,30,31,32 fortyGigE0/0 -Ethernet4 25,26,27,28 fortyGigE0/4 -Ethernet8 37,38,39,40 fortyGigE0/8 -Ethernet12 33,34,35,36 fortyGigE0/12 -Ethernet16 41,42,43,44 fortyGigE0/16 -Ethernet20 45,46,47,48 fortyGigE0/20 -Ethernet24 5,6,7,8 fortyGigE0/24 -Ethernet28 1,2,3,4 fortyGigE0/28 -Ethernet32 9,10,11,12 fortyGigE0/32 -Ethernet36 13,14,15,16 fortyGigE0/36 -Ethernet40 21,22,23,24 fortyGigE0/40 -Ethernet44 17,18,19,20 fortyGigE0/44 -Ethernet48 49,50,51,52 fortyGigE0/48 -Ethernet52 53,54,55,56 fortyGigE0/52 -Ethernet56 61,62,63,64 fortyGigE0/56 -Ethernet60 57,58,59,60 fortyGigE0/60 -Ethernet64 65,66,67,68 fortyGigE0/64 -Ethernet68 69,70,71,72 fortyGigE0/68 -Ethernet72 77,78,79,80 fortyGigE0/72 -Ethernet76 73,74,75,76 fortyGigE0/76 -Ethernet80 105,106,107,108 fortyGigE0/80 -Ethernet84 109,110,111,112 fortyGigE0/84 -Ethernet88 117,118,119,120 fortyGigE0/88 -Ethernet92 113,114,115,116 fortyGigE0/92 -Ethernet96 121,122,123,124 fortyGigE0/96 -Ethernet100 125,126,127,128 fortyGigE0/100 -Ethernet104 85,86,87,88 fortyGigE0/104 -Ethernet108 81,82,83,84 fortyGigE0/108 -Ethernet112 89,90,91,92 fortyGigE0/112 -Ethernet116 93,94,95,96 fortyGigE0/116 -Ethernet120 97,98,99,100 fortyGigE0/120 -Ethernet124 101,102,103,104 fortyGigE0/124 diff --git a/src/sonic-config-engine/platform/Force10-S6000/sensors.conf b/src/sonic-config-engine/platform/Force10-S6000/sensors.conf deleted file mode 100644 index 2208bb6340d1..000000000000 --- a/src/sonic-config-engine/platform/Force10-S6000/sensors.conf +++ /dev/null @@ -1,57 +0,0 @@ -# libsensors configuration file -# -------------------------------------------------- -# - -# tmp75-i2c-11-4c has sensors close to Networking ASIC. -# tmp75-i2c-11-4d has sensors close to NIC. -# tmp75-i2c-11-4e is an ambient temperature sensor. - -chip "tmp75-*" - set temp1_max 50 - set temp1_max_hyst 25 - -# emc1403-i2c-10-4d has following temperature sensors: -# temp1: CPU0 external Temp Sensor -# temp2: CPU1 external Temp Sensor -# temp3: CPU Internal DTS (Internal die, max of all die readings) - -chip "emc1403-*" - set temp1_crit 85 - set temp1_max 50 - set temp2_crit 85 - set temp2_max 50 - set temp3_crit 85 - set temp3_max 50 - -chip "max6620-i2c-*-2a" - ignore fan3 - ignore fan4 - -chip "w83627dhg-*" - label in0 "VCore 1" - label in1 "VCore 2" - set in0_min 0 - set in0_max 1.74 - set in1_min 0 - set in1_max 1.74 - ignore fan1 - ignore fan2 - ignore fan3 - ignore fan4 - ignore fan5 - ignore in4 - ignore in5 - ignore in6 - ignore temp1 - ignore temp2 - ignore temp3 - ignore cpu0_vid - ignore intrusion0 - -chip "jc42-*" - set temp1_max 50 - set temp1_crit 85 - -chip "dni_dps460-*" - set temp1_max 50 - set temp2_max 50 diff --git a/src/sonic-config-engine/platform/Force10-S6100/port_config.ini b/src/sonic-config-engine/platform/Force10-S6100/port_config.ini deleted file mode 100644 index dcdd6548c198..000000000000 --- a/src/sonic-config-engine/platform/Force10-S6100/port_config.ini +++ /dev/null @@ -1,65 +0,0 @@ -# name lanes alias -Ethernet0 101,102 fortyGigE1/1/1 -Ethernet1 103,104 fortyGigE1/1/2 -Ethernet2 97,98 fortyGigE1/1/3 -Ethernet3 99,100 fortyGigE1/1/4 -Ethernet4 69,70 fortyGigE1/1/5 -Ethernet5 71,72 fortyGigE1/1/6 -Ethernet6 65,66 fortyGigE1/1/7 -Ethernet7 67,68 fortyGigE1/1/8 -Ethernet8 53,54 fortyGigE1/1/9 -Ethernet9 55,56 fortyGigE1/1/10 -Ethernet10 49,50 fortyGigE1/1/11 -Ethernet11 51,52 fortyGigE1/1/12 -Ethernet12 21,22 fortyGigE1/1/13 -Ethernet13 23,24 fortyGigE1/1/14 -Ethernet14 17,18 fortyGigE1/1/15 -Ethernet15 19,20 fortyGigE1/1/16 -Ethernet16 25,26 fortyGigE1/2/1 -Ethernet17 27,28 fortyGigE1/2/2 -Ethernet18 29,30 fortyGigE1/2/3 -Ethernet19 31,32 fortyGigE1/2/4 -Ethernet20 57,58 fortyGigE1/2/5 -Ethernet21 59,60 fortyGigE1/2/6 -Ethernet22 61,62 fortyGigE1/2/7 -Ethernet23 63,64 fortyGigE1/2/8 -Ethernet24 73,74 fortyGigE1/2/9 -Ethernet25 75,76 fortyGigE1/2/10 -Ethernet26 77,78 fortyGigE1/2/11 -Ethernet27 79,80 fortyGigE1/2/12 -Ethernet28 105,106 fortyGigE1/2/13 -Ethernet29 107,108 fortyGigE1/2/14 -Ethernet30 109,110 fortyGigE1/2/15 -Ethernet31 111,112 fortyGigE1/2/16 -Ethernet32 13,14 fortyGigE1/3/1 -Ethernet33 15,16 fortyGigE1/3/2 -Ethernet34 9,10 fortyGigE1/3/3 -Ethernet35 11,12 fortyGigE1/3/4 -Ethernet36 125,126 fortyGigE1/3/5 -Ethernet37 127,128 fortyGigE1/3/6 -Ethernet38 121,122 fortyGigE1/3/7 -Ethernet39 123,124 fortyGigE1/3/8 -Ethernet40 93,94 fortyGigE1/3/9 -Ethernet41 95,96 fortyGigE1/3/10 -Ethernet42 89,90 fortyGigE1/3/11 -Ethernet43 91,92 fortyGigE1/3/12 -Ethernet44 45,46 fortyGigE1/3/13 -Ethernet45 47,48 fortyGigE1/3/14 -Ethernet46 41,42 fortyGigE1/3/15 -Ethernet47 43,44 fortyGigE1/3/16 -Ethernet48 113,114 fortyGigE1/4/1 -Ethernet49 115,116 fortyGigE1/4/2 -Ethernet50 117,118 fortyGigE1/4/3 -Ethernet51 119,120 fortyGigE1/4/4 -Ethernet52 1,2 fortyGigE1/4/5 -Ethernet53 3,4 fortyGigE1/4/6 -Ethernet54 5,6 fortyGigE1/4/7 -Ethernet55 7,8 fortyGigE1/4/8 -Ethernet56 33,34 fortyGigE1/4/9 -Ethernet57 35,36 fortyGigE1/4/10 -Ethernet58 37,38 fortyGigE1/4/11 -Ethernet59 39,40 fortyGigE1/4/12 -Ethernet60 81,82 fortyGigE1/4/13 -Ethernet61 83,84 fortyGigE1/4/14 -Ethernet62 85,86 fortyGigE1/4/15 -Ethernet63 87,88 fortyGigE1/4/16 diff --git a/src/sonic-config-engine/platform/Force10-Z9100/port_config.ini b/src/sonic-config-engine/platform/Force10-Z9100/port_config.ini deleted file mode 100644 index e000f29bef38..000000000000 --- a/src/sonic-config-engine/platform/Force10-Z9100/port_config.ini +++ /dev/null @@ -1,33 +0,0 @@ -# name lanes alias -Ethernet0 49,50,51,52 hundredGigE1/1 -Ethernet4 53,54,55,56 hundredGigE1/2 -Ethernet8 57,58,59,60 hundredGigE1/3 -Ethernet12 61,62,63,64 hundredGigE1/4 -Ethernet16 65,66,67,68 hundredGigE1/5 -Ethernet20 69,70,71,72 hundredGigE1/6 -Ethernet24 73,74,75,76 hundredGigE1/7 -Ethernet28 77,78,79,80 hundredGigE1/8 -Ethernet32 37,38,39,40 hundredGigE1/9 -Ethernet36 33,34,35,36 hundredGigE1/10 -Ethernet40 45,46,47,48 hundredGigE1/11 -Ethernet44 41,42,43,44 hundredGigE1/12 -Ethernet48 81,82,83,84 hundredGigE1/13 -Ethernet52 85,86,87,88 hundredGigE1/14 -Ethernet56 89,90,91,92 hundredGigE1/15 -Ethernet60 93,94,95,96 hundredGigE1/16 -Ethernet64 97,98,99,100 hundredGigE1/17 -Ethernet68 101,102,103,104 hundredGigE1/18 -Ethernet72 105,106,107,108 hundredGigE1/19 -Ethernet76 109,110,111,112 hundredGigE1/20 -Ethernet80 21,22,23,24 hundredGigE1/21 -Ethernet84 17,18,19,20 hundredGigE1/22 -Ethernet88 29,30,31,32 hundredGigE1/23 -Ethernet92 25,26,27,28 hundredGigE1/24 -Ethernet96 117,118,119,120 hundredGigE1/25 -Ethernet100 113,114,115,116 hundredGigE1/26 -Ethernet104 125,126,127,128 hundredGigE1/27 -Ethernet108 121,122,123,124 hundredGigE1/28 -Ethernet112 5,6,7,8 hundredGigE1/29 -Ethernet116 1,2,3,4 hundredGigE1/30 -Ethernet120 13,14,15,16 hundredGigE1/31 -Ethernet124 9,10,11,12 hundredGigE1/32 diff --git a/src/sonic-config-engine/platform/INGRASYS-S9100-C32/port_config.ini b/src/sonic-config-engine/platform/INGRASYS-S9100-C32/port_config.ini deleted file mode 100644 index d2b36ebf5e2a..000000000000 --- a/src/sonic-config-engine/platform/INGRASYS-S9100-C32/port_config.ini +++ /dev/null @@ -1,33 +0,0 @@ -# name lanes alias -Ethernet0 5,6,7,8 Ethernet0 -Ethernet4 1,2,3,4 Ethernet4 -Ethernet8 13,14,15,16 Ethernet8 -Ethernet12 9,10,11,12 Ethernet12 -Ethernet16 21,22,23,24 Ethernet16 -Ethernet20 17,18,19,20 Ethernet20 -Ethernet24 29,30,31,32 Ethernet24 -Ethernet28 25,26,27,28 Ethernet28 -Ethernet32 37,38,39,40 Ethernet32 -Ethernet36 33,34,35,36 Ethernet36 -Ethernet40 45,46,47,48 Ethernet40 -Ethernet44 41,42,43,44 Ethernet44 -Ethernet48 53,54,55,56 Ethernet48 -Ethernet52 49,50,51,52 Ethernet52 -Ethernet56 61,62,63,64 Ethernet56 -Ethernet60 57,58,59,60 Ethernet60 -Ethernet64 69,70,71,72 Ethernet64 -Ethernet68 65,66,67,68 Ethernet68 -Ethernet72 77,78,79,80 Ethernet72 -Ethernet76 73,74,75,76 Ethernet76 -Ethernet80 85,86,87,88 Ethernet80 -Ethernet84 81,82,83,84 Ethernet84 -Ethernet88 93,94,95,96 Ethernet88 -Ethernet92 89,90,91,92 Ethernet92 -Ethernet96 101,102,103,104 Ethernet96 -Ethernet100 97,98,99,100 Ethernet100 -Ethernet104 109,110,111,112 Ethernet104 -Ethernet108 105,106,107,108 Ethernet108 -Ethernet112 117,118,119,120 Ethernet112 -Ethernet116 113,114,115,116 Ethernet116 -Ethernet120 125,126,127,128 Ethernet120 -Ethernet124 121,122,123,124 Ethernet124 diff --git a/src/sonic-config-engine/platform/INGRASYS-S9100-C32/sensors.conf b/src/sonic-config-engine/platform/INGRASYS-S9100-C32/sensors.conf deleted file mode 100644 index 44eedb4b11b0..000000000000 --- a/src/sonic-config-engine/platform/INGRASYS-S9100-C32/sensors.conf +++ /dev/null @@ -1,35 +0,0 @@ -# libsensors configuration file -chip "i350bb-*" - ignore loc1 - -chip "jc42-*" - label temp1 "DIMM Temp" - set temp1_max 50 - set temp1_crit 85 - -chip "w83795adg-*" - label in0 "1.0V" - label in1 "1.0V_ROV" - label in2 "1.25V" - label in3 "1.8V" - ignore in4 - ignore in5 - ignore in6 - ignore in7 - label in12 "+3.3V" - ignore in14 - ignore in15 - ignore in16 - label fan1 "FANTRAY 1-A" - label fan2 "FANTRAY 1-B" - label fan3 "FANTRAY 2-A" - label fan4 "FANTRAY 2-B" - label fan5 "FANTRAY 3-A" - label fan6 "FANTRAY 3-B" - label fan7 "FANTRAY 4-A" - label fan8 "FANTRAY 4-B" - label temp1 "Front MAC Temp" - label temp2 "Rear MAC Temp" - ignore temp3 - ignore temp4 - ignore intrusion0 diff --git a/src/sonic-config-engine/setup.py b/src/sonic-config-engine/setup.py index 5a0a144cb35d..b9e6ace7cccf 100755 --- a/src/sonic-config-engine/setup.py +++ b/src/sonic-config-engine/setup.py @@ -4,18 +4,6 @@ import os.path import unittest -def get_platform_file_list(): - data_files = [] - repo_path = os.path.abspath(os.path.dirname(__file__)) - data_path = os.path.join(repo_path, 'platform') - platforms = os.listdir(data_path) - for platform in platforms: - files = ['platform/' + platform + '/port_config.ini'] - if os.path.isfile( os.path.join(data_path, platform, 'sensors.conf') ): - files.append('platform/' + platform + '/sensors.conf') #Not all platforms need to have a sensors.conf file - data_files.append( (os.path.join('/usr/share/sonic', platform), files) ) - return data_files - def get_test_suite(): test_loader = unittest.TestLoader() test_suite = test_loader.discover('tests', pattern='*.py') @@ -29,7 +17,6 @@ def get_test_suite(): url='https://github.com/Azure/sonic-buildimage', py_modules=['minigraph', 'openconfig_acl'], scripts=['sonic-cfggen', 'translate_acl'], - data_files=get_platform_file_list(), install_requires=['lxml', 'jinja2', 'netaddr', 'ipaddr', 'pyyaml', 'pyangbind'], test_suite='setup.get_test_suite', )