mirror of https://github.com/apache/cloudstack.git
Daft mistake that left more data getting merged than we would have liked
This commit is contained in:
parent
76d0669656
commit
2f8352bf96
|
|
@ -304,7 +304,7 @@ class CsIP:
|
|||
logging.error("Not able to setup sourcenat for a regular router yet")
|
||||
else:
|
||||
logging.error("Unable to process source nat configuration for router of type %s" % type)
|
||||
route.flush()
|
||||
#route.flush()
|
||||
|
||||
def list(self):
|
||||
self.iplist = {}
|
||||
|
|
|
|||
|
|
@ -18,9 +18,11 @@ from pprint import pprint
|
|||
|
||||
class dataBag:
|
||||
|
||||
bdata = { }
|
||||
DPATH = "/etc/cloudstack"
|
||||
|
||||
def __init__(self):
|
||||
self.bdata = { }
|
||||
|
||||
def load(self):
|
||||
data = self.bdata
|
||||
if not os.path.exists(self.DPATH):
|
||||
|
|
@ -55,13 +57,12 @@ class dataBag:
|
|||
|
||||
class updateDataBag:
|
||||
|
||||
qFile = {}
|
||||
fpath = ''
|
||||
bdata = { }
|
||||
DPATH = "/etc/cloudstack"
|
||||
|
||||
def __init__(self,qFile):
|
||||
self.qFile = qFile
|
||||
self.fpath = ''
|
||||
self.bdata = {}
|
||||
self.process()
|
||||
|
||||
def process(self):
|
||||
|
|
@ -79,8 +80,6 @@ class updateDataBag:
|
|||
dbag = self.processGuestNetwork(self.db.getDataBag())
|
||||
elif self.qFile.type == 'cmdline':
|
||||
dbag = self.processCL(self.db.getDataBag())
|
||||
elif self.qFile.type == 'cmdline':
|
||||
dbag = self.processCL(self.db.getDataBag())
|
||||
elif self.qFile.type == 'vmpassword':
|
||||
dbag = self.processVMpassword(self.db.getDataBag())
|
||||
elif self.qFile.type == 'networkacl':
|
||||
|
|
|
|||
Loading…
Reference in New Issue