determine os type if device is a cisco nexus device.