+ dns_server_update
+
+ exit ${EXIT_OK}
+}
+
+cli_raw() {
+ local cmd="${1}"
+ assert isset cmd
+ shift
+
+ case "${cmd}" in
+ db-dump)
+ db_dump
+ ;;
+ device-get-by-mac-address)
+ device_get_by_mac_address "$@"
+ ;;
+ ipsec-connection-exists)
+ ipsec_connection_exists "$@"
+ ;;
+ list-devices)
+ device_list
+ ;;
+ list-dhcpd-ranges-of-subnet)
+ dhcpd_subnet_range_list "$@"
+ ;;
+ list-dhcpd-settings)
+ dhcpd_global_settings_list "$@"
+ ;;
+ list-dhcpd-subnets)
+ dhcpd_subnet_list "$@"
+ ;;
+ list-dhcpd-subnet-options)
+ dhcpd_subnet_options_list "$@"
+ ;;
+ list-dns-servers)
+ dns_server_list
+ ;;
+ list-free-ports)
+ port_list_free
+ ;;
+ list-hooks)
+ hook_list "$@"
+ ;;
+ list-ipsec-connections)
+ ipsec_list_connections
+ ;;
+ list-ports)
+ port_list
+ ;;
+ list-ports-of-zone)
+ zone_get_ports "$@"
+ ;;
+ list-vpn-security-policies-all)
+ vpn_security_policies_list_all
+ ;;
+ list-settings)
+ network_settings_list
+ ;;
+ list-zones)
+ zones_get_all
+ ;;
+ list-next-free-zones)
+ zones_get_next_free
+ ;;
+ list-zone-config-ids)
+ zone_config_list_ids "$@"
+ ;;
+ list-zone-config-hids)
+ zone_config_list_hids "$@"
+ ;;
+ vpn-security-policy-exists)
+ vpn_security_policy_exists "$@"
+ ;;
+ zone-name-is-valid)
+ zone_name_is_valid "$@"
+ ;;
+ zone-config-id-is-valid)
+ zone_config_id_is_valid "$@"
+ ;;
+ zone-config-hid-is-valid)
+ zone_config_hid_is_valid "$@"
+ ;;
+ *)
+ error "No such command: ${cmd}"
+ exit ${EXIT_ERROR}
+ ;;
+ esac