def _GetInstNicBridge(ctx, index, _):
  assert len(ctx.inst_nicparams) >= index

  nicparams = ctx.inst_nicparams[index]

  if nicparams[constants.NIC_MODE] == constants.NIC_MODE_BRIDGED:
    return nicparams[constants.NIC_LINK]
  else:
    return _FS_UNAVAIL
Remove unused images
dataset/ETHPy150Open ganeti/ganeti/lib/query.py/_GetInstNicBridge--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/smartos_imgadm.py/vacuum