Switch Hardware and Software

cancel
Showing results for 
Search instead for 
Did you mean: 

find virtual device from handle

I have a station that has several different possible switch exec virtual devices on it.

 

I have a valid switch executive session handle, and I want to determine which virtual device it was initialized from, but can't figure out how to go backwards and ask the NISE session handle "what is the name of your virtual device?"

Ideas?

0 Kudos
Message 1 of 3
(5,654 Views)

This might sound like a cop-out, but I would just save the Virtual Device name in a global variable when you open the SE Session.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(5,647 Views)

.... yeah -- that's what we're doing now (global variable type stuff), and I'm really hoping to get away from it.

0 Kudos
Message 3 of 3
(5,641 Views)