5 print("Clean old ric configurations in Consul config file")
7 p = os.path.abspath('..')
8 consul_config = p + '/consul_cbs' + '/config.json'
11 def write_json(data, filename=consul_config):
12 with open(filename, 'w') as f:
13 json.dump(data, f, indent=4)
16 with open(consul_config) as json_file:
17 clean = json.load(json_file)
22 print("Clean old ric configurations from Consul config file, done")