"""configuration keys related to Call Home Feature""" CALL_HOME_URL = "https://api.neo-dlr.amazonaws.com" CALL_HOME_USER_CONFIG_FILE = "ccm_config.json" CALL_HOME_MODEL_RUN_COUNT_TIME_SECS = 300 CALL_HOME_REQ_STOP_MAX_COUNT = 3 CALL_HOME_USR_NOTIFICATION = """\n CALL HOME FEATURE ENABLED \n\n You acknowledge and agree that DLR collects the following metrics to help improve its performance. \ \n By default, Amazon will collect and store the following information from your device: \ \n\n record_type: , \ \n arch: , \ \n osname: , \ \n uuid: , \ \n dist: , \ \n machine: , \ \n model: \ \n\n If you wish to opt-out of this data collection feature, please follow the steps below: \ \n\t1. Disable it with through code: \ \n\t\t from dlr.counter.phone_home import PhoneHome \ \n\t\t PhoneHome.disable_feature()\ \n\t2. Or, create a config file, ccm_config.json inside your DLR target directory path, i.e. python3.6/site-packages/dlr/counter/ccm_config.json. Then added below format content in it, {"enable_phone_home" : false} \ \n\t3. Restart DLR application. \ \n\t4. Validate this feature is disabled by verifying this notification is no longer displayed, or programmatically with following command: \ \n\t\tfrom dlr.counter.phone_home import PhoneHome \ \n\t\tPhoneHome.is_enabled() # false as disabled """