227
227
# either execute iptable-save or iptables-restore
228
228
# command must be only one of these two
229
229
# process_input must be used only with iptables-restore
231
234
result = _run_command_with_input(cmd, process_input)
232
235
ret_str = json.dumps(dict(out=result,