def _GetInstNicNetwork(ctx, _, nic): # pylint: disable=W0613
  if nic.network is None:
    return _FS_UNAVAIL
  else:
    return nic.network
Get a NIC's Network.
dataset/ETHPy150Open ganeti/ganeti/lib/query.py/_GetInstNicNetwork