If event has been reached in method handle_event() exists object event, which includes event.interface(type(NetworkInterface)). but after event.interface.name is only for example Gi0/1? Is a possible to get FULL name of interface?
Thank you.
Solved! Go to Solution.
You can use:
intfConfig = networkInterface.get_config()
print "Name : " + intfConfig.display_name
InterfaceStatisticsEvent...
You can use:
intfConfig = networkInterface.get_config()
print "Name : " + intfConfig.display_name