def get_networkid(vm_):
 networkid = config.get_cloud_config_value('networkid', vm_, __opts__)
 if (networkid is not None):
  return networkid
 else:
  return False

def get_networkid ( vm_ ) : networkid = config . get_cloud_config_value ( 'networkid' , vm_ , __opts__ ) if ( networkid is not None ) : return networkid else : return False
return the networkid to use .