added several verification steps and new functionality for nexus
switches.