Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ========================================================================
- !!! UNKNOWN: {'serial': 'FOC1740N436', 'pid': 'ASR9001-RP', 'name': 'module 0/RSP0/CPU0', 'vid': 'V01', 'descr': 'ASR 9001, Route Switch Processor with 8GB memory'}
- !!! UNKNOWN: {'serial': 'PSK1728W06F', 'pid': 'A9K-750W-DC', 'name': 'power-module 0/PM0/SP', 'vid': 'V02', 'descr': 'ASR-9001 DC Power Supply'}
- !!! UNKNOWN: {'serial': 'PSK1728W015', 'pid': 'A9K-750W-DC', 'name': 'power-module 0/PM1/SP', 'vid': 'V02', 'descr': 'ASR-9001 DC Power Supply'}
- 2014-04-06 11:34:03,968 [Cisco.IOSXR.get_inventory(bb-nmts, 195.98.32.83)] Script returns with result: [{'vendor': 'CISCO', 'description': 'ASR-9001 Chassis', 'part_no': ['ASR-9001'], 'number': 'None', 'builtin': False, 'serial': 'FOC1741NCFP', 'type': 'CHASSIS', 'revision': 'V03'}, {'vendor': 'CISCO', 'description': 'ASR-9001 Fan Tray', 'part_no': ['ASR-9001-FAN'], 'number': '0', 'builtin': False, 'serial': 'FOC1742NCA9', 'type': 'FAN', 'revision': 'V01'}, {'vendor': 'CISCO', 'description': 'ASR 9001, Modular Line Card', 'part_no': ['ASR9001-LC'], 'number': '0', 'builtin': False, 'serial': 'FOC1740N48W', 'type': 'MOD', 'revision': 'V01'}, {'vendor': 'CISCO', 'description': 'ASR 9000 4-port 10GE Modular Port Adapter', 'part_no': ['A9K-MPA-4X10GE'], 'number': '0', 'builtin': False, 'serial': 'FOC1740N2UR', 'type': 'MPA', 'revision': 'V04'}, {'vendor': 'CISCO', 'description': 'XFP', 'part_no': ['XFP-10GLR-OC192SR'], 'number': '0', 'builtin': False, 'serial': 'ONT1218107F', 'type': 'XCVR', 'revision': 'V02'}, {'vendor': 'CISCO', 'description': 'XFP', 'part_no': ['XFP-10GLR-OC192SR'], 'number': '1', 'builtin': False, 'serial': 'ONT121810ED', 'type': 'XCVR', 'revision': 'V02'}, {'vendor': 'CISCO', 'description': 'XFP', 'part_no': ['XFP-10GLR-OC192SR'], 'number': '2', 'builtin': False, 'serial': 'ONT121810EC', 'type': 'XCVR', 'revision': 'V02'}, {'vendor': 'CISCO', 'description': 'XFP', 'part_no': ['XFP-10GLR-OC192SR'], 'number': '3', 'builtin': False, 'serial': 'AGA1424NHBA', 'type': 'XCVR', 'revision': 'V03'}, {'vendor': 'CISCO', 'description': 'ASR 9000 20-port 1GE Modular Port Adapter', 'part_no': ['A9K-MPA-20X1GE'], 'number': '1', 'builtin': False, 'serial': 'FOC1739N2P7', 'type': 'MPA', 'revision': 'V02'}, {'vendor': 'CISCO', 'description': 'SFP', 'part_no': ['GLC-LH-SMD'], 'number': '0', 'builtin': False, 'serial': 'FNS174021DU', 'type': 'XCVR', 'revision': 'V01'}, {'vendor': 'CISCO', 'description': 'SFP', 'part_no': ['GLC-LH-SMD'], 'number': '1', 'builtin': False, 'serial': 'FNS17410PGM', 'type': 'XCVR', 'revision': 'V01'}, {'vendor': 'CISCO', 'description': 'SFP', 'part_no': ['GLC-LH-SMD'], 'number': '2', 'builtin': False, 'serial': 'FNS17410QNW', 'type': 'XCVR', 'revision': 'V01'}, {'vendor': 'CISCO', 'description': 'SFP', 'part_no': ['GLC-LH-SMD'], 'number': '3', 'builtin': False, 'serial': 'FNS17410PYZ', 'type': 'XCVR', 'revision': 'V01'}, {'vendor': 'CISCO', 'description': 'SFP', 'part_no': ['GLC-LH-SMD'], 'number': '4', 'builtin': False, 'serial': 'FNS17401R4G', 'type': 'XCVR', 'revision': 'V01'}, {'vendor': 'CISCO', 'description': 'SFP', 'part_no': ['GLC-LH-SMD'], 'number': '5', 'builtin': False, 'serial': 'FNS17410PZX', 'type': 'XCVR', 'revision': 'V01'}, {'vendor': 'CISCO', 'description': 'SFP', 'part_no': ['GLC-LH-SMD'], 'number': '6', 'builtin': False, 'serial': 'FNS17410RGW', 'type': 'XCVR', 'revision': 'V01'}, {'vendor': 'CISCO', 'description': 'SFP', 'part_no': ['GLC-LH-SMD'], 'number': '7', 'builtin': False, 'serial': 'FNS17410NEC', 'type': 'XCVR', 'revision': 'V01'}, {'vendor': 'CISCO', 'description': 'SFP', 'part_no': ['GLC-LH-SMD'], 'number': '8', 'builtin': False, 'serial': 'FNS17410PLS', 'type': 'XCVR', 'revision': 'V01'}, {'vendor': 'CISCO', 'description': 'SFP', 'part_no': ['GLC-LH-SMD'], 'number': '9', 'builtin': False, 'serial': 'FNS17410QLH', 'type': 'XCVR', 'revision': 'V01'}, {'vendor': 'CISCO', 'description': 'SFP', 'part_no': ['Unknown | Transceiver | Unknown'], 'number': '10', 'builtin': False, 'serial': '00000MTC101701WQ', 'type': 'XCVR', 'revision': 'N/A'}, {'vendor': 'CISCO', 'description': 'ASR 9000 Virtual Module', 'part_no': ['A9K-MODULEv'], 'number': '0', 'builtin': False, 'serial': 'N/A', 'type': 'MOD', 'revision': 'N/A'}, {'vendor': 'CISCO', 'description': 'SFP', 'part_no': ['SFP-10G-LR'], 'number': '0', 'builtin': False, 'serial': 'FNS17411ZQ0', 'type': 'XCVR', 'revision': 'V02'}, {'vendor': 'CISCO', 'description': 'SFP', 'part_no': ['SFP-10G-LR'], 'number': '1', 'builtin': False, 'serial': 'ONT1703014Q', 'type': 'XCVR', 'revision': 'V02'}, {'vendor': 'CISCO', 'description': 'SFP', 'part_no': ['SFP-10G-LR'], 'number': '2', 'builtin': False, 'serial': 'FNS17412BD7', 'type': 'XCVR', 'revision': 'V02'}, {'vendor': 'CISCO', 'description': 'SFP', 'part_no': ['SFP-10G-LR'], 'number': '3', 'builtin': False, 'serial': 'FNS17412F8D', 'type': 'XCVR', 'revision': 'V02'}]
- 2014-04-06 11:34:03,969 [Cisco.IOSXR.get_inventory(bb-nmts, 195.98.32.83)] Exiting
- 2014-04-06 11:34:03,969 [SSH: 195.98.32.83] submit('exit', bulk_lines=None, streaming=False)
- 2014-04-06 11:34:03,969 [SSH: 195.98.32.83] Sending message type MSG_CHANNEL_DATA (94)
- 2014-04-06 11:34:03,970 [Cisco.IOSXR.get_inventory(bb-nmts, 195.98.32.83)] Closing
- 2014-04-06 11:34:03,970 Requesting call: <bound method CLISSHSocket.close of <CLISSHSocket(0x80eb67790, 195.98.32.83:22, connected)>>(*(), **{'flush': True})
- 2014-04-06 11:34:04,013 [SSH: 195.98.32.83] on_read: 'exit\r\n\r'
- 2014-04-06 11:34:04,117 [SSH: 195.98.32.83] Receiving message type MSG_CHANNEL_CLOSE (97)
- 2014-04-06 11:34:04,118 [SSH: 195.98.32.83] Sending message type MSG_CHANNEL_CLOSE (97)
- 2014-04-06 11:34:04,120 [SSH: 195.98.32.83] Closing socket
- 2014-04-06 11:34:04,120 unregister_socket(<CLISSHSocket(0x80eb67790, 195.98.32.83:22, closing)>)
- 2014-04-06 11:34:05,121 Tick
- 2014-04-06 11:34:05,121 Calling delayed <bound method CLISSHSocket.close of <CLISSHSocket(0x80eb67790, 195.98.32.83:22, closing)>>(*(), **{'flush': True})
- 2014-04-06 11:34:05,121 3 TICKS TO EXIT
- 2014-04-06 11:34:06,122 Tick
- 2014-04-06 11:34:06,122 2 TICKS TO EXIT
- 2014-04-06 11:34:07,123 Tick
- 2014-04-06 11:34:07,123 1 TICKS TO EXIT
- 2014-04-06 11:34:08,124 Tick
- 2014-04-06 11:34:08,124 EXIT
- 2014-04-06 11:34:08,144 SCRIPT RESULT: Cisco.IOSXR.get_inventory(bb-nmts, 195.98.32.83)
- [{'builtin': False,
- 'description': 'ASR-9001 Chassis',
- 'number': 'None',
- 'part_no': ['ASR-9001'],
- 'revision': 'V03',
- 'serial': 'FOC1741NCFP',
- 'type': 'CHASSIS',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'ASR-9001 Fan Tray',
- 'number': '0',
- 'part_no': ['ASR-9001-FAN'],
- 'revision': 'V01',
- 'serial': 'FOC1742NCA9',
- 'type': 'FAN',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'ASR 9001, Modular Line Card',
- 'number': '0',
- 'part_no': ['ASR9001-LC'],
- 'revision': 'V01',
- 'serial': 'FOC1740N48W',
- 'type': 'MOD',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'ASR 9000 4-port 10GE Modular Port Adapter',
- 'number': '0',
- 'part_no': ['A9K-MPA-4X10GE'],
- 'revision': 'V04',
- 'serial': 'FOC1740N2UR',
- 'type': 'MPA',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'XFP',
- 'number': '0',
- 'part_no': ['XFP-10GLR-OC192SR'],
- 'revision': 'V02',
- 'serial': 'ONT1218107F',
- 'type': 'XCVR',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'XFP',
- 'number': '1',
- 'part_no': ['XFP-10GLR-OC192SR'],
- 'revision': 'V02',
- 'serial': 'ONT121810ED',
- 'type': 'XCVR',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'XFP',
- 'number': '2',
- 'part_no': ['XFP-10GLR-OC192SR'],
- 'revision': 'V02',
- 'serial': 'ONT121810EC',
- 'type': 'XCVR',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'XFP',
- 'number': '3',
- 'part_no': ['XFP-10GLR-OC192SR'],
- 'revision': 'V03',
- 'serial': 'AGA1424NHBA',
- 'type': 'XCVR',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'ASR 9000 20-port 1GE Modular Port Adapter',
- 'number': '1',
- 'part_no': ['A9K-MPA-20X1GE'],
- 'revision': 'V02',
- 'serial': 'FOC1739N2P7',
- 'type': 'MPA',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'SFP',
- 'number': '0',
- 'part_no': ['GLC-LH-SMD'],
- 'revision': 'V01',
- 'serial': 'FNS174021DU',
- 'type': 'XCVR',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'SFP',
- 'number': '1',
- 'part_no': ['GLC-LH-SMD'],
- 'revision': 'V01',
- 'serial': 'FNS17410PGM',
- 'type': 'XCVR',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'SFP',
- 'number': '2',
- 'part_no': ['GLC-LH-SMD'],
- 'revision': 'V01',
- 'serial': 'FNS17410QNW',
- 'type': 'XCVR',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'SFP',
- 'number': '3',
- 'part_no': ['GLC-LH-SMD'],
- 'revision': 'V01',
- 'serial': 'FNS17410PYZ',
- 'type': 'XCVR',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'SFP',
- 'number': '4',
- 'part_no': ['GLC-LH-SMD'],
- 'revision': 'V01',
- 'serial': 'FNS17401R4G',
- 'type': 'XCVR',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'SFP',
- 'number': '5',
- 'part_no': ['GLC-LH-SMD'],
- 'revision': 'V01',
- 'serial': 'FNS17410PZX',
- 'type': 'XCVR',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'SFP',
- 'number': '6',
- 'part_no': ['GLC-LH-SMD'],
- 'revision': 'V01',
- 'serial': 'FNS17410RGW',
- 'type': 'XCVR',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'SFP',
- 'number': '7',
- 'part_no': ['GLC-LH-SMD'],
- 'revision': 'V01',
- 'serial': 'FNS17410NEC',
- 'type': 'XCVR',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'SFP',
- 'number': '8',
- 'part_no': ['GLC-LH-SMD'],
- 'revision': 'V01',
- 'serial': 'FNS17410PLS',
- 'type': 'XCVR',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'SFP',
- 'number': '9',
- 'part_no': ['GLC-LH-SMD'],
- 'revision': 'V01',
- 'serial': 'FNS17410QLH',
- 'type': 'XCVR',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'SFP',
- 'number': '10',
- 'part_no': ['Unknown | Transceiver | Unknown'],
- 'revision': 'N/A',
- 'serial': '00000MTC101701WQ',
- 'type': 'XCVR',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'ASR 9000 Virtual Module',
- 'number': '0',
- 'part_no': ['A9K-MODULEv'],
- 'revision': 'N/A',
- 'serial': 'N/A',
- 'type': 'MOD',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'SFP',
- 'number': '0',
- 'part_no': ['SFP-10G-LR'],
- 'revision': 'V02',
- 'serial': 'FNS17411ZQ0',
- 'type': 'XCVR',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'SFP',
- 'number': '1',
- 'part_no': ['SFP-10G-LR'],
- 'revision': 'V02',
- 'serial': 'ONT1703014Q',
- 'type': 'XCVR',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'SFP',
- 'number': '2',
- 'part_no': ['SFP-10G-LR'],
- 'revision': 'V02',
- 'serial': 'FNS17412BD7',
- 'type': 'XCVR',
- 'vendor': 'CISCO'},
- {'builtin': False,
- 'description': 'SFP',
- 'number': '3',
- 'part_no': ['SFP-10G-LR'],
- 'revision': 'V02',
- 'serial': 'FNS17412F8D',
- 'type': 'XCVR',
- 'vendor': 'CISCO'}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement