def _execute(*cmd, **kwargs):
    if CONF.fake_network:
        LOG.debug('FAKE NET: %s', ' '.join(map(str, cmd)))
        return 'fake', 0
    else:
        return utils.execute(*cmd, **kwargs)
Like read() but the argument must be a file-like object.
dataset/ETHPy150Open openstack/nova/nova/network/linux_net.py/_execute--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/ConfigParser.py/RawConfigParser.readfp