cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
969
Views
3
Helpful
4
Replies

Card/Module Inventory

Hernani Crespi Di Palma
Cisco Employee
Cisco Employee

Good Afternoon,

I would like to ask if there's a way to pull Card and Module inventory details from the network devices from the APIC-EM ? I'm using API to get the inventory data for the devices but it would be great to have visibility to modules and cards.

Thanks,

4 Replies 4

aradford
Cisco Employee
Cisco Employee

Hi Hernani,

Did you try /network-device/module

Adam

Sent from my iPhone

Here  is an example

https://sandboxapic.cisco.com/api/v1/network-device/module?deviceId=30d39b18-9ada-4148-ad6c-2ee20975b845

{

  "response": [{

  "name": "1",

  "description": "VS-SUP2T-10G 5 ports Supervisor Engine 2T 10GE w/ CTS Rev. 2.1",

  "vendorEquipmentType": "cevCat6kVsSup2t10g",

  "assemblyNumber": "73-14904-03",

  "assemblyRevision": "A0",

  "isReportingAlarmsAllowed": "UNKNOWN",

  "serialNumber": "SAL18370F7X",

  "manufacturer": "Cisco Systems, Inc.",

  "partNumber": "VS-SUP2T-10G",

  "entityPhysicalIndex": "2000",

  "containmentEntity": "2",

  "moduleIndex": 1,

  "operationalStateCode": "ok",

  "isFieldReplaceable": "TRUE",

  "id": "0e074792-676d-42b8-aca3-dcbc40a0f349"

  },

  {

  "name": "Transceiver Gi1/2",

  "description": "SFP Transceiver 10/100/1000BaseT Gi1/2",

  "vendorEquipmentType": "cevSFP1000BaseT",

  "assemblyNumber": "",

  "assemblyRevision": "",

  "isReportingAlarmsAllowed": "UNKNOWN",

  "serialNumber": "AGM133723GG",

  "manufacturer": "CISCO-AVAGO",

  "partNumber": "Unspecified",

  "entityPhysicalIndex": "2312",

  "containmentEntity": "2201",

  "isFieldReplaceable": "TRUE",

  "id": "129d546d-f482-4af0-83a9-8ddfd670c75d"

  },

  {

  "name": "Transceiver Gi1/3",

  "description": "SFP Transceiver 10/100/1000BaseT Gi1/3",

  "vendorEquipmentType": "cevSFP1000BaseT",

  "assemblyNumber": "",

  "assemblyRevision": "",

  "isReportingAlarmsAllowed": "UNKNOWN",

  "serialNumber": "00000MTC1504002B",

  "manufacturer": "CISCO-METHODE",

  "partNumber": "Unspecified",

  "entityPhysicalIndex": "2324",

  "containmentEntity": "2202",

  "isFieldReplaceable": "TRUE",

  "id": "2e1ee55f-7f7a-437e-b0c9-9eafeefc71f8"

  },

  {

  "name": "Transceiver Te1/5",

  "description": "X2 Transceiver 10Gbase-SR Te1/5",

  "vendorEquipmentType": "cevMX210GBaseSR",

  "assemblyNumber": "",

  "assemblyRevision": "",

  "isReportingAlarmsAllowed": "UNKNOWN",

  "serialNumber": "FNS130206N0",

  "manufacturer": "CISCO-FINISAR",

  "partNumber": "X2-10GB-SR",

  "entityPhysicalIndex": "2348",

  "containmentEntity": "2204",

  "isFieldReplaceable": "TRUE",

  "id": "3578a12a-0746-4052-9380-3bea11fc6563"

  },

  {

  "name": "Transceiver Te1/4",

  "description": "X2 Transceiver 10Gbase-LX4 Te1/4",

  "vendorEquipmentType": "cevMX210GBaseLX4",

  "assemblyNumber": "",

  "assemblyRevision": "",

  "isReportingAlarmsAllowed": "UNKNOWN",

  "serialNumber": "HCT10040102",

  "manufacturer": "CISCO-HITACHICBL",

  "partNumber": "X2-10GB-LX4",

  "entityPhysicalIndex": "2336",

  "containmentEntity": "2203",

  "isFieldReplaceable": "TRUE",

  "id": "5e5ade87-3f2b-4738-847f-920420ec8f0d"

  },

  {

  "name": "CPU of Routing Processor 1",

  "description": "CPU of Routing Processor 1",

  "vendorEquipmentType": "cevCpuCat6kVsSup2t10g",

  "isReportingAlarmsAllowed": "UNKNOWN",

  "serialNumber": "",

  "manufacturer": "",

  "partNumber": "",

  "entityPhysicalIndex": "2017",

  "containmentEntity": "2016",

  "isFieldReplaceable": "FALSE",

  "id": "98ba3828-2464-4c02-b64f-c9106fe15574"

  },

  {

  "name": "msfc sub-module of 1",

  "description": "VS-F6K-MSFC5 CPU Daughterboard Rev. 3.0",

  "vendorEquipmentType": "cevCat6kVsF6kMsfc5",

  "assemblyNumber": "73-14906-02",

  "assemblyRevision": "A0",

  "isReportingAlarmsAllowed": "UNKNOWN",

  "serialNumber": "SAL1834ZFJ8",

  "manufacturer": "Cisco Systems, Inc.",

  "partNumber": "VS-F6K-MSFC5",

  "entityPhysicalIndex": "2016",

  "containmentEntity": "2015",

  "operationalStateCode": "ok",

  "isFieldReplaceable": "TRUE",

  "id": "99629b7d-b558-4776-8258-c9059507e6ba"

  },

  {

  "name": "3",

  "description": "WS-X6848-GE-TX CEF720 48 port 10/100/1000mb Ethernet Rev. 1.0",

  "vendorEquipmentType": "cevCat6kWsx6848Tx",

  "assemblyNumber": "73-13917-01",

  "assemblyRevision": "A0",

  "isReportingAlarmsAllowed": "UNKNOWN",

  "serialNumber": "SAL160316L6",

  "manufacturer": "Cisco Systems, Inc.",

  "partNumber": "WS-X6848-GE-TX",

  "entityPhysicalIndex": "1000",

  "containmentEntity": "4",

  "moduleIndex": 3,

  "operationalStateCode": "ok",

  "isFieldReplaceable": "TRUE",

  "id": "9e721ea9-2e17-47d4-8f8f-666653ae5998"

  },

  {

  "name": "CLK-7600 2",

  "description": "OSR-7600 Clock FRU 2",

  "vendorEquipmentType": "cevClk7600",

  "assemblyNumber": "73-15741-01",

  "assemblyRevision": "A0",

  "isReportingAlarmsAllowed": "UNKNOWN",

  "serialNumber": "FXS18220440",

  "manufacturer": "Cisco Systems, Inc.",

  "partNumber": "CLK-7600",

  "entityPhysicalIndex": "45",

  "containmentEntity": "44",

  "isFieldReplaceable": "TRUE",

  "id": "cd773cbf-68fc-4ffb-8a12-3efb96ece3e9"

  },

  {

  "name": "CPU of Module 3",

  "description": "CPU of Module 3",

  "vendorEquipmentType": "cevModuleCpuType",

  "isReportingAlarmsAllowed": "UNKNOWN",

  "serialNumber": "",

  "manufacturer": "",

  "partNumber": "",

  "entityPhysicalIndex": "1001",

  "containmentEntity": "1000",

  "isFieldReplaceable": "FALSE",

  "id": "ce5bcbca-2cfc-4185-9f9d-8f3b59b0d49d"

  },

  {

  "name": "VS-F6K-PFC4 Policy Feature Card 4 EARL 1 sub-module of 1",

  "description": "VS-F6K-PFC4 Policy Feature Card 4 Rev. 2.1",

  "vendorEquipmentType": "cevCat6kVsF6kPfc4",

  "assemblyNumber": "73-14151-02",

  "assemblyRevision": "B0",

  "isReportingAlarmsAllowed": "UNKNOWN",

  "serialNumber": "SAL183601PK",

  "manufacturer": "Cisco Systems, Inc.",

  "partNumber": "VS-F6K-PFC4",

  "entityPhysicalIndex": "2022",

  "containmentEntity": "2021",

  "operationalStateCode": "ok",

  "isFieldReplaceable": "TRUE",

  "id": "d1e8a963-9851-4afb-a044-884343c870a3"

  },

  {

  "name": "CLK-7600 1",

  "description": "OSR-7600 Clock FRU 1",

  "vendorEquipmentType": "cevClk7600",

  "assemblyNumber": "73-15741-01",

  "assemblyRevision": "A0",

  "isReportingAlarmsAllowed": "UNKNOWN",

  "serialNumber": "FXS18220440",

  "manufacturer": "Cisco Systems, Inc.",

  "partNumber": "CLK-7600",

  "entityPhysicalIndex": "41",

  "containmentEntity": "40",

  "isFieldReplaceable": "TRUE",

  "id": "d606ceea-b457-4f3f-8b70-c2f528387df6"

  },

  {

  "name": "WS-F6K-DFC4-A Distributed Forwarding Card 4 EARL 1 sub-module of 3",

  "description": "WS-F6K-DFC4-A Distributed Forwarding Card 4 Rev. 1.1",

  "vendorEquipmentType": "cevCat6kWsF6kDfc4a",

  "assemblyNumber": "73-13437-02",

  "assemblyRevision": "A0",

  "isReportingAlarmsAllowed": "UNKNOWN",

  "serialNumber": "SAL1602143R",

  "manufacturer": "Cisco Systems, Inc.",

  "partNumber": "WS-F6K-DFC4-A",

  "entityPhysicalIndex": "1007",

  "containmentEntity": "1006",

  "operationalStateCode": "ok",

  "isFieldReplaceable": "TRUE",

  "id": "d609b8e3-0409-4139-9075-7420b4a955f0"

  },

  {

  "name": "Transceiver Gi1/1",

  "description": "SFP Transceiver 10/100/1000BaseT Gi1/1",

  "vendorEquipmentType": "cevSFP1000BaseT",

  "assemblyNumber": "",

  "assemblyRevision": "",

  "isReportingAlarmsAllowed": "UNKNOWN",

  "serialNumber": "00000MTC15040048",

  "manufacturer": "CISCO-METHODE",

  "partNumber": "Unspecified",

  "entityPhysicalIndex": "2300",

  "containmentEntity": "2200",

  "isFieldReplaceable": "TRUE",

  "id": "ee0865ba-b064-4b80-a59c-85d8d3959981"

  }

  ],

  "version": "1.0"

}

Thanks Adam ! I'm putting a simple python code together to export inventory from the APIC-EM in the format that is consumable by the Smart Net Total Care portal.

Regards,

Hernani

Great, let me know if there is anything else you need help with.

Adam