def network_set_host(context, network_id, host_id):
    return IMPL.network_set_host(context, network_id, host_id)
Safely set the host for network.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/db/api.py/network_set_host