def _BuildOvfImporterNodeAffinityFlagValue(node_affinity):
    node_affinity_flag = ((node_affinity.key + ',') + six.text_type(node_affinity.operator))
    for value in node_affinity.values:
        node_affinity_flag += (',' + value)
    return node_affinity_flag
def _BuildOvfImporterNodeAffinityFlagValue(node_affinity):
    node_affinity_flag = ((node_affinity.key + ',') + six.text_type(node_affinity.operator))
    for value in node_affinity.values:
        node_affinity_flag += (',' + value)
    return node_affinity_flag