Skip to content
Snippets Groups Projects
Commit be93495c authored by Gioacchino Vino's avatar Gioacchino Vino
Browse files

Edited network configuration

parent 3b05ce6c
No related branches found
No related tags found
1 merge request!37Debug paas ci
......@@ -410,7 +410,8 @@ auth_passwd = os.getenv('GMP_PASSWORD')
print(auth_name, auth_passwd)
logging.basicConfig(filename='debug.log', level=logging.DEBUG)
#local_ip = socket.gethostbyname(socket.gethostname())
local_ip = '127.0.0.1'
#local_ip = '127.0.0.1'
local_ip = os.getenv('HOST_IP')
connection = TLSConnection(hostname=local_ip)
transform = EtreeTransform()
config = {'id':"9866edc1-8869-4e80-acac-d15d5647b4d9"}
......@@ -434,6 +435,10 @@ print("output_dir", output_dir)
endpoints = import_dep_info(dep_json, endpoints_to_scan)
#print_pretty_json(endpoints)
# test gmp connection
get_version()
severities = dict()
for host,ports in endpoints.items():
print(host,ports)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment