def get_macs(vm_):
 macs = []
 nics = get_nics(vm_)
 if (nics is None):
  return None
 for nic in nics:
  macs.append(nic)
 return macs

def get_macs ( vm_ ) : macs = [ ] nics = get_nics ( vm_ ) if ( nics is None ) : return None for nic in nics : macs . append ( nic ) return macs
return a list off mac addresses from the named vm cli example: .