Adding a python file to parse the IP addresses.
This commit is contained in:
parent
af8f31a0cd
commit
8f038a82a4
7
cluster/juju/return-node-ips.py
Executable file
7
cluster/juju/return-node-ips.py
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env python
|
||||
import json
|
||||
import sys
|
||||
nodes = json.loads(sys.argv[1])
|
||||
for num in nodes:
|
||||
print num['Stdout'].rstrip()
|
||||
|
Loading…
Reference in New Issue
Block a user