CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json,

resulting in internal LB vm not come up

parsing cmd_line to create 'ips' data bag, never handled internal lb vm, but still
worked due to another bug. support for internal lb vm is added with this fix
This commit is contained in:
Murali Reddy 2016-09-29 21:47:15 +05:30 committed by Rohit Yadav
parent 0eb4fae8b7
commit 052a9af023

View File

@ -207,6 +207,10 @@ class updateDataBag:
elif (self.qFile.data['cmd_line']['type'] == "dhcpsrvr"):
self.processCLItem('0', "guest")
self.processCLItem('1', "control")
elif (self.qFile.data['cmd_line']['type'] == "ilbvm"):
self.processCLItem('0', "guest")
self.processCLItem('1', "control")
return cs_cmdline.merge(dbag, self.qFile.data)
def processCLItem(self, num, nw_type):