git://git.onelab.eu
/
nepi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7a7af6
)
fix in omf the way to configure the interface
author
Julien Tribino
<julien.tribino@inria.fr>
Tue, 5 Nov 2013 20:14:41 +0000
(21:14 +0100)
committer
Julien Tribino
<julien.tribino@inria.fr>
Tue, 5 Nov 2013 20:14:41 +0000
(21:14 +0100)
src/nepi/resources/omf/interface.py
patch
|
blob
|
history
diff --git
a/src/nepi/resources/omf/interface.py
b/src/nepi/resources/omf/interface.py
index
7dd795e
..
46d5ea1
100644
(file)
--- a/
src/nepi/resources/omf/interface.py
+++ b/
src/nepi/resources/omf/interface.py
@@
-78,6
+78,8
@@
class OMFWifiInterface(OMFResource):
"""
super(OMFWifiInterface, self).__init__(ec, guid)
+ self._conf = False
+
self._omf_api = None
self._alias = self.get('alias')
@@
-191,9
+193,9
@@
class OMFWifiInterface(OMFResource):
# Check if the node is already deployed
if self.state < ResourceState.PROVISIONED:
- if
ace = False
- if iface == False:
- iface = self.configure_iface()
+ if
self._conf == False:
+ self._conf = self.configure_iface()
+ if self._conf == True:
self.configure_ip()
super(OMFWifiInterface, self).do_deploy()