# XX TODO:figure out how to correctly identify a node's site.
# XX pick a random site to add the node to for now
site_index = random.randint(0, len(sites))
# XX TODO:figure out how to correctly identify a node's site.
# XX pick a random site to add the node to for now
site_index = random.randint(0, len(sites))