f0fd90d conf: avoid reporting errors when network driver is disabled

Authored and Committed by berrange 6 years ago
    conf: avoid reporting errors when network driver is disabled
    
    In previous releases all these methods were a no-op if the network
    driver is disabled. These helper methods are called unconditionally for
    all types of network interface, so must be no-ops if missing. Other code
    will already generate an error if the network driver is disabled and a
    NIC with type=network is used.
    
    Reviewed-by: Laine Stump <laine@laine.org>
    Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
    
        
file modified
+14 -24