def GetPortStatus(chameleond, port_id):
  """Gets port status with port_id through chameleond proxy."""
  if not chameleond.IsPhysicalPlugged(port_id):
    return 'Not connected\n'
  if chameleond.IsPlugged(port_id):
    return 'Connected\nPlugged\n'
  return 'Connected\nNot plugged\n'