import logging


def PlugPort(chameleond, port_id):
  """Plugs port with port_id through chameleond proxy."""
  logging.info('Call Plug #%d', port_id)
  if not chameleond.IsPhysicalPlugged(port_id):
    return 'Cannot plug since it is not connected.'
  return chameleond.Plug(port_id)