def _AppendNodeAffinityLabelArgs(ovf_importer_args, args, compute_client_messages):
    node_affinities = sole_tenancy_util.GetSchedulingNodeAffinityListFromArgs(args, compute_client_messages)
    for node_affinity in node_affinities:
        AppendArg(ovf_importer_args, 'node-affinity-label', _BuildOvfImporterNodeAffinityFlagValue(node_affinity))
def _AppendNodeAffinityLabelArgs(ovf_importer_args, args, compute_client_messages):
    node_affinities = sole_tenancy_util.GetSchedulingNodeAffinityListFromArgs(args, compute_client_messages)
    for node_affinity in node_affinities:
        AppendArg(ovf_importer_args, 'node-affinity-label', _BuildOvfImporterNodeAffinityFlagValue(node_affinity))