def _GetInstAllNicBridges(ctx, inst):
  assert len(ctx.inst_nicparams) == len(inst.nics)

  result = []

  for nicp in ctx.inst_nicparams:
    if nicp[constants.NIC_MODE] == constants.NIC_MODE_BRIDGED:
      result.append(nicp[constants.NIC_LINK])
    else:
      result.append(None)

  assert len(result) == len(inst.nics)

  return result
Create a LooseAddressRecord for a given wallet <model>,
dataset/ETHPy150Open ganeti/ganeti/lib/query.py/_GetInstAllNicBridges--crossover with--dataset/ETHPy150Open chromaway/ngcccbase/ngcccbase/address.py/LooseAddressRecord.__init__