def new_zone(zone, restart=True):
 out = __mgmt(zone, 'zone', 'new')
 if restart:
  if (out == 'success'):
   return __firewall_cmd('--reload')
 return out

def new_zone ( zone , restart = True ) : out = __mgmt ( zone , 'zone' , 'new' ) if restart : if ( out == 'success' ) : return __firewall_cmd ( '--reload' ) return out
add a new zone cli example: .