Gitiles
Code Review
Sign In
gerrit.nordix.org
/
onap
/
integration
/
dfb69e3b0abe21faf38a68e7e73468f874e045f9
/
.
/
test
/
ete
/
scripts
/
get-floating-ip.sh
blob: 196f6d244ee6f6cb15579ce2edae8f977f39b566 [
file
] [
log
] [
blame
]
#!/bin/bash
# Get floating IP assigned to a server name
openstack server show
-
c addresses
-
f json $1
|
jq
-
r
'.addresses'
|
tr
-
d
' '
|
cut
-
d
','
-
f
2