def METHOD_NAME():
    """
    Run the upgrade.
    :return: None
    """
    cni_reapply_lock_file = os.path.expandvars("${SNAP_DATA}/var/lock/cni-loaded")
    cni_file = os.path.expandvars("${SNAP_DATA}/args/cni-network/cni.yaml")
    cni_no_manage = os.path.expandvars("${SNAP_DATA}/var/lock/no-manage-calico")
    new_cni_file = os.path.expandvars(
        "${SNAP}/upgrade-scripts/000-switch-to-calico/resources/calico.yaml"
    )
    if try_upgrade(cni_file, new_cni_file, cni_no_manage):
        # we mark the CNI needs to be updated so the api service kicker will take over
        mark_apply_needed(cni_reapply_lock_file)