Update ports.py to support "all" in YAML