summaryrefslogtreecommitdiffstats
path: root/vcpe_beijing/vcpe/get_info.py
diff options
context:
space:
mode:
Diffstat (limited to 'vcpe_beijing/vcpe/get_info.py')
-rw-r--r--vcpe_beijing/vcpe/get_info.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/vcpe_beijing/vcpe/get_info.py b/vcpe_beijing/vcpe/get_info.py
new file mode 100644
index 0000000..5b0c687
--- /dev/null
+++ b/vcpe_beijing/vcpe/get_info.py
@@ -0,0 +1,26 @@
+#! /usr/bin/python
+
+import time
+import logging
+import json
+import mysql.connector
+import ipaddress
+import re
+import sys
+import base64
+from vcpecommon import *
+import preload
+import vcpe_custom_service
+
+
+logging.basicConfig(level=logging.INFO, format='%(message)s')
+
+vcpecommon = VcpeCommon()
+nodes=['brg', 'bng', 'mux', 'dhcp']
+hosts = vcpecommon.get_vm_ip(nodes)
+print(json.dumps(hosts, indent=4, sort_keys=True))
+
+
+
+
+