[devices][Mellanox] create sai.xml for MSN3800-D112-C8 (#4334)
sai_xml contains info about port splits, previously it simply linked to the MSN3800 sai xml, which does not have splits. New version describes splits and speeds according to Mellanox-SN3800-D112-C8 SKU. Practically it can cause port recreation on SAI init. Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
This commit is contained in:
parent
4b8067e913
commit
7e7777e374
@ -1 +1 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800.xml
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_112x50g_8x100g.xml
|
||||
|
@ -1 +0,0 @@
|
||||
../ACS-MSN3800/sai_3800.xml
|
@ -0,0 +1,507 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<platform_info type="3800">
|
||||
|
||||
<!-- Device MAC address -->
|
||||
<device-mac-address>00:02:03:04:05:00</device-mac-address>
|
||||
|
||||
<!-- Number of ports in the following port list -->
|
||||
<number-of-physical-ports>64</number-of-physical-ports>
|
||||
|
||||
<!-- List of ports in the device -->
|
||||
<ports-list>
|
||||
<port-info>
|
||||
<local-port>1</local-port>
|
||||
<width>4</width>
|
||||
<module>48</module>
|
||||
|
||||
<!-- 0 none, 1=2, 2=4, 3=2,4 -->
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
|
||||
<!-- (BITMASK) 2 - 1Gb , 16 - 10Gb , 32 - 40Gb , 384 - 50Gb , 1536 - 100Gb , 4096 - 200Gb -->
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>3</local-port>
|
||||
<width>4</width>
|
||||
<module>49</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>5</local-port>
|
||||
<width>4</width>
|
||||
<module>50</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>7</local-port>
|
||||
<width>4</width>
|
||||
<module>51</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>9</local-port>
|
||||
<width>4</width>
|
||||
<module>52</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>11</local-port>
|
||||
<width>4</width>
|
||||
<module>53</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>13</local-port>
|
||||
<width>4</width>
|
||||
<module>54</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>15</local-port>
|
||||
<width>4</width>
|
||||
<module>55</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>17</local-port>
|
||||
<width>4</width>
|
||||
<module>56</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>19</local-port>
|
||||
<width>4</width>
|
||||
<module>57</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>21</local-port>
|
||||
<width>4</width>
|
||||
<module>58</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>23</local-port>
|
||||
<width>4</width>
|
||||
<module>59</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>25</local-port>
|
||||
<width>4</width>
|
||||
<module>60</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>27</local-port>
|
||||
<width>4</width>
|
||||
<module>61</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>29</local-port>
|
||||
<width>4</width>
|
||||
<module>62</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>31</local-port>
|
||||
<width>4</width>
|
||||
<module>63</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>33</local-port>
|
||||
<width>4</width>
|
||||
<module>12</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>35</local-port>
|
||||
<width>4</width>
|
||||
<module>13</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>37</local-port>
|
||||
<width>4</width>
|
||||
<module>14</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>39</local-port>
|
||||
<width>4</width>
|
||||
<module>15</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>41</local-port>
|
||||
<width>4</width>
|
||||
<module>8</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>43</local-port>
|
||||
<width>4</width>
|
||||
<module>9</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>45</local-port>
|
||||
<width>4</width>
|
||||
<module>10</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>47</local-port>
|
||||
<width>4</width>
|
||||
<module>11</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>49</local-port>
|
||||
<width>4</width>
|
||||
<module>4</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>51</local-port>
|
||||
<width>4</width>
|
||||
<module>5</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>53</local-port>
|
||||
<width>4</width>
|
||||
<module>6</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>55</local-port>
|
||||
<width>4</width>
|
||||
<module>7</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>57</local-port>
|
||||
<width>4</width>
|
||||
<module>0</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>59</local-port>
|
||||
<width>4</width>
|
||||
<module>1</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>61</local-port>
|
||||
<width>4</width>
|
||||
<module>2</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>63</local-port>
|
||||
<width>4</width>
|
||||
<module>3</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>65</local-port>
|
||||
<width>4</width>
|
||||
<module>44</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>67</local-port>
|
||||
<width>4</width>
|
||||
<module>45</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>69</local-port>
|
||||
<width>4</width>
|
||||
<module>46</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>71</local-port>
|
||||
<width>4</width>
|
||||
<module>47</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>73</local-port>
|
||||
<width>4</width>
|
||||
<module>40</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>75</local-port>
|
||||
<width>4</width>
|
||||
<module>41</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>77</local-port>
|
||||
<width>4</width>
|
||||
<module>42</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>79</local-port>
|
||||
<width>4</width>
|
||||
<module>43</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>81</local-port>
|
||||
<width>4</width>
|
||||
<module>36</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>1536</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>83</local-port>
|
||||
<width>4</width>
|
||||
<module>37</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>1536</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>85</local-port>
|
||||
<width>4</width>
|
||||
<module>38</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>87</local-port>
|
||||
<width>4</width>
|
||||
<module>39</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>89</local-port>
|
||||
<width>4</width>
|
||||
<module>32</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>1536</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>91</local-port>
|
||||
<width>4</width>
|
||||
<module>33</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>1536</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>93</local-port>
|
||||
<width>4</width>
|
||||
<module>34</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>95</local-port>
|
||||
<width>4</width>
|
||||
<module>35</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>97</local-port>
|
||||
<width>4</width>
|
||||
<module>16</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>99</local-port>
|
||||
<width>4</width>
|
||||
<module>17</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>101</local-port>
|
||||
<width>4</width>
|
||||
<module>18</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>103</local-port>
|
||||
<width>4</width>
|
||||
<module>19</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>105</local-port>
|
||||
<width>4</width>
|
||||
<module>20</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>107</local-port>
|
||||
<width>4</width>
|
||||
<module>21</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>109</local-port>
|
||||
<width>4</width>
|
||||
<module>22</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>111</local-port>
|
||||
<width>4</width>
|
||||
<module>23</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>113</local-port>
|
||||
<width>4</width>
|
||||
<module>24</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>1536</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>115</local-port>
|
||||
<width>4</width>
|
||||
<module>25</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>1536</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>117</local-port>
|
||||
<width>4</width>
|
||||
<module>26</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>119</local-port>
|
||||
<width>4</width>
|
||||
<module>27</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>121</local-port>
|
||||
<width>4</width>
|
||||
<module>28</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>1536</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>123</local-port>
|
||||
<width>4</width>
|
||||
<module>29</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>1536</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>125</local-port>
|
||||
<width>4</width>
|
||||
<module>30</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<split>2</split>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
<port-info>
|
||||
<local-port>127</local-port>
|
||||
<width>4</width>
|
||||
<module>31</module>
|
||||
<breakout-modes>3</breakout-modes>
|
||||
<port-speed>384</port-speed>
|
||||
</port-info>
|
||||
</ports-list>
|
||||
</platform_info>
|
||||
</root>
|
Loading…
Reference in New Issue
Block a user