git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix get resources for slices
[sfa.git]
/
sfa
/
openstack
/
nova_shell.py
diff --git
a/sfa/openstack/nova_shell.py
b/sfa/openstack/nova_shell.py
index
bebe8a8
..
053fd71
100644
(file)
--- a/
sfa/openstack/nova_shell.py
+++ b/
sfa/openstack/nova_shell.py
@@
-45,6
+45,7
@@
class NovaShell:
def __init__ ( self, config ) :
url = config.SFA_PLC_URL
# try to figure if the url is local
+ is_local=False
hostname=urlparse(url).hostname
if hostname == 'localhost': is_local=True
# otherwise compare IP addresses;