VR type in shared network is dhcpsrvr. Ips are being removed due to this issue

Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>

This closes #627
This commit is contained in:
Kishan Kavala 2015-07-28 15:15:41 +05:30 committed by wilderrodrigues
parent 6c3c9ea915
commit 90137acda2

View File

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