Skip to content

elyacoub9/ntnx-lldp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

ntnx-lldp

lldp-like script for nutanix that maps host nics to switch ports in a cluster

NOTE: install the required modules (requests/urllib3) if they are not installed already.

pip install -r requirements.txt

when you run this script, you will be prompted to provide the pe or cvm ip and login details.

==================[ 10.38.47.25 ]===============
eth0      None                    None
eth1      None                    None
eth2      SWITCH-TOR1             Ethernet17/1
eth3      SWITCH-TOR2             Ethernet17/1
==================[ 10.38.47.26 ]===============
eth0      None                    None
eth1      None                    None
eth2      SWITCH-TOR1             Ethernet17/2
eth3      SWITCH-TOR2             Ethernet17/2
==================[ 10.38.47.27 ]===============
eth0      None                    None
eth1      None                    None
eth2      SWITCH-TOR1             Ethernet17/4
eth3      SWITCH-TOR2             Ethernet17/4
==================[ 10.38.47.28 ]===============
eth0      None                    None
eth1      None                    None
eth2      SWITCH-TOR1             Ethernet17/3
eth3      SWITCH-TOR2             Ethernet17/3

About

lldp like script for nutanix that maps host nics to switch ports in a cluster

Resources

Stars

Watchers

Forks

Contributors

Languages