# Copyright (c) 2017-2018, 2021 VMware, Inc.  All rights reserved. -- VMware Confidential

import os

VERSION = "vpxdsvcs.version"
VPXD_SVCS_CONFIG_DIR = "/var/lib/vmware/vpxd-svcs/config"
CP_PROP_KEYS = ["computepolicy.vcdb.config.extraProperties.key1",
                "computepolicy.vcdb.config.extraProperties.value1"]
RPM_NEW_EXT = ".rpmnew"
VERSION_FILE_NAME = "dataservice.properties"
DATASERVICES_PROP = os.path.join(VPXD_SVCS_CONFIG_DIR, VERSION_FILE_NAME)
DATASERVICES_PROP_NEW = os.path.join(VPXD_SVCS_CONFIG_DIR, DATASERVICES_PROP +
                                     RPM_NEW_EXT)
CPSPEC_PROP_FILE_NAME = "computepolicyspec.properties"
CPSPEC_PROP = os.path.join(VPXD_SVCS_CONFIG_DIR, CPSPEC_PROP_FILE_NAME)
CPSPEC_PROP_NEW = os.path.join(VPXD_SVCS_CONFIG_DIR, CPSPEC_PROP_FILE_NAME +
                               RPM_NEW_EXT)
