Partial on vlan-check_PV.sh

Added variables to make it easier to extend to other network configurations. Cleaned up code. Needs to deal with control VLAN.