mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Some refactoring to make class loading a little more logical Removed fw global (does not persist accross modules) Added first tests Added command line call to set and disable redundancy Added command line call to set master
10 lines
285 B
Python
10 lines
285 B
Python
from pprint import pprint
|
|
|
|
def merge(dbag, cmdline):
|
|
if 'redundant_router' in cmdline['cmd_line']:
|
|
cmdline['cmd_line']['redundant_router'] = "true"
|
|
else:
|
|
cmdline['cmd_line']['redundant_router'] = "false"
|
|
dbag['config'] = cmdline['cmd_line']
|
|
return dbag
|