removed node boot/validate methods, since it was using a circular reference to run a CoreService method
This commit is contained in:
parent
37517c45f4
commit
0efcd910db
6 changed files with 3 additions and 47 deletions
|
@ -156,14 +156,6 @@ class SimpleLxcNode(PyCoreNode):
|
|||
self.client.close()
|
||||
self.up = False
|
||||
|
||||
def boot(self):
|
||||
"""
|
||||
Boot logic.
|
||||
|
||||
:return: nothing
|
||||
"""
|
||||
return None
|
||||
|
||||
def cmd(self, args, wait=True):
|
||||
"""
|
||||
Runs shell command on node, with option to not wait for a result.
|
||||
|
@ -222,7 +214,6 @@ class SimpleLxcNode(PyCoreNode):
|
|||
raise CoreCommandError(status, cmd, output)
|
||||
self._mounts.append((source, target))
|
||||
|
||||
|
||||
def newifindex(self):
|
||||
"""
|
||||
Retrieve a new interface index.
|
||||
|
@ -511,22 +502,6 @@ class LxcNode(SimpleLxcNode):
|
|||
if start:
|
||||
self.startup()
|
||||
|
||||
def boot(self):
|
||||
"""
|
||||
Boot the node.
|
||||
|
||||
:return: nothing
|
||||
"""
|
||||
self.session.services.bootnodeservices(self)
|
||||
|
||||
def validate(self):
|
||||
"""
|
||||
Validate the node.
|
||||
|
||||
:return: nothing
|
||||
"""
|
||||
self.session.services.validatenodeservices(self)
|
||||
|
||||
def startup(self):
|
||||
"""
|
||||
Startup logic for the node.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue