Matt Spinler | 1b8b904 | 2016-08-25 13:04:09 -0500 | [diff] [blame] | 1 | <patches> |
| 2 | |
| 3 | <targetFile>palmetto.xml</targetFile> |
| 4 | |
| 5 | <!-- Add in the 5 fan and connector instances --> |
| 6 | <targetInstance xpath="/"> |
| 7 | <id>fanconn-0</id> |
| 8 | <type>connector-card-generic</type> |
| 9 | <library_target>false</library_target> |
| 10 | <instance_name>fanconn</instance_name> |
| 11 | <position>0</position> |
| 12 | <child_id>fan-0</child_id> |
| 13 | <attribute> |
| 14 | <id>CLASS</id> |
| 15 | <default>CONNECTOR</default> |
| 16 | </attribute> |
| 17 | <attribute> |
| 18 | <id>LOCATION_CODE</id> |
| 19 | <default></default> |
| 20 | </attribute> |
| 21 | <attribute> |
| 22 | <id>MODEL</id> |
| 23 | <default></default> |
| 24 | </attribute> |
| 25 | <attribute> |
| 26 | <id>MRW_TYPE</id> |
| 27 | <default>NA</default> |
| 28 | </attribute> |
| 29 | <attribute> |
| 30 | <id>POSITION</id> |
| 31 | <default>0</default> |
| 32 | </attribute> |
| 33 | <attribute> |
| 34 | <id>RESOURCE_IS_CRITICAL</id> |
| 35 | <default>0</default> |
| 36 | </attribute> |
| 37 | <attribute> |
| 38 | <id>TYPE</id> |
| 39 | <default>NA</default> |
| 40 | </attribute> |
| 41 | </targetInstance> |
| 42 | <targetInstance xpath="/"> |
| 43 | <id>fan-0</id> |
| 44 | <type>card-fan</type> |
| 45 | <library_target>false</library_target> |
| 46 | <instance_name>fan</instance_name> |
| 47 | <position>0</position> |
| 48 | <attribute> |
| 49 | <id>CLASS</id> |
| 50 | <default>CARD</default> |
| 51 | </attribute> |
| 52 | <attribute> |
| 53 | <id>FRU_ID</id> |
| 54 | <default></default> |
| 55 | </attribute> |
| 56 | <attribute> |
| 57 | <id>FRU_NAME</id> |
| 58 | <default>FAN</default> |
| 59 | </attribute> |
| 60 | <attribute> |
| 61 | <id>LOCATION_CODE</id> |
| 62 | <default></default> |
| 63 | </attribute> |
| 64 | <attribute> |
| 65 | <id>MODEL</id> |
| 66 | <default></default> |
| 67 | </attribute> |
| 68 | <attribute> |
| 69 | <id>MRW_TYPE</id> |
| 70 | <default>NA</default> |
| 71 | </attribute> |
| 72 | <attribute> |
| 73 | <id>POSITION</id> |
| 74 | <default>0</default> |
| 75 | </attribute> |
| 76 | <attribute> |
| 77 | <id>RESOURCE_IS_CRITICAL</id> |
| 78 | <default>0</default> |
| 79 | </attribute> |
| 80 | <attribute> |
| 81 | <id>TYPE</id> |
| 82 | <default>FAN</default> |
| 83 | </attribute> |
| 84 | </targetInstance> |
| 85 | <targetInstance xpath="/"> |
| 86 | <id>fanconn-1</id> |
| 87 | <type>connector-card-generic</type> |
| 88 | <library_target>false</library_target> |
| 89 | <instance_name>fanconn</instance_name> |
| 90 | <position>1</position> |
| 91 | <child_id>fan-1</child_id> |
| 92 | <attribute> |
| 93 | <id>CLASS</id> |
| 94 | <default>CONNECTOR</default> |
| 95 | </attribute> |
| 96 | <attribute> |
| 97 | <id>LOCATION_CODE</id> |
| 98 | <default></default> |
| 99 | </attribute> |
| 100 | <attribute> |
| 101 | <id>MODEL</id> |
| 102 | <default></default> |
| 103 | </attribute> |
| 104 | <attribute> |
| 105 | <id>MRW_TYPE</id> |
| 106 | <default>NA</default> |
| 107 | </attribute> |
| 108 | <attribute> |
| 109 | <id>POSITION</id> |
| 110 | <default>1</default> |
| 111 | </attribute> |
| 112 | <attribute> |
| 113 | <id>RESOURCE_IS_CRITICAL</id> |
| 114 | <default>0</default> |
| 115 | </attribute> |
| 116 | <attribute> |
| 117 | <id>TYPE</id> |
| 118 | <default>NA</default> |
| 119 | </attribute> |
| 120 | </targetInstance> |
| 121 | <targetInstance xpath="/"> |
| 122 | <id>fan-1</id> |
| 123 | <type>card-fan</type> |
| 124 | <library_target>false</library_target> |
| 125 | <instance_name>fan</instance_name> |
| 126 | <position>1</position> |
| 127 | <attribute> |
| 128 | <id>CLASS</id> |
| 129 | <default>CARD</default> |
| 130 | </attribute> |
| 131 | <attribute> |
| 132 | <id>FRU_ID</id> |
| 133 | <default></default> |
| 134 | </attribute> |
| 135 | <attribute> |
| 136 | <id>FRU_NAME</id> |
| 137 | <default>FAN</default> |
| 138 | </attribute> |
| 139 | <attribute> |
| 140 | <id>LOCATION_CODE</id> |
| 141 | <default></default> |
| 142 | </attribute> |
| 143 | <attribute> |
| 144 | <id>MODEL</id> |
| 145 | <default></default> |
| 146 | </attribute> |
| 147 | <attribute> |
| 148 | <id>MRW_TYPE</id> |
| 149 | <default>NA</default> |
| 150 | </attribute> |
| 151 | <attribute> |
| 152 | <id>POSITION</id> |
| 153 | <default>1</default> |
| 154 | </attribute> |
| 155 | <attribute> |
| 156 | <id>RESOURCE_IS_CRITICAL</id> |
| 157 | <default>0</default> |
| 158 | </attribute> |
| 159 | <attribute> |
| 160 | <id>TYPE</id> |
| 161 | <default>FAN</default> |
| 162 | </attribute> |
| 163 | </targetInstance> |
| 164 | <targetInstance xpath="/"> |
| 165 | <id>fanconn-2</id> |
| 166 | <type>connector-card-generic</type> |
| 167 | <library_target>false</library_target> |
| 168 | <instance_name>fanconn</instance_name> |
| 169 | <position>2</position> |
| 170 | <child_id>fan-2</child_id> |
| 171 | <attribute> |
| 172 | <id>CLASS</id> |
| 173 | <default>CONNECTOR</default> |
| 174 | </attribute> |
| 175 | <attribute> |
| 176 | <id>LOCATION_CODE</id> |
| 177 | <default></default> |
| 178 | </attribute> |
| 179 | <attribute> |
| 180 | <id>MODEL</id> |
| 181 | <default></default> |
| 182 | </attribute> |
| 183 | <attribute> |
| 184 | <id>MRW_TYPE</id> |
| 185 | <default>NA</default> |
| 186 | </attribute> |
| 187 | <attribute> |
| 188 | <id>POSITION</id> |
| 189 | <default>2</default> |
| 190 | </attribute> |
| 191 | <attribute> |
| 192 | <id>RESOURCE_IS_CRITICAL</id> |
| 193 | <default>0</default> |
| 194 | </attribute> |
| 195 | <attribute> |
| 196 | <id>TYPE</id> |
| 197 | <default>NA</default> |
| 198 | </attribute> |
| 199 | </targetInstance> |
| 200 | <targetInstance xpath="/"> |
| 201 | <id>fan-2</id> |
| 202 | <type>card-fan</type> |
| 203 | <library_target>false</library_target> |
| 204 | <instance_name>fan</instance_name> |
| 205 | <position>2</position> |
| 206 | <attribute> |
| 207 | <id>CLASS</id> |
| 208 | <default>CARD</default> |
| 209 | </attribute> |
| 210 | <attribute> |
| 211 | <id>FRU_ID</id> |
| 212 | <default></default> |
| 213 | </attribute> |
| 214 | <attribute> |
| 215 | <id>FRU_NAME</id> |
| 216 | <default>FAN</default> |
| 217 | </attribute> |
| 218 | <attribute> |
| 219 | <id>LOCATION_CODE</id> |
| 220 | <default></default> |
| 221 | </attribute> |
| 222 | <attribute> |
| 223 | <id>MODEL</id> |
| 224 | <default></default> |
| 225 | </attribute> |
| 226 | <attribute> |
| 227 | <id>MRW_TYPE</id> |
| 228 | <default>NA</default> |
| 229 | </attribute> |
| 230 | <attribute> |
| 231 | <id>POSITION</id> |
| 232 | <default>2</default> |
| 233 | </attribute> |
| 234 | <attribute> |
| 235 | <id>RESOURCE_IS_CRITICAL</id> |
| 236 | <default>0</default> |
| 237 | </attribute> |
| 238 | <attribute> |
| 239 | <id>TYPE</id> |
| 240 | <default>FAN</default> |
| 241 | </attribute> |
| 242 | </targetInstance> |
| 243 | <targetInstance xpath="/"> |
| 244 | <id>fanconn-3</id> |
| 245 | <type>connector-card-generic</type> |
| 246 | <library_target>false</library_target> |
| 247 | <instance_name>fanconn</instance_name> |
| 248 | <position>3</position> |
| 249 | <child_id>fan-3</child_id> |
| 250 | <attribute> |
| 251 | <id>CLASS</id> |
| 252 | <default>CONNECTOR</default> |
| 253 | </attribute> |
| 254 | <attribute> |
| 255 | <id>LOCATION_CODE</id> |
| 256 | <default></default> |
| 257 | </attribute> |
| 258 | <attribute> |
| 259 | <id>MODEL</id> |
| 260 | <default></default> |
| 261 | </attribute> |
| 262 | <attribute> |
| 263 | <id>MRW_TYPE</id> |
| 264 | <default>NA</default> |
| 265 | </attribute> |
| 266 | <attribute> |
| 267 | <id>POSITION</id> |
| 268 | <default>3</default> |
| 269 | </attribute> |
| 270 | <attribute> |
| 271 | <id>RESOURCE_IS_CRITICAL</id> |
| 272 | <default>0</default> |
| 273 | </attribute> |
| 274 | <attribute> |
| 275 | <id>TYPE</id> |
| 276 | <default>NA</default> |
| 277 | </attribute> |
| 278 | </targetInstance> |
| 279 | <targetInstance xpath="/"> |
| 280 | <id>fan-3</id> |
| 281 | <type>card-fan</type> |
| 282 | <library_target>false</library_target> |
| 283 | <instance_name>fan</instance_name> |
| 284 | <position>3</position> |
| 285 | <attribute> |
| 286 | <id>CLASS</id> |
| 287 | <default>CARD</default> |
| 288 | </attribute> |
| 289 | <attribute> |
| 290 | <id>FRU_ID</id> |
| 291 | <default></default> |
| 292 | </attribute> |
| 293 | <attribute> |
| 294 | <id>FRU_NAME</id> |
| 295 | <default>FAN</default> |
| 296 | </attribute> |
| 297 | <attribute> |
| 298 | <id>LOCATION_CODE</id> |
| 299 | <default></default> |
| 300 | </attribute> |
| 301 | <attribute> |
| 302 | <id>MODEL</id> |
| 303 | <default></default> |
| 304 | </attribute> |
| 305 | <attribute> |
| 306 | <id>MRW_TYPE</id> |
| 307 | <default>NA</default> |
| 308 | </attribute> |
| 309 | <attribute> |
| 310 | <id>POSITION</id> |
| 311 | <default>3</default> |
| 312 | </attribute> |
| 313 | <attribute> |
| 314 | <id>RESOURCE_IS_CRITICAL</id> |
| 315 | <default>0</default> |
| 316 | </attribute> |
| 317 | <attribute> |
| 318 | <id>TYPE</id> |
| 319 | <default>FAN</default> |
| 320 | </attribute> |
| 321 | </targetInstance> |
| 322 | <targetInstance xpath="/"> |
| 323 | <id>fanconn-4</id> |
| 324 | <type>connector-card-generic</type> |
| 325 | <library_target>false</library_target> |
| 326 | <instance_name>fanconn</instance_name> |
| 327 | <position>4</position> |
| 328 | <child_id>fan-4</child_id> |
| 329 | <attribute> |
| 330 | <id>CLASS</id> |
| 331 | <default>CONNECTOR</default> |
| 332 | </attribute> |
| 333 | <attribute> |
| 334 | <id>LOCATION_CODE</id> |
| 335 | <default></default> |
| 336 | </attribute> |
| 337 | <attribute> |
| 338 | <id>MODEL</id> |
| 339 | <default></default> |
| 340 | </attribute> |
| 341 | <attribute> |
| 342 | <id>MRW_TYPE</id> |
| 343 | <default>NA</default> |
| 344 | </attribute> |
| 345 | <attribute> |
| 346 | <id>POSITION</id> |
| 347 | <default>4</default> |
| 348 | </attribute> |
| 349 | <attribute> |
| 350 | <id>RESOURCE_IS_CRITICAL</id> |
| 351 | <default>0</default> |
| 352 | </attribute> |
| 353 | <attribute> |
| 354 | <id>TYPE</id> |
| 355 | <default>NA</default> |
| 356 | </attribute> |
| 357 | </targetInstance> |
| 358 | <targetInstance xpath="/"> |
| 359 | <id>fan-4</id> |
| 360 | <type>card-fan</type> |
| 361 | <library_target>false</library_target> |
| 362 | <instance_name>fan</instance_name> |
| 363 | <position>4</position> |
| 364 | <attribute> |
| 365 | <id>CLASS</id> |
| 366 | <default>CARD</default> |
| 367 | </attribute> |
| 368 | <attribute> |
| 369 | <id>FRU_ID</id> |
| 370 | <default></default> |
| 371 | </attribute> |
| 372 | <attribute> |
| 373 | <id>FRU_NAME</id> |
| 374 | <default>FAN</default> |
| 375 | </attribute> |
| 376 | <attribute> |
| 377 | <id>LOCATION_CODE</id> |
| 378 | <default></default> |
| 379 | </attribute> |
| 380 | <attribute> |
| 381 | <id>MODEL</id> |
| 382 | <default></default> |
| 383 | </attribute> |
| 384 | <attribute> |
| 385 | <id>MRW_TYPE</id> |
| 386 | <default>NA</default> |
| 387 | </attribute> |
| 388 | <attribute> |
| 389 | <id>POSITION</id> |
| 390 | <default>4</default> |
| 391 | </attribute> |
| 392 | <attribute> |
| 393 | <id>RESOURCE_IS_CRITICAL</id> |
| 394 | <default>0</default> |
| 395 | </attribute> |
| 396 | <attribute> |
| 397 | <id>TYPE</id> |
| 398 | <default>FAN</default> |
| 399 | </attribute> |
| 400 | </targetInstance> |
| 401 | |
| 402 | <!-- place the fan connectors on the motherboard --> |
| 403 | <targetInstance type="add-child" xpath="targetInstance[id='motherboard-0']"> |
| 404 | <child_id>fanconn-0</child_id> |
| 405 | <child_id>fanconn-1</child_id> |
| 406 | <child_id>fanconn-2</child_id> |
| 407 | <child_id>fanconn-3</child_id> |
| 408 | <child_id>fanconn-4</child_id> |
| 409 | </targetInstance> |
| 410 | |
| 411 | <!-- Add in the motherboard FRU name --> |
| 412 | <attribute type="add" xpath="targetInstance[id='motherboard-0']"> |
| 413 | <id>FRU_NAME</id> |
| 414 | <default>MOTHERBOARD</default> |
| 415 | </attribute> |
| 416 | |
| 417 | <!-- add in some new types --> |
| 418 | <enumerationType type="add-child" xpath="enumerationType[id='TYPE']"> |
| 419 | <enumerator> |
| 420 | <name>FAN</name> |
| 421 | <value>35</value> |
| 422 | </enumerator> |
| 423 | <enumerator> |
| 424 | <name>PCIE_CARD</name> |
| 425 | <value>36</value> |
| 426 | </enumerator> |
| 427 | </enumerationType> |
| 428 | |
| 429 | |
| 430 | |
| 431 | <!--fix up the other enums that come at the end of the list--> |
| 432 | <enumerationType type="replace-child" key="name" xpath="enumerationType[id='TYPE']"> |
| 433 | <enumerator> |
| 434 | <name>TEST_FAIL</name> |
| 435 | <value>37</value> |
| 436 | </enumerator> |
| 437 | <enumerator> |
| 438 | <name>LAST_IN_RANGE</name> |
| 439 | <value>38</value> |
| 440 | </enumerator> |
| 441 | </enumerationType> |
| 442 | |
| 443 | <!-- Fix the PCIE card's type --> |
| 444 | <attribute type="replace" xpath="targetInstance[id='pciecard_x8-0']/attribute[id='TYPE']"> |
| 445 | <id>TYPE</id> |
| 446 | <default>PCIE_CARD</default> |
| 447 | </attribute> |
| 448 | |
| 449 | <!-- Add the card's FRU name --> |
| 450 | <attribute type="add" xpath="targetInstance[id='pciecard_x8-0']"> |
| 451 | <id>FRU_NAME</id> |
| 452 | <default>PCIE_CARD</default> |
| 453 | </attribute> |
| 454 | |
| 455 | <!-- Fix the PCIE card's type --> |
| 456 | <attribute type="replace" xpath="targetInstance[id='pciecard_x16-0']/attribute[id='TYPE']"> |
| 457 | <id>TYPE</id> |
| 458 | <default>PCIE_CARD</default> |
| 459 | </attribute> |
| 460 | |
| 461 | <!-- Add the card's FRU name --> |
| 462 | <attribute type="add" xpath="targetInstance[id='pciecard_x16-0']"> |
| 463 | <id>FRU_NAME</id> |
| 464 | <default>PCIE_CARD</default> |
| 465 | </attribute> |
| 466 | |
Matt Spinler | 1d27150 | 2017-01-10 13:36:06 -0600 | [diff] [blame] | 467 | <!-- new parser requires FABRIC_GROUP_ID, though it's unused by the BMC --> |
| 468 | <attribute type="replace" xpath="targetInstance[id='proc_socket-0']/attribute[id='FABRIC_NODE_ID']"> |
| 469 | <id>FABRIC_GROUP_ID</id> |
| 470 | <default>0</default> |
| 471 | </attribute> |
| 472 | |
Matt Spinler | 1b8b904 | 2016-08-25 13:04:09 -0500 | [diff] [blame] | 473 | </patches> |