Bartek Grzybowski | fbbdbec | 2019-09-25 16:37:05 +0200 | [diff] [blame] | 1 | #!/usr/bin/env python |
Kang Xi | 11d278c | 2018-04-06 16:56:04 -0400 | [diff] [blame] | 2 | |
| 3 | import time |
| 4 | import logging |
| 5 | import json |
| 6 | import mysql.connector |
| 7 | import ipaddress |
| 8 | import re |
| 9 | import sys |
| 10 | import base64 |
| 11 | from vcpecommon import * |
| 12 | import preload |
| 13 | import vcpe_custom_service |
| 14 | |
| 15 | |
| 16 | logging.basicConfig(level=logging.INFO, format='%(message)s') |
| 17 | |
| 18 | vcpecommon = VcpeCommon() |
| 19 | nodes=['brg', 'bng', 'mux', 'dhcp'] |
| 20 | hosts = vcpecommon.get_vm_ip(nodes) |
| 21 | print(json.dumps(hosts, indent=4, sort_keys=True)) |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |