SOLIDserver API Reference Guide 5.0.4
SOLIDserver API Reference Guide 5.0.4
Version 5.0.4
SOLIDserver API Reference Guide
SOLIDserver API Reference Guide
Revision: #50575
iii
SOLIDserver API Reference Guide
group_block_add ............................................................................................. 63
group_block_delete ......................................................................................... 64
ip_block_delete ............................................................................................... 65
12. IPv6 Block ......................................................................................................... 66
ip6_block6_add ............................................................................................... 67
ip6_block6_count ............................................................................................ 69
ip6_block6_list ................................................................................................ 70
ip6_block6_info ............................................................................................... 73
ip6_block6_subnet6_count .............................................................................. 76
ip6_block6_subnet6_list ................................................................................... 77
ip6_block6_class_list ....................................................................................... 81
ip6_block6_admin_group_list ........................................................................... 82
ip6_block6_admin_service_list ......................................................................... 83
group_block6_add ........................................................................................... 84
group_block6_delete ....................................................................................... 85
ip6_block6_delete ........................................................................................... 86
13. IPv4 Subnet ...................................................................................................... 87
ip_subnet_add ................................................................................................ 88
ip_subnet_count ............................................................................................. 91
ip_subnet_list .................................................................................................. 92
ip_subnet_info ................................................................................................ 96
ip_subnet_address_count ................................................................................ 99
ip_subnet_address_list .................................................................................. 100
ip_free_subnet_count .................................................................................... 101
ip_free_subnet_list ........................................................................................ 102
ip_find_free_subnet ....................................................................................... 103
ip_subnet_class_list ...................................................................................... 104
ip_subnet_admin_group_count ...................................................................... 105
ip_subnet_admin_group_list .......................................................................... 106
ip_subnet_admin_service_count .................................................................... 108
ip_subnet_admin_service_list ........................................................................ 109
group_subnet_add ........................................................................................ 110
group_subnet_delete ..................................................................................... 111
ip_subnet_delete ........................................................................................... 112
14. IPv6 Subnet ..................................................................................................... 114
ip6_subnet6_add ........................................................................................... 115
ip6_subnet6_count ........................................................................................ 117
ip6_subnet6_list ............................................................................................ 118
ip6_subnet6_info ........................................................................................... 122
ip6_subnet6_address_count .......................................................................... 125
ip6_subnet6_address_list .............................................................................. 126
ip6_used_subnet6_address_count ................................................................. 127
ip6_used_subnet6_address_list ..................................................................... 128
ip6_used_subnet6_address_info .................................................................... 132
ip6_find_free_subnet6 ................................................................................... 135
ip6_free_subnet6_count ................................................................................ 136
ip6_free_subnet6_list .................................................................................... 137
ip6_subnet6_class_list ................................................................................... 138
ip6_subnet6_admin_group_list ....................................................................... 139
ip6_subnet6_admin_service_list ..................................................................... 140
group_subnet6_add ...................................................................................... 141
group_subnet6_delete ................................................................................... 142
ip6_subnet6_delete ....................................................................................... 143
15. IPv4 Pool ......................................................................................................... 145
iv
SOLIDserver API Reference Guide
v
SOLIDserver API Reference Guide
vi
SOLIDserver API Reference Guide
vii
SOLIDserver API Reference Guide
viii
SOLIDserver API Reference Guide
ix
SOLIDserver API Reference Guide
x
SOLIDserver API Reference Guide
xi
SOLIDserver API Reference Guide
xii
About this Guide
SOLIDserver can be managed using web services instead of or in addition to the GUI. Since
version 5.0.4, you can managed the web services via two different methods:
• SOAP protocol.
• REST mechanism.
This guide provides an overview of both and a description of the services that both methods allow
to execute.
Documentation Organization
This guide includes the following parts:
• SOAP: provides an introduction to SOAP, the creation of custom WSDL files from SOLIDserver
GUI, a client example and set of frequently asked questions.
• REST: provides an introduction to REST and RPC, a client example and set of frequently asked
questions.
• IPAM Services: details the IP address management dedicated services. It includes: Spaces,
Blocks, Subnets, Pools and IP addresses.
• DHCP Services: details the DHCP management dedicated services. It includes: DHCP servers,
DHCP scopes, DHCP groups, DHCP ranges, DHCP statics and DHCP options.
• DNS Services: details the DNS management dedicated services. It includes: DNS servers,
DNS views, DNS zones, DNS resource records and DNS options.
• NetChange Services: details the NetChange dedicated services. It includes: network devices,
VLAN, ports and discovered items.
• Workflow Services: details the Workflow dedicated services. It includes: requests.
• Administration Services: details the services dedicated to the management of rights and
delegations through groups and users. It also includes all the services dedicated to Custom
DB.
• Return codes that lists in a table all the return codes may they be errors, warnings or notices.
Documentation Convention
Within the service dedicated parts, every service is detailed as follows:
xiii
Part I. SOAP
Table of Contents
1. Introduction ................................................................................................................... 3
Prerequisites ............................................................................................................ 3
Limitations ................................................................................................................ 3
2. Technical Overview ........................................................................................................ 4
3. Custom WSDL File Configuration ................................................................................... 5
Browsing the WSDL Database ................................................................................... 5
Creating and Using a Custom WSDL File ................................................................... 6
Deleting a Custom WSDL File .................................................................................... 7
Editing and Dumping a Custom WSDL File ................................................................. 7
Downloading a Custom WSDL File ............................................................................. 9
4. SOAP Client Example .................................................................................................. 11
5. Frequently Asked Questions ......................................................................................... 12
2
Chapter 1. Introduction
The Simple Object Access Protocol (SOAP) is a protocol specification that allows you to exchange
structured information and implement web services. You can use it to execute SOLIDserver web
services instead of, or in addition to, managing them through the graphical user interface. Almost
all the operations available in the GUI can be performed using web services: creations, editions,
deletions, retrieval of information... In addition, the WSDL technology allows you to create scripts
that execute several services one after the other.
• Quick development of scripts with WSDL technology and the code generator.
• Do several operations at once.
• Automating and planning tasks.
• Create your own management interface.
SOLIDserver SOAP web services has been tested with the following languages/packages :
• PHP: PHP5 SOAP Extension (NuSOAP, and PEAR SOAP are not officially supported).
• C#: You will need the .Net Framework version 3.5 at least, but we recommend versions 4.0 /
4.5 as they both use the WCF framework.
• Perl: SOAP::Lite.
• Python: SOAPpy.
• C/C++: gSOAP and Axis (RPC/Encoded).
• Microsoft C# with .Net Framework.
• Ruby: SOAP::WSDLDriver.
• Java: Axis2.
Prerequisites
• Any call requires the following user authentication parameters:
1. auth_login: the login of the user account used to query services. This user is a SOLIDserver
user.
2. auth_password: the password of the user account. This password can be held by SOLID-
server or by an external directory as LDAP, RADIUS or Microsoft Active Directory.
Make sure the user has sufficient rights and permissions to execute the service. For more details,
refer to the part Right Management of SOLIDserver Administrator Guide.
• The whole transaction has to be done using HTTPS.
If you query the web server through HTTP, the Apache server returns the error message 302
– Page has moved, and if your framework does not handle that correctly the call will fail.
Limitations
• SOAP allows you to execute the services one by one. Any specific options and settings that
are automated through the GUI have to be specified when executing the services via SOAP.
3
Chapter 2. Technical Overview
SOAP uses a prototyping language that describes the supported calls and their parameters: the
Web Services Description Language (WSDL) file. This file is often used by SOAP frameworks
to map their client class and know which functions can be called. You can either link your class
directly to the WSDL file located on the server https://<ip_address>/interfaces/wsdl_eip_full.wsdl
or store it locally to improve performances and reduce the bandwidth usage. This WSDL file is
generated every time the ipmserver process is started: during SOLIDserver initial boot or any
rebooting. Keep in mind that you can restart ipmserver (SOLIDserver) through a shell connection
using the following command: /usr/local/etc/rc.d/ipmserver.sh restart. Depending on your frame-
work, you could also use a non-WSDL mode but in that case you would have to map everything
by yourself. This operation is not in the scope of this document.
This WSDL file is generated using all descriptive XML files located in the directory /usr/loc-
al/nessy2/www/php/interfaces/xml/. The WSDL file list the input and output parameters of each
and every functions supported. If you want to call a custom macro or script, you will need the
correct XML file in that directory to make sure that they are recognized by SOLIDserver. To be
able to use new parameters, you simply need to update the XML file (although this step is not
required most of the time).
This WSDL File can be generated from the GUI, as detailed in the following section.
4
Chapter 3. Custom WSDL File
Configuration
To help you in the configuration of WSDL Files, you can use SOLIDserver dedicated page of the
Administration module. As SOAP relies on WSDL files, we recommend that you use the custom
WSDL wizard to create the file as it assists you in your configuration: it provides an auto-completion
field that recognizes the services name you start typing in. For more details regarding each service,
please refer to the IPAM, DHCP, DNS and Administration parts of this guide.
From the GUI, you will be able to create, edit, download and delete WSDL files. Once created
through the GUI you will be able to use the files to call the services they contain.
1. Connect to SOLIDserver using the super user credentials (login: ipmadmin and password:
admin).
2. Go to the Administration tab. If the homepage is not displayed, click on . The homepage
opens.
3. In the menu, select Maintenance > Local Files listing. The Local files listing page opens.
By default, it displays the list Local is displayed.
4. Under the menu, select the Custom WSDL bullet. The set of columns changes.
1. Connect to SOLIDserver using the super user credentials (login: ipmadmin and password:
admin).
2. Go to the Administration tab. If the homepage is not displayed, click on . The homepage
opens.
3. In the menu, select Maintenance > Local Files listing. The Local files listing page opens.
By default, it displays the list Local is displayed.
4. Under the menu, select the Custom WSDL bullet. The set of columns changes.
5. Click on the name of the WSDL file of your choice. A new page appears and displays all the
services that the file contains in the column Service name.
5
Custom WSDL File Configuration
Column Description
Dump date Displays the file dump time and date.
Status Displays the file status: Dumped, Modified since dump, IP doesn't
exist or Dumping in progress.
1. Connect to SOLIDserver using the super user credentials (login: ipmadmin and password:
admin).
2. Go to the Administration tab. If the homepage is not displayed, click on . The homepage
opens.
3. In the menu, select Maintenance > Local Files listing. The Local files listing page opens.
By default, it displays the list Local is displayed.
4. Under the menu, select the Custom WSDL bullet. The set of columns changes.
5. In the menu, select Add > WSDL File. The Add a custom WSDL file wizard opens.
a. In the field WSDL file name, name the file. No need to add the .wsdl extension.
b. In the drop-down list WSDL EndPoint, select the EndPoint of your choice: it can be the
Hostname or an IP address. This EndPoint will be used in the return.
c. In the field Service name, type in the first letters of a service or module: the auto-com-
pletion will provide a list of all the services partially matching this name.
d. Select the service of your choice and click on ADD . The service name is moved to the
list Selected services. Repeat these actions for as many services as you want.
6
Custom WSDL File Configuration
To update an entry, select a service, edit the service name and use the auto-completion
suggestions to choose a different service and click on UPDATE .
6. Click on OK to commit the creation of the WSDL file. The report opens and closes. The files
is listed on the page and saved in the custom_wsdl directory.
Once you generated your custom WSDL file, it is automatically dumped: you can use the services
you listed in the WSDL file no matter what programming language you use.
To use the services listed in the WSDL file you just created, you need to integrate to your
source code the location of your WSDL file within SOLIDserver database using its absolute
address : https://<ip_address>/interfaces/custom_wsdl/<your-WSDL-fil-name>.wsdl .
1. Connect to SOLIDserver using the super user credentials (login: ipmadmin and password:
admin).
2. Go to the Administration tab. If the homepage is not displayed, click on . The homepage
opens.
3. In the menu, select Maintenance > Local Files listing. The Local files listing page opens.
By default, it displays the list Local is displayed.
4. Under the menu, select the Custom WSDL bullet. The WSDL dedicated columns appear.
5. Tick the file(s) you want to delete.
6. In the menu, select Edit >Delete file(s). The Delete file wizard opens.
7. Click on OK to commit the deletion. The report opens and closes. The file is no longer listed.
Warning
If you edit a WSDL file, you need to dump it again.
You can add as many services as you want to a WSDL file. When adding the services, you can
dump your file.
1. Connect to SOLIDserver using the super user credentials (login: ipmadmin and password:
admin).
7
Custom WSDL File Configuration
2. Go to the Administration tab. If the homepage is not displayed, click on . The homepage
opens.
3. In the menu, select Maintenance > Local Files listing. The Local files listing page opens.
By default, it displays the list Local is displayed.
4. Under the menu, select the Custom WSDL bullet. The WSDL dedicated columns appear.
5. Click on the name of the file you want to edit. A new page appears, its lists all the file services.
6. In the menu, select Add > Service. The Add a service wizard opens.
7. In the field Service name, type in the first letters of a service or module: the auto-completion
will provide a list of all the services partially matching this name.
8. Select the service of your choice and click on ADD . The service name is moved to the list
Selected services. Repeat these actions for as many services as you want.
To update an entry, select a service, edit the service name and use the auto-completion
suggestions to choose a different service and click on UPDATE .
9. If you want to dump the WSDL file upon edition, tick the Dump WSDL file(s) box.
10. Click on OK to commit your changes. The report opens and closes. The new services are
listed.
11. To go back to the list of WSDL files, under the menu, tick the bullet Custom WSDL. The
WSDL files are listed.
If you ticked the Dump WSDL file(s) box the file Status is Dumped. The file is updated and
can be used immediately.
If you did not tick the Dump WSDL file(s) box the file Status is Modified since dump. The file
content needs to be dumped to be up-to-date.
You can remove as many services as you want from a WSDL file. When removing services, you
can dump your file.
1. Connect to SOLIDserver using the super user credentials (login: ipmadmin and password:
admin).
2. Go to the Administration tab. If the homepage is not displayed, click on . The homepage
opens.
3. In the menu, select Maintenance > Local Files listing. The Local files listing page opens.
By default, it displays the list Local is displayed.
4. Under the menu, select the Custom WSDL bullet. The WSDL dedicated columns appear.
5. Click on the name of the file you want to edit. A new page appears, its lists all the file services.
6. Tick the service(s) you want to remove from the list.
7. In the menu, select Edit > Delete a service from a WSDL file. The wizard Delete service
opens.
8. If you want to dump the WSDL file upon edition, tick the Dump WSDL file(s) box. The drop-
down list WSDL EndPoint opens.
8
Custom WSDL File Configuration
• In the drop-down list WSDL EndPoint, you can select the EndPoint of your choice
(hostname or IP address). By default, the WSDL file current Endpoint is selected, you
can leave it or choose a different one.
9. Click on OK to commit your changes. The report opens and closes. The services are no
longer listed.
10. To go back to the list of WSDL files, under the menu, tick the bullet Custom WSDL. The
WSDL files are listed.
If you ticked the Dump WSDL file(s) box the file Status is Dumped. The file is updated and
can be used immediately.
If you did not tick the Dump WSDL file(s) box the file Status is Modified since dump. The file
content needs to be dumped to be up-to-date.
If you edited the content of a file but chose not to dump it upon edition, you can still dump its
content and even change its Endpoint if need be.
1. Connect to SOLIDserver using the super user credentials (login: ipmadmin and password:
admin).
2. Go to the Administration tab. If the homepage is not displayed, click on . The homepage
opens.
3. In the menu, select Maintenance > Local Files listing. The Local files listing page opens.
By default, it displays the list Local is displayed.
4. Under the menu, select the Custom WSDL bullet. The WSDL dedicated columns appear.
5. In the column Name, filter the list if need be.
6. Tick the file(s) you want to dump.
7. In the menu, select Tools > Dump WSDL File(s). The Dump WSDL file(s) wizard opens.
8. Via the checkbox Change Endpoint, you can edit the file(s) endpoint. Follow the steps below
to do so or go to step 9 to simply dump the file.
9. Click on OK to commit your configuration. The report opens and closes. The files are marked
as Dumped. If you edited the EndPoint, the new value is visible.
1. Connect to SOLIDserver using the super user credentials (login: ipmadmin and password:
admin).
9
Custom WSDL File Configuration
2. Go to the Administration tab. If the homepage is not displayed, click on . The homepage
opens.
3. In the menu, select Maintenance > Local Files listing. The Local files listing page opens.
By default, it displays the list Local is displayed.
4. Under the menu, select the Custom WSDL bullet. The WSDL dedicated columns appear.
5. In the column Name, filter the list if need be.
6. Tick the file(s) you want to dump.
7. In the menu, select Tools > Dump in Local Files Listing. The wizard opens and closes. The
file is now listed in the Local page of the Local Files Listing.
8. Under the menu, tick the bullet Local. The list Local opens.
9. In the list, the WSDL is listed as follows: <WSDL-file-name>.tar.
10. Click on the file name to download it.
10
Chapter 4. SOAP Client Example
To perform SOAP queries you can use a programming language that implements a SOAP
framework or an equivalent. The following script file explains the basics of SOAP queries as well
as how the parameters should be provided.
<?php
/*
* This is a SOAP client example using the PHP SOAP API.
* It executes the service "ip_block_subnet_list" to retrieve
* all the blocks/subnets in the space "Local".
*/
/*
* If the certificate used by SOLIDserver is self-signed, you might need to create
* this kind of stream context:
*/
$context = stream_context_create(array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true
)
));
/*
* The SOAP API is only available with HTTPS.
* Replace "solid.intranet" with the IP/Hostname of your SOLIDserver.
*/
$client = new SoapClient('https://solid.intranet/interfaces/wsdl_eip_full.wsdl', array('stream_context'
=> $context));
/*
* Parameters used to execute the service.
*/
$struct = array('auth_login' => 'ipmadmin',
'auth_password' => 'admin',
'WHERE' => "site_name LIKE 'Local'");
$ret = $client->ip_block_subnet_list($struct);
11
Chapter 5. Frequently Asked Questions
1. The script was not able to parse the WSDL file
It is likely that the credentials were either not provided in the script or invalid.
• If you have a WSDL file but the validation failed.
It might be linked to trash data located in the /xml/ directory. Make sure that no filename
starts with a '.' (dot) or contains a tilde (~), a hash sign (#) or an at sign (@).
• Make sure that the whole exchange is using HTTPS and not HTTP.
• Make sure that your SOLIDserver appliance has a correct hostname and that it can be
resolved using a DNS query for the SOAP client.
• Make sure that both machines can see each other (ping, …) and that no firewall rule pre-
vents the communication.
It is likely that the XML file describing the function is missing the parameter in question, which
is why it looks like it is ignoring it. Make sure the parameter is specified in input.
If you had to edit the XML file, restart the IPMserver process to generate a new WSDL file.
4. A listing function is missing output parameters
It is likely that the XML file describing the function is missing output parameters. Make sure
that all the expected parameters are specified in output.
If you had to edit the XML file, restart the IPMserver process to generate a new WSDL file.
12
Part II. REST
Table of Contents
6. Introduction ................................................................................................................. 15
Prerequisites .......................................................................................................... 15
Limitations .............................................................................................................. 15
7. Technical Overview ...................................................................................................... 16
Service Execution Based on HTTP Verbs ................................................................. 16
REST Calls Format and Description ......................................................................... 16
RPC Calls Format and Description ........................................................................... 18
8. REST Client Example .................................................................................................. 19
9. Frequently Asked Questions ......................................................................................... 20
14
Chapter 6. Introduction
The Representational State Transfer (REST) is a software architectural style that applies to
components, connectors and data elements within a distributed hypermedia system. It allows to
set up guidelines that implement web services. These guidelines contain a set of constraints -
HTTP verbs - that ignore the details of component implementation and protocol syntax to focus
on the components role, their interaction with other components and their interpretation of signi-
ficant data elements.
SOLIDserver supports a REST-like architectural style based on basic HTTP/1.1 verbs mapped
to CRUD operations (Create, Read, Update and Delete). To execute web services using REST,
keep in mind that the operations available are not RESTful nor HATEOAS. You can use REST
mechanism to execute SOLIDserver web services instead of, or in addition to, managing them
through the graphical user interface. Almost all the operations available in the GUI can be per-
formed using web services: creations, editions, deletions, retrieval of information... You can also
integrate a succession of services in a script. REST presents the following advantages:
In addition, SOLIDserver supports the Remote Procedure Call (RPC), a network protocol that
allows you to execute complex services or macros, which input and output parameters are detailed
in a script. RPC presents the following advantages:
• Execution of a RPC-style script containing macros or one or several complex services para-
meters.
• Automating and planning tasks.
Prerequisites
• SOLIDserver version 5.0.4 and higher.
• Any call requires user authentication, the credentials must be in base64 format.
Make sure the user has sufficient rights to execute the service.
• If you use a browser based REST client and kept the default SSL certificate, you need to accept
SOLIDserver GUI certificate before executing the web services.
Limitations
• SOLIDserver only accepts five HTTP verbs. For more details, refer to the chapter Technical
Overview.
• REST calls must respect the HTTP/1.1 format. Calls respecting HTTP/1.0 are not interpreted
by the Apache server.
15
Chapter 7. Technical Overview
Both REST and RPC support 5 HTTP-verbs and request payload, when relevant.
They use different formatting approach to reach the same goal: executing SOLIDserver web
services. Which is why, we divided this chapter as follows:
• POST to create resources. Calls using that verb are not idempotent.
Any other verb will return an HTTP error: 501 - Method Not Implemented, 405- Method Not Allowed
or 400 - Bad Request.
In addition, you can send a request payload to send a more detailed service execution. For more
details, refer to the sections below.
• https is the only way to execute the service. Typing in http:// returns an error 302.
• <SOLIDserver-IP-address> is the IP address used to connect to your appliance.The appliance
must be running, you must have connected to SOLIDserver GUI at least once and accepted
the SSL certificate.
• rest specifies the method used to execute the service and indicates the expected input para-
meters format.
• <service-name> is the name of the SOLIDserver service to be executed.
16
Technical Overview
• You must execute the service with the appropriate HTTP verb, the service returns an error
otherwise.
• You must specify user credentials, this user must be granted sufficient rights and resources
to execute the service, in the following format:
X-IPM-Username: <SOLIDserver-user-login-in-base64-format>
X-IPM-Password: <SOLIDserver-user-password-in-base64-format>
For calls that do not require input parameters, to request a list for instance, you can follow the
procedure below if you use a REST client to execute our services.
The URL format can also be used to execute more complex services. In which case, you must:
Do not hesitate to use a script that includes the service input parameters needed rather than
converting every parameter value in URL encoding format. This script can also include several
services as well.
It is useless, and therefore not possible, to send a request payload for calls using GET, DELETE
and OPTIONS.
17
Technical Overview
• https is the only way to execute the service. Typing in http:// returns an error 302.
• <SOLIDserver-IP-address> is the IP address used to connect to your appliance.The appliance
must be running, you must have connected to SOLIDserver GUI at least once and accepted
the SSL certificate.
• rpc specifies the method used to execute the service and indicates the expected input para-
meters format.
• <service-name> is the name of the SOLIDserver service to be executed.
• The URL format line detailed above, specifying the IP address, method and service.
• A service execution using the verb POST. No other HTTP verb is allowed.
• The service or macro parameters in the payload. It must be JSON formatted.
Here is an example of the content of an RPC script used to sign DNS zones:
HTTP/1.1 POST https://<SOLIDserver-IP-address>/rpc/macro_sign_dnssec_zones.php
X-IPM-Username: aXBtYWRtaW4=
X-IPM-Password: YWRtaW4=
18
Chapter 8. REST Client Example
To perform REST requests you can use a programming language that implements a REST
framework or an equivalent. The following script file explains the basics of such request.
<?php
/*
* This is a REST client example using the PHP cURL API.
* It executes the service "ip_block_subnet_list" to retrieve
* all the blocks and subnets in the space "Local".
*/
/*
* The URL that executes the service.
* Replace "solid.intranet" with the IP/Hostname of your SOLIDserver.
*/
$service_url = 'https://solid.intranet/rest/ip_block_subnet_list/WHERE/'.urlencode("site_name='Local'");
$ch = curl_init($service_url);
/*
* The service "ip_block_subnet_list" is executed with a request GET.
*/
curl_setopt_array($ch, array(CURLOPT_PROTOCOLS => CURLPROTO_HTTPS,
CURLOPT_HTTPGET => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => array('X-IPM-Username: aXBtYWRtaW4=', // "ipmadmin" in base64
'X-IPM-Password: YWRtaW4='), // "admin" in base64
// Depending on the kind of certificate you installed on your SOLIDserver,
// you might need to set the two options below.
CURLOPT_SSL_VERIFYHOST => 0,
CURLOPT_SSL_VERIFYPEER => false));
$response = curl_exec($ch);
$http_code = curl_getinfo($ch,CURLINFO_HTTP_CODE);
curl_close($ch);
19
Chapter 9. Frequently Asked Questions
1. The value of an input parameter contains a "/", how do I format the call ?
To make sure your call is properly executed if an input parameter's value contains a "/" you
need to use the basic URI format to write down the URL.
• Make sure that your SOLIDserver appliance has a correct hostname and that it can be
resolved using a DNS query for the SOAP client.
• Make sure that your SOLIDserver responses to ping requests.
20
Part III. IPAM Services
Table of Contents
10. Space ....................................................................................................................... 25
ip_site_add ............................................................................................................. 26
ip_site_count .......................................................................................................... 28
ip_site_list .............................................................................................................. 29
ip_site_info ............................................................................................................. 31
ip_site_admin_group_count ..................................................................................... 33
ip_site_admin_group_list ......................................................................................... 34
ip_site_admin_service_count ................................................................................... 36
ip_site_admin_service_list ....................................................................................... 37
group_site_add ....................................................................................................... 38
group_site_delete ................................................................................................... 39
ip_site_delete ......................................................................................................... 40
11. IPv4 Block ................................................................................................................. 41
ip_block_add .......................................................................................................... 42
ip_block_count ........................................................................................................ 44
ip_block_list ............................................................................................................ 45
ip_block_info ........................................................................................................... 48
ip_block_subnet_count ............................................................................................ 51
ip_block_subnet_list ................................................................................................ 53
ip_block_class_list .................................................................................................. 57
ip_block_admin_group_count ................................................................................... 58
ip_block_admin_group_list ....................................................................................... 59
ip_block_admin_service_count ................................................................................ 61
ip_block_admin_service_list .................................................................................... 62
group_block_add ..................................................................................................... 63
group_block_delete ................................................................................................. 64
ip_block_delete ....................................................................................................... 65
12. IPv6 Block ................................................................................................................. 66
ip6_block6_add ....................................................................................................... 67
ip6_block6_count .................................................................................................... 69
ip6_block6_list ........................................................................................................ 70
ip6_block6_info ....................................................................................................... 73
ip6_block6_subnet6_count ...................................................................................... 76
ip6_block6_subnet6_list ........................................................................................... 77
ip6_block6_class_list ............................................................................................... 81
ip6_block6_admin_group_list ................................................................................... 82
ip6_block6_admin_service_list ................................................................................. 83
group_block6_add ................................................................................................... 84
group_block6_delete ............................................................................................... 85
ip6_block6_delete ................................................................................................... 86
13. IPv4 Subnet .............................................................................................................. 87
ip_subnet_add ........................................................................................................ 88
ip_subnet_count ..................................................................................................... 91
ip_subnet_list .......................................................................................................... 92
ip_subnet_info ........................................................................................................ 96
ip_subnet_address_count ........................................................................................ 99
ip_subnet_address_list .......................................................................................... 100
ip_free_subnet_count ............................................................................................ 101
ip_free_subnet_list ................................................................................................ 102
ip_find_free_subnet ............................................................................................... 103
ip_subnet_class_list .............................................................................................. 104
22
IPAM Services
23
IPAM Services
24
Chapter 10. Space
25
Space
Name
ip_site_add — Add/Edit a space
Description
The service ip_site_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
Space name.
site_description
Space description.
parent_site_id
The parent_site_id parameter is the Space parent identifier (ID) used to join foreign data.
This identifier is a unique numeric key value that is automatically incremented.
parent_site_name
Space parent name.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
root_site_id
Root space ID in the IP address hierarchy.
hidden_site
Hidden site.
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
26
Space
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
additional_parameters
Additional parameters passed to rules.
site_is_template
Space is a template.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
27
Space
Name
ip_site_count — Number of spaces
Description
The service ip_site_count count the number of spaces in the database. To execute this service,
users must be granted permission to use it.
The rows returned to the user running the service depend on the resources granted to the group
they belong to. The WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
28
Space
Name
ip_site_list — List the spaces
Description
The service ip_site_list allows to list entries from SOLIDserver database. To execute this service,
users must be granted permission to use it. The rows returned to the user running the service
depend on the resources granted to the group they belong to. The WHERE input parameter allows
to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
site_is_template
Space is a template.
is_terminal
Subnet6 is terminal.
29
Space
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
tree_level
Depth of imbricated spaces.
tree_id_path
Not documented.
site_is_default
Not documented.
site_name
site name.
site_description
Space description.
parent_site_id
The parent_site_id parameter is the Space parent identifier (ID) used to join foreign data.
This identifier is a unique numeric key value that is automatically incremented.
parent_site_name
Space parent name.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
root_site_id
Root space ID in the IP address hierarchy.
30
Space
Name
ip_site_info — Display the properties of a space
Description
The service ip_site_info returns information regarding the space specified in the input, here the
parameter site_id.
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
site_is_template
Space is a template.
is_terminal
Subnet6 is terminal.
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
tree_level
Depth of imbricated spaces.
tree_id_path
Not documented.
site_is_default
Not documented.
site_name
site name.
site_description
Space description.
parent_site_id
The parent_site_id parameter is the Space parent identifier (ID) used to join foreign data.
This identifier is a unique numeric key value that is automatically incremented.
parent_site_name
Space parent name.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
31
Space
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
root_site_id
Root space ID in the IP address hierarchy.
32
Space
Name
ip_site_admin_group_count — Total number of groups that can access the space
list
Description
The service ip_site_admin_group_count allows to display the total number of groups of users
that can access the space list. The rows returned to the user running the service are not subject
to the group resources, this service returns data as if the user running it belonged to the admin
group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
33
Space
Name
ip_site_admin_group_list — List all the groups that can access the space list
Description
The service ip_site_admin_group_list allows to list entries from SOLIDserver database. The rows
returned to the user running the service are not subject to the group resources, this service returns
data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
34
Space
grp_name
The name of the group of users.
grp_description
Group description.
from_type
Not documented.
35
Space
Name
ip_site_admin_service_count — Total number of rights for a group to add/delete
IPv4 objects in spaces
Description
The service ip_site_admin_service_count allows to display the total number of rights for a group
of users to add/delete IPv4 objects in a space. The rows returned to the user running the service
are not subject to the group resources, this service returns data as if the user running it belonged
to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
36
Space
Name
ip_site_admin_service_list — List all the rights of a group to add/delete IPv4 objects
in spaces
Description
The service ip_site_admin_service_list allows to list entries from SOLIDserver database. The
rows returned to the user running the service are not subject to the group resources, this service
returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
service_name
The service name.
37
Space
Name
group_site_add — Add a space as group resource
Description
The service group_site_add allows to add an object as resource for a group of users. You must
specify the group of users and the object that you set as resource. Once set as a resource, the
group can manage the object according to the rights (services) it has access to.
To execute this service, users must be granted permission to use the service group_site_add.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
site_id
The space identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
site_name
The space name.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
38
Space
Name
group_site_delete — Remove a space from a group resources
Description
The service group_site_delete allows to delete SOLIDserver database object. The service
group_site_delete needs to identify the object to delete with the input parameters detailed in the
next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
site_id
The space identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
site_name
The space name.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
39
Space
Name
ip_site_delete — Delete a space
Description
The service ip_site_delete allows to delete spaces from the database. Users of the admin group
can delete any object. Standard users, can only delete objects listed among their group resources,
if and only if their group is allowed to execute the service. If you do not have sufficient rights to
execute the service, refer to the part Rights Management of the Administrator Guide, in the
chapter Managing Groups.
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
Space name.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
40
Chapter 11. IPv4 Block
41
IPv4 Block
Name
ip_block_add — Add/Edit an IPv4 block
Description
The service ip_block_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
Space name.
block_id
The IPv4 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
block_name
The IPv4 block name.
block_addr
Block start IP address.
block_end_addr
Block end IP address.
block_size
Block size.
block_prefix
Block prefix.
block_class_name
The block_class_name is the name of the file class that will used for this object. The name
of block_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a block_class_name
parameter could be set to: my_favorite_dir/my_class.class.
block_class_parameters
The block_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The block_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by block_class_parameters parameter the URL value must be encoded in
URL format (see RFC 3986).
block_level
Block level.
42
IPv4 Block
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
additional_parameters
Additional parameters passed to rules.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
43
IPv4 Block
Name
ip_block_count — Number of IPv4 blocks
Description
The service ip_block_count allows to display the number of IPv4 blocks.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: block_path, type, top_tree_level, block_level, block_id,
vlsm_subnet_id, block_custom1, block_custom2, block_custom3, block_class_name,
block_sort_name, real_site_id, site_is_template, site_name, real_tree_level, real_tree_path,
block_name, scope_size, block_size, block_type, block_description, start_ip_addr,
end_ip_addr, block_start_ip_addr, block_end_ip_addr, used_percent, allocated_percent,
scope_size_allocated, scope_size_used, vlsm_site_id, vlsm_site_name, parent_site_id,
block_class_parameters, site_description, site_class_name, site_class_parameters,
row_enabled, site_custom1, site_custom2, site_custom3, block_start_ip_addr,
block_end_ip_addr, tree_path, tree_level, site_id, hidden_site, real_hidden_site,
real_site_name.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
44
IPv4 Block
Name
ip_block_list — List the IPv4 blocks
Description
The service ip_block_list allows to list entries from SOLIDserver database. To execute this service,
users must be granted permission to use it. The rows returned to the user running the service
depend on the resources granted to the group they belong to. The WHERE input parameter allows
to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: block_path, type, top_tree_level, block_level, block_id,
vlsm_subnet_id, block_custom1, block_custom2, block_custom3, block_class_name,
block_sort_name, real_site_id, site_is_template, site_name, real_tree_level, real_tree_path,
block_name, scope_size, block_size, block_type, block_description, start_ip_addr,
end_ip_addr, block_start_ip_addr, block_end_ip_addr, used_percent, allocated_percent,
scope_size_allocated, scope_size_used, vlsm_site_id, vlsm_site_name, parent_site_id,
block_class_parameters, site_description, site_class_name, site_class_parameters,
row_enabled, site_custom1, site_custom2, site_custom3, block_start_ip_addr,
block_end_ip_addr, tree_path, tree_level, site_id, hidden_site, real_hidden_site,
real_site_name.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
45
IPv4 Block
block_path
Block path.
top_tree_level
Not documented.
block_level
Block6 level.
block_id
The IPv4 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
block_class_name
The block_class_name is the name of the file class that will used for this object. The name
of block_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a block_class_name
parameter could be set to: my_favorite_dir/my_class.class.
site_is_template
Space is a template.
site_name
site name.
block_name
The IPv4 block name.
scope_size
Size of the container either it is a block or a subnet.
block_size
Block size.
block_type
Block type.
block_description
Not documented.
start_ip_addr
First IP address of the range.
end_ip_addr
Last IP address of the range.
block_start_ip_addr
First IP address of the block. Could be used as the subnet container.
block_end_ip_addr
Last IP address of the block. Could be used as the subnet container.
used_percent
Not documented.
allocated_percent
Percentage of allocated subnets just below the container.
scope_size_allocated
Number of allocated subnets just below the container.
scope_size_used
Number of IP addresses used in a subnet.
46
IPv4 Block
vlsm_site_id
The vlsm_site_id parameter is the VLSM space identifier (ID) used to join foreign data. This
identifier is a unique numeric key value that is automatically incremented.
vlsm_site_name
VLSM space name.
parent_site_id
The parent_site_id parameter is the Space parent identifier (ID) used to join foreign data.
This identifier is a unique numeric key value that is automatically incremented.
block_class_parameters
The block_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The block_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by block_class_parameters parameter the URL value must be encoded in
URL format (see RFC 3986).
site_description
Space description.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
block_start_ip_addr
First IP address of the block. Could be used as the subnet container.
block_end_ip_addr
Last IP address of the block. Could be used as the subnet container.
tree_level
Depth of imbricated spaces.
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
47
IPv4 Block
Name
ip_block_info — Display the properties of an IPv4 block
Description
The service ip_block_info returns the information on the object specified in input.
Input Parameters
block_id
The IPv4 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
block_path
Block path.
top_tree_level
Not documented.
block_level
Block6 level.
block_id
The IPv4 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
block_class_name
The block_class_name is the name of the file class that will used for this object. The name
of block_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a block_class_name
parameter could be set to: my_favorite_dir/my_class.class.
site_is_template
Space is a template.
site_name
site name.
block_name
The IPv4 block name.
scope_size
Size of the container either it is a block or a subnet.
block_size
Block size.
block_type
Block type.
block_description
Not documented.
48
IPv4 Block
start_ip_addr
First IP address of the range.
end_ip_addr
Last IP address of the range.
block_start_ip_addr
First IP address of the block. Could be used as the subnet container.
block_end_ip_addr
Last IP address of the block. Could be used as the subnet container.
used_percent
Not documented.
allocated_percent
Percentage of allocated subnets just below the container.
scope_size_allocated
Number of allocated subnets just below the container.
scope_size_used
Number of IP addresses used in a subnet.
vlsm_site_id
The vlsm_site_id parameter is the VLSM space identifier (ID) used to join foreign data. This
identifier is a unique numeric key value that is automatically incremented.
vlsm_site_name
VLSM space name.
parent_site_id
The parent_site_id parameter is the Space parent identifier (ID) used to join foreign data.
This identifier is a unique numeric key value that is automatically incremented.
block_class_parameters
The block_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The block_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by block_class_parameters parameter the URL value must be encoded in
URL format (see RFC 3986).
site_description
Space description.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
49
IPv4 Block
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
block_start_ip_addr
First IP address of the block. Could be used as the subnet container.
block_end_ip_addr
Last IP address of the block. Could be used as the subnet container.
tree_level
Depth of imbricated spaces.
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
50
IPv4 Block
Name
ip_block_subnet_count — Number of IPv4 blocks and subnets
Description
The service ip_block_subnet_count allows to display the number of IPv4 blocks and subnets.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
51
IPv4 Block
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
52
IPv4 Block
Name
ip_block_subnet_list — List the IPv4 blocks and subnets
Description
The service ip_block_subnet_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
53
IPv4 Block
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
block_subnet_id
Not documented.
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
start_ip_addr
First IP address of the range.
end_ip_addr
Last IP address of the range.
subnet_name
Subnet name.
scope_size
Size of the container either it is a block or a subnet.
subnet_scope_size
Size of the subnet (number of IP addresses).
root_site_id
Root space ID in the IP address hierarchy.
site_name
site name.
tree_level
Depth of imbricated spaces.
block_level
Block6 level.
block_vlsm_subnet_id
Not documented.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
subnet_is_valid
Tell if the subnet is valid or not. It is used after an import form the Internet registrar.
subnet_path
Subnet path.
allocated_percent
Percentage of allocated subnets just below the container.
subnet_used_percent
Percentage of used terminal subnet within the container it belongs.
scope_size_allocated
Number of allocated subnets just below the container.
54
IPv4 Block
block_size_used
Number of used terminal subnets within the container it belongs.
scope_size_used
Number of IP addresses used in a subnet.
ip_used_percent
Percentage of IP addresses used in a subnet.
block_name
The IPv4 block name.
block_id
The IPv4 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
waiting_status
Status of the pending operation.
waiting_state
State of the pending creation used when update third external database as Internet registrar.
subnet_class_name
The subnet_class_name is the name of the file class that will used for this object. The name
of subnet_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a sub-
net_class_name parameter could be set to: my_favorite_dir/my_class.class.
subnet_class_parameters
The subnet_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The subnet_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by subnet_class_parameters parameter the URL value must be encoded in
URL format (see RFC 3986).
block_block_id
Not documented.
block_scope_size
Size of the block (number of IP addresses). Could be used as the subnet container.
top_tree_level
Not documented.
site_is_template
Space is a template.
site_description
Space description.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
55
IPv4 Block
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
block_class_name
The block_class_name is the name of the file class that will used for this object. The name
of block_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a block_class_name
parameter could be set to: my_favorite_dir/my_class.class.
block_start_ip_addr
First IP address of the block. Could be used as the subnet container.
block_end_ip_addr
Last IP address of the block. Could be used as the subnet container.
container_name
Not documented.
container_id
Not documented.
subnet_level
Not documented.
56
IPv4 Block
Name
ip_block_class_list — List of the classes configured and applied on IPv4 blocks
Description
The service ip_block_class_list allows to list the classes configured and applied on IPv4 blocks.
The rows returned to the user running the service depend on the resources granted to the group
they belong to. The WHERE input parameter allows to filter the returned rows.
To execute this service, users must be granted the permission to use it.
Input Parameters
block_id
The IPv4 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
57
IPv4 Block
Name
ip_block_admin_group_count — Total number of groups that can access the IPv4
block list
Description
The service ip_block_admin_group_count allows to display the total number of groups of users
that can access the IPv4 block list. The rows returned to the user running the service are not
subject to the group resources, this service returns data as if the user running it belonged to the
admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
block_id
The IPv4 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
58
IPv4 Block
Name
ip_block_admin_group_list — List all the groups that can access the IPv4 block
list
Description
The service ip_block_admin_group_list allows to list all the groups of users that can access the
IPv4 block list. The rows returned to the user running the service are not subject to the group
resources, this service returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
block_id
The IPv4 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
block_id
The IPv4 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
59
IPv4 Block
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
grp_name
The name of the group of users.
grp_description
Group description.
from_type
Not documented.
60
IPv4 Block
Name
ip_block_admin_service_count — Total number of rights for a group to add/delete
objects in IPv4 blocks
Description
The service ip_block_admin_service_count allows to display the total number of rights for a group
of users to add/delete objects in an IPv4 block. The rows returned to the user running the service
are not subject to the group resources, this service returns data as if the user running it belonged
to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
61
IPv4 Block
Name
ip_block_admin_service_list — List all the rights of a group to add/delete objects
in IPv4 blocks
Description
The service ip_block_admin_service_list allows to list entries from SOLIDserver database. The
rows returned to the user running the service are not subject to the group resources, this service
returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
service_name
The service name.
62
IPv4 Block
Name
group_block_add — Add an IPv4 block as group resource
Description
The service group_block_add allows to add an object as resource for a group of users. You must
specify the group of users and the object that you set as resource. Once set as a resource, the
group can manage the object according to the rights services it has access to.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
block_id
The IPv4 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
block_name
The IPv4 block name.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
63
IPv4 Block
Name
group_block_delete — Remove an IPv4 block from a group resources
Description
The service group_block_delete allows to delete SOLIDserver database object. The service
group_block_delete needs to identify the object to delete with the input parameters detailed in
the next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
block_id
The IPv4 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
block_name
The IPv4 block name.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
64
IPv4 Block
Name
ip_block_delete — Delete an IPv4 block
Description
The service ip_block_delete allows to delete SOLIDserver database object. The service
ip_block_delete needs to identify the object to delete with the input parameters detailed in the
next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
Space name.
block_id
The IPv4 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
block_addr
Block start IP address.
block_end_addr
Block end IP address.
block_size
Block size.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
65
Chapter 12. IPv6 Block
66
IPv6 Block
Name
ip6_block6_add — Add/Edit an IPv6 block
Description
The service ip6_block6_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
Space name.
block6_id
The IPv6 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
block6_name
The IPv6 block name.
block6_addr
Block6 start IP6 address.
block6_end_addr
Block6 end IP6 address.
block6_prefix
Block6 prefix.
block6_class_name
The block6_class_name is the name of the file class that will used for this object. The name
of block6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a
block6_class_name parameter could be set to: my_favorite_dir/my_class.class.
block6_class_parameters
The block6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The block6_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by block6_class_parameters parameter the URL value must be encoded in
URL format (see RFC 3986).
block_level
Block6 level.
67
IPv6 Block
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
additional_parameters
Additional parameters passed to rules.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
68
IPv6 Block
Name
ip6_block6_count — Number of IPv6 blocks
Description
The service ip6_block6_count allows to display the number of IPv6 blocks.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
69
IPv6 Block
Name
ip6_block6_list — List the IPv6 blocks
Description
The service ip6_block6_list allows to list entries from SOLIDserver database. To execute this
service, users must be granted permission to use it. The rows returned to the user running the
service depend on the resources granted to the group they belong to. The WHERE input para-
meter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
block6_prefix
Block6 prefix.
70
IPv6 Block
block_path
Block path.
top_tree_level
Not documented.
block_level
Block6 level.
block6_id
The IPv6 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
block6_class_name
The block6_class_name is the name of the file class that will used for this object. The name
of block6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a
block6_class_name parameter could be set to: my_favorite_dir/my_class.class.
site_name
site name.
block6_name
The IPv6 block name.
scope_size
Size of the container either it is a block or a subnet.
block6_size
Not documented.
block6_type
Block type.
block6_description
Not documented.
start_ip6_addr
First IP address of the range.
end_ip6_addr
Last IP address of the range.
block6_start_ip_addr
Not documented.
block6_end_ip_addr
Not documented.
vlsm_site_id
The vlsm_site_id parameter is the VLSM space identifier (ID) used to join foreign data. This
identifier is a unique numeric key value that is automatically incremented.
vlsm_site_name
VLSM space name.
parent_site_id
The parent_site_id parameter is the Space parent identifier (ID) used to join foreign data.
This identifier is a unique numeric key value that is automatically incremented.
block6_class_parameters
The block6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The block6_class_parameters parameter accepts several meta-
71
IPv6 Block
72
IPv6 Block
Name
ip6_block6_info — Display the properties of an IPv6 block
Description
The service ip6_block6_info returns the information on the object specified in input.
Input Parameters
block6_id
The IPv6 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
block6_prefix
Block6 prefix.
block_path
Block path.
top_tree_level
Not documented.
block_level
Block6 level.
block6_id
The IPv6 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
block6_class_name
The block6_class_name is the name of the file class that will used for this object. The name
of block6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a
block6_class_name parameter could be set to: my_favorite_dir/my_class.class.
site_name
site name.
block6_name
The IPv6 block name.
scope_size
Size of the container either it is a block or a subnet.
block6_size
Not documented.
block6_type
Block type.
block6_description
Not documented.
73
IPv6 Block
start_ip6_addr
First IP address of the range.
end_ip6_addr
Last IP address of the range.
block6_start_ip_addr
Not documented.
block6_end_ip_addr
Not documented.
vlsm_site_id
The vlsm_site_id parameter is the VLSM space identifier (ID) used to join foreign data. This
identifier is a unique numeric key value that is automatically incremented.
vlsm_site_name
VLSM space name.
parent_site_id
The parent_site_id parameter is the Space parent identifier (ID) used to join foreign data.
This identifier is a unique numeric key value that is automatically incremented.
block6_class_parameters
The block6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The block6_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by block6_class_parameters parameter the URL value must be encoded in
URL format (see RFC 3986).
site_description
Space description.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
block6_start_ip_addr
Not documented.
block6_end_ip_addr
Not documented.
tree_level
Depth of imbricated spaces.
74
IPv6 Block
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
75
IPv6 Block
Name
ip6_block6_subnet6_count — Number of IPv6 blocks and subnets
Description
The service ip6_block6_subnet6_count allows to display the number of IPv6 blocks and subnets.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
76
IPv6 Block
Name
ip6_block6_subnet6_list — List the IPv6 blocks and subnets
Description
The service ip6_block6_subnet6_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
77
IPv6 Block
block6_subnet6_id
Not documented.
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
start_ip6_addr
First IP address of the range.
end_ip6_addr
Last IP address of the range.
subnet6_name
Subnet6 name.
scope_size
Size of the container either it is a block or a subnet.
subnet6_scope_size
Size of the subnet (number of IP addresses).
root_site_id
Root space ID in the IP address hierarchy.
site_name
site name.
tree_level
Depth of imbricated spaces.
block_level
Block6 level.
block6_vlsm_subnet6_id
Not documented.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
subnet6_is_valid
Tell if the IPv6 subnet is valid or not. It is used after an import form the Internet registrar.
subnet_path
Subnet path.
block6_name
The IPv6 block name.
block6_id
The IPv6 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
waiting_status
Status of the pending operation.
waiting_state
State of the pending creation used when update third external database as Internet registrar.
78
IPv6 Block
subnet6_class_name
The subnet6_class_name is the name of the file class that will used for this object. The name
of subnet6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a sub-
net6_class_name parameter could be set to: my_favorite_dir/my_class.class.
subnet6_class_parameters
The subnet6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The subnet6_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by subnet6_class_parameters parameter the URL value must be encoded
in URL format (see RFC 3986).
block6_block6_id
Not documented.
block6_scope_size
Size of the block (number of IP addresses). Could be used as the subnet container.
top_tree_level
Not documented.
site_description
Space description.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
block6_class_name
The block6_class_name is the name of the file class that will used for this object. The name
of block6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a
block6_class_name parameter could be set to: my_favorite_dir/my_class.class.
block6_start_ip6_addr
First IP v6 address of the block. Could be used as the subnet container.
block6_end_ip6_addr
Last IP v6address of the block. Could be used as the subnet container.
container_name
Not documented.
container_id
Not documented.
subnet_level
Not documented.
79
IPv6 Block
subnet6_prefix
Subnet6 prefix.
block6_prefix
Block6 prefix.
80
IPv6 Block
Name
ip6_block6_class_list — List of the classes configured and applied on IPv6 blocks
Description
The service ip6_block6_class_list allows to list the classes configured and applied on IPv6 blocks.
The rows returned to the user running the service depend on the resources granted to the group
they belong to. The WHERE input parameter allows to filter the returned rows.
To execute this service, users must be granted the permission to use it.
Input Parameters
block6_id
The IPv6 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
81
IPv6 Block
Name
ip6_block6_admin_group_list — List all the groups that can access the IPv6 block
list
Description
The service ip6_block6_admin_group_list allows to list entries from SOLIDserver database. The
rows returned to the user running the service are not subject to the group resources, this service
returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
block6_id
The IPv6 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
82
IPv6 Block
Name
ip6_block6_admin_service_list — List all the rights of a group to add/delete objects
in IPv6 blocks
Description
The service ip6_block6_admin_service_list allows to list entries from SOLIDserver database.
The rows returned to the user running the service are not subject to the group resources, this
service returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
83
IPv6 Block
Name
group_block6_add — Add an IPv6 block as group resource
Description
The service group_block6_add allows to add an object as resource for a group of users. You
must specify the group of users and the object that you set as resource. Once set as a resource,
the group can manage the object according to the rights services it has access to.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
block6_id
The IPv6 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
block6_name
The IPv6 block name.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
84
IPv6 Block
Name
group_block6_delete — Remove an IPv6 block from a group resources
Description
The service group_block6_delete allows to delete SOLIDserver database object. The service
group_block6_delete needs to identify the object to delete with the input parameters detailed in
the next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
block6_id
The IPv6 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
block6_name
The IPv6 block name.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
85
IPv6 Block
Name
ip6_block6_delete — Delete an IPv6 block
Description
The service ip6_block6_delete allows to delete SOLIDserver database object. The service
ip6_block6_delete needs to identify the object to delete with the input parameters detailed in the
next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
Space name.
block6_id
The IPv6 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
block6_addr
Block6 start IP address.
block6_end_addr
Block6 end IP address.
block6_prefix
Block6 prefix.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
86
Chapter 13. IPv4 Subnet
87
IPv4 Subnet
Name
ip_subnet_add — Add/Edit an IPv4 subnet
Description
The service ip_subnet_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Mandatory Parameters
Add process: (subnet_name && subnet_addr && (subnet_prefix || subnet_size || subnet_end_ad-
dr) && (subnet_id || subnet_name))
88
IPv4 Subnet
subnet_addr
The start IPv4 address from the subnet. It must be an IPv4 in decimal format (i.e : 10.0.0.0).
This value is set at the creation and cannot be edited once the subnet exist.
subnet_end_addr
The start IPv4 address from the subnet. It must be an IPv4 in decimal format (i.e : 10.0.0.0).
This value is set at the creation and cannot be edited once the subnet exist.
subnet_size
The subnet size. Must be an integer greater than 0. This value is set at the creation and
cannot be edited once the subnet exist.
subnet_mask
Subnet mask.
subnet_prefix
Subnet prefix. It must be an integer between 0 and 32 included.This value is set at the creation
and cannot be edited once the block exist.
subnet_class_name
The subnet_class_name is the name of the file class that will used for this object. The name
of subnet_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a sub-
net_class_name parameter could be set to: my_favorite_dir/my_class.class.
subnet_class_parameters
The subnet_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The subnet_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by subnet_class_parameters parameter the URL value must be encoded in
URL format (see RFC 3986).
permit_invalid
Must be 0 or 1. When set on 1, allow the subnet overlapping.
permit_overlap
Permit overlap (obsolete).
permit_no_block
Must be 0 or 1. When set on 1, allow to create subnet without a block. The subnet created
will be an orphan subnet.
changed_waiting_state
Must be 0 or 1. When set on 1, change waiting state (internal).
is_terminal
Must be 0 or 1. When set on 1, subnet will be terminal.
enabled
Must be 0 or 1. When set on 1, the status of the subnet will be Managed. When set on 0, the
status of the subnet will be Unmanaged.
keep_class_parameters
Must be 0 or 1. When set on 1, the value of the parameter subnet_class_parameters will be
added to the existing class parameters.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
89
IPv4 Subnet
additional_parameters
The additional_parameters is a data container used to pass your customized parameters to
rules started after a call to the service. The additional_parameters accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by additional_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
no_rule_exec
Must be 0 or 1. When set on 1, do not execute rules started after the execution of this service.
90
IPv4 Subnet
Name
ip_subnet_count — Number of IPv4 subnets
Description
The service ip_subnet_count allows to display the number of IPv4 subnets.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: subnet_id, type, subnet_path, subnet_is_default, sub-
net_sort_name, start_ip_addr, end_ip_addr, block_id, block_name, block_level,
block_start_ip_addr, block_end_ip_addr, block_type, site_id, vlsm_block_id, vlsm_site_id,
subnet_start_ip_addr, subnet_end_ip_addr, subnet_name, subnet_addr, scope_size, sub-
net_scope_size, block_scope_size, vlsm_subnet_id, subnet_type, subnet_class_name,
subnet_class_parameters, subnet_custom1, subnet_custom2, subnet_custom3,
site_is_template, site_name, real_tree_level, real_tree_path, real_hidden_site,
vlsm_site_name, subnet_row_enabled, subnet_is_valid, waiting_state, waiting_status,
block_class_name, block_path, vlsm_block_name, allocated_percent, subnet_used_percent,
scope_size_allocated, block_size_used, scope_size_used, ip_used_percent, root_site_id,
hidden_site, real_site_id, real_site_name, site_class_name, site_class_parameters,
row_enabled, site_custom1, site_custom2, site_custom3, site_description, tree_level,
tree_path, parent_site_name, block_custom1, block_custom2, block_custom3.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
91
IPv4 Subnet
Name
ip_subnet_list — List the IPv4 subnets
Description
The service ip_subnet_list allows to list entries from SOLIDserver database. To execute this
service, users must be granted permission to use it. The rows returned to the user running the
service depend on the resources granted to the group they belong to. The WHERE input para-
meter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: subnet_id, type, subnet_path, subnet_is_default, sub-
net_sort_name, start_ip_addr, end_ip_addr, block_id, block_name, block_level,
block_start_ip_addr, block_end_ip_addr, block_type, site_id, vlsm_block_id, vlsm_site_id,
subnet_start_ip_addr, subnet_end_ip_addr, subnet_name, subnet_addr, scope_size, sub-
net_scope_size, block_scope_size, vlsm_subnet_id, subnet_type, subnet_class_name,
subnet_class_parameters, subnet_custom1, subnet_custom2, subnet_custom3,
site_is_template, site_name, real_tree_level, real_tree_path, real_hidden_site,
vlsm_site_name, subnet_row_enabled, subnet_is_valid, waiting_state, waiting_status,
block_class_name, block_path, vlsm_block_name, allocated_percent, subnet_used_percent,
scope_size_allocated, block_size_used, scope_size_used, ip_used_percent, root_site_id,
hidden_site, real_site_id, real_site_name, site_class_name, site_class_parameters,
row_enabled, site_custom1, site_custom2, site_custom3, site_description, tree_level,
tree_path, parent_site_name, block_custom1, block_custom2, block_custom3.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
92
IPv4 Subnet
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
subnet_path
Subnet path.
subnet_is_default
Recycle bin subnet.
start_ip_addr
First IP address of the range.
end_ip_addr
Last IP address of the range.
block_id
The IPv4 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
block_name
The IPv4 block name.
block_level
Block6 level.
block_start_ip_addr
First IP address of the block. Could be used as the subnet container.
block_end_ip_addr
Last IP address of the block. Could be used as the subnet container.
block_type
Block type.
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
vlsm_site_id
The vlsm_site_id parameter is the VLSM space identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
subnet_start_ip_addr
First IP address of the subnet.
subnet_end_ip_addr
Last IP address of the subnet.
subnet_name
Subnet name.
subnet_addr
Subnet start IP address.
scope_size
Size of the container either it is a block or a subnet.
93
IPv4 Subnet
subnet_scope_size
Size of the subnet (number of IP addresses).
block_scope_size
Size of the block (number of IP addresses). Could be used as the subnet container.
subnet_class_name
The subnet_class_name is the name of the file class that will used for this object. The name
of subnet_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a sub-
net_class_name parameter could be set to: my_favorite_dir/my_class.class.
subnet_class_parameters
The subnet_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The subnet_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by subnet_class_parameters parameter the URL value must be encoded in
URL format (see RFC 3986).
site_is_template
Space is a template.
site_name
site name.
vlsm_site_name
VLSM space name.
subnet_is_valid
Tell if the subnet is valid or not. It is used after an import form the Internet registrar.
waiting_state
State of the pending creation used when update third external database as Internet registrar.
waiting_status
Status of the pending operation.
block_class_name
The block_class_name is the name of the file class that will used for this object. The name
of block_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a block_class_name
parameter could be set to: my_favorite_dir/my_class.class.
block_path
Block path.
vlsm_block_name
Name of the block that contain the subnet.
allocated_percent
Percentage of allocated subnets just below the container.
subnet_used_percent
Percentage of used terminal subnet within the container it belongs.
scope_size_allocated
Number of allocated subnets just below the container.
block_size_used
Number of used terminal subnets within the container it belongs.
94
IPv4 Subnet
scope_size_used
Number of IP addresses used in a subnet.
ip_used_percent
Percentage of IP addresses used in a subnet.
root_site_id
Root space ID in the IP address hierarchy.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
site_description
Space description.
tree_level
Depth of imbricated spaces.
parent_site_name
Space parent name.
95
IPv4 Subnet
Name
ip_subnet_info — Display the properties of an IPv4 subnet
Description
The service ip_subnet_info returns the information on the object specified in input.
Input Parameters
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
subnet_path
Subnet path.
subnet_is_default
Recycle bin subnet.
start_ip_addr
First IP address of the range.
end_ip_addr
Last IP address of the range.
block_id
The IPv4 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
block_name
The IPv4 block name.
block_level
Block6 level.
block_start_ip_addr
First IP address of the block. Could be used as the subnet container.
block_end_ip_addr
Last IP address of the block. Could be used as the subnet container.
block_type
Block type.
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
96
IPv4 Subnet
vlsm_site_id
The vlsm_site_id parameter is the VLSM space identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
subnet_start_ip_addr
First IP address of the subnet.
subnet_end_ip_addr
Last IP address of the subnet.
subnet_name
Subnet name.
subnet_addr
Subnet start IP address.
scope_size
Size of the container either it is a block or a subnet.
subnet_scope_size
Size of the subnet (number of IP addresses).
block_scope_size
Size of the block (number of IP addresses). Could be used as the subnet container.
subnet_class_name
The subnet_class_name is the name of the file class that will used for this object. The name
of subnet_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a sub-
net_class_name parameter could be set to: my_favorite_dir/my_class.class.
subnet_class_parameters
The subnet_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The subnet_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by subnet_class_parameters parameter the URL value must be encoded in
URL format (see RFC 3986).
site_is_template
Space is a template.
site_name
site name.
vlsm_site_name
VLSM space name.
subnet_is_valid
Tell if the subnet is valid or not. It is used after an import form the Internet registrar.
waiting_state
State of the pending creation used when update third external database as Internet registrar.
waiting_status
Status of the pending operation.
block_class_name
The block_class_name is the name of the file class that will used for this object. The name
of block_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a block_class_name
parameter could be set to: my_favorite_dir/my_class.class.
97
IPv4 Subnet
block_path
Block path.
vlsm_block_name
Name of the block that contain the subnet.
allocated_percent
Percentage of allocated subnets just below the container.
subnet_used_percent
Percentage of used terminal subnet within the container it belongs.
scope_size_allocated
Number of allocated subnets just below the container.
block_size_used
Number of used terminal subnets within the container it belongs.
scope_size_used
Number of IP addresses used in a subnet.
ip_used_percent
Percentage of IP addresses used in a subnet.
root_site_id
Root space ID in the IP address hierarchy.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
site_description
Space description.
tree_level
Depth of imbricated spaces.
parent_site_name
Space parent name.
98
IPv4 Subnet
Name
ip_subnet_address_count — Number of used IPv4 addresses in a subnet/pool
Description
The service ip_subnet_address_count allows to display the number of used IPv4 addresses in
the subnet or pool specified in input.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
subnet_id
The subnet identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
pool_id
The pool identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
99
IPv4 Subnet
Name
ip_subnet_address_list — List the used IPv4 addresses in a subnet/pool
Description
The service ip_subnet_address_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
subnet_id
The subnet identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
pool_id
The pool identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
100
IPv4 Subnet
Name
ip_free_subnet_count — Number of free IPv4 subnets
Description
The service ip_free_subnet_count allows to display the number of free IPv4 subnets.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
101
IPv4 Subnet
Name
ip_free_subnet_list — List the free IPv4 subnets
Description
The service ip_free_subnet_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use it.. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
102
IPv4 Subnet
Name
ip_find_free_subnet — Find free IPv4 subnets
Description
The service ip_find_free_subnet allows to find free IPv4 subnets in the database.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
block_path
Block path.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
start_ip_addr
Start IP address.
block_id
IPv4 block identifier (ID).
block_name
IPv4 block name.
site_id
Space identifier (ID).
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
103
IPv4 Subnet
Name
ip_subnet_class_list — List of the classes configured and applied on IPv4 subnets
Description
The service ip_subnet_class_list allows to list the classes configured and applied on IPv4 subnets.
The rows returned to the user running the service depend on the resources granted to the group
they belong to. The WHERE input parameter allows to filter the returned rows.
To execute this service, users must be granted the permission to use it.
Input Parameters
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
104
IPv4 Subnet
Name
ip_subnet_admin_group_count — Total number of groups that can access the
IPv4 subnet list
Description
The service ip_subnet_admin_group_count allows to display the total number of groups of users
that can access the IPv4 subnet list. The rows returned to the user running the service are not
subject to the group resources, this service returns data as if the user running it belonged to the
admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
105
IPv4 Subnet
Name
ip_subnet_admin_group_list — List all the groups that can access the IPv4 subnet
list
Description
The service ip_subnet_admin_group_list allows to list entries from SOLIDserver database. The
rows returned to the user running the service are not subject to the group resources, this service
returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
106
IPv4 Subnet
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
grp_name
The name of the group of users.
grp_description
Group description.
from_type
Not documented.
107
IPv4 Subnet
Name
ip_subnet_admin_service_count — Total number of rights for a group to
add/delete objects in IPv4 subnets
Description
The service ip_subnet_admin_service_count allows to display the total number of rights for a
group of users to add/delete objects in a DHCPv4 subnet. The rows returned to the user running
the service are not subject to the group resources, this service returns data as if the user running
it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
108
IPv4 Subnet
Name
ip_subnet_admin_service_list — List all the rights of a group to add/delete objects
in IPv4 subnets
Description
The service ip_subnet_admin_service_list allows to list entries from SOLIDserver database. The
rows returned to the user running the service are not subject to the group resources, this service
returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
service_name
The service name.
109
IPv4 Subnet
Name
group_subnet_add — Add an IPv4 subnet as group resource
Description
The service group_subnet_add allows to add an object as resource for a group of users. You
must specify the group of users and the object that you set as resource. Once set as a resource,
the group can manage the object according to the rights services it has access to.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
110
IPv4 Subnet
Name
group_subnet_delete — Remove an IPv4 subnet from a group resources
Description
The service group_subnet_delete allows to delete SOLIDserver database object. The service
group_subnet_delete needs to identify the object to delete with the input parameters detailed in
the next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
111
IPv4 Subnet
Name
ip_subnet_delete — Delete an IPv4 subnet
Description
The service ip_subnet_delete allows to delete SOLIDserver database object. The service
ip_subnet_delete needs to identify the object to delete with the input parameters detailed in the
next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
Space name.
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
subnet_name
Subnet name.
subnet_addr
Subnet start IP address.
subnet_end_addr
Subnet end IP address.
subnet_size
Subnet size.
subnet_mask
Subnet mask.
subnet_prefix
Subnet prefix.
subnet_class_name
The subnet_class_name is the name of the file class that will used for this object. The name
of subnet_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a sub-
net_class_name parameter could be set to: my_favorite_dir/my_class.class.
subnet_class_parameters
The subnet_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The subnet_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by subnet_class_parameters parameter the URL value must be encoded in
URL format (see RFC 3986).
additional_parameters
Additional parameters passed to rules.
112
IPv4 Subnet
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
113
Chapter 14. IPv6 Subnet
114
IPv6 Subnet
Name
ip6_subnet6_add — Add/Edit an IPv6 subnet
Description
The service ip6_subnet6_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
Space name.
root_site_id
The root_site_id parameter is the Space identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
root_site_name
Space name.
vlsm_site_id
The vlsm_site_id parameter is the VLSM space identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
vlsm_site_name
VLSM space name.
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
subnet6_name
Subnet6 name.
subnet6_addr
Subnet6 start IP address.
subnet6_end_addr
Subnet6 end IP address.
subnet6_prefix
Subnet6 prefix.
subnet6_class_name
The subnet6_class_name is the name of the file class that will used for this object. The name
of subnet6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a sub-
net6_class_name parameter could be set to: my_favorite_dir/my_class.class.
115
IPv6 Subnet
subnet6_class_parameters
The subnet6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The subnet6_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by subnet6_class_parameters parameter the URL value must be encoded
in URL format (see RFC 3986).
permit_invalid
Permit invalid (not a real subnet6/allow overlap).
permit_overlap
Permit overlap (obsolete).
permit_no_block6
Allow to create subnet6 without block6.
changed_waiting_state
Changed waiting state (internal).
is_terminal
Subnet6 is terminal.
enabled
Manage/Unmanage.
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
additional_parameters
Additional parameters passed to rules.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
116
IPv6 Subnet
Name
ip6_subnet6_count — Number of IPv6 subnets
Description
The service ip6_subnet6_count allows to display the number of IPv6 subnets.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
117
IPv6 Subnet
Name
ip6_subnet6_list — List the IPv6 subnets
Description
The service ip6_subnet6_list allows to list entries from SOLIDserver database. To execute this
service, users must be granted permission to use it. The rows returned to the user running the
service depend on the resources granted to the group they belong to. The WHERE input para-
meter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
118
IPv6 Subnet
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
subnet_path
Subnet path.
subnet6_is_default
Recycle bin subnet.
start_ip6_addr
First IP address of the range.
end_ip6_addr
Last IP address of the range.
block6_id
The IPv6 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
block6_name
The IPv6 block name.
block_level
Block6 level.
block6_start_ip6_addr
First IP v6 address of the block. Could be used as the subnet container.
block6_end_ip6_addr
Last IP v6address of the block. Could be used as the subnet container.
block6_type
Block type.
block6_prefix
Block6 prefix.
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
vlsm_site_id
The vlsm_site_id parameter is the VLSM space identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
subnet6_start_ip6_addr
First IP v6 address of the subnet.
subnet6_end_ip6_addr
Last IP v6 address of the subnet.
subnet6_name
Subnet6 name.
subnet6_addr
Subnet6 start IP address.
119
IPv6 Subnet
scope_size
Size of the container either it is a block or a subnet.
subnet6_scope_size
Size of the subnet (number of IP addresses).
block6_scope_size
Size of the block (number of IP addresses). Could be used as the subnet container.
subnet6_class_name
The subnet6_class_name is the name of the file class that will used for this object. The name
of subnet6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a sub-
net6_class_name parameter could be set to: my_favorite_dir/my_class.class.
subnet6_class_parameters
The subnet6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The subnet6_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by subnet6_class_parameters parameter the URL value must be encoded
in URL format (see RFC 3986).
site_name
site name.
vlsm_site_name
VLSM space name.
subnet6_is_valid
Tell if the IPv6 subnet is valid or not. It is used after an import form the Internet registrar.
waiting_state
State of the pending creation used when update third external database as Internet registrar.
waiting_status
Status of the pending operation.
block6_class_name
The block6_class_name is the name of the file class that will used for this object. The name
of block6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a
block6_class_name parameter could be set to: my_favorite_dir/my_class.class.
block_path
Block path.
root_site_id
Root space ID in the IP address hierarchy.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
120
IPv6 Subnet
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
site_description
Space description.
tree_level
Depth of imbricated spaces.
parent_site_name
Space parent name.
121
IPv6 Subnet
Name
ip6_subnet6_info — Display the properties of an IPv6 subnet
Description
The service ip6_subnet6_info returns the information on the object specified in input.
Input Parameters
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
subnet_path
Subnet path.
subnet6_is_default
Recycle bin subnet.
start_ip6_addr
First IP address of the range.
end_ip6_addr
Last IP address of the range.
block6_id
The IPv6 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
block6_name
The IPv6 block name.
block_level
Block6 level.
block6_start_ip6_addr
First IP v6 address of the block. Could be used as the subnet container.
block6_end_ip6_addr
Last IP v6address of the block. Could be used as the subnet container.
block6_type
Block type.
block6_prefix
Block6 prefix.
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
122
IPv6 Subnet
vlsm_site_id
The vlsm_site_id parameter is the VLSM space identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
subnet6_start_ip6_addr
First IP v6 address of the subnet.
subnet6_end_ip6_addr
Last IP v6 address of the subnet.
subnet6_name
Subnet6 name.
subnet6_addr
Subnet6 start IP address.
scope_size
Size of the container either it is a block or a subnet.
subnet6_scope_size
Size of the subnet (number of IP addresses).
block6_scope_size
Size of the block (number of IP addresses). Could be used as the subnet container.
subnet6_class_name
The subnet6_class_name is the name of the file class that will used for this object. The name
of subnet6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a sub-
net6_class_name parameter could be set to: my_favorite_dir/my_class.class.
subnet6_class_parameters
The subnet6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The subnet6_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by subnet6_class_parameters parameter the URL value must be encoded
in URL format (see RFC 3986).
site_name
site name.
vlsm_site_name
VLSM space name.
subnet6_is_valid
Tell if the IPv6 subnet is valid or not. It is used after an import form the Internet registrar.
waiting_state
State of the pending creation used when update third external database as Internet registrar.
waiting_status
Status of the pending operation.
block6_class_name
The block6_class_name is the name of the file class that will used for this object. The name
of block6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a
block6_class_name parameter could be set to: my_favorite_dir/my_class.class.
block_path
Block path.
123
IPv6 Subnet
root_site_id
Root space ID in the IP address hierarchy.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
site_description
Space description.
tree_level
Depth of imbricated spaces.
parent_site_name
Space parent name.
124
IPv6 Subnet
Name
ip6_subnet6_address_count — Number of used IPv6 addresses in a subnet/pool
Description
The service ip6_subnet6_address_count allows to display the number of used IPv6 addresses
in the subnet or pool specified in input.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
pool6_id
The IPv6 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
125
IPv6 Subnet
Name
ip6_subnet6_address_list — List the used IPv6 addresses in a subnet/pool
Description
The service ip6_subnet6_address_list allows to list entries from SOLIDserver database.To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
pool6_id
The IPv6 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
126
IPv6 Subnet
Name
ip6_used_subnet6_address_count — Number of used IPv6 addresses
Description
The service ip6_subnet6_address_count allows to display the number of used IPv6 addresses.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
127
IPv6 Subnet
Name
ip6_used_subnet6_address_list — List the used IPv6 addresses
Description
The service ip6_used_subnet6_address_list allows to list entries from SOLIDserver database.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
128
IPv6 Subnet
ip6_id
The ip6_id parameter is the IP address identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
root_site_id
Root space ID in the IP address hierarchy.
site_name
site name.
tree_level
Depth of imbricated spaces.
block6_name
The IPv6 block name.
ip6_addr
IP6 address.
ip6_name
IP6 address name.
ip6_mac_addr
IP6 address MAC address.
ip6_class_name
The ip6_class_name is the name of the file class that will used for this object. The name of
ip6_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a ip6_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
subnet6_name
Subnet6 name.
pool6_name
Pool6 name.
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
subnet6_start_ip6_addr
First IP v6 address of the subnet.
subnet6_end_ip6_addr
Last IP v6 address of the subnet.
subnet6_scope_size
Size of the subnet (number of IP addresses).
block6_scope_size
Size of the block (number of IP addresses). Could be used as the subnet container.
block6_id
The IPv6 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
ip6_class_parameters
The ip6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
129
IPv6 Subnet
130
IPv6 Subnet
subnet6_class_name
The subnet6_class_name is the name of the file class that will used for this object. The name
of subnet6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a sub-
net6_class_name parameter could be set to: my_favorite_dir/my_class.class.
pool6_size
Not documented.
pool6_start_ip6_addr
Not documented.
131
IPv6 Subnet
Name
ip6_used_subnet6_address_info — Display the properties of a used IPv6 address
Description
The service ip6_used_subnet6_address_info return the information on the object specified in
input.
Input Parameters
ip6_id
The ip6_id parameter is the IP address identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
ip6_id
The ip6_id parameter is the IP address identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
root_site_id
Root space ID in the IP address hierarchy.
site_name
site name.
tree_level
Depth of imbricated spaces.
block6_name
The IPv6 block name.
ip6_addr
IP6 address.
ip6_name
IP6 address name.
ip6_mac_addr
IP6 address MAC address.
ip6_class_name
The ip6_class_name is the name of the file class that will used for this object. The name of
ip6_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a ip6_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
subnet6_name
Subnet6 name.
pool6_name
Pool6 name.
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
132
IPv6 Subnet
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
subnet6_start_ip6_addr
First IP v6 address of the subnet.
subnet6_end_ip6_addr
Last IP v6 address of the subnet.
subnet6_scope_size
Size of the subnet (number of IP addresses).
block6_scope_size
Size of the block (number of IP addresses). Could be used as the subnet container.
block6_id
The IPv6 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
ip6_class_parameters
The ip6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The ip6_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by ip6_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
pool6_class_name
The pool6_class_name is the name of the file class that will used for this object. The name
of pool6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a pool6_class_name
parameter could be set to: my_favorite_dir/my_class.class.
pool6_id
The IPv6 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
pool6_read_only
Pool6 is in read only mode.
site_description
Space description.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
133
IPv6 Subnet
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
parent_site_name
Space parent name.
block6_class_name
The block6_class_name is the name of the file class that will used for this object. The name
of block6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a
block6_class_name parameter could be set to: my_favorite_dir/my_class.class.
scope_size
Size of the container either it is a block or a subnet.
block6_prefix
Block6 prefix.
block6_start_ip6_addr
First IP v6 address of the block. Could be used as the subnet container.
block6_end_ip6_addr
Last IP v6address of the block. Could be used as the subnet container.
subnet6_class_name
The subnet6_class_name is the name of the file class that will used for this object. The name
of subnet6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a sub-
net6_class_name parameter could be set to: my_favorite_dir/my_class.class.
pool6_size
Not documented.
pool6_start_ip6_addr
Not documented.
134
IPv6 Subnet
Name
ip6_find_free_subnet6 — Find free IPv6 subnets
Description
The service ip6_find_free_subnet6 allows to find free IPv6 subnets in the database.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
site_id
The space identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
block_path
Block path.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
start_ip6_addr
First IP address of the range.
block6_name
The IPv6 block name.
block6_type
Block type.
block6_id
The IPv6 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
site_id
The space identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
135
IPv6 Subnet
Name
ip6_free_subnet6_count — Number of free IPv6 subnets
Description
The service ip6_free_subnet6_count allows to display the number of free IPv6 subnets.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
136
IPv6 Subnet
Name
ip6_free_subnet6_list — List the free IPv6 subnets
Description
The service ip6_free_subnet6_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
137
IPv6 Subnet
Name
ip6_subnet6_class_list — List of the classes configured and applied on IPv6 subnets
Description
The service ip6_subnet6_class_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
To execute this service, users must be granted the permission to use it.
Input Parameters
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
138
IPv6 Subnet
Name
ip6_subnet6_admin_group_list — List all the groups that can access the IPv6
subnet list
Description
The service ip6_subnet6_admin_group_list allows to list entries from SOLIDserver database.
The rows returned to the user running the service are not subject to the group resources, this
service returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
139
IPv6 Subnet
Name
ip6_subnet6_admin_service_list — List all the rights of a group to add/delete
objects in IPv6 subnets
Description
The service ip6_subnet6_admin_service_list allows to list entries from SOLIDserver database.
The rows returned to the user running the service are not subject to the group resources, this
service returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
140
IPv6 Subnet
Name
group_subnet6_add — Add an IPv6 subnet as group resource
Description
The service group_subnet6_add allows to add an object as resource for a group of users. You
must specify the group of users and the object that you set as resource. Once set as a resource,
the group can manage the object according to the rights services it has access to.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
141
IPv6 Subnet
Name
group_subnet6_delete — Remove an IPv6 subnet from a group resources
Description
The service group_subnet6_delete allows to delete SOLIDserver database object. The service
group_subnet6_delete needs to identify the object to delete with the input parameters detailed
in the next section. This service will be executed if the connected user running this service is al-
lowed to delete the concerned object
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
142
IPv6 Subnet
Name
ip6_subnet6_delete — Delete an IPv6 subnet
Description
The service ip6_subnet6_delete allows to delete SOLIDserver database object. The service
ip6_subnet6_delete needs to identify the object to delete with the input parameters detailed in
the next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
Space name.
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
subnet6_name
Subnet6 name.
subnet6_addr
Subnet6 start IP address.
subnet6_end_addr
Subnet6 end IP address.
subnet6_prefix
Subnet6 prefix.
subnet6_class_name
The subnet6_class_name is the name of the file class that will used for this object. The name
of subnet6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a sub-
net6_class_name parameter could be set to: my_favorite_dir/my_class.class.
subnet6_class_parameters
The subnet6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The subnet6_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by subnet6_class_parameters parameter the URL value must be encoded
in URL format (see RFC 3986).
additional_parameters
Additional parameters passed to rules.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
143
IPv6 Subnet
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
144
Chapter 15. IPv4 Pool
145
IPv4 Pool
Name
ip_pool_add — Add/Edit an IPv4 pool
Description
The service ip_pool_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
Space name.
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
pool_id
The IPv4 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
start_addr
Pool start IP address.
end_addr
Pool end IP address.
pool_size
Pool size.
pool_class_name
The pool_class_name is the name of the file class that will used for this object. The name of
pool_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a pool_class_name
parameter could be set to: my_favorite_dir/my_class.class.
pool_class_parameters
The pool_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The pool_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by pool_class_parameters parameter the URL value must be encoded in URL
format (see RFC 3986).
pool_read_only
Pool is in read only mode.
146
IPv4 Pool
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
additional_parameters
Additional parameters passed to rules.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
147
IPv4 Pool
Name
ip_pool_count — Number of IPv4 pools
Description
The service ip_pool_count allows to display the number of IPv4 pools.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
148
IPv4 Pool
Name
ip_pool_list — List the IPv4 pools
Description
The service ip_pool_list allows to list entries from SOLIDserver database.To execute this service,
users must be granted permission to use it. The rows returned to the user running the service
depend on the resources granted to the group they belong to. The WHERE input parameter allows
to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
149
IPv4 Pool
site_is_template
Space is a template.
pool_id
The IPv4 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
pool_name
Pool name.
pool_class_name
The pool_class_name is the name of the file class that will used for this object. The name of
pool_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a pool_class_name
parameter could be set to: my_favorite_dir/my_class.class.
pool_class_parameters
The pool_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The pool_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by pool_class_parameters parameter the URL value must be encoded in URL
format (see RFC 3986).
pool_read_only
Pool is in read only mode.
start_ip_addr
First IP address of the range.
end_ip_addr
Last IP address of the range.
scope_size
Size of the container either it is a block or a subnet.
site_name
site name.
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
block_name
The IPv4 block name.
block_id
The IPv4 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
subnet_name
Subnet name.
subnet_addr
Subnet start IP address.
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
site_description
Space description.
150
IPv4 Pool
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
parent_site_name
Space parent name.
block_scope_size
Size of the block (number of IP addresses). Could be used as the subnet container.
block_start_ip_addr
First IP address of the block. Could be used as the subnet container.
block_end_ip_addr
Last IP address of the block. Could be used as the subnet container.
subnet_start_ip_addr
First IP address of the subnet.
pool_size
Pool size.
pool_start_ip_addr
Not documented.
pool_end_ip_addr
Not documented.
block_class_name
The block_class_name is the name of the file class that will used for this object. The name
of block_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a block_class_name
parameter could be set to: my_favorite_dir/my_class.class.
block_path
Block path.
block_level
Block6 level.
151
IPv4 Pool
Name
ip_pool_name_list — List the name of the IPv4 pools and their configured classes for
a specific subnet
Description
The service ip_pool_name_list allows to the name and class configured on the pool of a specific
IPv4 subnet. The rows returned to the user running the service depend on the resources granted
to the group they belong to. The WHERE input parameter allows to filter the returned rows.
Input Parameters
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
pool_name
The IPv4 pool name.
pool_class_name
The name of the class configured on the IPv4 pool.
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
152
IPv4 Pool
Name
ip_pool_info — Display the properties of an IPv4 pool
Description
The service ip_pool_info returns the information on the object specified in input.
Input Parameters
pool_id
The IPv4 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
site_is_template
Space is a template.
pool_id
The IPv4 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
pool_name
Pool name.
pool_class_name
The pool_class_name is the name of the file class that will used for this object. The name of
pool_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a pool_class_name
parameter could be set to: my_favorite_dir/my_class.class.
pool_class_parameters
The pool_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The pool_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by pool_class_parameters parameter the URL value must be encoded in URL
format (see RFC 3986).
pool_read_only
Pool is in read only mode.
start_ip_addr
First IP address of the range.
end_ip_addr
Last IP address of the range.
scope_size
Size of the container either it is a block or a subnet.
site_name
site name.
153
IPv4 Pool
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
block_name
The IPv4 block name.
block_id
The IPv4 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
subnet_name
Subnet name.
subnet_addr
Subnet start IP address.
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
site_description
Space description.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
parent_site_name
Space parent name.
block_scope_size
Size of the block (number of IP addresses). Could be used as the subnet container.
block_start_ip_addr
First IP address of the block. Could be used as the subnet container.
block_end_ip_addr
Last IP address of the block. Could be used as the subnet container.
subnet_start_ip_addr
First IP address of the subnet.
pool_size
Pool size.
pool_start_ip_addr
Not documented.
154
IPv4 Pool
pool_end_ip_addr
Not documented.
block_class_name
The block_class_name is the name of the file class that will used for this object. The name
of block_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a block_class_name
parameter could be set to: my_favorite_dir/my_class.class.
block_path
Block path.
block_level
Block6 level.
155
IPv4 Pool
Name
ip_pool_class_list — List of the classes configured and applied on IPv4 pools
Description
The service ip_pool_class_list allows to list all the classes configured and applied on IPv4 pools.
The rows returned to the user running the service depend on the resources granted to the group
they belong to. The WHERE input parameter allows to filter the returned rows.
Input Parameters
pool_id
The IPv4 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
156
IPv4 Pool
Name
ip_pool_admin_group_count — Total number of groups that can access the IPv4
pool list
Description
The service ip_pool_admin_group_count allows to display the total number of groups of users
that can access the IPv4 pool list. The rows returned to the user running the service are not
subject to the group resources, this service returns data as if the user running it belonged to the
admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
pool_id
The IPv4 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
157
IPv4 Pool
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
158
IPv4 Pool
Name
ip_pool_admin_group_list — List all the groups that can access the IPv4 pool list
Description
The service ip_pool_admin_group_list allows to list entries from SOLIDserver database. The
rows returned to the user running the service are not subject to the group resources, this service
returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
pool_id
The IPv4 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
pool_id
The IPv4 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
pool_id
The IPv4 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
pool_id
The IPv4 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
159
IPv4 Pool
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
grp_name
The name of the group of users.
grp_description
Group description.
from_type
Not documented.
160
IPv4 Pool
Name
ip_pool_admin_service_count — Total number of rights for a group to add/delete
objects in IPv4 pools
Description
The service ip_pool_admin_service_count allows to display the total number of rights for a group
of users to add/delete objects in an IPv4 pool. The rows returned to the user running the service
are not subject to the group resources, this service returns data as if the user running it belonged
to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
161
IPv4 Pool
Name
ip_pool_admin_service_list — the rights of a group to add/delete objects in IPv4
pools
Description
The service ip_pool_admin_service_list allows to list entries from SOLIDserver database. The
rows returned to the user running the service are not subject to the group resources, this service
returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
service_name
The service name.
162
IPv4 Pool
Name
group_pool_add — Add an IPv4 pool as group resource
Description
The service group_pool_add allows to add an object as resource for a group of users. You must
specify the group of users and the object that you set as resource. Once set as a resource, the
group can manage the object according to the rights services it has access to.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
pool_id
The IPv4 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
163
IPv4 Pool
Name
group_pool_delete — Remove an IPv4 pool from a group resources
Description
The service group_pool_delete allows to delete SOLIDserver database object. The service
group_pool_delete needs to identify the object to delete with the input parameters detailed in the
next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
pool_id
The IPv4 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
164
IPv4 Pool
Name
ip_pool_delete — Delete an IPv4 pool
Description
The service ip_pool_delete allows to delete SOLIDserver database object. The service
ip_pool_delete needs to identify the object to delete with the input parameters detailed in the
next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
Space name.
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
pool_id
The IPv4 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
start_addr
Pool start IP address.
end_addr
Pool end IP address.
pool_size
Pool size.
pool_class_name
The pool_class_name is the name of the file class that will used for this object. The name of
pool_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a pool_class_name
parameter could be set to: my_favorite_dir/my_class.class.
pool_class_parameters
The pool_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The pool_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by pool_class_parameters parameter the URL value must be encoded in URL
format (see RFC 3986).
pool_read_only
Pool is in read only mode.
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
165
IPv4 Pool
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
additional_parameters
Additional parameters passed to rules.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
166
Chapter 16. IPv6 Pool
167
IPv6 Pool
Name
ip6_pool6_add — Add/Edit an IPv6 pool
Description
The service ip6_pool6_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
Space name.
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
pool6_id
The IPv6 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
start_addr
Pool6 start IP address.
end_addr
Pool6 end IP address.
pool6_class_name
The pool6_class_name is the name of the file class that will used for this object. The name
of pool6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a pool6_class_name
parameter could be set to: my_favorite_dir/my_class.class.
pool6_class_parameters
The pool6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The pool6_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by pool6_class_parameters parameter the URL value must be encoded in
URL format (see RFC 3986).
pool6_read_only
Pool6 is in read only mode.
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
168
IPv6 Pool
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
additional_parameters
Additional parameters passed to rules.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
169
IPv6 Pool
Name
ip6_pool6_count — Number of IPv6 pools
Description
The service ip6_pool6_count allows to display the number of IPv6 pools.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
170
IPv6 Pool
Name
ip6_pool6_list — List the IPv6 pools
Description
The service ip6_pool6_list allows to list entries from SOLIDserver database. To execute this
service, users must be granted permission to use it. The rows returned to the user running the
service depend on the resources granted to the group they belong to. The WHERE input para-
meter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
171
IPv6 Pool
pool6_id
The pool6_id parameter is the Pool6 identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
pool6_name
Pool6 name.
pool6_class_name
The pool6_class_name is the name of the file class that will used for this object. The name
of pool6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a pool6_class_name
parameter could be set to: my_favorite_dir/my_class.class.
pool6_class_parameters
The pool6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The pool6_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by pool6_class_parameters parameter the URL value must be encoded in
URL format (see RFC 3986).
pool6_read_only
Pool6 is in read only mode.
start_ip6_addr
First IP address of the range.
end_ip6_addr
Last IP address of the range.
scope_size
Size of the container either it is a block or a subnet.
site_name
site name.
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
block6_name
The IPv6 block name.
block6_id
The IPv6 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
subnet6_name
Subnet6 name.
subnet6_addr
Subnet6 start IP address.
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
site_description
Space description.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
172
IPv6 Pool
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
parent_site_name
Space parent name.
block6_scope_size
Size of the block (number of IP addresses). Could be used as the subnet container.
block6_start_ip6_addr
First IP v6 address of the block. Could be used as the subnet container.
block6_end_ip6_addr
Last IP v6address of the block. Could be used as the subnet container.
subnet6_start_ip6_addr
First IP v6 address of the subnet.
pool6_size
Not documented.
pool6_start_ip6_addr
Not documented.
pool6_end_ip6_addr
Not documented.
block6_class_name
The block6_class_name is the name of the file class that will used for this object. The name
of block6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a
block6_class_name parameter could be set to: my_favorite_dir/my_class.class.
block_path
Block path.
block_level
Block6 level.
block6_prefix
Block6 prefix.
subnet6_class_name
The subnet6_class_name is the name of the file class that will used for this object. The name
of subnet6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a sub-
net6_class_name parameter could be set to: my_favorite_dir/my_class.class.
173
IPv6 Pool
Name
ip6_pool6_info — Display the properties of an IPv6 pool
Description
The service ip6_pool6_info returns the information on the object specified in input.
Input Parameters
pool6_id
The pool6_id parameter is the Pool6 identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
pool6_id
The pool6_id parameter is the Pool6 identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
pool6_name
Pool6 name.
pool6_class_name
The pool6_class_name is the name of the file class that will used for this object. The name
of pool6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a pool6_class_name
parameter could be set to: my_favorite_dir/my_class.class.
pool6_class_parameters
The pool6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The pool6_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by pool6_class_parameters parameter the URL value must be encoded in
URL format (see RFC 3986).
pool6_read_only
Pool6 is in read only mode.
start_ip6_addr
First IP address of the range.
end_ip6_addr
Last IP address of the range.
scope_size
Size of the container either it is a block or a subnet.
site_name
site name.
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
174
IPv6 Pool
block6_name
The IPv6 block name.
block6_id
The IPv6 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
subnet6_name
Subnet6 name.
subnet6_addr
Subnet6 start IP address.
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
site_description
Space description.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
parent_site_name
Space parent name.
block6_scope_size
Size of the block (number of IP addresses). Could be used as the subnet container.
block6_start_ip6_addr
First IP v6 address of the block. Could be used as the subnet container.
block6_end_ip6_addr
Last IP v6address of the block. Could be used as the subnet container.
subnet6_start_ip6_addr
First IP v6 address of the subnet.
pool6_size
Not documented.
pool6_start_ip6_addr
Not documented.
pool6_end_ip6_addr
Not documented.
175
IPv6 Pool
block6_class_name
The block6_class_name is the name of the file class that will used for this object. The name
of block6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a
block6_class_name parameter could be set to: my_favorite_dir/my_class.class.
block_path
Block path.
block_level
Block6 level.
block6_prefix
Block6 prefix.
subnet6_class_name
The subnet6_class_name is the name of the file class that will used for this object. The name
of subnet6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a sub-
net6_class_name parameter could be set to: my_favorite_dir/my_class.class.
176
IPv6 Pool
Name
ip6_pool6_name_list — List the name of the IPv4 pools and their configured classes
for a specific subnet
Description
The service ip6_pool6_name_list allows to the name and class configured on the pool of a spe-
cific IPv6 subnet. The rows returned to the user running the service depend on the resources
granted to the group they belong to. The WHERE input parameter allows to filter the returned
rows.
Input Parameters
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
177
IPv6 Pool
Name
ip6_pool6_class_list — List of the classes configured and applied on IPv6 pools
Description
The service ip6_pool6_class_list allows to list all the classes configured and applied on IPv6
pools. The rows returned to the user running the service depend on the resources granted to the
group they belong to. The WHERE input parameter allows to filter the returned rows.
Input Parameters
pool6_id
The IPv6 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
178
IPv6 Pool
Name
group_pool6_add — Add an IPv6 pool as group resource
Description
The service group_pool6_add allows to add an object as resource for a group of users.You must
specify the group of users and the object that you set as resource. Once set as a resource, the
group can manage the object according to the rights services it has access to.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
pool6_id
The IPv6 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
179
IPv6 Pool
Name
group_pool6_delete — Remove an IPv6 pool from a group resources
Description
The service group_pool6_delete allows to delete SOLIDserver database object. The service
group_pool6_delete needs to identify the object to delete with the input parameters detailed in
the next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
pool6_id
The IPv6 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
180
IPv6 Pool
Name
ip6_pool6_delete — Delete an IPv6 pool
Description
The service ip6_pool6_delete allows to delete SOLIDserver database object. The service
ip6_pool6_delete needs to identify the object to delete with the input parameters detailed in the
next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
Space name.
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
pool6_id
The IPv6 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
start_addr
Pool6 start IP address.
end_addr
Pool6 end IP address.
pool6_class_name
The pool6_class_name is the name of the file class that will used for this object. The name
of pool6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a pool6_class_name
parameter could be set to: my_favorite_dir/my_class.class.
pool6_class_parameters
The pool6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The pool6_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by pool6_class_parameters parameter the URL value must be encoded in
URL format (see RFC 3986).
pool6_read_only
Pool6 is in read only mode.
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
181
IPv6 Pool
additional_parameters
Additional parameters passed to rules.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
182
Chapter 17. IPv4 Address
183
IPv4 Address
Name
ip_add — Add/Edit an IPv4 address
Description
The service ip_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
Name of the space where the address is directly connected.
ip_id
The IP address identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
name
The name of the IP address (Obsolete. Has been replaced by ip_name).
ip_name
The fully qualified domain name (FQDN) of the IP address.
mac_addr
IP address MAC address.
ip_addr
Encoded hex IP address. (Obsolete. Has been replaced by ip_name).
hostaddr
IPv4 address in canonical representation with dot-decimal notation as 192.168.0.1.
ip_class_name
The ip_class_name is the name of the file class that will used for this object. The name of
ip_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a ip_class_name parameter
could be set to: my_favorite_dir/my_class.class.
ip_class_parameters
The ip_class_parameters parameter is a data container used to store your customized meta-
data. This meta-data can be apply for the class object definition and for the global customized
fields as well. The ip_class_parameters parameter accepts several meta-data values set in
the following URL style format: metadata1=value1&metadata2=value2&. To be accepted by
ip_class_parameters parameter the URL value must be encoded in URL format (see RFC
3986).
184
IPv4 Address
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
additional_parameters
Additional parameters passed to rules.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
185
IPv4 Address
Name
ip_address_count — Number of IPv4 addresses
Description
The service ip_address_count allows to display the number of IPv4 addresses.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
186
IPv4 Address
Name
ip_address_list — List all the IPv4 addresses
Description
The service ip_address_list allows to list entries from SOLIDserver database. To execute this
service, users must be granted permission to use it. The rows returned to the user running the
service depend on the resources granted to the group they belong to. The WHERE input para-
meter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
187
IPv4 Address
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
ip_free_ip_id
Not documented.
free_start_ip_addr
Not documented.
free_end_ip_addr
Not documented.
free_scope_size
Not documented.
ip_id
The IP address identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
site_is_template
Space is a template.
root_site_id
Root space ID in the IP address hierarchy.
site_name
site name.
tree_level
Depth of imbricated spaces.
block_name
The IPv4 block name.
ip_addr
IP address.
name
Rule name.
mac_addr
IP address MAC address.
ip_class_name
The ip_class_name is the name of the file class that will used for this object. The name of
ip_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a ip_class_name parameter
could be set to: my_favorite_dir/my_class.class.
subnet_name
Subnet name.
pool_name
Pool name.
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
188
IPv4 Address
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
subnet_start_ip_addr
First IP address of the subnet.
subnet_end_ip_addr
Last IP address of the subnet.
subnet_scope_size
Size of the subnet (number of IP addresses).
block_scope_size
Size of the block (number of IP addresses). Could be used as the subnet container.
block_id
The IPv4 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
ip_class_parameters
The ip_class_parameters parameter is a data container used to store your customized meta-
data. This meta-data can be apply for the class object definition and for the global customized
fields as well. The ip_class_parameters parameter accepts several meta-data values set in
the following URL style format: metadata1=value1&metadata2=value2&. To be accepted by
ip_class_parameters parameter the URL value must be encoded in URL format (see RFC
3986).
pool_class_name
The pool_class_name is the name of the file class that will used for this object. The name of
pool_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a pool_class_name
parameter could be set to: my_favorite_dir/my_class.class.
pool_id
The IPv4 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
pool_read_only
Pool is in read only mode.
pool_row_enabled
Not documented.
iplnetdev_name
The network device name.
iplnetdev_id
The network device identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
iplport_name
Not documented.
iplport_slotnumber
Not documented.
iplport_portnumber
Not documented.
iplport_ifvlan
Not documented.
189
IPv4 Address
hostiface_name
Not documented.
hostiface_id
Not documented.
hostdev_name
Not documented.
hostdev_id
Not documented.
site_description
Space description.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
parent_site_name
Space parent name.
block_class_name
The block_class_name is the name of the file class that will used for this object. The name
of block_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a block_class_name
parameter could be set to: my_favorite_dir/my_class.class.
scope_size
Size of the container either it is a block or a subnet.
block_start_ip_addr
First IP address of the block. Could be used as the subnet container.
block_end_ip_addr
Last IP address of the block. Could be used as the subnet container.
subnet_class_name
The subnet_class_name is the name of the file class that will used for this object. The name
of subnet_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a sub-
net_class_name parameter could be set to: my_favorite_dir/my_class.class.
pool_size
Pool size.
190
IPv4 Address
pool_start_ip_addr
Not documented.
191
IPv4 Address
Name
ip_address_info — Display the properties of an IPv4 address
Description
The service ip_address_info returns the information on the request object identified by the ip_id
parameter.
Input Parameters
ip_id
The IP address identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
ip_free_ip_id
Not documented.
free_start_ip_addr
Not documented.
free_end_ip_addr
Not documented.
free_scope_size
Not documented.
ip_id
The IP address identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
site_is_template
Space is a template.
root_site_id
Root space ID in the IP address hierarchy.
site_name
site name.
tree_level
Depth of imbricated spaces.
block_name
The IPv4 block name.
ip_addr
IP address.
name
Rule name.
mac_addr
IP address MAC address.
192
IPv4 Address
ip_class_name
The ip_class_name is the name of the file class that will used for this object. The name of
ip_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a ip_class_name parameter
could be set to: my_favorite_dir/my_class.class.
subnet_name
Subnet name.
pool_name
Pool name.
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
subnet_start_ip_addr
First IP address of the subnet.
subnet_end_ip_addr
Last IP address of the subnet.
subnet_scope_size
Size of the subnet (number of IP addresses).
block_scope_size
Size of the block (number of IP addresses). Could be used as the subnet container.
block_id
The IPv4 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
ip_class_parameters
The ip_class_parameters parameter is a data container used to store your customized meta-
data. This meta-data can be apply for the class object definition and for the global customized
fields as well. The ip_class_parameters parameter accepts several meta-data values set in
the following URL style format: metadata1=value1&metadata2=value2&. To be accepted by
ip_class_parameters parameter the URL value must be encoded in URL format (see RFC
3986).
pool_class_name
The pool_class_name is the name of the file class that will used for this object. The name of
pool_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a pool_class_name
parameter could be set to: my_favorite_dir/my_class.class.
pool_id
The IPv4 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
pool_read_only
Pool is in read only mode.
pool_row_enabled
Not documented.
iplnetdev_name
The network device name.
193
IPv4 Address
iplnetdev_id
The network device identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
iplport_name
Not documented.
iplport_slotnumber
Not documented.
iplport_portnumber
Not documented.
iplport_ifvlan
Not documented.
hostiface_name
Not documented.
hostiface_id
Not documented.
hostdev_name
Not documented.
hostdev_id
Not documented.
site_description
Space description.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
parent_site_name
Space parent name.
block_class_name
The block_class_name is the name of the file class that will used for this object. The name
of block_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a block_class_name
parameter could be set to: my_favorite_dir/my_class.class.
scope_size
Size of the container either it is a block or a subnet.
194
IPv4 Address
block_start_ip_addr
First IP address of the block. Could be used as the subnet container.
block_end_ip_addr
Last IP address of the block. Could be used as the subnet container.
subnet_class_name
The subnet_class_name is the name of the file class that will used for this object. The name
of subnet_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a sub-
net_class_name parameter could be set to: my_favorite_dir/my_class.class.
pool_size
Pool size.
pool_start_ip_addr
Not documented.
195
IPv4 Address
Name
ip_find_free_address — Find free IPv4 addresses in any container
Description
The service ip_find_free_address allows to list the free IPv4 addresses in any container. The input
parameters define where to look. To execute this service, users must be granted permission to
use it. The rows returned to the user running the service depend on the resources granted to the
group they belong to. The WHERE input parameter allows to filter the returned rows.
Input Parameters
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
pool_id
The IPv4 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
subnet_path
Subnet path.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
ip_addr
IPv4 address.
site_id
Space identifier (ID).
site_name
Space name.
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
196
IPv4 Address
Name
ip_free_ip_count — Number of free IPv4 addresses
Description
The service ip_free_ip_count allows to display t he number of free IPv4 addresses.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
197
IPv4 Address
Name
ip_free_ip_list — List the free IPv4 addresses
Description
The service ip_free_ip_list allows to list entries from SOLIDserver database. To execute this
service, users must be granted permission to use it. The rows returned to the user running the
service depend on the resources granted to the group they belong to. The WHERE input para-
meter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
198
IPv4 Address
Name
ip_used_subnet_address_count — Number of used IPv4 addresses
Description
The service ip_used_subnet_address_count allows to display the number of used IPv4 addresses.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
199
IPv4 Address
Name
ip_used_subnet_address_list — List the used IPv4 addresses
Description
The service ip_used_subnet_address_list allows to list entries from SOLIDserver database. To
execute this service, users must be granted permission to use it. The rows returned to the user
running the service depend on the resources granted to the group they belong to. The WHERE
input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
200
IPv4 Address
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
ip_id
The IP address identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
ip_row_enabled
Not documented.
root_site_id
Root space ID in the IP address hierarchy.
site_name
site name.
tree_level
Depth of imbricated spaces.
block_name
The IPv4 block name.
ip_addr
IP address.
name
Rule name.
mac_addr
IP address MAC address.
ip_class_name
The ip_class_name is the name of the file class that will used for this object. The name of
ip_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a ip_class_name parameter
could be set to: my_favorite_dir/my_class.class.
subnet_name
Subnet name.
pool_name
Pool name.
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
subnet_start_ip_addr
First IP address of the subnet.
subnet_end_ip_addr
Last IP address of the subnet.
subnet_scope_size
Size of the subnet (number of IP addresses).
201
IPv4 Address
block_scope_size
Size of the block (number of IP addresses). Could be used as the subnet container.
block_id
The IPv4 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
ip_class_parameters
The ip_class_parameters parameter is a data container used to store your customized meta-
data. This meta-data can be apply for the class object definition and for the global customized
fields as well. The ip_class_parameters parameter accepts several meta-data values set in
the following URL style format: metadata1=value1&metadata2=value2&. To be accepted by
ip_class_parameters parameter the URL value must be encoded in URL format (see RFC
3986).
pool_class_name
The pool_class_name is the name of the file class that will used for this object. The name of
pool_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a pool_class_name
parameter could be set to: my_favorite_dir/my_class.class.
pool_class_parameters
The pool_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The pool_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by pool_class_parameters parameter the URL value must be encoded in URL
format (see RFC 3986).
pool_id
The IPv4 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
pool_read_only
Pool is in read only mode.
pool_row_enabled
Not documented.
iplnetdev_name
The network device name.
iplnetdev_id
The network device identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
iplport_name
Not documented.
iplport_slotnumber
Not documented.
iplport_portnumber
Not documented.
iplport_ifvlan
Not documented.
hostiface_name
Not documented.
202
IPv4 Address
hostiface_id
Not documented.
hostdev_name
Not documented.
hostdev_id
Not documented.
site_description
Space description.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
site_row_enabled
Not documented.
parent_site_name
Space parent name.
block_class_name
The block_class_name is the name of the file class that will used for this object. The name
of block_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a block_class_name
parameter could be set to: my_favorite_dir/my_class.class.
block_class_parameters
The block_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The block_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by block_class_parameters parameter the URL value must be encoded in
URL format (see RFC 3986).
scope_size
Size of the container either it is a block or a subnet.
block_start_ip_addr
First IP address of the block. Could be used as the subnet container.
block_end_ip_addr
Last IP address of the block. Could be used as the subnet container.
203
IPv4 Address
subnet_class_name
The subnet_class_name is the name of the file class that will used for this object. The name
of subnet_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a sub-
net_class_name parameter could be set to: my_favorite_dir/my_class.class.
block_id
The IPv4 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
pool_size
Pool size.
pool_start_ip_addr
Not documented.
204
IPv4 Address
Name
ip_used_subnet_address_info — Display the properties of a used IPv4 address
Description
The service ip_used_subnet_address_info return the information on the object specified in input.
Input Parameters
ip_id
The IP address identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
ip_id
The IP address identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
ip_row_enabled
Not documented.
root_site_id
Root space ID in the IP address hierarchy.
site_name
site name.
tree_level
Depth of imbricated spaces.
block_name
The IPv4 block name.
ip_addr
IP address.
name
Rule name.
mac_addr
IP address MAC address.
ip_class_name
The ip_class_name is the name of the file class that will used for this object. The name of
ip_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a ip_class_name parameter
could be set to: my_favorite_dir/my_class.class.
subnet_name
Subnet name.
pool_name
Pool name.
205
IPv4 Address
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
subnet_id
The IPv4 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
subnet_start_ip_addr
First IP address of the subnet.
subnet_end_ip_addr
Last IP address of the subnet.
subnet_scope_size
Size of the subnet (number of IP addresses).
block_scope_size
Size of the block (number of IP addresses). Could be used as the subnet container.
block_id
The IPv4 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
ip_class_parameters
The ip_class_parameters parameter is a data container used to store your customized meta-
data. This meta-data can be apply for the class object definition and for the global customized
fields as well. The ip_class_parameters parameter accepts several meta-data values set in
the following URL style format: metadata1=value1&metadata2=value2&. To be accepted by
ip_class_parameters parameter the URL value must be encoded in URL format (see RFC
3986).
pool_class_name
The pool_class_name is the name of the file class that will used for this object. The name of
pool_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a pool_class_name
parameter could be set to: my_favorite_dir/my_class.class.
pool_class_parameters
The pool_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The pool_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by pool_class_parameters parameter the URL value must be encoded in URL
format (see RFC 3986).
pool_id
The IPv4 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
pool_read_only
Pool is in read only mode.
pool_row_enabled
Not documented.
iplnetdev_name
The network device name.
iplnetdev_id
The network device identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
206
IPv4 Address
iplport_name
Not documented.
iplport_slotnumber
Not documented.
iplport_portnumber
Not documented.
iplport_ifvlan
Not documented.
hostiface_name
Not documented.
hostiface_id
Not documented.
hostdev_name
Not documented.
hostdev_id
Not documented.
site_description
Space description.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
site_row_enabled
Not documented.
parent_site_name
Space parent name.
block_class_name
The block_class_name is the name of the file class that will used for this object. The name
of block_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a block_class_name
parameter could be set to: my_favorite_dir/my_class.class.
block_class_parameters
The block_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The block_class_parameters parameter accepts several meta-
207
IPv4 Address
208
IPv4 Address
Name
ip_delete — Delete an IPv4 address
Description
The service ip_delete allows to delete SOLIDserver database object. The service ip_delete needs
to identify the object to delete with the input parameters detailed in the next section. This service
will be executed if the connected user running this service is allowed to delete the concerned
object
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
Space name.
ip_id
The IP address identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
name
IP address name.
ip_name
IP address name.
ip_addr
IP address.
hostaddr
IP address.
ip_class_name
The ip_class_name is the name of the file class that will used for this object. The name of
ip_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a ip_class_name parameter
could be set to: my_favorite_dir/my_class.class.
ip_class_parameters
The ip_class_parameters parameter is a data container used to store your customized meta-
data. This meta-data can be apply for the class object definition and for the global customized
fields as well. The ip_class_parameters parameter accepts several meta-data values set in
the following URL style format: metadata1=value1&metadata2=value2&. To be accepted by
ip_class_parameters parameter the URL value must be encoded in URL format (see RFC
3986).
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
additional_parameters
Additional parameters passed to rules.
209
IPv4 Address
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
210
Chapter 18. IPv6 Address
211
IPv6 Address
Name
ip6_address6_add — Add/Edit an IPv6 address
Description
The service ip6_address6_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
Space name.
ip6_id
The ip6_id parameter is the IP6 address identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
ip6_name
IP6 address name.
ip6_mac_addr
IP6 address MAC address.
ip6_addr
IP6 address.
hostaddr
IP6 address.
ip6_class_name
The ip6_class_name is the name of the file class that will used for this object. The name of
ip6_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a ip6_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
ip6_class_parameters
The ip6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The ip6_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by ip6_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
212
IPv6 Address
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
additional_parameters
Additional parameters passed to rules.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
213
IPv6 Address
Name
ip6_address6_count — Number of IPv6 addresses
Description
The service ip6_address6_count allows to display the number of IPv6 addresses.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
214
IPv6 Address
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
215
IPv6 Address
Name
ip6_address6_list — List all the IPv6 addresses
Description
The service ip6_address6_list allows to list entries from SOLIDserver database. To execute this
service, users must be granted permission to use it. The rows returned to the user running the
service depend on the resources granted to the group they belong to. The WHERE input para-
meter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
216
IPv6 Address
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
ip_free_ip6_id
Not documented.
free_start_ip6_addr
Not documented.
free_end_ip6_addr
Not documented.
free_scope_size
Not documented.
ip6_id
The ip6_id parameter is the IP address identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
root_site_id
Root space ID in the IP address hierarchy.
site_name
site name.
tree_level
Depth of imbricated spaces.
block6_name
The IPv6 block name.
ip6_addr
IP6 address.
ip6_name
IP6 address name.
ip6_mac_addr
IP6 address MAC address.
ip6_class_name
The ip6_class_name is the name of the file class that will used for this object. The name of
ip6_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a ip6_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
subnet6_name
Subnet6 name.
pool6_name
Pool6 name.
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
217
IPv6 Address
subnet6_start_ip6_addr
First IP v6 address of the subnet.
subnet6_end_ip6_addr
Last IP v6 address of the subnet.
subnet6_scope_size
Size of the subnet (number of IP addresses).
subnet6_prefix
Subnet6 prefix.
block6_scope_size
Size of the block (number of IP addresses). Could be used as the subnet container.
block6_id
The IPv6 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
ip6_class_parameters
The ip6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The ip6_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by ip6_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
pool6_class_name
The pool6_class_name is the name of the file class that will used for this object. The name
of pool6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a pool6_class_name
parameter could be set to: my_favorite_dir/my_class.class.
pool6_id
The IPv6 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
pool6_read_only
Pool6 is in read only mode.
pool6_row_enabled
Not documented.
site_description
Space description.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
218
IPv6 Address
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
parent_site_name
Space parent name.
block6_class_name
The block6_class_name is the name of the file class that will used for this object. The name
of block6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a
block6_class_name parameter could be set to: my_favorite_dir/my_class.class.
scope_size
Size of the container either it is a block or a subnet.
block6_prefix
Block6 prefix.
block6_start_ip6_addr
First IP v6 address of the block. Could be used as the subnet container.
block6_end_ip6_addr
Last IP v6address of the block. Could be used as the subnet container.
subnet6_class_name
The subnet6_class_name is the name of the file class that will used for this object. The name
of subnet6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a sub-
net6_class_name parameter could be set to: my_favorite_dir/my_class.class.
pool6_size
Not documented.
pool6_start_ip6_addr
Not documented.
219
IPv6 Address
Name
ip6_address6_info — Display the properties of an IPv6 address
Description
The service ip6_address6_info returns the information on the object specified in input.
Input Parameters
ip6_id
The ip6_id parameter is the IP address identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
220
IPv6 Address
Name
ip6_find_free_address6 — Find free IPv6 addresses
Description
The service ip6_find_free_address6 allows to list the free IPv6 addresses in any container. The
input parameters define where to look. To execute this service, users must be granted permission
to use it. The rows returned to the user running the service depend on the resources granted to
the group they belong to. The WHERE input parameter allows to filter the returned rows.
Input Parameters
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
pool6_id
The IPv6 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
ip6_addr
IPv6 address.
site_id
Space identifier (ID).
site_name
Space name.
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
221
IPv6 Address
Name
ip6_free_ip6_count — Number of free IPv6 addresses
Description
The service ip6_free_ip6_count allows to display the number of IPv6 addresses that can be as-
signed.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
222
IPv6 Address
Name
ip6_free_ip6_list — List the free IPv6 addresses
Description
The service ip6_free_ip6_list allows to list entries from SOLIDserver database. To execute this
service, users must be granted permission to use it. The rows returned to the user running the
service depend on the resources granted to the group they belong to. The WHERE input para-
meter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
223
IPv6 Address
Name
ip6_used_subnet6_address_count — Number of used IPv6 addresses
Description
The service ip6_subnet6_address_count allows to display the number of used IPv6 addresses.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
224
IPv6 Address
Name
ip6_used_subnet6_address_list — List the used IPv6 addresses
Description
The service ip6_used_subnet6_address_list allows to list entries from SOLIDserver database.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
225
IPv6 Address
ip6_id
The ip6_id parameter is the IP address identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
root_site_id
Root space ID in the IP address hierarchy.
site_name
site name.
tree_level
Depth of imbricated spaces.
block6_name
The IPv6 block name.
ip6_addr
IP6 address.
ip6_name
IP6 address name.
ip6_mac_addr
IP6 address MAC address.
ip6_class_name
The ip6_class_name is the name of the file class that will used for this object. The name of
ip6_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a ip6_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
subnet6_name
Subnet6 name.
pool6_name
Pool6 name.
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
subnet6_start_ip6_addr
First IP v6 address of the subnet.
subnet6_end_ip6_addr
Last IP v6 address of the subnet.
subnet6_scope_size
Size of the subnet (number of IP addresses).
block6_scope_size
Size of the block (number of IP addresses). Could be used as the subnet container.
block6_id
The IPv6 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
ip6_class_parameters
The ip6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
226
IPv6 Address
227
IPv6 Address
subnet6_class_name
The subnet6_class_name is the name of the file class that will used for this object. The name
of subnet6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a sub-
net6_class_name parameter could be set to: my_favorite_dir/my_class.class.
pool6_size
Not documented.
pool6_start_ip6_addr
Not documented.
228
IPv6 Address
Name
ip6_used_subnet6_address_info — Display the properties of a used IPv6 address
Description
The service ip6_used_subnet6_address_info return the information on the object specified in
input.
Input Parameters
ip6_id
The ip6_id parameter is the IP address identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
ip6_id
The ip6_id parameter is the IP address identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
root_site_id
Root space ID in the IP address hierarchy.
site_name
site name.
tree_level
Depth of imbricated spaces.
block6_name
The IPv6 block name.
ip6_addr
IP6 address.
ip6_name
IP6 address name.
ip6_mac_addr
IP6 address MAC address.
ip6_class_name
The ip6_class_name is the name of the file class that will used for this object. The name of
ip6_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a ip6_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
subnet6_name
Subnet6 name.
pool6_name
Pool6 name.
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
229
IPv6 Address
subnet6_id
The IPv6 subnet identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
subnet6_start_ip6_addr
First IP v6 address of the subnet.
subnet6_end_ip6_addr
Last IP v6 address of the subnet.
subnet6_scope_size
Size of the subnet (number of IP addresses).
block6_scope_size
Size of the block (number of IP addresses). Could be used as the subnet container.
block6_id
The IPv6 block identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
ip6_class_parameters
The ip6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The ip6_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by ip6_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
pool6_class_name
The pool6_class_name is the name of the file class that will used for this object. The name
of pool6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a pool6_class_name
parameter could be set to: my_favorite_dir/my_class.class.
pool6_id
The IPv6 pool identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
pool6_read_only
Pool6 is in read only mode.
site_description
Space description.
site_class_name
The site_class_name is the name of the file class that will used for this object. The name of
site_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a site_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
site_class_parameters
The site_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The site_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by site_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
230
IPv6 Address
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
parent_site_name
Space parent name.
block6_class_name
The block6_class_name is the name of the file class that will used for this object. The name
of block6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a
block6_class_name parameter could be set to: my_favorite_dir/my_class.class.
scope_size
Size of the container either it is a block or a subnet.
block6_prefix
Block6 prefix.
block6_start_ip6_addr
First IP v6 address of the block. Could be used as the subnet container.
block6_end_ip6_addr
Last IP v6address of the block. Could be used as the subnet container.
subnet6_class_name
The subnet6_class_name is the name of the file class that will used for this object. The name
of subnet6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a sub-
net6_class_name parameter could be set to: my_favorite_dir/my_class.class.
pool6_size
Not documented.
pool6_start_ip6_addr
Not documented.
231
IPv6 Address
Name
ip6_address6_delete — Delete an IPv6 address
Description
The service ip6_address6_delete allows to delete SOLIDserver database object. The service
ip6_address6_delete needs to identify the object to delete with the input parameters detailed in
the next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
Space name.
ip6_id
The ip6_id parameter is the IP6 address identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
ip6_name
IP6 address name.
ip6_addr
IP6 address.
hostaddr
IP6 address.
ip6_class_name
The ip6_class_name is the name of the file class that will used for this object. The name of
ip6_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a ip6_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
ip6_class_parameters
The ip6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The ip6_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by ip6_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
additional_parameters
Additional parameters passed to rules.
232
IPv6 Address
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
233
Chapter 19. IPv4 Address Alias
234
IPv4 Address Alias
Name
ip_alias_add — Add/Edit an IPv4 address alias
Description
The service ip_alias_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
235
IPv4 Address Alias
Name
ip_alias_list — List the IPv4 address aliases
Description
The service ip_alias_list allows to list all the IPv4 address aliases. The rows returned to the user
running the service depend on the resources granted to the group they belong to. The WHERE
input parameter allows to filter the returned rows.
Input Parameters
ip_id
The IP address identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
236
IPv4 Address Alias
Name
ip_alias_delete — Delete an IPv4 address alias
Description
The service ip_alias_delete allows to delete SOLIDserver database object. The ip_alias_delete
service needs to identify the object to delete with the input parameters detailed in the next section.
This service will be executed if the connected user running this service is allowed to delete the
concerned object
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
Space name.
ip_id
The IP address identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
ip_name_id
The ip_name_id parameter is the IP address alias identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
ip_name
IP address alias.
ip_addr
IP address.
hostaddr
IP address.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
237
Chapter 20. IPv6 Address Alias
238
IPv6 Address Alias
Name
ip6_alias_add — Add/Edit an IPv6 address alias
Description
The service ip6_alias_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
Space name.
ip6_id
The ip6_id parameter is the IP6 address identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
ip6_name
IP6 address alias.
ip_name_type
Specify the type of the resource record that will be configured in the DNS. The accepted
values are CNAME or AAAA.
ip6_addr
IP6 address.
hostaddr
IP6 address.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
239
IPv6 Address Alias
Name
ip6_alias_list — List the IPv6 address alias
Description
The service ip6_alias_list allows to list all the IPv4 address aliases. The rows returned to the user
running the service depend on the resources granted to the group they belong to. The WHERE
input parameter allows to filter the returned rows.
Input Parameters
ip6_id
The ip6_id parameter is the IP address identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
240
IPv6 Address Alias
Name
ip6_alias_delete — Delete an IPv6 address alias
Description
The service ip6_alias_delete allows to delete SOLIDserver database object. The ip6_alias_delete
service needs to identify the object to delete with the input parameters detailed in the next section.
This service will be executed if the connected user running this service is allowed to delete the
concerned object
Input Parameters
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
Space name.
ip6_id
The ip6_id parameter is the IP6 address identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
ip6_name_id
The ip6_name_id parameter is the IP6 address alias identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
ip6_name
IP6 address alias.
ip6_addr
IP6 address.
hostaddr
IP6 address.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
241
Part IV. DHCP Services
Table of Contents
21. DHCPv4 Server ....................................................................................................... 247
dhcp_add ............................................................................................................. 248
dhcp_server_count ................................................................................................ 251
dhcp_server_list .................................................................................................... 252
dhcp_server_info ................................................................................................... 256
dhcp46_server46_count ........................................................................................ 259
dhcp46_server46_list ............................................................................................ 260
dhcp46_server46_info ........................................................................................... 264
dhcp_server_options_list ....................................................................................... 267
dhcp_server_admin_group_count .......................................................................... 268
dhcp_server_admin_group_list ............................................................................... 269
dhcp_server_admin_service_count ........................................................................ 271
dhcp_server_admin_service_list ............................................................................ 272
group_dhcp_add ................................................................................................... 273
group_dhcp_delete ................................................................................................ 274
dhcp_delete .......................................................................................................... 275
22. DHCPv6 Server ....................................................................................................... 276
dhcp6_add ............................................................................................................ 277
dhcp6_server6_count ............................................................................................ 279
dhcp6_server6_list ................................................................................................ 280
dhcp6_server6_info ............................................................................................... 283
dhcp46_server46_count ........................................................................................ 286
dhcp46_server46_list ............................................................................................ 287
dhcp46_server46_info ........................................................................................... 291
dhcp6_server6_options6_list .................................................................................. 294
dhcp6_server6_admin_group_count ....................................................................... 295
dhcp6_server6_admin_group_list ........................................................................... 296
dhcp6_server6_admin_service_count ..................................................................... 298
dhcp6_server6_admin_service_list ......................................................................... 299
group_dhcp6_add ................................................................................................. 300
group_dhcp6_delete .............................................................................................. 301
dhcp6_delete ........................................................................................................ 302
23. DHCPv4 Group ........................................................................................................ 303
dhcp_group_add ................................................................................................... 304
dhcp_group_count ................................................................................................. 306
dhcp_group_list ..................................................................................................... 307
dhcp_group_info ................................................................................................... 309
dhcp_group_options_list ........................................................................................ 310
dhcp_group_delete ................................................................................................ 311
24. DHCPv6 Group ........................................................................................................ 312
dhcp6_group6_add ............................................................................................... 313
dhcp6_group6_count ............................................................................................. 315
dhcp6_group6_list ................................................................................................. 316
dhcp6_group6_info ................................................................................................ 318
dhcp6_group6_options6_list .................................................................................. 319
dhcp6_group6_delete ............................................................................................ 320
25. DHCPv4 Scope ....................................................................................................... 321
dhcp_scope_add ................................................................................................... 322
dhcp_scope_count ................................................................................................ 324
dhcp_scope_list .................................................................................................... 325
dhcp_scope_info ................................................................................................... 328
243
DHCP Services
244
DHCP Services
245
DHCP Services
246
Chapter 21. DHCPv4 Server
247
DHCPv4 Server
Name
dhcp_add — Add/Edit a DHCPv4 server
Description
The service dhcp_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dhcp_id
The dhcp_id parameter is the DHCP server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcp_name
DHCP server name.
hostaddr
DHCP server address.
dhcp_addr
DHCP server address.
dhcp_type
DHCP server type.
vdhcp_arch
VDHCP architecture (VDHCP).
vdhcp_ref1_dhcp_id
VDHCP ref1 DHCP ID (VDHCP).
vdhcp_ref2_dhcp_id
VDHCP ref2 DHCP ID (VDHCP).
vdhcp_param1
VDHCP param1 (VDHCP).
dhcp_dcs_key
DHCP DCS CC key (dcs).
dcs_key
DHCP DCS CC key (dcs).
cisco_login
DHCP Cisco login (cisco).
cisco_password
DHCP Cisco password (cisco).
cisco_root_password
DHCP Cisco root password (cisco).
cisco_use_ssh
DHCP Cisco use SSH.
248
DHCPv4 Server
snmp_port
SNMP port (ipm).
snmp_profile_id
SNMP profile ID (ipm).
snmp_retry
SNMP retry (ipm).
snmp_timeout
SNMP timeout (ipm).
snmp_use_tcp
SNMP use tcp (ipm).
windhcp_port
TCP port (windhcp).
ms_use_ssl
Windhcp use SSL (windhcp).
windhcp_use_ssl
Windhcp use SSL (windhcp).
windhcp_protocol
Use SOAP or Plain text for WinDHCP protocol.
dhcp_class_name
The dhcp_class_name is the name of the file class that will used for this object. The name
of dhcp_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp_class_parameters
The dhcp_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcp_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by dhcp_class_parameters parameter the URL value must be encoded in URL
format (see RFC 3986).
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
isolated
If the server is isolated (parameter set to 1), it does not apply the configured default behaviors.
norefresh_server
internal use.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
failover_list
DHCP server failover list.
249
DHCPv4 Server
ipmdhcp_protocol
IPM DHCP protocol.
ipmdhcp_https_login
IPM DHCP https login.
ipmdhcp_https_password
IPM DHCP https password.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
250
DHCPv4 Server
Name
dhcp_server_count — Number of DHCPv4 servers
Description
The service dhcp_server_count allows to display the number of DHCPv4 servers.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
251
DHCPv4 Server
Name
dhcp_server_list — List the DHCPv4 servers
Description
The service dhcp_server_list allows to list data from SOLIDserver database. To execute this
service, users must be granted permission to use it. The rows returned to the user running the
service depend on the resources granted to the group they belong to. The WHERE input para-
meter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
252
DHCPv4 Server
ipmdhcp_protocol
IPM DHCP protocol.
ipmdhcp_https_login
IPM DHCP https login.
ipmdhcp_https_password
IPM DHCP https password.
isolated
If the server is isolated (parameter set to 1), it does not apply the configured default behaviors.
dhcp_dcs_key
DHCP DCS CC key (dcs).
vdhcp_param1
VDHCP param1 (VDHCP).
tcp_port
Not documented.
ms_use_ssl
Windhcp use SSL (windhcp).
windhcp_protocol
Not documented.
snmp_id
The snmp_id parameter is the SNMP identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
snmp_port
SNMP port.
snmp_profile_id
The snmp_profile_id parameter is the SNMP profile identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
snmp_retry
SNMP retry (ipm).
snmp_timeout
Timeout (seconds).
snmp_use_tcp
Use TCP transport.
cisco_use_ssh
DHCP Cisco use SSH.
cisco_login
DHCP Cisco login (cisco).
cisco_password
DHCP Cisco password (cisco).
cisco_root_password
DHCP Cisco root password (cisco).
ref1_dhcp_name
Not documented.
vdhcp_ref1_dhcp_id
VDHCP ref1 DHCP ID (VDHCP).
253
DHCPv4 Server
ref2_dhcp_name
Not documented.
vdhcp_ref2_dhcp_id
VDHCP ref2 DHCP ID (VDHCP).
tree_level
Depth of imbricated spaces.
total_vdhcp_members
Not documented.
vdhcp_members_name
Not documented.
vdhcp_arch
VDHCP architecture (VDHCP).
vdhcp_parent_name
Not documented.
vdhcp_parent_arch
Not documented.
vdhcp_parent_id
Not documented.
vdhcp_ref1_dhcp_name
Not documented.
vdhcp_ref1_dhcp_id
VDHCP ref1 DHCP ID (VDHCP).
vdhcp_ref2_dhcp_name
Not documented.
vdhcp_ref2_dhcp_id
VDHCP ref2 DHCP ID (VDHCP).
dhcp_uboottime
Time at which the DHCP service started for the last time, in UTC format.
dhcp_id
The dhcp_id parameter is the DHCP server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcp_type
DHCP server type.
site_name
site name.
dhcp_state
Not documented.
dhcp_synching
Not documented.
dhcp_name
DHCP server name.
dhcp_comment
Not documented.
dhcp_version
Not documented.
254
DHCPv4 Server
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
dhcp_class_name
The dhcp_class_name is the name of the file class that will used for this object. The name
of dhcp_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp_class_parameters
The dhcp_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcp_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by dhcp_class_parameters parameter the URL value must be encoded in URL
format (see RFC 3986).
ip_addr
IP address.
255
DHCPv4 Server
Name
dhcp_server_info — Display the properties of a DHCPv4 server
Description
The service dhcp_server_info returns the information on the object specified in input.
Input Parameters
dhcp_id
The dhcp_id parameter is the DHCP server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcp_localtime
The DHCP server local time.
msrpc_login
The AD login used to manage the server.
msrpc_password
The AD password used to manage the server.
msrpc_domain
The the name of the AD domain used to manage the server.
ipmdhcp_protocol
IPM DHCP protocol.
ipmdhcp_https_login
IPM DHCP https login.
ipmdhcp_https_password
IPM DHCP https password.
isolated
If the server is isolated, it does not execute the default behaviors.
dhcp_dcs_key
DHCP DCS CC key (dcs).
vdhcp_param1
VDHCP param1 (VDHCP).
tcp_port
Not documented.
ms_use_ssl
Windhcp use SSL (windhcp).
windhcp_protocol
Not documented.
snmp_id
The snmp_id parameter is the SNMP identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
256
DHCPv4 Server
snmp_port
SNMP port.
snmp_profile_id
The snmp_profile_id parameter is the SNMP profile identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
snmp_retry
SNMP retry (ipm).
snmp_timeout
Timeout (seconds).
snmp_use_tcp
Use TCP transport.
cisco_use_ssh
DHCP Cisco use SSH.
cisco_login
DHCP Cisco login (cisco).
cisco_password
DHCP Cisco password (cisco).
cisco_root_password
DHCP Cisco root password (cisco).
ref1_dhcp_name
Not documented.
vdhcp_ref1_dhcp_id
VDHCP ref1 DHCP ID (VDHCP).
ref2_dhcp_name
Not documented.
vdhcp_ref2_dhcp_id
VDHCP ref2 DHCP ID (VDHCP).
tree_level
Depth of imbricated spaces.
total_vdhcp_members
Not documented.
vdhcp_members_name
Not documented.
vdhcp_arch
VDHCP architecture (VDHCP).
vdhcp_parent_name
Not documented.
vdhcp_parent_arch
Not documented.
vdhcp_parent_id
Not documented.
vdhcp_ref1_dhcp_name
Not documented.
vdhcp_ref1_dhcp_id
VDHCP ref1 DHCP ID (VDHCP).
257
DHCPv4 Server
vdhcp_ref2_dhcp_name
Not documented.
vdhcp_ref2_dhcp_id
VDHCP ref2 DHCP ID (VDHCP).
dhcp_uboottime
Time at which the DHCP service started for the last time, in UTC format.
dhcp_id
The dhcp_id parameter is the DHCP server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcp_type
DHCP server type.
site_name
Name of the IPAM space associated with the server.
dhcp_state
DHCP server status.
dhcp_synching
Server synchronization status.
dhcp_name
DHCP server name.
dhcp_comment
DHCP server description.
dhcp_version
DHCP server version.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
dhcp_class_name
The dhcp_class_name is the name of the file class that will used for this object. The name
of dhcp_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp_class_parameters
The dhcp_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcp_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by dhcp_class_parameters parameter the URL value must be encoded in URL
format (see RFC 3986).
ip_addr
The server IP address.
dhcp_last_refresh_time
EfficientIP DHCP servers last synchronization time, in UTC format.
258
DHCPv4 Server
Name
dhcp46_server46_count — Number of DHCPv4 and DHCPv6 servers in the database
Description
The service dhcp46_server46_count returns the number of DHCPv4 and DHCPv6 servers in the
database. The WHERE input parameter allows to filter the returned rows.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: dhcp46_id, dhcp_id, type, ipmdhcp_protocol, ipmdh-
cp_https_login, ipmdhcp_https_password, isolated, dhcp_dcs_key, tree_path, vdhcp_param1,
tcp_port, ms_use_ssl, windhcp_protocol, snmp_id, snmp_port, snmp_profile_id, snmp_retry,
snmp_timeout, snmp_use_tcp, cisco_use_ssh, cisco_login, cisco_password,
cisco_root_password, ref1_dhcp_name, vdhcp_ref1_dhcp_id, ref2_dhcp_name, vdh-
cp_ref2_dhcp_id, tree_level, total_vdhcp_members, vdhcp_members_name, vdhcp_arch,
vdhcp_parent_name, vdhcp_parent_arch, vdhcp_parent_id, vdhcp_ref1_dhcp_name, vdh-
cp_ref1_dhcp_id, vdhcp_ref2_dhcp_name, vdhcp_ref2_dhcp_id, dhcp_uboottime, dhcp_id,
dhcp_type, site_name, dhcp_state, dhcp_synching, dhcp_name, dhcp_comment, dhcp_ver-
sion, row_enabled, dhcp_custom1, dhcp_custom2, dhcp_custom3, dhcp_class_name, dh-
cp_class_parameters, ip_addr.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: dhcp46_id, dhcp_id, type, ipmdhcp_protocol, ipmdh-
cp_https_login, ipmdhcp_https_password, isolated, dhcp_dcs_key, tree_path, vdhcp_param1,
tcp_port, ms_use_ssl, windhcp_protocol, snmp_id, snmp_port, snmp_profile_id, snmp_retry,
snmp_timeout, snmp_use_tcp, cisco_use_ssh, cisco_login, cisco_password,
cisco_root_password, ref1_dhcp_name, vdhcp_ref1_dhcp_id, ref2_dhcp_name, vdh-
cp_ref2_dhcp_id, tree_level, total_vdhcp_members, vdhcp_members_name, vdhcp_arch,
vdhcp_parent_name, vdhcp_parent_arch, vdhcp_parent_id, vdhcp_ref1_dhcp_name, vdh-
cp_ref1_dhcp_id, vdhcp_ref2_dhcp_name, vdhcp_ref2_dhcp_id, dhcp_uboottime, dhcp_id,
dhcp_type, site_name, dhcp_state, dhcp_synching, dhcp_name, dhcp_comment, dhcp_ver-
sion, row_enabled, dhcp_custom1, dhcp_custom2, dhcp_custom3, dhcp_class_name, dh-
cp_class_parameters, ip_addr.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
259
DHCPv4 Server
Name
dhcp46_server46_list — List the DHCPv4 and DHCPv6 servers in the database
Description
The service dhcp46_server46_list allows to list the DHCPv4 and DHCPv6 servers in the database.
The WHERE input parameter allows to filter the returned rows.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: dhcp46_id, dhcp_id, type, ipmdhcp_protocol, ipmdh-
cp_https_login, ipmdhcp_https_password, isolated, dhcp_dcs_key, tree_path, vdhcp_param1,
tcp_port, ms_use_ssl, windhcp_protocol, snmp_id, snmp_port, snmp_profile_id, snmp_retry,
snmp_timeout, snmp_use_tcp, cisco_use_ssh, cisco_login, cisco_password,
cisco_root_password, ref1_dhcp_name, vdhcp_ref1_dhcp_id, ref2_dhcp_name, vdh-
cp_ref2_dhcp_id, tree_level, total_vdhcp_members, vdhcp_members_name, vdhcp_arch,
vdhcp_parent_name, vdhcp_parent_arch, vdhcp_parent_id, vdhcp_ref1_dhcp_name, vdh-
cp_ref1_dhcp_id, vdhcp_ref2_dhcp_name, vdhcp_ref2_dhcp_id, dhcp_uboottime, dhcp_id,
dhcp_type, site_name, dhcp_state, dhcp_synching, dhcp_name, dhcp_comment, dhcp_ver-
sion, row_enabled, dhcp_custom1, dhcp_custom2, dhcp_custom3, dhcp_class_name, dh-
cp_class_parameters, ip_addr.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
260
DHCPv4 Server
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcp46_id
The DHCP server unique identifier (ID) within the DHCPv4/DHCPv6 database.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
ipmdhcp_protocol
IPM DHCP protocol.
ipmdhcp_https_login
IPM DHCP https login.
ipmdhcp_https_password
IPM DHCP https password.
isolated
If the server is isolated (parameter set to 1), it does not apply the configured default behaviors.
dhcp_dcs_key
DHCP DCS CC key (dcs).
vdhcp_param1
VDHCP param1 (VDHCP).
tcp_port
Not documented.
ms_use_ssl
Windhcp use SSL (windhcp).
windhcp_protocol
Not documented.
snmp_id
The snmp_id parameter is the SNMP identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
snmp_port
SNMP port.
snmp_profile_id
The snmp_profile_id parameter is the SNMP profile identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
snmp_retry
SNMP retry (ipm).
snmp_timeout
Timeout (seconds).
snmp_use_tcp
Use TCP transport.
cisco_use_ssh
DHCP Cisco use SSH.
261
DHCPv4 Server
cisco_login
DHCP Cisco login (cisco).
cisco_password
DHCP Cisco password (cisco).
cisco_root_password
DHCP Cisco root password (cisco).
ref1_dhcp_name
Not documented.
vdhcp_ref1_dhcp_id
VDHCP ref1 DHCP ID (VDHCP).
ref2_dhcp_name
Not documented.
vdhcp_ref2_dhcp_id
VDHCP ref2 DHCP ID (VDHCP).
tree_level
Depth of imbricated spaces.
total_vdhcp_members
Not documented.
vdhcp_members_name
Not documented.
vdhcp_arch
VDHCP architecture (VDHCP).
vdhcp_parent_name
Not documented.
vdhcp_parent_arch
Not documented.
vdhcp_parent_id
Not documented.
vdhcp_ref1_dhcp_name
Not documented.
vdhcp_ref1_dhcp_id
VDHCP ref1 DHCP ID (VDHCP).
vdhcp_ref2_dhcp_name
Not documented.
vdhcp_ref2_dhcp_id
VDHCP ref2 DHCP ID (VDHCP).
dhcp_uboottime
Time at which the DHCP service started for the last time, in UTC format.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_type
DHCP server type.
site_name
site name.
262
DHCPv4 Server
dhcp_state
Not documented.
dhcp_synching
Not documented.
dhcp_name
DHCP server name.
dhcp_comment
Not documented.
dhcp_version
Not documented.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
dhcp_class_name
The dhcp_class_name is the name of the file class that will used for this object. The name
of dhcp_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp_class_parameters
The dhcp_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcp_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by dhcp_class_parameters parameter the URL value must be encoded in URL
format (see RFC 3986).
ip_addr
IP address.
263
DHCPv4 Server
Name
dhcp46_server46_info — Display the properties of a DHCPv4 or DHCPv6 server
Description
The service dhcp46_server46_info allows to display the properties of the DHCP server specified,
whether DHCPv4 or DHCPv6. For this service, the dhcp_id input parameter accepts the identifier
of a DHCPv4 or a DHCPv6 server.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to.
Input Parameters
dhcp_id
The DHCP server identifier (ID). For the service dhcp46_server46_info, the dhcp_id accepts
the identifier of any DHCP server, whether a DHCPv4 or a DHCPv6 server. This identifier is
a unique numeric key value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcp46_id
The DHCP server unique identifier (ID) within the DHCPv4/DHCPv6 database.
dhcp_id
The DHCP server identifier (ID). For the service dhcp46_server46_info, the dhcp_id returns
the identifier of any DHCP server, whether a DHCPv4 or a DHCPv6 server. This identifier is
a unique numeric key value that is automatically incremented.
ipmdhcp_protocol
IPM DHCP protocol.
ipmdhcp_https_login
IPM DHCP https login.
ipmdhcp_https_password
IPM DHCP https password.
isolated
If the server is isolated (parameter set to 1), it does not apply the configured default behaviors.
dhcp_dcs_key
DHCP DCS CC key (dcs).
vdhcp_param1
VDHCP param1 (VDHCP).
tcp_port
Not documented.
ms_use_ssl
Windhcp use SSL (windhcp).
windhcp_protocol
Not documented.
264
DHCPv4 Server
snmp_id
The snmp_id parameter is the SNMP identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
snmp_port
SNMP port.
snmp_profile_id
The snmp_profile_id parameter is the SNMP profile identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
snmp_retry
SNMP retry (ipm).
snmp_timeout
Timeout (seconds).
snmp_use_tcp
Use TCP transport.
cisco_use_ssh
DHCP Cisco use SSH.
cisco_login
DHCP Cisco login (cisco).
cisco_password
DHCP Cisco password (cisco).
cisco_root_password
DHCP Cisco root password (cisco).
ref1_dhcp_name
Not documented.
vdhcp_ref1_dhcp_id
VDHCP ref1 DHCP ID (VDHCP).
ref2_dhcp_name
Not documented.
vdhcp_ref2_dhcp_id
VDHCP ref2 DHCP ID (VDHCP).
tree_level
Depth of imbricated spaces.
total_vdhcp_members
Not documented.
vdhcp_members_name
Not documented.
vdhcp_arch
VDHCP architecture (VDHCP).
vdhcp_parent_name
Not documented.
vdhcp_parent_arch
Not documented.
vdhcp_parent_id
Not documented.
265
DHCPv4 Server
vdhcp_ref1_dhcp_name
Not documented.
vdhcp_ref1_dhcp_id
VDHCP ref1 DHCP ID (VDHCP).
vdhcp_ref2_dhcp_name
Not documented.
vdhcp_ref2_dhcp_id
VDHCP ref2 DHCP ID (VDHCP).
dhcp_uboottime
Time at which the DHCP service started for the last time, in UTC format.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_type
DHCP server type.
site_name
site name.
dhcp_state
Not documented.
dhcp_synching
Not documented.
dhcp_name
DHCP server name.
dhcp_comment
Not documented.
dhcp_version
Not documented.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
dhcp_class_name
The dhcp_class_name is the name of the file class that will used for this object. The name
of dhcp_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp_class_parameters
The dhcp_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcp_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by dhcp_class_parameters parameter the URL value must be encoded in URL
format (see RFC 3986).
ip_addr
IP address.
266
DHCPv4 Server
Name
dhcp_server_options_list — List the DHCP options set on a DHCPv4 server
Description
The service dhcp_server_options_list allows to list entries from SOLIDserver database.To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
dhcp_id
The dhcp_id parameter is the DHCP server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
267
DHCPv4 Server
Name
dhcp_server_admin_group_count — Total number of groups that can access
the DHCPv4 server list
Description
The service dhcp_server_admin_group_count allows to display the total number of groups of
users that can access the DHCPv4 server list. The rows returned to the user running the service
are not subject to the group resources, this service returns data as if the user running it belonged
to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
dhcp_id
The dhcp_id parameter is the DHCP server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
268
DHCPv4 Server
Name
dhcp_server_admin_group_list — List all the groups that can access the DHCPv4
server list
Description
The service dhcp_server_admin_group_list allows to list entries from SOLIDserver database.
The rows returned to the user running the service are not subject to the group resources, this
service returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
dhcp_id
The dhcp_id parameter is the DHCP server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
269
DHCPv4 Server
grp_name
The name of the group of users.
grp_description
Group description.
from_type
Not documented.
270
DHCPv4 Server
Name
dhcp_server_admin_service_count — Total number of rights for a group to
add/delete objects in a DHCPv4 server
Description
The service dhcp_server_admin_service_count allows to display the total number of rights for a
group of users to add/delete objects in a DHCPv4 server. The rows returned to the user running
the service are not subject to the group resources, this service returns data as if the user running
it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
271
DHCPv4 Server
Name
dhcp_server_admin_service_list — List all the rights of a group to add/delete
objects in a DHCPv4 server
Description
The service dhcp_server_admin_service_list allows to list entries from SOLIDserver database.
The rows returned to the user running the service are not subject to the group resources, this
service returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
service_name
The service name.
272
DHCPv4 Server
Name
group_dhcp_add — Add a DHCPv4 server as group resource
Description
The service group_dhcp_add allows to add an object as resource for a group of users. You must
specify the group of users and the object that you set as resource. Once set as a resource, the
group can manage the object according to the rights services it has access to.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
273
DHCPv4 Server
Name
group_dhcp_delete — Remove a DHCPv4 server from a group resources
Description
The service group_dhcp_delete allows to delete SOLIDserver database object. The service
group_dhcp_delete needs to identify the object to delete with the input parameters detailed in
the next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
274
DHCPv4 Server
Name
dhcp_delete — Delete a DHCPv4 server
Description
The service dhcp_delete allows to delete SOLIDserver database object. The service dhcp_delete
needs to identify the object to delete with the input parameters detailed in the next section. This
service will be executed if the connected user running this service is allowed to delete the con-
cerned object
Input Parameters
dhcp_id
The dhcp_id parameter is the DHCP server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcp_name
DHCP server name.
hostaddr
DHCP server address.
dhcp_addr
DHCP server address.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
275
Chapter 22. DHCPv6 Server
276
DHCPv6 Server
Name
dhcp6_add — Add/Edit a DHCPv6 server
Description
The service dhcp6_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dhcp6_id
The dhcp6_id parameter is the DHCPv6 server identifier (ID) used to join foreign data. This
identifier is a unique numeric key value that is automatically incremented.
dhcp6_name
DHCPv6 server name.
hostaddr
DHCPv6 server address.
dhcp6_addr
DHCPv6 server address.
dhcp6_type
DHCPv6 server type.
vdhcp6_arch
The DHCPv6 architecture type, either single for Single-Server, splitscope for Split-Scope or
stateless for Stateless.
vdhcp6_ref1_dhcp6_id
VDHCPv6 ref1 DHCPv6 ID (VDHCPv6).
vdhcp6_ref2_dhcp6_id
VDHCPv6 ref2 DHCPv6 ID (VDHCPv6).
vdhcp6_param1
VDHCPv6 param1 (VDHCPv6).
dhcp6_class_name
The dhcp6_class_name is the name of the file class that will used for this object. The name
of dhcp6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp6_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp6_class_parameters
The dhcp6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcp6_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by dhcp6_class_parameters parameter the URL value must be encoded in
URL format (see RFC 3986).
277
DHCPv6 Server
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
isolated
If the server is isolated (parameter set to 1), it does not apply the configured default behaviors.
norefresh_server
internal use.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
failover_list
DHCP server failover list.
ipmdhcp6_https_login
IPM DHCPv6 https login.
ipmdhcp6_https_password
IPM DHCPv6 https password.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
278
DHCPv6 Server
Name
dhcp6_server6_count — Number of DHCPv6 servers
Description
The service dhcp6_server6_count allows to list all the DHCPv6 servers of the database. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
279
DHCPv6 Server
Name
dhcp6_server6_list — List the DHCPv6 servers
Description
The service dhcp6_server6_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use the service dhcp6_server6_list. The rows
returned to the user running the service depend on the resources granted to the group they belong
to. The WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
ipmdhcp6_https_login
Not documented.
280
DHCPv6 Server
ipmdhcp6_https_password
Not documented.
isolated
If the server is isolated (parameter set to 1), it does not apply the configured default behaviors.
vdhcp6_param1
Not documented.
ref1_dhcp6_name
Not documented.
vdhcp6_ref1_dhcp6_id
Not documented.
ref2_dhcp6_name
Not documented.
vdhcp6_ref2_dhcp6_id
Not documented.
tree_level
Depth of imbricated spaces.
total_vdhcp6_members
Not documented.
vdhcp6_members_name
Not documented.
vdhcp6_arch
The DHCPv6 architecture type, either single for Single-Server, splitscope for Split-Scope or
stateless for Stateless.
vdhcp6_parent_name
Not documented.
vdhcp6_parent_arch
Not documented.
vdhcp6_parent_id
Not documented.
vdhcp6_ref1_dhcp6_name
Not documented.
vdhcp6_ref1_dhcp6_id
Not documented.
vdhcp6_ref2_dhcp6_name
Not documented.
vdhcp6_ref2_dhcp6_id
Not documented.
dhcp6_uboottime
Time at which the DHCPv6 service started for the last time, in UTC format.
dhcp6_id
Not documented.
dhcp6_type
Not documented.
site_name
site name.
281
DHCPv6 Server
dhcp6_state
Not documented.
dhcp6_synching
Not documented.
dhcp6_name
Not documented.
dhcp6_comment
Not documented.
dhcp6_version
Not documented.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
dhcp6_class_name
The dhcp6_class_name is the name of the file class that will used for this object. The name
of dhcp6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp6_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp6_class_parameters
The dhcp6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcp6_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by dhcp6_class_parameters parameter the URL value must be encoded in
URL format (see RFC 3986).
ip6_addr
IP6 address.
282
DHCPv6 Server
Name
dhcp6_server6_info — Display the properties of a DHCPv6 server
Description
The service dhcp6_server6_info returns all the information available regarding the DHCPv6
server specified in input.
Input Parameters
dhcp6_id
The dhcp6_id parameter is the DHCPv6 server identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
ipmdhcp6_https_login
Not documented.
ipmdhcp6_https_password
Not documented.
isolated
If the server is isolated, it does not apply the configured default behaviors.
vdhcp6_param1
Not documented.
ref1_dhcp6_name
Not documented.
vdhcp6_ref1_dhcp6_id
Not documented.
ref2_dhcp6_name
Not documented.
vdhcp6_ref2_dhcp6_id
Not documented.
tree_level
Depth of imbricated spaces.
total_vdhcp6_members
Not documented.
vdhcp6_members_name
Not documented.
vdhcp6_arch
The DHCPv6 architecture type, either single for Single-Server, splitscope for Split-Scope or
stateless for Stateless.
vdhcp6_parent_name
Not documented.
283
DHCPv6 Server
vdhcp6_parent_arch
Not documented.
vdhcp6_parent_id
Not documented.
vdhcp6_ref1_dhcp6_name
Not documented.
vdhcp6_ref1_dhcp6_id
Not documented.
vdhcp6_ref2_dhcp6_name
Not documented.
vdhcp6_ref2_dhcp6_id
Not documented.
dhcp6_uboottime
Time at which the DHCPv6 service started for the last time, in UTC format.
dhcp6_id
Not documented.
dhcp6_type
Not documented.
site_name
Name of the IPAM space associated with the server.
dhcp6_state
DHCPv6 server status.
dhcp6_synching
Server synchronization status.
dhcp6_name
DHCPv6 server name.
dhcp6_comment
DHCPv6 server description.
dhcp6_version
DHCPv6 server version.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
dhcp6_class_name
The dhcp6_class_name is the name of the file class that will used for this object. The name
of dhcp6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp6_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp6_class_parameters
The dhcp6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcp6_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by dhcp6_class_parameters parameter the URL value must be encoded in
URL format (see RFC 3986).
284
DHCPv6 Server
ip6_addr
IP6 address.
285
DHCPv6 Server
Name
dhcp46_server46_count — Number of DHCPv4 and DHCPv6 servers in the database
Description
The service dhcp46_server46_count returns the number of DHCPv4 and DHCPv6 servers in the
database. The WHERE input parameter allows to filter the returned rows.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: dhcp46_id, dhcp_id, type, ipmdhcp_protocol, ipmdh-
cp_https_login, ipmdhcp_https_password, isolated, dhcp_dcs_key, tree_path, vdhcp_param1,
tcp_port, ms_use_ssl, windhcp_protocol, snmp_id, snmp_port, snmp_profile_id, snmp_retry,
snmp_timeout, snmp_use_tcp, cisco_use_ssh, cisco_login, cisco_password,
cisco_root_password, ref1_dhcp_name, vdhcp_ref1_dhcp_id, ref2_dhcp_name, vdh-
cp_ref2_dhcp_id, tree_level, total_vdhcp_members, vdhcp_members_name, vdhcp_arch,
vdhcp_parent_name, vdhcp_parent_arch, vdhcp_parent_id, vdhcp_ref1_dhcp_name, vdh-
cp_ref1_dhcp_id, vdhcp_ref2_dhcp_name, vdhcp_ref2_dhcp_id, dhcp_uboottime, dhcp_id,
dhcp_type, site_name, dhcp_state, dhcp_synching, dhcp_name, dhcp_comment, dhcp_ver-
sion, row_enabled, dhcp_custom1, dhcp_custom2, dhcp_custom3, dhcp_class_name, dh-
cp_class_parameters, ip_addr.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: dhcp46_id, dhcp_id, type, ipmdhcp_protocol, ipmdh-
cp_https_login, ipmdhcp_https_password, isolated, dhcp_dcs_key, tree_path, vdhcp_param1,
tcp_port, ms_use_ssl, windhcp_protocol, snmp_id, snmp_port, snmp_profile_id, snmp_retry,
snmp_timeout, snmp_use_tcp, cisco_use_ssh, cisco_login, cisco_password,
cisco_root_password, ref1_dhcp_name, vdhcp_ref1_dhcp_id, ref2_dhcp_name, vdh-
cp_ref2_dhcp_id, tree_level, total_vdhcp_members, vdhcp_members_name, vdhcp_arch,
vdhcp_parent_name, vdhcp_parent_arch, vdhcp_parent_id, vdhcp_ref1_dhcp_name, vdh-
cp_ref1_dhcp_id, vdhcp_ref2_dhcp_name, vdhcp_ref2_dhcp_id, dhcp_uboottime, dhcp_id,
dhcp_type, site_name, dhcp_state, dhcp_synching, dhcp_name, dhcp_comment, dhcp_ver-
sion, row_enabled, dhcp_custom1, dhcp_custom2, dhcp_custom3, dhcp_class_name, dh-
cp_class_parameters, ip_addr.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
286
DHCPv6 Server
Name
dhcp46_server46_list — List the DHCPv4 and DHCPv6 servers in the database
Description
The service dhcp46_server46_list allows to list the DHCPv4 and DHCPv6 servers in the database.
The WHERE input parameter allows to filter the returned rows.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: dhcp46_id, dhcp_id, type, ipmdhcp_protocol, ipmdh-
cp_https_login, ipmdhcp_https_password, isolated, dhcp_dcs_key, tree_path, vdhcp_param1,
tcp_port, ms_use_ssl, windhcp_protocol, snmp_id, snmp_port, snmp_profile_id, snmp_retry,
snmp_timeout, snmp_use_tcp, cisco_use_ssh, cisco_login, cisco_password,
cisco_root_password, ref1_dhcp_name, vdhcp_ref1_dhcp_id, ref2_dhcp_name, vdh-
cp_ref2_dhcp_id, tree_level, total_vdhcp_members, vdhcp_members_name, vdhcp_arch,
vdhcp_parent_name, vdhcp_parent_arch, vdhcp_parent_id, vdhcp_ref1_dhcp_name, vdh-
cp_ref1_dhcp_id, vdhcp_ref2_dhcp_name, vdhcp_ref2_dhcp_id, dhcp_uboottime, dhcp_id,
dhcp_type, site_name, dhcp_state, dhcp_synching, dhcp_name, dhcp_comment, dhcp_ver-
sion, row_enabled, dhcp_custom1, dhcp_custom2, dhcp_custom3, dhcp_class_name, dh-
cp_class_parameters, ip_addr.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
287
DHCPv6 Server
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcp46_id
The DHCP server unique identifier (ID) within the DHCPv4/DHCPv6 database.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
ipmdhcp_protocol
IPM DHCP protocol.
ipmdhcp_https_login
IPM DHCP https login.
ipmdhcp_https_password
IPM DHCP https password.
isolated
If the server is isolated (parameter set to 1), it does not apply the configured default behaviors.
dhcp_dcs_key
DHCP DCS CC key (dcs).
vdhcp_param1
VDHCP param1 (VDHCP).
tcp_port
Not documented.
ms_use_ssl
Windhcp use SSL (windhcp).
windhcp_protocol
Not documented.
snmp_id
The snmp_id parameter is the SNMP identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
snmp_port
SNMP port.
snmp_profile_id
The snmp_profile_id parameter is the SNMP profile identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
snmp_retry
SNMP retry (ipm).
snmp_timeout
Timeout (seconds).
snmp_use_tcp
Use TCP transport.
cisco_use_ssh
DHCP Cisco use SSH.
288
DHCPv6 Server
cisco_login
DHCP Cisco login (cisco).
cisco_password
DHCP Cisco password (cisco).
cisco_root_password
DHCP Cisco root password (cisco).
ref1_dhcp_name
Not documented.
vdhcp_ref1_dhcp_id
VDHCP ref1 DHCP ID (VDHCP).
ref2_dhcp_name
Not documented.
vdhcp_ref2_dhcp_id
VDHCP ref2 DHCP ID (VDHCP).
tree_level
Depth of imbricated spaces.
total_vdhcp_members
Not documented.
vdhcp_members_name
Not documented.
vdhcp_arch
VDHCP architecture (VDHCP).
vdhcp_parent_name
Not documented.
vdhcp_parent_arch
Not documented.
vdhcp_parent_id
Not documented.
vdhcp_ref1_dhcp_name
Not documented.
vdhcp_ref1_dhcp_id
VDHCP ref1 DHCP ID (VDHCP).
vdhcp_ref2_dhcp_name
Not documented.
vdhcp_ref2_dhcp_id
VDHCP ref2 DHCP ID (VDHCP).
dhcp_uboottime
Time at which the DHCP service started for the last time, in UTC format.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_type
DHCP server type.
site_name
site name.
289
DHCPv6 Server
dhcp_state
Not documented.
dhcp_synching
Not documented.
dhcp_name
DHCP server name.
dhcp_comment
Not documented.
dhcp_version
Not documented.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
dhcp_class_name
The dhcp_class_name is the name of the file class that will used for this object. The name
of dhcp_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp_class_parameters
The dhcp_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcp_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by dhcp_class_parameters parameter the URL value must be encoded in URL
format (see RFC 3986).
ip_addr
IP address.
290
DHCPv6 Server
Name
dhcp46_server46_info — Display the properties of a DHCPv4 or DHCPv6 server
Description
The service dhcp46_server46_info allows to display the properties of the DHCP server specified,
whether DHCPv4 or DHCPv6. For this service, the dhcp_id input parameter accepts the identifier
of a DHCPv4 or a DHCPv6 server.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to.
Input Parameters
dhcp_id
The DHCP server identifier (ID). For the service dhcp46_server46_info, the dhcp_id accepts
the identifier of any DHCP server, whether a DHCPv4 or a DHCPv6 server. This identifier is
a unique numeric key value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcp46_id
The DHCP server unique identifier (ID) within the DHCPv4/DHCPv6 database.
dhcp_id
The DHCP server identifier (ID). For the service dhcp46_server46_info, the dhcp_id returns
the identifier of any DHCP server, whether a DHCPv4 or a DHCPv6 server. This identifier is
a unique numeric key value that is automatically incremented.
ipmdhcp_protocol
IPM DHCP protocol.
ipmdhcp_https_login
IPM DHCP https login.
ipmdhcp_https_password
IPM DHCP https password.
isolated
If the server is isolated (parameter set to 1), it does not apply the configured default behaviors.
dhcp_dcs_key
DHCP DCS CC key (dcs).
vdhcp_param1
VDHCP param1 (VDHCP).
tcp_port
Not documented.
ms_use_ssl
Windhcp use SSL (windhcp).
windhcp_protocol
Not documented.
291
DHCPv6 Server
snmp_id
The snmp_id parameter is the SNMP identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
snmp_port
SNMP port.
snmp_profile_id
The snmp_profile_id parameter is the SNMP profile identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
snmp_retry
SNMP retry (ipm).
snmp_timeout
Timeout (seconds).
snmp_use_tcp
Use TCP transport.
cisco_use_ssh
DHCP Cisco use SSH.
cisco_login
DHCP Cisco login (cisco).
cisco_password
DHCP Cisco password (cisco).
cisco_root_password
DHCP Cisco root password (cisco).
ref1_dhcp_name
Not documented.
vdhcp_ref1_dhcp_id
VDHCP ref1 DHCP ID (VDHCP).
ref2_dhcp_name
Not documented.
vdhcp_ref2_dhcp_id
VDHCP ref2 DHCP ID (VDHCP).
tree_level
Depth of imbricated spaces.
total_vdhcp_members
Not documented.
vdhcp_members_name
Not documented.
vdhcp_arch
VDHCP architecture (VDHCP).
vdhcp_parent_name
Not documented.
vdhcp_parent_arch
Not documented.
vdhcp_parent_id
Not documented.
292
DHCPv6 Server
vdhcp_ref1_dhcp_name
Not documented.
vdhcp_ref1_dhcp_id
VDHCP ref1 DHCP ID (VDHCP).
vdhcp_ref2_dhcp_name
Not documented.
vdhcp_ref2_dhcp_id
VDHCP ref2 DHCP ID (VDHCP).
dhcp_uboottime
Time at which the DHCP service started for the last time, in UTC format.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_type
DHCP server type.
site_name
site name.
dhcp_state
Not documented.
dhcp_synching
Not documented.
dhcp_name
DHCP server name.
dhcp_comment
Not documented.
dhcp_version
Not documented.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
dhcp_class_name
The dhcp_class_name is the name of the file class that will used for this object. The name
of dhcp_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp_class_parameters
The dhcp_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcp_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by dhcp_class_parameters parameter the URL value must be encoded in URL
format (see RFC 3986).
ip_addr
IP address.
293
DHCPv6 Server
Name
dhcp6_server6_options6_list — List the DHCP options set on a DHCPv6 server
Description
The service dhcp6_server6_options6_list allows to list entries from SOLIDserver database. To
execute this service, users must be granted permission to use it. The rows returned to the user
running the service depend on the resources granted to the group they belong to. The WHERE
input parameter allows to filter the returned rows.
Input Parameters
dhcp6_id
The DHCPv6 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
294
DHCPv6 Server
Name
dhcp6_server6_admin_group_count — Total number of groups that can access
the DHCPv6 server list
Description
The service dhcp6_server6_admin_group_count allows to display the total number of groups of
users that can access the DHCPv6 server list. The rows returned to the user running the service
are not subject to the group resources, this service returns data as if the user running it belonged
to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
dhcp6_id
The DHCPv6 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
295
DHCPv6 Server
Name
dhcp6_server6_admin_group_list — List all the groups that can access the
DHCPv6 server list
Description
The service dhcp6_server6_admin_group_list allows to list entries from SOLIDserver database.
The rows returned to the user running the service are not subject to the group resources, this
service returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
dhcp6_id
The DHCPv6 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
296
DHCPv6 Server
grp_name
The name of the group of users.
grp_description
Group description.
from_type
Not documented.
297
DHCPv6 Server
Name
dhcp6_server6_admin_service_count — Total number of rights for a group
to add/delete objects in a DHCPv6 server
Description
The service dhcp6_server6_admin_service_count allows to display the total number of rights for
a group of users to add/delete objects in a DHCPv6 server. The rows returned to the user running
the service are not subject to the group resources, this service returns data as if the user running
it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
298
DHCPv6 Server
Name
dhcp6_server6_admin_service_list — List all the rights of a group to add/delete
objects in a DHCPv6 server
Description
The service dhcp6_server6_admin_service_list allows to list entries from SOLIDserver database.
The rows returned to the user running the service are not subject to the group resources, this
service returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
service_name
The service name.
299
DHCPv6 Server
Name
group_dhcp6_add — Add a DHCPv6 server as group resource
Description
The service group_dhcp6_add allows to add an object as resource for a group of users. You
must specify the group of users and the object that you set as resource. Once set as a resource,
the group can manage the object according to the rights services it has access to.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
dhcp6_id
The DHCPv6 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
300
DHCPv6 Server
Name
group_dhcp6_delete — Remove a DHCPv6 server from a group resources
Description
The service group_dhcp6_delete allows to delete SOLIDserver database object. The service
group_dhcp6_delete needs to identify the object to delete with the input parameters detailed in
the next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
dhcp6_id
The DHCPv6 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
301
DHCPv6 Server
Name
dhcp6_delete — Delete a DHCPv6 server
Description
The service dhcp6_delete allows to delete SOLIDserver database object.The service dhcp6_delete
needs to identify the object to delete with the input parameters detailed in the next section. This
service will be executed if the connected user running this service is allowed to delete the con-
cerned object
Input Parameters
dhcp6_id
The dhcp6_id parameter is the DHCPv6 server identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcp6_name
DHCPv6 server name.
hostaddr
DHCPv6 server address.
dhcp6_addr
DHCPv6 server address.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
302
Chapter 23. DHCPv4 Group
303
DHCPv4 Group
Name
dhcp_group_add — Add/Edit a DHCPv4 group
Description
The service dhcp_group_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dhcp_id
The dhcp_id parameter is the DHCP server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcp_name
DHCP server name.
hostaddr
DHCP server address.
dhcp_addr
DHCP server address.
ip_id
The DHCP server IP address identifier (ID). This identifier is a unique numeric key value that
is automatically incremented.
dhcp_ip_id
The dhcp_ip_id parameter is the DHCP server address identifier (ID). This identifier is a
unique numeric key value that is automatically incremented.
dhcpgroup_name
DHCP group name.
dhcpgroup_id
The dhcpgroup_id parameter is the DHCP group identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpgroup_class_name
The dhcpgroup_class_name is the name of the file class that will used for this object. The
name of dhcpgroup_class_name must include the directory of the class.The global and default
class names are reserved by the system and must never be used. For example a dhcp-
group_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcpgroup_class_parameters
The dhcpgroup_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcpgroup_class_parameters parameter accepts several
meta-data va l u e s set in the fo l l ow i n g URL style fo r m a t :
metadata1=value1&metadata2=value2&. To be accepted by dhcpgroup_class_parameters
parameter the URL value must be encoded in URL format (see RFC 3986).
304
DHCPv4 Group
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
norefresh_server
internal use.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
check
Run check-rules.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
305
DHCPv4 Group
Name
dhcp_group_count — Number of DHCPv4 groups
Description
The service dhcp_group_count allows to display the number of DHCPv4 groups.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: dhcpgroup_id, dhcp_id, dhcp_name, dhcp_type, vdh-
cp_parent_id, dhcpgroup_name, delayed_create_time, delayed_delete_time, vdhcp_par-
ent_name, dhcp_class_name, dhcp_version, ip_addr.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
306
DHCPv4 Group
Name
dhcp_group_list — List the DHCPv4 groups
Description
The service dhcp_group_list allows to list entries from SOLIDserver database. To execute this
service, users must be granted permission to use it. The rows returned to the user running the
service depend on the resources granted to the group they belong to. The WHERE input para-
meter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: dhcpgroup_id, dhcp_id, dhcp_name, dhcp_type, vdh-
cp_parent_id, dhcpgroup_name, delayed_create_time, delayed_delete_time, vdhcp_par-
ent_name, dhcp_class_name, dhcp_version, ip_addr.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcpgroup_id
The dhcpgroup_id parameter is the DHCP group identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcp_id
The dhcp_id parameter is the DHCP server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
307
DHCPv4 Group
dhcp_name
DHCP server name.
dhcp_type
DHCP server type.
vdhcp_parent_id
Not documented.
dhcpgroup_name
DHCP group name.
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
vdhcp_parent_name
Not documented.
dhcp_class_name
The dhcp_class_name is the name of the file class that will used for this object. The name
of dhcp_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp_version
Not documented.
ip_addr
IP address.
308
DHCPv4 Group
Name
dhcp_group_info — Display the properties of a DHCPv4 group
Description
The service dhcp_group_info returns the information on the object specified in input.
Input Parameters
dhcpgroup_id
The dhcpgroup_id parameter is the DHCP group identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcpgroup_id
The dhcpgroup_id parameter is the DHCP group identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcp_id
The dhcp_id parameter is the DHCP server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcp_name
DHCP server name.
dhcp_type
DHCP server type.
vdhcp_parent_id
Not documented.
dhcpgroup_name
DHCP group name.
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
vdhcp_parent_name
Not documented.
dhcp_class_name
The dhcp_class_name is the name of the file class that will used for this object. The name
of dhcp_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp_version
Not documented.
ip_addr
IP address.
309
DHCPv4 Group
Name
dhcp_group_options_list — List the DHCP options set on a DHCPv4 group
Description
The service dhcp_group_options_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
dhcpgroup_id
The dhcpgroup_id parameter is the DHCP group identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
310
DHCPv4 Group
Name
dhcp_group_delete — Delete a DHCPv4 group
Description
The service dhcp_group_delete allows to delete SOLIDserver database object.The dhcp_group_de-
lete service needs to identify the object to delete with the input parameters detailed in the next
section. This service will be executed if the connected user running this service is allowed to
delete the concerned object
Input Parameters
dhcp_id
The dhcp_id parameter is the DHCP server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcp_name
DHCP server name.
hostaddr
DHCP server address.
dhcp_addr
DHCP server address.
dhcpgroup_id
The dhcpgroup_id parameter is the DHCP group identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
group_id
The group_id parameter is the DHCP group identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcpgroup_name
DHCP group name.
group_name
DHCP group name.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
311
Chapter 24. DHCPv6 Group
312
DHCPv6 Group
Name
dhcp6_group6_add — Add/Edit a DHCPv6 group
Description
The service dhcp6_group6_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dhcp6_id
The dhcp6_id parameter is the DHCPv6 server identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcp6_name
DHCPv6 server name.
hostaddr
DHCPv6 server address.
dhcp6_addr
DHCPv6 server address.
ip6_id
The ip6_id parameter is the DHCPv6 server address identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcp6_ip6_id
The dhcp6_ip6_id parameter is the DHCPv6 server address identifier (ID). This identifier is
a unique numeric key value that is automatically incremented.
dhcpgroup6_name
DHCPv6 group name.
dhcpgroup6_id
The dhcpgroup6_id parameter is the DHCPv6 group identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpgroup6_class_name
The dhcpgroup6_class_name is the name of the file class that will used for this object. The
name of dhcpgroup6_class_name must include the directory of the class. The global and
default class names are reserved by the system and must never be used. For example a
dhcpgroup6_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcpgroup6_class_parameters
The dhcpgroup6_class_parameters parameter is a data container used to store your custom-
ized meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcpgroup6_class_parameters parameter accepts several
meta-data va l u e s set in the fo l l ow i n g URL style fo r m a t :
metadata1=value1&metadata2=value2&. To be accepted by dhcpgroup6_class_parameters
parameter the URL value must be encoded in URL format (see RFC 3986).
313
DHCPv6 Group
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
norefresh_server
internal use.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
check
Run check-rules.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
314
DHCPv6 Group
Name
dhcp6_group6_count — Number of DHCPv6 groups
Description
The service dhcp6_group6_count allows to display the number of DHCPv6 groups.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
315
DHCPv6 Group
Name
dhcp6_group6_list — List the DHCPv6 groups
Description
The service dhcp6_group6_list allows to list entries from SOLIDserver database. To execute this
service, users must be granted permission to use it. The rows returned to the user running the
service depend on the resources granted to the group they belong to. The WHERE input para-
meter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcpgroup6_id
Not documented.
dhcp6_id
Not documented.
dhcp6_name
Not documented.
316
DHCPv6 Group
dhcp6_type
Not documented.
vdhcp6_parent_id
Not documented.
dhcpgroup6_name
Not documented.
delayed_time
Not documented.
vdhcp6_parent_name
Not documented.
dhcp6_class_name
The dhcp6_class_name is the name of the file class that will used for this object. The name
of dhcp6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp6_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp6_version
Not documented.
ip6_addr
IP6 address.
317
DHCPv6 Group
Name
dhcp6_group6_info — Display the properties of a DHCPv6 group
Description
The service dhcp6_group6_info returns the information on the object specified in input.
Input Parameters
dhcpgroup6_id
Not documented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcpgroup6_id
Not documented.
dhcp6_id
Not documented.
dhcp6_name
Not documented.
dhcp6_type
Not documented.
vdhcp6_parent_id
Not documented.
dhcpgroup6_name
Not documented.
delayed_time
Not documented.
vdhcp6_parent_name
Not documented.
dhcp6_class_name
The dhcp6_class_name is the name of the file class that will used for this object. The name
of dhcp6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp6_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp6_version
Not documented.
ip6_addr
IP6 address.
318
DHCPv6 Group
Name
dhcp6_group6_options6_list — List the DHCP options set on a DHCPv6 group
Description
The service dhcp6_group6_options6_list allows to list entries from SOLIDserver database. To
execute this service, users must be granted permission to use it. The rows returned to the user
running the service depend on the resources granted to the group they belong to. The WHERE
input parameter allows to filter the returned rows.
Input Parameters
dhcpgroup6_id
Not documented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
319
DHCPv6 Group
Name
dhcp6_group6_delete — Delete a DHCPv6 group
Description
The service dhcp6_group6_delete allows to delete SOLIDserver database object. The service
dhcp6_group6_delete needs to identify the object to delete with the input parameters detailed in
the next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
320
Chapter 25. DHCPv4 Scope
321
DHCPv4 Scope
Name
dhcp_scope_add — Add/Edit a DHCPv4 scope
Description
The service dhcp_scope_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
hostaddr
DHCP server address.
dhcp_addr
DHCP server address.
netaddr
DHCP scope address.
dhcpscope_net_addr
DHCP scope address.
dhcpscope_start_addr
DHCP scope address.
dhcpscope_netaddr
DHCP scope address.
netmask
DHCP scope netmask.
dhcpscope_net_mask
DHCP scope netmask.
dhcpscope_netmask
DHCP scope netmask.
dhcpsn_id
The dhcpsn_id parameter is the Shared network identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpsn_name
Shared network name.
dhcpscope_id
The dhcpscope_id parameter is the DHCP scope identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
322
DHCPv4 Scope
dhcpscope_name
DHCP scope name.
dhcpfailover_id
The dhcpfailover_id parameter is the DHCP failover identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpfailover_name
DHCP failover name.
dhcpscope_site_id
The dhcpscope_site_id parameter is the DHCP Scope space identifier (ID). This identifier is
a unique numeric key value that is automatically incremented.
dhcpscope_site_name
DHCP scope space name.
dhcpscope_class_name
The dhcpscope_class_name is the name of the file class that will used for this object. The
name of dhcpscope_class_name must include the directory of the class.The global and default
class names are reserved by the system and must never be used. For example a dhcp-
scope_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcpscope_class_parameters
The dhcpscope_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcpscope_class_parameters parameter accepts several
meta-data va l u e s set in the fo l l ow i n g URL style fo r m a t :
metadata1=value1&metadata2=value2&. To be accepted by dhcpscope_class_parameters
parameter the URL value must be encoded in URL format (see RFC 3986).
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
norefresh_server
internal use.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
323
DHCPv4 Scope
Name
dhcp_scope_count — Numbers of DHCPv4 scopes
Description
The service dhcp_scope_count allows to display the number of DHCPv4 scopes.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
324
DHCPv4 Scope
Name
dhcp_scope_list — List the DHCPv4 scopes
Description
The service dhcp_scope_list allows to list entries from SOLIDserver database. To execute this
service, users must be granted permission to use it. The rows returned to the user running the
service depend on the resources granted to the group they belong to. The WHERE input para-
meter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
vdhcp_parent_id
Not documented.
325
DHCPv4 Scope
vdhcp_arch
VDHCP architecture (VDHCP).
dhcp_type
DHCP server type.
dhcpfailover_id
The dhcpfailover_id parameter is the DHCP group identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpfailover_name
DHCP group name.
dhcpscope_id
The dhcpscope_id parameter is the DHCP scope identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
dhcpscope_name
DHCP scope name.
dhcpscope_start_ip_addr
Not documented.
dhcpscope_end_ip_addr
Not documented.
dhcpscope_net_addr
DHCP scope address.
dhcpscope_net_mask
DHCP scope netmask.
dhcpscope_size
Not documented.
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
dhcpscope_site_name
DHCP scope space name.
dhcpscope_site_id
The dhcpscope_site_id parameter is the DHCP Scope space identifier (ID). This identifier is
a unique numeric key value that is automatically incremented.
dhcpscope_class_name
The dhcpscope_class_name is the name of the file class that will used for this object. The
name of dhcpscope_class_name must include the directory of the class.The global and default
class names are reserved by the system and must never be used. For example a dhcp-
scope_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcpscope_class_parameters
The dhcpscope_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
326
DHCPv4 Scope
327
DHCPv4 Scope
Name
dhcp_scope_info — Display the properties of a DHCPv4 scope
Description
The service dhcp_scope_info returns the information on the object specified in input.
Input Parameters
dhcpscope_id
The dhcpscope_id parameter is the DHCP scope identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
vdhcp_parent_id
Not documented.
vdhcp_arch
VDHCP architecture (VDHCP).
dhcp_type
DHCP server type.
dhcpfailover_id
The dhcpfailover_id parameter is the DHCP group identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpfailover_name
DHCP group name.
dhcpscope_id
The dhcpscope_id parameter is the DHCP scope identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
dhcpscope_name
DHCP scope name.
dhcpscope_start_ip_addr
Not documented.
dhcpscope_end_ip_addr
Not documented.
dhcpscope_net_addr
DHCP scope address.
dhcpscope_net_mask
DHCP scope netmask.
328
DHCPv4 Scope
dhcpscope_size
Not documented.
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
dhcpscope_site_name
DHCP scope space name.
dhcpscope_site_id
The dhcpscope_site_id parameter is the DHCP Scope space identifier (ID). This identifier is
a unique numeric key value that is automatically incremented.
dhcpscope_class_name
The dhcpscope_class_name is the name of the file class that will used for this object. The
name of dhcpscope_class_name must include the directory of the class.The global and default
class names are reserved by the system and must never be used. For example a dhcp-
scope_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcpscope_class_parameters
The dhcpscope_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcpscope_class_parameters parameter accepts several
meta-data va l u e s set in the fo l l ow i n g URL style fo r m a t :
metadata1=value1&metadata2=value2&. To be accepted by dhcpscope_class_parameters
parameter the URL value must be encoded in URL format (see RFC 3986).
dhcpsn_id
The dhcpsn_id parameter is the Shared network identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpsn_name
Shared network name.
vdhcp_parent_name
Not documented.
dhcp_class_name
The dhcp_class_name is the name of the file class that will used for this object. The name
of dhcp_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp_version
Not documented.
329
DHCPv4 Scope
Name
dhcp_scope_options_list — List the DHCP options set on a DHCPv4 scope
Description
The service dhcp_scope_options_list allows to list entries from SOLIDserver database.To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
dhcpscope_id
The dhcpscope_id parameter is the DHCP scope identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
330
DHCPv4 Scope
Name
dhcp_scope_admin_group_count — Total number of groups that can access
the DHCPv4 scope list
Description
The service dhcp_scope_admin_group_count allows to display the total number of groups of
users that can access the DHCPv4 scope list. The rows returned to the user running the service
are not subject to the group resources, this service returns data as if the user running it belonged
to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
dhcpscope_id
The dhcpscope_id parameter is the DHCP scope identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
331
DHCPv4 Scope
Name
dhcp_scope_admin_group_list — List all the groups that can access the DHCPv4
scope list
Description
The service dhcp_scope_admin_group_list allows to list entries from SOLIDserver database.
The rows returned to the user running the service are not subject to the group resources, this
service returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
dhcpscope_id
The dhcpscope_id parameter is the DHCP scope identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpscope_id
The dhcpscope_id parameter is the DHCP scope identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
332
DHCPv4 Scope
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
grp_name
The name of the group of users.
grp_description
Group description.
from_type
Not documented.
333
DHCPv4 Scope
Name
dhcp_scope_admin_service_count — Total number of rights for a group to
add/delete objects in a DHCPv4 scope
Description
The service dhcp_scope_admin_service_count allows to display the total number of rights for a
group of users to add/delete objects in a DHCPv4 scope. The rows returned to the user running
the service are not subject to the group resources, this service returns data as if the user running
it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
334
DHCPv4 Scope
Name
dhcp_scope_admin_service_list — List all the rights of a group to add/delete
objects in a DHCPv4 scope
Description
The service dhcp_scope_admin_service_list allows to list entries from SOLIDserver database.
The rows returned to the user running the service are not subject to the group resources, this
service returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
service_name
The service name.
335
DHCPv4 Scope
Name
group_dhcpscope_add — Add a DHCPv4 scope as group resource
Description
The service group_dhcpscope_add allows to add an object as resource for a group of users.You
must specify the group of users and the object that you set as resource. Once set as a resource,
the group can manage the object according to the rights services it has access to.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
dhcpscope_id
The DHCPv4 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
336
DHCPv4 Scope
Name
group_dhcpscope_delete — Remove a DHCPv4 scope from a group resources
Description
The service group_dhcpscope_delete allows to delete SOLIDserver database object. The service
group_dhcpscope_delete needs to identify the object to delete with the input parameters detailed
in the next section. This service will be executed if the connected user running this service is al-
lowed to delete the concerned object
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
dhcpscope_id
The DHCPv4 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
337
DHCPv4 Scope
Name
dhcp_scope_delete — Delete a DHCPv4 scope
Description
The service dhcp_scope_delete allows to delete SOLIDserver database object. The dh-
cp_scope_delete service needs to identify the object to delete with the input parameters detailed
in the next section. This service will be executed if the connected user running this service is al-
lowed to delete the concerned object
Input Parameters
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
hostaddr
DHCP server address.
dhcp_addr
DHCP server address.
dhcpscope_id
The dhcpscope_id parameter is the DHCP Scope identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
scope_id
The scope_id parameter is the DHCP Scope identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcpscope_name
DHCP scope name.
scope_name
DHCP scope name.
netaddr
DHCP scope address.
dhcpscope_net_addr
DHCP scope address.
dhcpscope_start_addr
DHCP scope address.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
338
Chapter 26. DHCPv6 Scope
339
DHCPv6 Scope
Name
dhcp6_scope6_add — Add/Edit a DHCPv6 scope
Description
The service dhcp6_scope6_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dhcp6_id
The dhcp6_id parameter is the DHCPv6 server identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcp6_name
DHCPv6 server name.
hostaddr
DHCPv6 server address.
dhcp6_addr
DHCPv6 server address.
dhcpscope6_start_addr
DHCPv6 scope address.
dhcpscope6_end_addr
DHCPv6 scope address.
dhcpscope6_prefix
DHCPv6 prefix.
dhcpsn6_id
The dhcpsn6_id parameter is the Shared network identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpsn6_name
Shared network name.
dhcpscope6_id
The DHCPv6 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcpscope6_name
DHCPv6 scope name.
dhcpfailover6_id
The dhcpfailover6_id parameter is the DHCPv6 failover identifier (ID). This identifier is a
unique numeric key value that is automatically incremented.
dhcpfailover6_name
DHCPv6 failover name.
340
DHCPv6 Scope
dhcpscope6_site_id
The dhcpscope6_site_id parameter is the DHCPv6 Scope space identifier (ID).This identifier
is a unique numeric key value that is automatically incremented.
dhcpscope6_site_name
DHCPv6 scope space name.
dhcpscope6_class_name
The dhcpscope6_class_name is the name of the file class that will used for this object. The
name of dhcpscope6_class_name must include the directory of the class. The global and
default class names are reserved by the system and must never be used. For example a
dhcpscope6_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcpscope6_class_parameters
The dhcpscope6_class_parameters parameter is a data container used to store your custom-
ized meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcpscope6_class_parameters parameter accepts several
meta-data va l u e s set in the fo l l ow i n g URL style fo r m a t :
metadata1=value1&metadata2=value2&. To be accepted by dhcpscope6_class_parameters
parameter the URL value must be encoded in URL format (see RFC 3986).
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
norefresh_server
internal use.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
341
DHCPv6 Scope
Name
dhcp6_scope6_count — Number of DHCPv6 scopes
Description
The service dhcp6_scope6_count allows to display the number of DHCPv6 scopes.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
342
DHCPv6 Scope
Name
dhcp6_scope6_list — List the DHCPv6 scopes
Description
The service dhcp6_scope6_list allows to list entries from SOLIDserver database. To execute this
service, users must be granted permission to use the service dhcp6_scope6_list. The rows re-
turned to the user running the service depend on the resources granted to the group they belong
to. The WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
vdhcp6_parent_id
Not documented.
343
DHCPv6 Scope
vdhcp6_arch
The DHCPv6 architecture type, either single for Single-Server, splitscope for Split-Scope or
stateless for Stateless.
dhcp6_type
Not documented.
dhcpfailover6_id
Not documented.
dhcpfailover6_name
Not documented.
dhcpscope6_id
The DHCPv6 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp6_id
Not documented.
dhcp6_name
Not documented.
dhcpscope6_name
Not documented.
dhcpscope6_start_ip6_addr
Not documented.
dhcpscope6_end_ip6_addr
Not documented.
dhcpscope6_size
Not documented.
dhcpscope6_prefix
Not documented.
delayed_time
Not documented.
dhcpscope6_site_name
Not documented.
dhcpscope6_site_id
Not documented.
dhcpscope6_class_name
The dhcpscope6_class_name is the name of the file class that will used for this object. The
name of dhcpscope6_class_name must include the directory of the class. The global and
default class names are reserved by the system and must never be used. For example a
dhcpscope6_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcpscope6_class_parameters
The dhcpscope6_class_parameters parameter is a data container used to store your custom-
ized meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcpscope6_class_parameters parameter accepts several
meta-data va l u e s set in the fo l l ow i n g URL style fo r m a t :
metadata1=value1&metadata2=value2&. To be accepted by dhcpscope6_class_parameters
parameter the URL value must be encoded in URL format (see RFC 3986).
dhcpsn6_id
Not documented.
344
DHCPv6 Scope
dhcpsn6_name
Not documented.
vdhcp6_parent_name
Not documented.
dhcp6_class_name
The dhcp6_class_name is the name of the file class that will used for this object. The name
of dhcp6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp6_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp6_version
Not documented.
345
DHCPv6 Scope
Name
dhcp6_scope6_info — Display the properties of a DHCPv6 scope
Description
The service dhcp6_scope6_info returns the information on the object specified in input.
Input Parameters
dhcpscope6_id
The DHCPv6 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
vdhcp6_parent_id
Not documented.
vdhcp6_arch
The DHCPv6 architecture type, either single for Single-Server, splitscope for Split-Scope or
stateless for Stateless.
dhcp6_type
Not documented.
dhcpfailover6_id
Not documented.
dhcpfailover6_name
Not documented.
dhcpscope6_id
The DHCPv6 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp6_id
Not documented.
dhcp6_name
Not documented.
dhcpscope6_name
Not documented.
dhcpscope6_start_ip6_addr
Not documented.
dhcpscope6_end_ip6_addr
Not documented.
dhcpscope6_size
Not documented.
dhcpscope6_prefix
Not documented.
346
DHCPv6 Scope
delayed_time
Not documented.
dhcpscope6_site_name
Not documented.
dhcpscope6_site_id
Not documented.
dhcpscope6_class_name
The dhcpscope6_class_name is the name of the file class that will used for this object. The
name of dhcpscope6_class_name must include the directory of the class. The global and
default class names are reserved by the system and must never be used. For example a
dhcpscope6_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcpscope6_class_parameters
The dhcpscope6_class_parameters parameter is a data container used to store your custom-
ized meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcpscope6_class_parameters parameter accepts several
meta-data va l u e s set in the fo l l ow i n g URL style fo r m a t :
metadata1=value1&metadata2=value2&. To be accepted by dhcpscope6_class_parameters
parameter the URL value must be encoded in URL format (see RFC 3986).
dhcpsn6_id
Not documented.
dhcpsn6_name
Not documented.
vdhcp6_parent_name
Not documented.
dhcp6_class_name
The dhcp6_class_name is the name of the file class that will used for this object. The name
of dhcp6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp6_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp6_version
Not documented.
347
DHCPv6 Scope
Name
dhcp6_scope6_options6_list — List the DHCP options set on a DHCPv6 scope
Description
The service dhcp6_scope6_options6_list allows to list entries from SOLIDserver database. To
execute this service, users must be granted permission to use it. The rows returned to the user
running the service depend on the resources granted to the group they belong to. The WHERE
input parameter allows to filter the returned rows.
Input Parameters
dhcpscope6_id
The DHCPv6 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
348
DHCPv6 Scope
Name
dhcp6_scope6_admin_group_count — Total number of groups that can access
the DHCPv6 scope list
Description
The service dhcp6_scope6_admin_group_count allows to display the total number of groups of
users that can access the DHCPv6 scope list. The rows returned to the user running the service
are not subject to the group resources, this service returns data as if the user running it belonged
to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
dhcpscope6_id
The DHCPv6 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
349
DHCPv6 Scope
Name
dhcp6_scope6_admin_group_list — List all the groups that can access the
DHCPv6 scope list
Description
The service dhcp6_scope6_admin_group_list allows to list entries from SOLIDserver database.
The rows returned to the user running the service are not subject to the group resources, this
service returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
dhcpscope6_id
The DHCPv6 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
350
DHCPv6 Scope
grp_name
The name of the group of users.
grp_description
Group description.
from_type
Not documented.
351
DHCPv6 Scope
Name
dhcp6_scope6_admin_service_count — Total number of rights for a group to
add/delete objects in a DHCPv6 scope
Description
The service dhcp6_scope6_admin_service_count allows to display the total number of rights for
a group of users to add/delete objects in a DHCPv6 scope. The rows returned to the user running
the service are not subject to the group resources, this service returns data as if the user running
it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
352
DHCPv6 Scope
Name
dhcp6_scope6_admin_service_list — List all the rights of a group to add/delete
objects in a DHCPv6 scope
Description
The service dhcp6_scope6_admin_service_list allows to list entries from SOLIDserver database.
The rows returned to the user running the service are not subject to the group resources, this
service returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The grp_id parameter is the Group identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
service_name
The service name.
353
DHCPv6 Scope
Name
group_dhcpscope6_add — Add a DHCPv6 scope as group resource
Description
The service group_dhcpscope6_add allows to add an object as resource for a group of users.
You must specify the group of users and the object that you set as resource. Once set as a re-
source, the group can manage the object according to the rights services it has access to.
To execute this service, users must be granted permission to use the service group_dhcp-
scope6_add.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
dhcpscope6_id
The DHCPv6 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
354
DHCPv6 Scope
Name
group_dhcpscope6_delete — Remove s DHCPv6 scope from a group resources
Description
The service group_dhcpscope6_delete allows to delete SOLIDserver database object.The service
group_dhcpscope6_delete needs to identify the object to delete with the input parameters detailed
in the next section. This service will be executed if the connected user running this service is al-
lowed to delete the concerned object
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
dhcpscope6_id
The DHCPv6 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
355
DHCPv6 Scope
Name
dhcp6_scope6_delete — Delete a DHCPv6 scope
Description
The service dhcp6_scope6_delete allows to delete SOLIDserver database object. The service
dhcp6_scope6_delete needs to identify the object to delete with the input parameters detailed
in the next section. This service will be executed if the connected user running this service is al-
lowed to delete the concerned object
Input Parameters
dhcp6_id
The dhcp6_id parameter is the DHCPv6 server identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcp6_name
DHCPv6 server name.
hostaddr
DHCPv6 server address.
dhcp6_addr
DHCPv6 server address.
dhcpscope6_id
The DHCPv6 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
scope6_id
The scope6_id parameter is the DHCPv6 Scope identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpscope6_name
DHCPv6 scope name.
scope6_name
DHCPv6 scope name.
dhcpscope6_start_addr
DHCPv6 scope address.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
356
Chapter 27. DHCPv4 Shared Network
357
DHCPv4 Shared Network
Name
dhcp_sn_add — Add/Edit a DHCPv4 shared network
Description
The service dhcp_sn_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
hostaddr
DHCP server address.
dhcp_addr
DHCP server address.
ip_id
The DHCP server IP address identifier (ID). This identifier is a unique numeric key value that
is automatically incremented.
dhcp_ip_id
The dhcp_ip_id parameter is the DHCP server address identifier (ID). This identifier is a
unique numeric key value that is automatically incremented.
dhcpsn_id
The dhcpsn_id parameter is the DHCP shared network identifier (ID). This identifier is a
unique numeric key value that is automatically incremented.
dhcpsn_name
DHCP shared network name.
norefresh_server
internal use.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
check
Run check-rules.
358
DHCPv4 Shared Network
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
359
DHCPv4 Shared Network
Name
dhcp_shared_network_count — Number of DHCPv4 shared networks
Description
The service dhcp_shared_network_count allows to display the number of DHCPv4 shared net-
works.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: dhcpsn_id, dhcpsn_name, dhcp_id, dhcp_name, dh-
cp_type, vdhcp_parent_id.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
360
DHCPv4 Shared Network
Name
dhcp_shared_network_list — List the DHCPv4 shared networks
Description
The service dhcp_shared_network_list allows to list entries from SOLIDserver database. To ex-
ecute this service, users must be granted permission to use it. The rows returned to the user
running the service depend on the resources granted to the group they belong to. The WHERE
input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: dhcpsn_id, dhcpsn_name, dhcp_id, dhcp_name, dh-
cp_type, vdhcp_parent_id.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcpsn_id
The dhcpsn_id parameter is the Shared network identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpsn_name
Shared network name.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
361
DHCPv4 Shared Network
dhcp_name
DHCP server name.
dhcp_type
DHCP server type.
vdhcp_parent_id
Not documented.
362
DHCPv4 Shared Network
Name
dhcp_shared_network_info — Display the properties of a DHCPv4 shared network
Description
The service dhcp_shared_network_info returns the information on the object specified in input.
Input Parameters
dhcpsn_id
The dhcpsn_id parameter is the Shared network identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcpsn_id
The dhcpsn_id parameter is the Shared network identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpsn_name
Shared network name.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
dhcp_type
DHCP server type.
vdhcp_parent_id
Not documented.
363
Chapter 28. DHCPv6 Shared Network
364
DHCPv6 Shared Network
Name
dhcp6_sn6_add — Add/Edit a DHCPv6 shared network
Description
The service dhcp6_sn6_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dhcp6_id
The dhcp6_id parameter is the DHCPv6 server identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcp6_name
DHCPv6 server name.
hostaddr
DHCPv6 server address.
dhcp6_addr
DHCPv6 server address.
ip6_id
The ip6_id parameter is the DHCPv6 server address identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcp6_ip6_id
The dhcp6_ip6_id parameter is the DHCPv6 server address identifier (ID). This identifier is
a unique numeric key value that is automatically incremented.
dhcpsn6_id
The dhcpsn6_id parameter is the DHCPv6 shared network identifier (ID). This identifier is a
unique numeric key value that is automatically incremented.
dhcpsn6_name
DHCPv6 shared network name.
norefresh_server
internal use.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
check
Run check-rules.
365
DHCPv6 Shared Network
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
366
DHCPv6 Shared Network
Name
dhcp6_shared_network6_count — Number of DHCPv6 shared networks
Description
The service dhcp6_shared_network6_count allows to display the number of DHCPv6 shared
networks.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
367
DHCPv6 Shared Network
Name
dhcp6_shared_network6_list — List the DHCPv6 shared networks
Description
The service dhcp6_shared_network6_list allows to list entries from SOLIDserver database. To
execute this service, users must be granted permission to use it. The rows returned to the user
running the service depend on the resources granted to the group they belong to. The WHERE
input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcpsn6_id
Not documented.
dhcpsn6_name
Not documented.
dhcp6_id
Not documented.
368
DHCPv6 Shared Network
dhcp6_name
Not documented.
dhcp6_type
Not documented.
vdhcp6_parent_id
Not documented.
369
DHCPv6 Shared Network
Name
dhcp6_shared_network6_info — Display the properties of a DHCPv6 shared
network
Description
The service dhcp6_shared_network6_info return the information on the object specified in input.
Input Parameters
dhcpsn6_id
Not documented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcpsn6_id
Not documented.
dhcpsn6_name
Not documented.
dhcp6_id
Not documented.
dhcp6_name
Not documented.
dhcp6_type
Not documented.
vdhcp6_parent_id
Not documented.
370
Chapter 29. DHCPv4 Range
371
DHCPv4 Range
Name
dhcp_range_add — Add/Edit a DHCPv4 range
Description
The service dhcp_range_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
hostaddr
DHCP server address.
dhcp_addr
DHCP server address.
dhcpscope_name
DHCP scope name.
dhcpscope_id
The dhcpscope_id parameter is the DHCP scope identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
scope_id
The scope_id parameter is the DHCP scope identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcprange_id
The dhcprange_id parameter is the DHCP range identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
start_addr
DHCP range start address.
dhcprange_start_addr
DHCP range start address.
end_addr
DHCP range end address.
dhcprange_end_addr
DHCP range end address.
failover_name
DHCP failover name.
dhcprange_failover_name
DHCP failover name.
372
DHCPv4 Range
acl
DHCP range acl.
dhcprange_name
DHCP range name.
dhcprange_acl
DHCP range acl.
dhcprange_class_name
The dhcprange_class_name is the name of the file class that will used for this object. The
name of dhcprange_class_name must include the directory of the class.The global and default
class names are reserved by the system and must never be used. For example a dhc-
prange_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcpscope_class_parameters
The dhcpscope_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcpscope_class_parameters parameter accepts several
meta-data va l u e s set in the fo l l ow i n g URL style fo r m a t :
metadata1=value1&metadata2=value2&. To be accepted by dhcpscope_class_parameters
parameter the URL value must be encoded in URL format (see RFC 3986).
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
norefresh_server
internal use.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
373
DHCPv4 Range
Name
dhcp_range_count — Number of DHCPv4 ranges
Description
The service dhcp_range_count allows to display the number of DHCPv4 ranges.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
374
DHCPv4 Range
Name
dhcp_range_list — List the DHCPv4 ranges
Description
The service dhcp_range_list allows to list entries from SOLIDserver database. To execute this
service, users must be granted permission to use it. The rows returned to the user running the
service depend on the resources granted to the group they belong to. The WHERE input para-
meter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
375
DHCPv4 Range
dhcprange_id
The dhcprange_id parameter is the DHCP range identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
dhcpscope_id
The dhcpscope_id parameter is the DHCP scope identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcprange_name
DHCP range name.
dhcprange_start_addr
DHCP range start address.
dhcprange_end_addr
DHCP range end address.
dhcprange_start_ip_addr
Not documented.
dhcprange_end_ip_addr
Not documented.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_type
DHCP server type.
dhcp_name
DHCP server name.
vdhcp_parent_id
Not documented.
dhcpscope_name
DHCP scope name.
dhcpscope_if_name
Not documented.
dhcpscope_if_addr
Not documented.
dhcpscope_net_addr
DHCP scope address.
dhcpscope_net_mask
DHCP scope netmask.
dhcpscope_start_ip_addr
Not documented.
dhcpscope_size
Not documented.
dhcprange_failover_name
DHCP failover name.
376
DHCPv4 Range
dhcprange_state
Not documented.
dhcprange_class_name
The dhcprange_class_name is the name of the file class that will used for this object. The
name of dhcprange_class_name must include the directory of the class.The global and default
class names are reserved by the system and must never be used. For example a dhc-
prange_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcprange_class_parameters
The dhcprange_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcprange_class_parameters parameter accepts several
meta-data va l u e s set in the fo l l ow i n g URL style fo r m a t :
metadata1=value1&metadata2=value2&. To be accepted by dhcprange_class_parameters
parameter the URL value must be encoded in URL format (see RFC 3986).
dhcprange_lease_count
Not documented.
dhcprange_size
Not documented.
dhcprange_lease_percent
Not documented.
dhcprange_acl
DHCP range acl.
dhcpsn_id
The dhcpsn_id parameter is the Shared network identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpsn_name
Shared network name.
vdhcp_parent_name
Not documented.
dhcp_comment
Not documented.
dhcpscope_class_name
The dhcpscope_class_name is the name of the file class that will used for this object. The
name of dhcpscope_class_name must include the directory of the class.The global and default
class names are reserved by the system and must never be used. For example a dhcp-
scope_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcp_class_name
The dhcp_class_name is the name of the file class that will used for this object. The name
of dhcp_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp_version
Not documented.
377
DHCPv4 Range
Name
dhcp_range_info — Display the properties of a DHCPv4 range
Description
The service dhcp_range_info returns the information on the object specified in input.
Input Parameters
dhcprange_id
The dhcprange_id parameter is the DHCP range identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcprange_id
The dhcprange_id parameter is the DHCP range identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
dhcpscope_id
The dhcpscope_id parameter is the DHCP scope identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcprange_name
DHCP range name.
dhcprange_start_addr
DHCP range start address.
dhcprange_end_addr
DHCP range end address.
dhcprange_start_ip_addr
Not documented.
dhcprange_end_ip_addr
Not documented.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_type
DHCP server type.
dhcp_name
DHCP server name.
vdhcp_parent_id
Not documented.
378
DHCPv4 Range
dhcpscope_name
DHCP scope name.
dhcpscope_if_name
Not documented.
dhcpscope_if_addr
Not documented.
dhcpscope_net_addr
DHCP scope address.
dhcpscope_net_mask
DHCP scope netmask.
dhcpscope_start_ip_addr
Not documented.
dhcpscope_size
Not documented.
dhcprange_failover_name
DHCP failover name.
dhcprange_state
Not documented.
dhcprange_class_name
The dhcprange_class_name is the name of the file class that will used for this object. The
name of dhcprange_class_name must include the directory of the class.The global and default
class names are reserved by the system and must never be used. For example a dhc-
prange_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcprange_class_parameters
The dhcprange_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcprange_class_parameters parameter accepts several
meta-data va l u e s set in the fo l l ow i n g URL style fo r m a t :
metadata1=value1&metadata2=value2&. To be accepted by dhcprange_class_parameters
parameter the URL value must be encoded in URL format (see RFC 3986).
dhcprange_lease_count
Not documented.
dhcprange_size
Not documented.
dhcprange_lease_percent
Not documented.
dhcprange_acl
DHCP range acl.
dhcpsn_id
The dhcpsn_id parameter is the Shared network identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpsn_name
Shared network name.
vdhcp_parent_name
Not documented.
379
DHCPv4 Range
dhcp_comment
Not documented.
dhcpscope_class_name
The dhcpscope_class_name is the name of the file class that will used for this object. The
name of dhcpscope_class_name must include the directory of the class.The global and default
class names are reserved by the system and must never be used. For example a dhcp-
scope_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcp_class_name
The dhcp_class_name is the name of the file class that will used for this object. The name
of dhcp_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp_version
Not documented.
380
DHCPv4 Range
Name
dhcp_range_options_list — List the DHCP options set on a DHCPv4 range
Description
The service dhcp_range_options_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
dhcprange_id
The dhcprange_id parameter is the DHCP range identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
381
DHCPv4 Range
Name
dhcp_range_delete — Delete a DHCP range
Description
The service dhcp_range_delete allows to delete SOLIDserver database object. The service dh-
cp_range_delete needs to identify the object to delete with the input parameters detailed in the
next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
hostaddr
DHCP server address.
dhcp_addr
DHCP server address.
dhcpscope_id
The dhcpscope_id parameter is the DHCP scope identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
scope_id
The scope_id parameter is the DHCP scope identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcprange_id
The dhcprange_id parameter is the DHCP range identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
range_id
The range_id parameter is the DHCP range identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcprange_name
DHCP range name.
range_name
DHCP range name.
start_addr
DHCP range start address.
dhcprange_start_addr
DHCP range start address.
end_addr
DHCP range end address.
dhcprange_end_addr
DHCP range end address.
382
DHCPv4 Range
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
383
Chapter 30. DHCPv6 Range
384
DHCPv6 Range
Name
dhcp6_range6_add — Add/Edit a DHCPv6 range
Description
The service dhcp6_range6_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dhcp6_id
The dhcp6_id parameter is the DHCPv6 server identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcp6_name
DHCPv6 server name.
hostaddr
DHCPv6 server address.
dhcp6_addr
DHCPv6 server address.
dhcpscope6_name
DHCPv6 scope name.
dhcpscope6_id
The DHCPv6 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
scope6_id
The scope6_id parameter is the DHCPv6 scope identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcprange6_id
The DHCPv6 range identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
start_addr
DHCPv6 range start address.
dhcprange6_start_addr
DHCPv6 range start address.
end_addr
DHCPv6 range end address.
dhcprange6_end_addr
DHCPv6 range end address.
failover_name
DHCPv6 failover name.
dhcprange6_failover_name
DHCPv6 failover name.
385
DHCPv6 Range
acl
DHCPv6 range acl.
dhcprange6_acl
DHCPv6 range acl.
dhcprange6_class_name
The dhcprange6_class_name is the name of the file class that will used for this object. The
name of dhcprange6_class_name must include the directory of the class. The global and
default class names are reserved by the system and must never be used. For example a
dhcprange6_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcpscope6_class_parameters
The dhcpscope6_class_parameters parameter is a data container used to store your custom-
ized meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcpscope6_class_parameters parameter accepts several
meta-data va l u e s set in the fo l l ow i n g URL style fo r m a t :
metadata1=value1&metadata2=value2&. To be accepted by dhcpscope6_class_parameters
parameter the URL value must be encoded in URL format (see RFC 3986).
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
norefresh_server
internal use.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
386
DHCPv6 Range
Name
dhcp6_range6_count — Number of DHCPv6 ranges
Description
The service dhcp6_range6_count allows to display the number of DHCPv6 ranges.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
387
DHCPv6 Range
Name
dhcp6_range6_list — List the DHCPv6 ranges
Description
The service dhcp6_range6_list allows to list entries from SOLIDserver database. To execute this
service, users must be granted permission to use it. The rows returned to the user running the
service depend on the resources granted to the group they belong to. The WHERE input para-
meter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcprange6_id
The DHCPv6 range identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
388
DHCPv6 Range
delayed_time
Not documented.
dhcpscope6_id
The DHCPv6 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcprange6_start_ip6_addr
Not documented.
dhcprange6_end_ip6_addr
Not documented.
dhcp6_id
Not documented.
dhcp6_type
Not documented.
dhcp6_name
Not documented.
vdhcp6_parent_id
Not documented.
dhcpscope6_name
Not documented.
dhcpscope6_start_ip6_addr
Not documented.
dhcpscope6_end_ip6_addr
Not documented.
dhcpscope6_size
Not documented.
dhcpscope6_prefix
Not documented.
dhcprange6_failover_name
Not documented.
dhcprange6_state
Not documented.
dhcprange6_class_name
The dhcprange6_class_name is the name of the file class that will used for this object. The
name of dhcprange6_class_name must include the directory of the class. The global and
default class names are reserved by the system and must never be used. For example a
dhcprange6_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcprange6_class_parameters
The dhcprange6_class_parameters parameter is a data container used to store your custom-
ized meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcprange6_class_parameters parameter accepts several
meta-data va l u e s set in the fo l l ow i n g URL style fo r m a t :
metadata1=value1&metadata2=value2&. To be accepted by dhcprange6_class_parameters
parameter the URL value must be encoded in URL format (see RFC 3986).
dhcprange6_lease_count
Not documented.
389
DHCPv6 Range
dhcprange6_size
Not documented.
dhcprange6_acl
Not documented.
dhcpsn6_id
Not documented.
dhcpsn6_name
Not documented.
vdhcp6_parent_name
Not documented.
dhcp6_comment
Not documented.
dhcpscope6_class_name
The dhcpscope6_class_name is the name of the file class that will used for this object. The
name of dhcpscope6_class_name must include the directory of the class. The global and
default class names are reserved by the system and must never be used. For example a
dhcpscope6_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcp6_class_name
The dhcp6_class_name is the name of the file class that will used for this object. The name
of dhcp6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp6_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp6_version
Not documented.
390
DHCPv6 Range
Name
dhcp6_range6_info — Display the properties of a DHCPv6 range
Description
The service dhcp6_range6_info returns the information on the object specified in input.
Input Parameters
dhcprange6_id
The DHCPv6 range identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcprange6_id
Not documented.
delayed_time
Not documented.
dhcpscope6_id
The DHCPv6 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcprange6_start_ip6_addr
Not documented.
dhcprange6_end_ip6_addr
Not documented.
dhcp6_id
Not documented.
dhcp6_type
Not documented.
dhcp6_name
Not documented.
vdhcp6_parent_id
Not documented.
dhcpscope6_name
Not documented.
dhcpscope6_start_ip6_addr
Not documented.
dhcpscope6_end_ip6_addr
Not documented.
dhcpscope6_size
Not documented.
dhcpscope6_prefix
Not documented.
391
DHCPv6 Range
dhcprange6_failover_name
Not documented.
dhcprange6_state
Not documented.
dhcprange6_class_name
The dhcprange6_class_name is the name of the file class that will used for this object. The
name of dhcprange6_class_name must include the directory of the class. The global and
default class names are reserved by the system and must never be used. For example a
dhcprange6_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcprange6_class_parameters
The dhcprange6_class_parameters parameter is a data container used to store your custom-
ized meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcprange6_class_parameters parameter accepts several
meta-data va l u e s set in the fo l l ow i n g URL style fo r m a t :
metadata1=value1&metadata2=value2&. To be accepted by dhcprange6_class_parameters
parameter the URL value must be encoded in URL format (see RFC 3986).
dhcprange6_lease_count
Not documented.
dhcprange6_size
Not documented.
dhcprange6_acl
Not documented.
dhcpsn6_id
Not documented.
dhcpsn6_name
Not documented.
vdhcp6_parent_name
Not documented.
dhcp6_comment
Not documented.
dhcpscope6_class_name
The dhcpscope6_class_name is the name of the file class that will used for this object. The
name of dhcpscope6_class_name must include the directory of the class. The global and
default class names are reserved by the system and must never be used. For example a
dhcpscope6_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcp6_class_name
The dhcp6_class_name is the name of the file class that will used for this object. The name
of dhcp6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp6_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp6_version
Not documented.
392
DHCPv6 Range
Name
dhcp6_range6_options6_list — List the DHCP options set on a DHCPv6 range
Description
The service dhcp6_range6_options6_list allows to list entries from SOLIDserver database. To
execute this service, users must be granted permission to use it. The rows returned to the user
running the service depend on the resources granted to the group they belong to. The WHERE
input parameter allows to filter the returned rows.
Input Parameters
dhcprange6_id
The DHCPv6 range identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
393
DHCPv6 Range
Name
dhcp6_range6_delete — Delete a DHCPv6 range
Description
The service dhcp6_range6_delete allows to delete SOLIDserver database object. The service
dhcp6_range6_delete needs to identify the object to delete with the input parameters detailed in
the next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
dhcp6_id
The dhcp6_id parameter is the DHCPv6 server identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcp6_name
DHCPv6 server name.
hostaddr
DHCPv6 server address.
dhcp6_addr
DHCPv6 server address.
dhcpscope6_id
The DHCPv6 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
scope6_id
The scope6_id parameter is the DHCPv6 scope identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcprange6_id
The DHCPv6 range identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
range6_id
The range6_id parameter is the DHCPv6 range identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
start6_addr
DHCPv6 range start address.
dhcprange6_start_addr
DHCPv6 range start address.
end6_addr
DHCPv6 range end address.
dhcprange6_end_addr
DHCPv6 range end address.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
394
Chapter 31. DHCPv4 Lease
395
DHCPv4 Lease
Name
dhcp_range_lease_count — Number of DHCPv4 leases
Description
The service dhcp_range_lease_count allows to display the number of DHCPv4 leases.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
396
DHCPv4 Lease
Name
dhcp_range_lease_list — List the DHCPv4 leases
Description
The service dhcp_range_lease_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcplease_remote_id
DHCP lease remote id.
397
DHCPv4 Lease
dhcplease_circuit_id
DHCP lease circuit id.
mac_vendor
Not documented.
dhcplease_id
The dhcplease_id parameter is the DHCP lease identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcplease_addr
DHCP lease address.
dhcplease_ip_addr
Not documented.
dhcplease_mac_addr
DHCP lease mac address.
dhcplease_client_ident
DHCP lease client identifier.
dhcplease_time
DHCP lease time.
dhcplease_end_time
DHCP lease end time.
dhcplease_period
Not documented.
percent
Not documented.
time_to_expire
Not documented.
dhcplease_name
DHCP lease name.
dhcplease_clientname
DHCP lease clientname.
dhcpscope_id
The dhcpscope_id parameter is the DHCP scope identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcprange_id
The dhcprange_id parameter is the DHCP range identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcplease_domain
DHCP lease domain.
dhcprange_name
DHCP range name.
dhcprange_start_addr
DHCP range start address.
dhcprange_end_addr
DHCP range end address.
dhcpscope_name
DHCP scope name.
398
DHCPv4 Lease
dhcpscope_size
Not documented.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
dhcp_type
DHCP server type.
vdhcp_parent_id
Not documented.
vdhcp_parent_namek
Not documented.
dhcprange_failover_name
DHCP failover name.
dhcprange_class_name
The dhcprange_class_name is the name of the file class that will used for this object. The
name of dhcprange_class_name must include the directory of the class.The global and default
class names are reserved by the system and must never be used. For example a dhc-
prange_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcpscope_class_name
The dhcpscope_class_name is the name of the file class that will used for this object. The
name of dhcpscope_class_name must include the directory of the class.The global and default
class names are reserved by the system and must never be used. For example a dhcp-
scope_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcp_class_name
The dhcp_class_name is the name of the file class that will used for this object. The name
of dhcp_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp_class_name
parameter could be set to: my_favorite_dir/my_class.class.
vdhcp_parent_name
Not documented.
dhcp_version
Not documented.
ip_addr
IP address.
399
DHCPv4 Lease
Name
dhcp_range_lease_info — Display the properties of a DHCPv4 lease
Description
The service dhcp_range_lease_info returns the information on the object specified in input.
Input Parameters
dhcplease_id
The dhcplease_id parameter is the DHCP lease identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcplease_remote_id
DHCP lease remote id.
dhcplease_circuit_id
DHCP lease circuit id.
mac_vendor
Not documented.
dhcplease_id
The dhcplease_id parameter is the DHCP lease identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcplease_addr
DHCP lease address.
dhcplease_ip_addr
Not documented.
dhcplease_mac_addr
DHCP lease mac address.
dhcplease_client_ident
DHCP lease client identifier.
dhcplease_time
DHCP lease time.
dhcplease_end_time
DHCP lease end time.
dhcplease_period
Not documented.
percent
Not documented.
time_to_expire
Not documented.
dhcplease_name
DHCP lease name.
400
DHCPv4 Lease
dhcplease_clientname
DHCP lease clientname.
dhcpscope_id
The dhcpscope_id parameter is the DHCP scope identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcprange_id
The dhcprange_id parameter is the DHCP range identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcplease_domain
DHCP lease domain.
dhcprange_name
DHCP range name.
dhcprange_start_addr
DHCP range start address.
dhcprange_end_addr
DHCP range end address.
dhcpscope_name
DHCP scope name.
dhcpscope_size
Not documented.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
dhcp_type
DHCP server type.
vdhcp_parent_id
Not documented.
vdhcp_parent_namek
Not documented.
dhcprange_failover_name
DHCP failover name.
dhcprange_class_name
The dhcprange_class_name is the name of the file class that will used for this object. The
name of dhcprange_class_name must include the directory of the class.The global and default
class names are reserved by the system and must never be used. For example a dhc-
prange_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcpscope_class_name
The dhcpscope_class_name is the name of the file class that will used for this object. The
name of dhcpscope_class_name must include the directory of the class.The global and default
class names are reserved by the system and must never be used. For example a dhcp-
scope_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcp_class_name
The dhcp_class_name is the name of the file class that will used for this object. The name
of dhcp_class_name must include the directory of the class. The global and default class
401
DHCPv4 Lease
names are reserved by the system and must never be used. For example a dhcp_class_name
parameter could be set to: my_favorite_dir/my_class.class.
vdhcp_parent_name
Not documented.
dhcp_version
Not documented.
ip_addr
IP address.
402
DHCPv4 Lease
Name
dhcp_lease_log_count — Number of DHCPv4 lease logs
Description
The service dhcp_lease_log_count allows to display the number of DHCPv4 lease log entries,
the data of the page Leases tracking in SOLIDserver GUI. The WHERE input parameter allows
to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
403
DHCPv4 Lease
Name
dhcp_lease_log_list — List the DHCPv4 leases logs
Description
The service dhcp_lease_log_list allows to list the DHCPv4 lease log entries, the data of the page
Leases tracking in SOLIDserver GUI. The WHERE input parameter allows to filter the returned
rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcp_name
DHCP server name.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_type
DHCP server type.
404
DHCPv4 Lease
vdhcp_parent_id
Not documented.
histo_time
Not documented.
histo_last_time
Not documented.
dhcplease_period
Not documented.
histo_state
Not documented.
dhcplease_addr
DHCP lease address.
dhcplease_ip_addr
Not documented.
mac_addr
IP address MAC address.
domain
Not documented.
name
Rule name.
dhcplease_id
The dhcplease_id parameter is the DHCP lease identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcplease_histo_id
Not documented.
405
DHCPv4 Lease
Name
dhcp_lease_delete — Delete a DHCPv4 lease
Description
The service dhcp_lease_delete allows to delete DHCPv4 leases from the database. You must
specify the lease to delete in the input.
Standard users, can only delete objects listed among their group resources, if and only if the
group they belong is granted the permission to execute the object deletion service. If you do not
have sufficient rights to execute the service, refer to the part Rights Management of the Adminis-
trator Guide, in the chapter Managing Groups.
Input Parameters
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
hostaddr
DHCP server address.
dhcp_addr
DHCP server address.
lease_id
The lease_id parameter is the DHCP lease identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcplease_id
The dhcplease_id parameter is the DHCP lease identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
lease_addr
DHCP lease address.
dhcplease_addr
DHCP lease address.
lease_mac_addr
DHCP lease mac address.
dhcplease_mac_addr
DHCP lease mac address.
lease_client_ident
DHCP lease client identifier.
dhcplease_client_ident
DHCP lease client identifier.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
406
DHCPv4 Lease
Name
dhcp_lease_manual_delete — Release a DHCPv4 lease
Description
The service dhcp_lease_manual_delete allows to delete SOLIDserver database object. The
service dhcp_lease_manual_delete needs to identify the object to delete with the input parameters
detailed in the next section. This service will be executed if the connected user running this service
is allowed to delete the concerned object
Input Parameters
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
dhcplease_id
The dhcplease_id parameter is the DHCP lease identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcplease_addr
DHCP IP address.
lease_addr
DHCP IP address.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
407
Chapter 32. DHCPv6 Lease
408
DHCPv6 Lease
Name
dhcp6_lease6_count — Number of DHCPv6 leases
Description
The service dhcp6_lease6_count allows to display the number of DHCPv6 leases.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
409
DHCPv6 Lease
Name
dhcp6_lease6_list — List the DHCPv6 leases
Description
The service dhcp6_lease6_list allows to list entries from SOLIDserver database. To execute this
service, users must be granted permission to use it. The rows returned to the user running the
service depend on the resources granted to the group they belong to. The WHERE input para-
meter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcplease6_remote_id
Not documented.
410
DHCPv6 Lease
dhcplease6_circuit_id
Not documented.
mac_vendor
Not documented.
dhcplease6_id
Not documented.
dhcplease6_ip6_addr
Not documented.
dhcplease6_mac_addr
Not documented.
dhcplease6_client_ident
Not documented.
dhcplease6_time
Not documented.
dhcplease6_end_time
Not documented.
dhcplease6_period
Not documented.
percent
Not documented.
time_to_expire
Not documented.
dhcplease6_name
Not documented.
dhcplease6_clientname
Not documented.
dhcpscope6_id
The DHCPv6 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcprange6_id
The DHCPv6 range identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcplease6_domain
Not documented.
dhcprange6_start_ip6_addr
Not documented.
dhcprange6_end_ip6_addr
Not documented.
dhcpscope6_name
Not documented.
dhcpscope6_size
Not documented.
dhcp6_id
Not documented.
411
DHCPv6 Lease
dhcp6_name
Not documented.
dhcp6_type
Not documented.
vdhcp6_parent_id
Not documented.
vdhcp6_parent_name
Not documented.
dhcprange6_failover_name
Not documented.
dhcprange6_class_name
The dhcprange6_class_name is the name of the file class that will used for this object. The
name of dhcprange6_class_name must include the directory of the class. The global and
default class names are reserved by the system and must never be used. For example a
dhcprange6_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcpscope6_class_name
The dhcpscope6_class_name is the name of the file class that will used for this object. The
name of dhcpscope6_class_name must include the directory of the class. The global and
default class names are reserved by the system and must never be used. For example a
dhcpscope6_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcp6_class_name
The dhcp6_class_name is the name of the file class that will used for this object. The name
of dhcp6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp6_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp6_version
Not documented.
ip6_addr
IP6 address.
412
DHCPv6 Lease
Name
dhcp6_lease6_info — Display the properties of a DHCPv6 lease
Description
The service dhcp6_lease6_info returns the information on the object specified in input.
Input Parameters
dhcplease6_id
Not documented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcplease6_remote_id
Not documented.
dhcplease6_circuit_id
Not documented.
mac_vendor
Not documented.
dhcplease6_id
Not documented.
dhcplease6_ip6_addr
Not documented.
dhcplease6_mac_addr
Not documented.
dhcplease6_client_ident
Not documented.
dhcplease6_time
Not documented.
dhcplease6_end_time
Not documented.
dhcplease6_period
Not documented.
percent
Not documented.
time_to_expire
Not documented.
dhcplease6_name
Not documented.
dhcplease6_clientname
Not documented.
413
DHCPv6 Lease
dhcpscope6_id
The DHCPv6 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcprange6_id
The DHCPv6 range identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcplease6_domain
Not documented.
dhcprange6_start_ip6_addr
Not documented.
dhcprange6_end_ip6_addr
Not documented.
dhcpscope6_name
Not documented.
dhcpscope6_size
Not documented.
dhcp6_id
Not documented.
dhcp6_name
Not documented.
dhcp6_type
Not documented.
vdhcp6_parent_id
Not documented.
vdhcp6_parent_name
Not documented.
dhcprange6_failover_name
Not documented.
dhcprange6_class_name
The dhcprange6_class_name is the name of the file class that will used for this object. The
name of dhcprange6_class_name must include the directory of the class. The global and
default class names are reserved by the system and must never be used. For example a
dhcprange6_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcpscope6_class_name
The dhcpscope6_class_name is the name of the file class that will used for this object. The
name of dhcpscope6_class_name must include the directory of the class. The global and
default class names are reserved by the system and must never be used. For example a
dhcpscope6_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcp6_class_name
The dhcp6_class_name is the name of the file class that will used for this object. The name
of dhcp6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp6_class_name
parameter could be set to: my_favorite_dir/my_class.class.
dhcp6_version
Not documented.
414
DHCPv6 Lease
ip6_addr
IP6 address.
415
DHCPv6 Lease
Name
dhcp6_lease6_log_count — Number of DHCPv6 lease logs
Description
The service dhcp6_lease6_log_count allows to display the number of DHCPv6 lease log entries,
the data of the page Leases tracking in SOLIDserver GUI. The WHERE input parameter allows
to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
416
DHCPv6 Lease
Name
dhcp6_lease6_log_list — List the DHCPv6 leases logs
Description
The service dhcp6_lease6_log_list allows to list the DHCPv6 lease log entries, the data of the
page Leases tracking in SOLIDserver GUI. The WHERE input parameter allows to filter the re-
turned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcp6_name
Not documented.
dhcp6_id
Not documented.
dhcp6_type
Not documented.
417
DHCPv6 Lease
vdhcp6_parent_id
Not documented.
histo_time
Not documented.
histo_last_time
Not documented.
dhcplease6_period
Not documented.
histo_state
Not documented.
dhcplease6_ip6_addr
Not documented.
mac_addr
IP address MAC address.
domain
Not documented.
name
Rule name.
dhcplease6_id
Not documented.
dhcplease6_histo_id
Not documented.
418
DHCPv6 Lease
Name
dhcp6_lease6_delete — Delete a DHCPv6 lease
Description
The service dhcp6_lease6_delete allows to delete DHCPv6 leases from the database. You must
specify the lease to delete in the input.
Standard users, can only delete objects listed among their group resources, if and only if the
group they belong is granted the permission to execute the object deletion service. If you do not
have sufficient rights to execute the service, refer to the part Rights Management of the Adminis-
trator Guide, in the chapter Managing Groups.
Input Parameters
dhcp6_id
The dhcp6_id parameter is the DHCPv6 server identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcp6_name
DHCPv6 server name.
hostaddr
DHCPv6 server address.
dhcp6_addr
DHCPv6 server address.
lease6_id
The lease6_id parameter is the DHCPv6 lease identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcplease6_id
The dhcplease6_id parameter is the DHCPv6 lease identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
lease6_addr
DHCPv6 lease address.
dhcplease6_addr
DHCPv6 lease address.
lease6_mac_addr
DHCPv6 lease mac address.
dhcplease6_mac_addr
DHCPv6 lease mac address.
lease6_client_ident
DHCPv6 lease client identifier.
dhcplease6_client_ident
DHCPv6 lease client identifier.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
419
DHCPv6 Lease
Name
dhcp6_lease6_manual_delete — Release a DHCPv6 lease
Description
The service dhcp6_lease6_manual_delete allows to delete SOLIDserver database object. The
service dhcp6_lease6_manual_delete needs to identify the object to delete with the input para-
meters detailed in the next section. This service will be executed if the connected user running
this service is allowed to delete the concerned object
Input Parameters
dhcp6_id
The dhcp6_id parameter is the DHCPv6 server identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcp6_name
DHCPv6 server name.
dhcplease6_id
The dhcplease6_id parameter is the DHCPv6 lease identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcplease6_addr
DHCPv6 IP address.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
420
Chapter 33. DHCPv4 Static
421
DHCPv4 Static
Name
dhcp_static_add — Add/Edit a DHCPv4 static
Description
The service dhcp_static_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to.
Input Parameters
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
hostaddr
DHCP server address.
dhcp_addr
DHCP server address.
ip_id
The DHCP server IP address identifier (ID). This identifier is a unique numeric key value that
is automatically incremented.
dhcp_ip_id
The dhcp_ip_id parameter is the DHCP server address identifier (ID). This identifier is a
unique numeric key value that is automatically incremented.
static_id
The static_id parameter is the DHCP static identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcphost_id
The dhcphost_id parameter is the DHCP static identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
static_name
DHCP static name.
dhcphost_name
DHCP static name.
static_ip_addr
DHCP static address.
static_addr
DHCP static address.
dhcphost_addr
DHCP static address.
422
DHCPv4 Static
static_mac_addr
DHCP static mac address.
dhcphost_mac_addr
DHCP static mac address.
dhcpgroup_id
The dhcpgroup_id parameter is the DHCP group identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpgroup_name
DHCP group name.
dhcpstatic_class_name
The dhcpstatic_class_name is the name of the file class that will used for this object. The
name of dhcpstatic_class_name must include the directory of the class.The global and default
class names are reserved by the system and must never be used. For example a dhcpstat-
ic_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcphost_class_name
The dhcphost_class_name is the name of the file class that will used for this object. The
name of dhcphost_class_name must include the directory of the class. The global and default
class names are reserved by the system and must never be used. For example a dhc-
phost_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcpstatic_class_parameters
The dhcpstatic_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcpstatic_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by dhcpstatic_class_parameters parameter the URL value must be encoded
in URL format (see RFC 3986).
dhcphost_class_parameters
The dhcphost_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcphost_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by dhcphost_class_parameters parameter the URL value must be encoded
in URL format (see RFC 3986).
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
norefresh_server
internal use.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
check
Run check-rules.
423
DHCPv4 Static
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
424
DHCPv4 Static
Name
dhcp_static_count — Number of DHCPv4 statics
Description
The service dhcp_static_count allows to display the number of DHCPv4 statics.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
425
DHCPv4 Static
Name
dhcp_static_list — List the DHCPv4 statics
Description
The service dhcp_static_list allows to list entries from SOLIDserver database. To execute this
service, users must be granted permission to use the service dhcp_static_list. The rows returned
to the user running the service depend on the resources granted to the group they belong to.
The WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcphost_time
Not documented.
426
DHCPv4 Static
dhcphost_end_time
Not documented.
dhcpscope_row_enabled
Not documented.
dhcpscope_start_ip_addr
Not documented.
dhcpscope_end_ip_addr
Not documented.
dhcpscope_net_mask
DHCP scope netmask.
dhcpscope_net_addr
DHCP scope address.
mac_vendor
Not documented.
dhcphost_id
The dhcphost_id parameter is the DHCP static identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcphost_mac_addr
DHCP static mac address.
dhcphost_addr
DHCP static address.
dhcphost_ip_addr
Not documented.
dhcphost_name
DHCP static name.
dhcphost_domain
Not documented.
dhcp_name
DHCP server name.
dhcp_type
DHCP server type.
vdhcp_parent_id
Not documented.
dhcphost_state
Not documented.
dhcpscope_id
The dhcpscope_id parameter is the DHCP scope identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpscope_name
DHCP scope name.
delayed_create_time
Not documented.
427
DHCPv4 Static
dhcpscope_size
Not documented.
dhcpscope_site_id
The dhcpscope_site_id parameter is the DHCP Scope space identifier (ID). This identifier is
a unique numeric key value that is automatically incremented.
delayed_delete_time
Not documented.
dhcpgroup_id
The dhcpgroup_id parameter is the DHCP group identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpgroup_name
DHCP group name.
dhcphost_class_name
The dhcphost_class_name is the name of the file class that will used for this object. The
name of dhcphost_class_name must include the directory of the class. The global and default
class names are reserved by the system and must never be used. For example a dhc-
phost_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcphost_class_parameters
The dhcphost_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcphost_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by dhcphost_class_parameters parameter the URL value must be encoded
in URL format (see RFC 3986).
vdhcp_parent_name
Not documented.
dhcpscope_class_name
The dhcpscope_class_name is the name of the file class that will used for this object. The
name of dhcpscope_class_name must include the directory of the class.The global and default
class names are reserved by the system and must never be used. For example a dhcp-
scope_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcp_class_name
The dhcp_class_name is the name of the file class that will used for this object. The name
of dhcp_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp_class_name
parameter could be set to: my_favorite_dir/my_class.class.
428
DHCPv4 Static
Name
dhcp_static_info — Display the properties of a DHCPv4 static
Description
The service dhcp_static_info returns the information on the object specified in input.
Input Parameters
dhcpstatic_id
Not documented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcphost_time
Not documented.
dhcphost_end_time
Not documented.
dhcpscope_row_enabled
Not documented.
dhcpscope_start_ip_addr
Not documented.
dhcpscope_end_ip_addr
Not documented.
dhcpscope_net_mask
DHCP scope netmask.
dhcpscope_net_addr
DHCP scope address.
mac_vendor
Not documented.
dhcphost_id
The dhcphost_id parameter is the DHCP static identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcphost_mac_addr
DHCP static mac address.
dhcphost_addr
DHCP static address.
dhcphost_ip_addr
Not documented.
dhcphost_name
DHCP static name.
429
DHCPv4 Static
dhcphost_domain
Not documented.
dhcp_name
DHCP server name.
dhcp_type
DHCP server type.
vdhcp_parent_id
Not documented.
dhcphost_state
Not documented.
dhcpscope_id
The dhcpscope_id parameter is the DHCP scope identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpscope_name
DHCP scope name.
delayed_create_time
Not documented.
dhcpscope_size
Not documented.
dhcpscope_site_id
The dhcpscope_site_id parameter is the DHCP Scope space identifier (ID). This identifier is
a unique numeric key value that is automatically incremented.
delayed_delete_time
Not documented.
dhcpgroup_id
The dhcpgroup_id parameter is the DHCP group identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpgroup_name
DHCP group name.
dhcphost_class_name
The dhcphost_class_name is the name of the file class that will used for this object. The
name of dhcphost_class_name must include the directory of the class. The global and default
class names are reserved by the system and must never be used. For example a dhc-
phost_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcphost_class_parameters
The dhcphost_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcphost_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by dhcphost_class_parameters parameter the URL value must be encoded
in URL format (see RFC 3986).
vdhcp_parent_name
Not documented.
dhcpscope_class_name
The dhcpscope_class_name is the name of the file class that will used for this object. The
name of dhcpscope_class_name must include the directory of the class.The global and default
430
DHCPv4 Static
class names are reserved by the system and must never be used. For example a dhcp-
scope_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcp_class_name
The dhcp_class_name is the name of the file class that will used for this object. The name
of dhcp_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp_class_name
parameter could be set to: my_favorite_dir/my_class.class.
431
DHCPv4 Static
Name
dhcp_static_options_list — List the DHCP options set on a DHCPv4 static
Description
The service dhcp_static_options_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use the service dhcp_static_options_list. The
rows returned to the user running the service depend on the resources granted to the group they
belong to. The WHERE input parameter allows to filter the returned rows.
Input Parameters
dhcpstatic_id
Not documented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
432
DHCPv4 Static
Name
dhcp_static_delete — Delete a DHCPv4 static
Description
The service dhcp_static_delete allows to delete SOLIDserver database object. The service dh-
cp_static_delete needs to identify the object to delete with the input parameters detailed in the
next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
hostaddr
DHCP server address.
dhcp_addr
DHCP server address.
dhcpscope_id
The dhcpscope_id parameter is the DHCP scope identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
scope_id
The scope_id parameter is the DHCP scope identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcphost_id
The dhcphost_id parameter is the DHCP static identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
static_id
The static_id parameter is the DHCP static identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcphost_name
DHCP static name.
static_name
DHCP static name.
dhcphost_mac_addr
DHCP static mac address.
static_mac_addr
DHCP static mac address.
dhcphost_addr
DHCP static address.
static_addr
DHCP static address.
433
DHCPv4 Static
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
434
Chapter 34. DHCPv6 Static
435
DHCPv6 Static
Name
dhcp6_static6_add — Add/Edit a DHCPv6 static
Description
The service dhcp6_static6_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dhcp6_id
The dhcp6_id parameter is the DHCPv6 server identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcp6_name
DHCPv6 server name.
hostaddr
DHCPv6 server address.
dhcp6_addr
DHCPv6 server address.
ip6_id
The ip6_id parameter is the DHCPv6 server address identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcp6_ip6_id
The dhcp6_ip6_id parameter is the DHCPv6 server address identifier (ID). This identifier is
a unique numeric key value that is automatically incremented.
static6_id
The static6_id parameter is the DHCPv6 static identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcphost6_id
The dhcphost6_id parameter is the DHCPv6 static identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
static6_name
DHCPv6 static name.
dhcphost6_name
DHCPv6 static name.
static6_ip_addr
DHCPv6 static address.
static6_addr
DHCPv6 static address.
dhcphost6_addr
DHCPv6 static address.
436
DHCPv6 Static
static6_mac_addr
DHCPv6 static mac address.
dhcphost6_mac_addr
DHCPv6 static mac address.
dhcpgroup6_id
The dhcpgroup6_id parameter is the DHCPv6 group identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpgroup6_name
DHCPv6 group name.
dhcpstatic6_class_name
The dhcpstatic6_class_name is the name of the file class that will used for this object. The
name of dhcpstatic6_class_name must include the directory of the class. The global and
default class names are reserved by the system and must never be used. For example a
dhcpstatic6_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcphost6_class_name
The dhcphost6_class_name is the name of the file class that will used for this object. The
name of dhcphost6_class_name must include the directory of the class.The global and default
class names are reserved by the system and must never be used. For example a dhc-
phost6_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcpstatic6_class_parameters
The dhcpstatic6_class_parameters parameter is a data container used to store your custom-
ized meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcpstatic6_class_parameters parameter accepts several
meta-data va l u e s set in the fo l l ow i n g URL style fo r m a t :
metadata1=value1&metadata2=value2&. To be accepted by dhcpstatic6_class_parameters
parameter the URL value must be encoded in URL format (see RFC 3986).
dhcphost6_class_parameters
The dhcphost6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcphost6_class_parameters parameter accepts several
meta-data va l u e s set in the fo l l ow i n g URL style fo r m a t :
metadata1=value1&metadata2=value2&. To be accepted by dhcphost6_class_parameters
parameter the URL value must be encoded in URL format (see RFC 3986).
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
norefresh_server
internal use.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
check
Run check-rules.
437
DHCPv6 Static
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
438
DHCPv6 Static
Name
dhcp6_static6_count — Number of DHCPv6 statics
Description
The service dhcp6_static6_count allows to display the number of DHCPv6 statics.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
439
DHCPv6 Static
Name
dhcp6_static6_list — List the DHCPv6 statics
Description
The service dhcp6_static6_list allows to list entries from SOLIDserver database. To execute this
service, users must be granted permission to use the service dhcp6_static6_list.The rows returned
to the user running the service depend on the resources granted to the group they belong to.
The WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcphost6_time
Not documented.
440
DHCPv6 Static
dhcphost6_end_time
Not documented.
dhcpscope6_row_enabled
Not documented.
dhcpscope6_start_ip6_addr
Not documented.
dhcpscope6_end_ip6_addr
Not documented.
mac_vendor
Not documented.
dhcphost6_id
Not documented.
dhcp6_id
Not documented.
dhcphost6_mac_addr
Not documented.
dhcphost6_ip6_addr
Not documented.
dhcphost6_name
Not documented.
dhcphost6_domain
Not documented.
dhcp6_name
Not documented.
dhcp6_type
Not documented.
vdhcp6_parent_id
Not documented.
dhcphost6_state
Not documented.
dhcpscope6_id
The DHCPv6 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcpscope6_name
Not documented.
dhcpscope6_size
Not documented.
dhcpscope6_site_id
Not documented.
delayed_time
Not documented.
dhcpgroup6_id
Not documented.
dhcpgroup6_name
Not documented.
441
DHCPv6 Static
dhcphost6_class_name
The dhcphost6_class_name is the name of the file class that will used for this object. The
name of dhcphost6_class_name must include the directory of the class.The global and default
class names are reserved by the system and must never be used. For example a dhc-
phost6_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcphost6_class_parameters
The dhcphost6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcphost6_class_parameters parameter accepts several
meta-data va l u e s set in the fo l l ow i n g URL style fo r m a t :
metadata1=value1&metadata2=value2&. To be accepted by dhcphost6_class_parameters
parameter the URL value must be encoded in URL format (see RFC 3986).
vdhcp6_parent_name
Not documented.
dhcpscope6_class_name
The dhcpscope6_class_name is the name of the file class that will used for this object. The
name of dhcpscope6_class_name must include the directory of the class. The global and
default class names are reserved by the system and must never be used. For example a
dhcpscope6_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcp6_class_name
The dhcp6_class_name is the name of the file class that will used for this object. The name
of dhcp6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp6_class_name
parameter could be set to: my_favorite_dir/my_class.class.
442
DHCPv6 Static
Name
dhcp6_static6_info — Display the properties of a DHCPv6 static
Description
The service dhcp6_static6_info returns the information on the object specified in input.
Input Parameters
dhcpstatic6_id
Not documented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcphost6_time
Not documented.
dhcphost6_end_time
Not documented.
dhcpscope6_row_enabled
Not documented.
dhcpscope6_start_ip6_addr
Not documented.
dhcpscope6_end_ip6_addr
Not documented.
mac_vendor
Not documented.
dhcphost6_id
Not documented.
dhcp6_id
Not documented.
dhcphost6_mac_addr
Not documented.
dhcphost6_ip6_addr
Not documented.
dhcphost6_name
Not documented.
dhcphost6_domain
Not documented.
dhcp6_name
Not documented.
dhcp6_type
Not documented.
vdhcp6_parent_id
Not documented.
443
DHCPv6 Static
dhcphost6_state
Not documented.
dhcpscope6_id
The DHCPv6 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcpscope6_name
Not documented.
dhcpscope6_size
Not documented.
dhcpscope6_site_id
Not documented.
delayed_time
Not documented.
dhcpgroup6_id
Not documented.
dhcpgroup6_name
Not documented.
dhcphost6_class_name
The dhcphost6_class_name is the name of the file class that will used for this object. The
name of dhcphost6_class_name must include the directory of the class.The global and default
class names are reserved by the system and must never be used. For example a dhc-
phost6_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcphost6_class_parameters
The dhcphost6_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dhcphost6_class_parameters parameter accepts several
meta-data va l u e s set in the fo l l ow i n g URL style fo r m a t :
metadata1=value1&metadata2=value2&. To be accepted by dhcphost6_class_parameters
parameter the URL value must be encoded in URL format (see RFC 3986).
vdhcp6_parent_name
Not documented.
dhcpscope6_class_name
The dhcpscope6_class_name is the name of the file class that will used for this object. The
name of dhcpscope6_class_name must include the directory of the class. The global and
default class names are reserved by the system and must never be used. For example a
dhcpscope6_class_name parameter could be set to: my_favorite_dir/my_class.class.
dhcp6_class_name
The dhcp6_class_name is the name of the file class that will used for this object. The name
of dhcp6_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a dhcp6_class_name
parameter could be set to: my_favorite_dir/my_class.class.
444
DHCPv6 Static
Name
dhcp6_static6_options6_list — List the DHCP options set on a DHCPv6 static
Description
The service dhcp6_static6_options6_list allows to list entries from SOLIDserver database. To
execute this service, users must be granted permission to use the service dhcp6_static6_op-
tions6_list. The rows returned to the user running the service depend on the resources granted
to the group they belong to. The WHERE input parameter allows to filter the returned rows.
Input Parameters
dhcpstatic6_id
Not documented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
445
DHCPv6 Static
Name
dhcp6_static6_delete — Delete a DHCPv6 static
Description
The service dhcp6_static6_delete allows to delete SOLIDserver database object. The service
dhcp6_static6_delete needs to identify the object to delete with the input parameters detailed in
the next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
dhcp6_id
The dhcp6_id parameter is the DHCPv6 server identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcp6_name
DHCPv6 server name.
hostaddr
DHCPv6 server address.
dhcp6_addr
DHCPv6 server address.
dhcpscope6_id
The DHCPv6 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
scope6_id
The scope6_id parameter is the DHCPv6 scope identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcphost6_id
The dhcphost6_id parameter is the DHCPv6 static identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
static6_id
The static6_id parameter is the DHCPv6 static identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcphost6_name
DHCPv6 static name.
static6_name
DHCPv6 static name.
dhcphost6_mac_addr
DHCPv6 static mac address.
static6_mac_addr
DHCPv6 static mac address.
dhcphost6_addr
DHCPv6 static address.
static6_addr
DHCPv6 static address.
446
DHCPv6 Static
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
447
Chapter 35. DHCPv4 Options
448
DHCPv4 Options
Name
dhcp_option_add — Add/Edit/Delete a DHCP option on DHCPv4 objects
Description
The service dhcp_option_add allows to manage the DHCP options set on DHCPv4 objects, you
can add, edit and delete options via this service.
You must identify the DHCPv4 object to configure its options. Setting the value of an already
configured option edits it. During an edition, all the specified parameters update and complete
the existing object configuration. To remove an option, set its value to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to.
Input Parameters
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
hostaddr
DHCP server address.
dhcpscope_id
The dhcpscope_id parameter is the DHCP scope identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
scope_id
The scope_id parameter is the DHCP scope identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcpscope_name
DHCP scope name.
scope_name
DHCP scope name.
dhcprange_id
The dhcprange_id parameter is the DHCP range identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
range_id
The range_id parameter is the DHCP range identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcprange_name
DHCP range name.
range_name
DHCP range name.
dhcphost_id
The dhcphost_id parameter is the DHCP static identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
449
DHCPv4 Options
host_id
The host_id parameter is the DHCP static identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcphost_name
DHCP static name.
host_name
DHCP static name.
dhcpgroup_id
The dhcpgroup_id parameter is the DHCP group identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
group_id
The group_id parameter is the DHCP group identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcpgroup_name
DHCP group name.
group_name
DHCP group name.
dhcpacl_id
The dhcpacl_id parameter is the DHCP acl identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
acl_id
The acl_id parameter is the DHCP acl identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
dhcpacl_name
DHCP acl name.
acl_name
DHCP acl name.
dhcpacl_data_id
The dhcpacl_data_id parameter is the DHCP acl data identifier (ID).This identifier is a unique
numeric key value that is automatically incremented.
acl_data_id
The acl_data_id parameter is the DHCP acl data identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
acl_data_value
DHCP acl data value.
dhcpacl_data_name
DHCP acl data value.
acl_data_name
DHCP acl data value.
dhcpoption_name
DHCP option name.
option
DHCP option name.
dhcpoption_value
DHCP option value.
450
DHCPv4 Options
value
DHCP option value.
dhcpoption_type
DHCP option type.
option_type
DHCP option type.
norefresh_server
internal use.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
check
Run check-rules.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
451
Chapter 36. DHCPv6 Options
452
DHCPv6 Options
Name
dhcp6_option6_add — Add/Edit/Delete a DHCP option on DHCPv6 objects
Description
The service dhcp6_option6_add allows to manage the DHCP options set on DHCPv6 objects,
you can add, edit and delete options via this service.
You must identify the DHCPv6 object to configure its options. Setting the value of an already
configured option edits it. During an edition, all the specified parameters update and complete
the existing object configuration. To remove an option, set its value to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to.
Input Parameters
dhcp6_id
The DHCPv6 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp6_name
DHCPv6 server name.
hostaddr
DHCPv6 server address.
dhcpscope6_id
The DHCPv6 scope identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
scope6_id
The scope6_id parameter is the DHCPv6 scope identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcpscope6_name
DHCPv6 scope name.
scope6_name
DHCPv6 scope name.
dhcprange6_id
The DHCPv6 range identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
range6_id
The range6_id parameter is the DHCPv6 range identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcprange6_start_addr
DHCPv6 range start address.
dhcphost6_id
The dhcphost6_id parameter is the DHCPv6 static identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
host6_id
The host6_id parameter is the DHCPv6 static identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
453
DHCPv6 Options
dhcphost6_name
DHCPv6 static name.
host6_name
DHCPv6 static name.
dhcpgroup6_id
The dhcpgroup6_id parameter is the DHCPv6 group identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
group6_id
The group6_id parameter is the DHCPv6 group identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcpgroup6_name
DHCPv6 group name.
group6_name
DHCPv6 group name.
dhcpacl6_id
The dhcpacl6_id parameter is the DHCPv6 acl identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
acl6_id
The acl6_id parameter is the DHCPv6 acl identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcpacl6_name
DHCPv6 acl name.
acl6_name
DHCPv6 acl name.
dhcpacl6_data6_id
The dhcpacl6_data6_id parameter is the DHCPv6 acl data identifier (ID). This identifier is a
unique numeric key value that is automatically incremented.
acl6_data6_id
The acl6_data6_id parameter is the DHCPv6 acl data identifier (ID).This identifier is a unique
numeric key value that is automatically incremented.
acl6_data6_value
DHCPv6 acl data value.
dhcpacl6_data6_name
DHCPv6 acl data value.
acl6_data6_name
DHCPv6 acl data value.
dhcpoption6_name
DHCPv6 option name.
option6
DHCPv6 option name.
dhcpoption6_value
DHCPv6 option value.
value6
DHCPv6 option value.
dhcpoption6_type
DHCPv6 option type.
454
DHCPv6 Options
option6_type
DHCPv6 option type.
norefresh_server
internal use.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
check
Run check-rules.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
455
Chapter 37. DHCPv4 Optiondef
456
DHCPv4 Optiondef
Name
dhcp_optiondef_add — Add/Edit a DHCPv4 option definition
Description
The service dhcp_optiondef_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
hostaddr
DHCP server address.
dhcpoptiondef_id
The dhcpoptiondef_id parameter is the DHCP optiondef identifier (ID). This identifier is a
unique numeric key value that is automatically incremented.
dhcpoptiondef_name
DHCP optiondef name.
option
DHCP optiondef name.
dhcpoptiondef_universe
DHCP optiondef universe.
option_universe
DHCP optiondef universe.
dhcpoptiondef_code
DHCP optiondef code.
option_code
DHCP optiondef code.
dhcpoptiondef_type
DHCP optiondef type.
option_format
DHCP optiondef type.
dhcpoptiondef_isnew
DHCP optiondef is new (custom option).
norefresh_server
internal use.
457
DHCPv4 Optiondef
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
check
Run check-rules.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
458
DHCPv4 Optiondef
Name
dhcp_optiondef_count — Number of DHCPv4 option definitions
Description
The service dhcp_optiondef_count allows to display the number of DHCPv4 option definitions.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
459
DHCPv4 Optiondef
Name
dhcp_optiondef_list — List the DHCPv4 option definitions
Description
The service dhcp_optiondef_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
vdhcp_parent_id
Not documented.
dhcp_type
DHCP server type.
dhcpoptiondef_id
The dhcpoptiondef_id parameter is the DHCP optiondef identifier (ID). This identifier is a
unique numeric key value that is automatically incremented.
460
DHCPv4 Optiondef
dhcp_name
DHCP server name.
dhcpoptiondef_universe
DHCP optiondef universe.
dhcpoptiondef_name
DHCP optiondef name.
dhcpoptiondef_code
DHCP optiondef code.
dhcpoptiondef_type
DHCP optiondef type.
dhcpoptiondef_isnew
DHCP optiondef is new (custom option).
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
461
DHCPv4 Optiondef
Name
dhcp_optiondef_info — Display the properties of a DHCPv4 option definition
Description
The service dhcp_optiondef_info returns the information on the object specified in input.
Input Parameters
dhcpoptiondef_id
The dhcpoptiondef_id parameter is the DHCP optiondef identifier (ID). This identifier is a
unique numeric key value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
vdhcp_parent_id
Not documented.
dhcp_type
DHCP server type.
dhcpoptiondef_id
The dhcpoptiondef_id parameter is the DHCP optiondef identifier (ID). This identifier is a
unique numeric key value that is automatically incremented.
dhcp_name
DHCP server name.
dhcpoptiondef_universe
DHCP optiondef universe.
dhcpoptiondef_name
DHCP optiondef name.
dhcpoptiondef_code
DHCP optiondef code.
dhcpoptiondef_type
DHCP optiondef type.
dhcpoptiondef_isnew
DHCP optiondef is new (custom option).
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
462
DHCPv4 Optiondef
Name
dhcp_optiondef_delete — Delete a DHCPv4 option definition
Description
The service dhcp_optiondef_delete allows to delete SOLIDserver database object. The service
dhcp_optiondef_delete needs to identify the object to delete with the input parameters detailed
in the next section. This service will be executed if the connected user running this service is al-
lowed to delete the concerned object
Input Parameters
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
hostaddr
DHCP server address.
dhcpoptiondef_id
The dhcpoptiondef_id parameter is the DHCP optiondef identifier (ID). This identifier is a
unique numeric key value that is automatically incremented.
dhcpoptiondef_name
DHCP optiondef name.
option
DHCP optiondef name.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
463
Chapter 38. DHCPv6 Optiondef
464
DHCPv6 Optiondef
Name
dhcp6_optiondef6_add — Add/Edit a DHCPv6 option definition
Description
The service dhcp6_optiondef6_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dhcp6_id
The dhcp6_id parameter is the DHCPv6 server identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcp6_name
DHCPv6 server name.
hostaddr
DHCPv6 server address.
dhcpoptiondef6_id
The dhcpoptiondef6_id parameter is the DHCPv6 optiondef identifier (ID). This identifier is
a unique numeric key value that is automatically incremented.
dhcpoptiondef6_name
DHCPv6 optiondef name.
option6
DHCPv6 optiondef name.
dhcpoptiondef6_universe
DHCPv6 optiondef universe.
option6_universe
DHCPv6 optiondef universe.
dhcpoptiondef6_code
DHCPv6 optiondef code.
option6_code
DHCPv6 optiondef code.
dhcpoptiondef6_type
DHCPv6 optiondef type.
option6_format
DHCPv6 optiondef type.
dhcpoptiondef6_isnew
DHCPv6 optiondef is new (custom option).
norefresh_server
internal use.
465
DHCPv6 Optiondef
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
check
Run check-rules.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
466
DHCPv6 Optiondef
Name
dhcp6_optiondef6_count — Number of DHCPv6 option definitions
Description
The service dhcp6_optiondef6_count allows to display the number of DHCPv6 option definitions.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
467
DHCPv6 Optiondef
Name
dhcp6_optiondef6_list — List the DHCPv6 option definition
Description
The service dhcp6_optiondef6_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
vdhcp6_parent_id
Not documented.
dhcp6_type
Not documented.
dhcpoptiondef6_id
Not documented.
468
DHCPv6 Optiondef
dhcp6_name
Not documented.
dhcpoptiondef6_universe
Not documented.
dhcpoptiondef6_name
Not documented.
dhcpoptiondef6_code
Not documented.
dhcpoptiondef6_type
Not documented.
dhcpoptiondef6_isnew
Not documented.
delayed_time
Not documented.
dhcp6_id
Not documented.
469
DHCPv6 Optiondef
Name
dhcp6_optiondef6_info — Display the properties of a DHCPv6 option definition
Description
The service dhcp6_optiondef6_info returns the information on the object specified in input.
Input Parameters
dhcpoptiondef6_id
Not documented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
vdhcp6_parent_id
Not documented.
dhcp6_type
Not documented.
dhcpoptiondef6_id
Not documented.
dhcp6_name
Not documented.
dhcpoptiondef6_universe
Not documented.
dhcpoptiondef6_name
Not documented.
dhcpoptiondef6_code
Not documented.
dhcpoptiondef6_type
Not documented.
dhcpoptiondef6_isnew
Not documented.
delayed_time
Not documented.
dhcp6_id
Not documented.
470
DHCPv6 Optiondef
Name
dhcp6_optiondef6_delete — Delete a DHCPv6 option definition
Description
The service dhcp6_optiondef6_delete allows to delete SOLIDserver database object. The service
dhcp6_optiondef6_delete needs to identify the object to delete with the input parameters detailed
in the next section. This service will be executed if the connected user running this service is al-
lowed to delete the concerned object
Input Parameters
dhcp6_id
The dhcp6_id parameter is the DHCPv6 server identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcp6_name
DHCPv6 server name.
hostaddr
DHCPv6 server address.
dhcpoptiondef6_id
The dhcpoptiondef6_id parameter is the DHCPv6 optiondef identifier (ID). This identifier is
a unique numeric key value that is automatically incremented.
dhcpoptiondef6_name
DHCPv6 optiondef name.
option6
DHCPv6 optiondef name.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
471
Chapter 39. DHCPv4 ACL and ACL
Entries
472
DHCPv4 ACL and ACL Entries
Name
dhcp_acl_add — Add/Edit a DHCP ACL
Description
The service dhcp_acl_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
hostaddr
DHCP server address.
dhcp_addr
DHCP server address.
ip_id
The DHCP server IP address identifier (ID). This identifier is a unique numeric key value that
is automatically incremented.
dhcp_ip_id
The dhcp_ip_id parameter is the DHCP server address identifier (ID). This identifier is a
unique numeric key value that is automatically incremented.
dhcpclass_id
The dhcpclass_id parameter is the DHCP acl identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcpclass_name
DHCP acl name.
dhcpclass_match
DHCP acl match.
dhcpclass_spawnwith
DHCP acl spawnwith.
dhcpclass_statement
DHCP acl statement.
norefresh_server
internal use.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
473
DHCPv4 ACL and ACL Entries
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
check
Run check-rules.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
474
DHCPv4 ACL and ACL Entries
Name
dhcp_acl_delete — Delete a DHCP ACL
Description
The service dhcp_acl_delete allows to delete SOLIDserver database object. The service dh-
cp_acl_delete needs to identify the object to delete with the input parameters detailed in the next
section. This service will be executed if the connected user running this service is allowed to
delete the concerned object
Input Parameters
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
hostaddr
DHCP server address.
dhcp_addr
DHCP server address.
dhcpclass_id
The dhcpclass_id parameter is the DHCP acl identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
acl_id
The acl_id parameter is the DHCP acl identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
dhcpclass_name
DHCP acl name.
acl_name
DHCP acl name.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
475
DHCPv4 ACL and ACL Entries
Name
dhcp_acl_data_add — Add/Edit a DHCP ACL entry
Description
The service dhcp_acl_data_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
hostaddr
DHCP server address.
dhcp_addr
DHCP server address.
ip_id
The DHCP server IP address identifier (ID). This identifier is a unique numeric key value that
is automatically incremented.
dhcp_ip_id
The dhcp_ip_id parameter is the DHCP server address identifier (ID). This identifier is a
unique numeric key value that is automatically incremented.
dhcpsubclass_value
DHCP acl data value.
dhcpsubclass_id
The dhcpsubclass_id parameter is the DHCP acl data identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpclass_id
The dhcpclass_id parameter is the DHCP acl identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcpclass_name
DHCP acl name.
norefresh_server
internal use.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
476
DHCPv4 ACL and ACL Entries
check
Run check-rules.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
477
DHCPv4 ACL and ACL Entries
Name
dhcp_acl_data_delete — Delete a DHCP ACL entry
Description
The service dhcp_acl_data_delete allows to delete SOLIDserver database object. The service
dhcp_acl_data_delete needs to identify the object to delete with the input parameters detailed
in the next section. This service will be executed if the connected user running this service is al-
lowed to delete the concerned object
Input Parameters
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
hostaddr
DHCP server address.
dhcp_addr
DHCP server address.
dhcpclass_id
The dhcpclass_id parameter is the DHCP acl identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
acl_id
The acl_id parameter is the DHCP acl identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
dhcpclass_name
DHCP acl name.
acl_name
DHCP acl name.
dhcpsubclass_id
The dhcpsubclass_id parameter is the DHCP acl data identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
acl_data_id
The acl_data_id parameter is the DHCP acl data identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpsubclass_value
DHCP acl data value.
acl_data_value
DHCP acl data value.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
478
DHCPv4 ACL and ACL Entries
Name
dhcp_class_count — Number of DHCP ACLs
Description
The service dhcp_class_count allows to display the number of DHCP ACLs.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
479
DHCPv4 ACL and ACL Entries
Name
dhcp_class_list — List all the DHCP ACLs
Description
The service dhcp_class_list allows to list the DHCP ACLs whether they are used or not.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcp_id
The dhcp_id parameter is the DHCP server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcp_name
DHCP server name.
480
DHCPv4 ACL and ACL Entries
dhcp_type
DHCP server type.
vdhcp_parent_id
Not documented.
dhcpclass_id
The dhcpclass_id parameter is the DHCP acl identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcpclass_name
DHCP acl name.
dhcpclass_match
DHCP acl match.
dhcpclass_spawnwith
DHCP acl spawnwith.
dhcpclass_statement
DHCP acl statement.
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
481
DHCPv4 ACL and ACL Entries
Name
dhcp_class_info — Display the properties of a DHCP ACL
Description
The service dhcp_class_info returns the information on the object specified in input.
Input Parameters
dhcpclass_id
The dhcpclass_id parameter is the DHCP acl identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcp_id
The dhcp_id parameter is the DHCP server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcp_name
DHCP server name.
dhcp_type
DHCP server type.
vdhcp_parent_id
Not documented.
dhcpclass_id
The dhcpclass_id parameter is the DHCP acl identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcpclass_name
DHCP acl name.
dhcpclass_match
DHCP acl match.
dhcpclass_spawnwith
DHCP acl spawnwith.
dhcpclass_statement
DHCP acl statement.
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
482
DHCPv4 ACL and ACL Entries
Name
dhcp_class_options_list — List the DHCP options set on a DHCP ACL
Description
The service dhcp_class_options_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
dhcpclass_id
The dhcpclass_id parameter is the DHCP acl identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
483
DHCPv4 ACL and ACL Entries
Name
dhcp_subclass_count — Number of DHCP ACL entries
Description
The service dhcp_subclass_count allows to display the number of DHCP ACL entries.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
484
DHCPv4 ACL and ACL Entries
Name
dhcp_subclass_list — List all the DHCP ACL entries
Description
The service dhcp_subclass_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcpsubclass_id
The dhcpsubclass_id parameter is the DHCP acl data identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcp_id
The dhcp_id parameter is the DHCP server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
485
DHCPv4 ACL and ACL Entries
dhcp_name
DHCP server name.
dhcp_type
DHCP server type.
vdhcp_parent_id
Not documented.
dhcpclass_name
DHCP acl name.
dhcpclass_id
The dhcpclass_id parameter is the DHCP acl identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcpsubclass_value
DHCP acl data value.
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
486
DHCPv4 ACL and ACL Entries
Name
dhcp_subclass_info — Display the properties of a DHCP ACL entry
Description
The service dhcp_subclass_info returns the information on the object specified in input.
Input Parameters
dhcpsubclass_id
The dhcpsubclass_id parameter is the DHCP acl data identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcpsubclass_id
The dhcpsubclass_id parameter is the DHCP acl data identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcp_id
The dhcp_id parameter is the DHCP server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcp_name
DHCP server name.
dhcp_type
DHCP server type.
vdhcp_parent_id
Not documented.
dhcpclass_name
DHCP acl name.
dhcpclass_id
The dhcpclass_id parameter is the DHCP acl identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcpsubclass_value
DHCP acl data value.
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
487
DHCPv4 ACL and ACL Entries
Name
dhcp_subclass_options_list — List the DHCP options set on a DHCP ACL entry
Description
The service dhcp_subclass_options_list allows to list entries from SOLIDserver database. To
execute this service, users must be granted permission to use it. The rows returned to the user
running the service depend on the resources granted to the group they belong to. The WHERE
input parameter allows to filter the returned rows.
Input Parameters
dhcpsubclass_id
The dhcpsubclass_id parameter is the DHCP acl data identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
488
Chapter 40. DHCPv4 Failover
489
DHCPv4 Failover
Name
dhcp_failover_add — Add/Edit a DHCPv4 failover channel
Description
The service dhcp_failover_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
hostaddr
DHCP server address.
dhcp_addr
DHCP server address.
ip_id
The DHCP server IP address identifier (ID). This identifier is a unique numeric key value that
is automatically incremented.
dhcp_ip_id
The dhcp_ip_id parameter is the DHCP server address identifier (ID). This identifier is a
unique numeric key value that is automatically incremented.
dhcpfailover_id
The dhcpfailover_id parameter is the DHCP failover identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
failover_id
The failover_id parameter is the DHCP failover identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcpfailover_name
DHCP failover name.
failover_name
DHCP failover name.
dhcpfailover_type
DHCP failover type.
failover_type
DHCP failover type.
dhcpfailover_port
DHCP failover port.
490
DHCPv4 Failover
failover_port
DHCP failover port.
dhcpfailover_peer_port
DHCP failover peer port.
failover_peer_port
DHCP failover peer port.
dhcpfailover_addr
DHCP failover IP address.
failover_addr
DHCP failover addr.
dhcpfailover_peer_addr
DHCP failover peer IP address.
failover_peer_addr
DHCP failover peer IP address.
peer_dhcp_id
The peer_dhcp_id parameter is the DHCP failover peer identifier (ID). This identifier is a
unique numeric key value that is automatically incremented.
norefresh_server
internal use.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
check
Run check-rules.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
491
DHCPv4 Failover
Name
dhcp_failover_count — Number of DHCPv4 failover channels
Description
The service dhcp_failover_count allows to display the number of DHCPv4 failover channels.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: dhcpfailover_id, dhcp_name, dhcp_id, dhcp_type, vd-
hcp_parent_id, dhcpfailover_name, dhcpfailover_addr, dhcpfailover_port, peer_dhcp_id,
dhcpfailover_peer_addr, dhcpfailover_peer_port, dhcpfailover_state, dhcpfailover_type,
delayed_create_time, delayed_delete_time, ip_addr.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
492
DHCPv4 Failover
Name
dhcp_failover_list — List the DHCPv4 failovers
Description
The service dhcp_failover_list allows to list the DHCPv4 failovers one server at a time. Each
failover is listed with one server, no matter its role in the failover channels: one failover can be
listed one or several times depending on your configurations.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: dhcpfailover_id, dhcp_name, dhcp_id, dhcp_type, vd-
hcp_parent_id, dhcpfailover_name, dhcpfailover_addr, dhcpfailover_port, peer_dhcp_id,
dhcpfailover_peer_addr, dhcpfailover_peer_port, dhcpfailover_state, dhcpfailover_type,
delayed_create_time, delayed_delete_time, ip_addr.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcpfailover_id
The dhcpfailover_id parameter is the DHCP group identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
493
DHCPv4 Failover
dhcp_name
DHCP server name.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_type
DHCP server type.
vdhcp_parent_id
Not documented.
dhcpfailover_name
DHCP group name.
dhcpfailover_addr
DHCP failover IP address.
dhcpfailover_port
DHCP failover port.
peer_dhcp_id
The peer_dhcp_id parameter is the DHCP failover peer identifier (ID). This identifier is a
unique numeric key value that is automatically incremented.
dhcpfailover_peer_addr
DHCP failover peer IP address.
dhcpfailover_peer_port
DHCP failover peer port.
dhcpfailover_state
Not documented.
dhcpfailover_type
DHCP failover type.
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
ip_addr
IP address.
494
DHCPv4 Failover
Name
dhcp_failover_server_list — List the DHCPv4 failover channels
Description
The service dhcp_failover_server_list allows to list the DHCPv4 failover channels. Each failover
channel is listed with the servers for which it was created. Each line returned contains the failover
servers, their role in the failover channel and any relevant data (DHCP server name, IP address...).
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers.
495
DHCPv4 Failover
Name
dhcp_failover_info — Display the properties of a DHCPv4 failover channel
Description
The service dhcp_failover_info returns the information on the object specified in input.
Input Parameters
dhcpfailover_id
The dhcpfailover_id parameter is the DHCP group identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcpfailover_id
The dhcpfailover_id parameter is the DHCP group identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcp_name
DHCP server name.
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_type
DHCP server type.
vdhcp_parent_id
Not documented.
dhcpfailover_name
DHCP group name.
dhcpfailover_addr
DHCP failover IP address.
dhcpfailover_port
DHCP failover port.
peer_dhcp_id
The peer_dhcp_id parameter is the DHCP failover peer identifier (ID). This identifier is a
unique numeric key value that is automatically incremented.
dhcpfailover_peer_addr
DHCP failover peer IP address.
dhcpfailover_peer_port
DHCP failover peer port.
dhcpfailover_state
Not documented.
dhcpfailover_type
DHCP failover type.
496
DHCPv4 Failover
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
ip_addr
IP address.
497
DHCPv4 Failover
Name
dhcp_failover_set_partner_down — Set a DHCPv4 failover channel to PARTNER-
DOWN
Description
The service dhcp_failover_set_partner_down allows to set a DHCPv4 failover channel to partner-
down. To execute this service, users must be granted permission to use it.
Input Parameters
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
dhcpfailover_id
The dhcpfailover_id parameter is the DHCP failover identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpfailover_name
DHCP failover name.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
498
DHCPv4 Failover
Name
dhcp_failover_delete — Delete a DHCPv4 failover channel
Description
The service dhcp_failover_delete allows to delete SOLIDserver database object. The service
dhcp_failover_delete needs to identify the object to delete with the input parameters detailed in
the next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
dhcp_id
The DHCPv4 server identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
dhcp_name
DHCP server name.
hostaddr
DHCP server address.
dhcp_addr
DHCP server address.
dhcpfailover_id
The dhcpfailover_id parameter is the DHCP group identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
failover_id
The failover_id parameter is the DHCP group identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dhcpfailover_name
DHCP group name.
failover_name
DHCP group name.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
499
Chapter 41. DHCPv6 Failover
500
DHCPv6 Failover
Name
dhcp6_failover6_add — Add/Edit a DHCPv6 failover channel
Description
The service dhcp6_failover6_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dhcp6_id
The dhcp6_id parameter is the DHCPv6 server identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcp6_name
DHCPv6 server name.
hostaddr
DHCPv6 server address.
dhcp6_addr
DHCPv6 server address.
ip6_id
The ip6_id parameter is the DHCPv6 server address identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcp6_ip6_id
The dhcp6_ip6_id parameter is the DHCPv6 server address identifier (ID). This identifier is
a unique numeric key value that is automatically incremented.
dhcpfailover6_id
The dhcpfailover6_id parameter is the DHCPv6 failover identifier (ID). This identifier is a
unique numeric key value that is automatically incremented.
failover6_id
The failover6_id parameter is the DHCPv6 failover identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
dhcpfailover6_name
DHCPv6 failover name.
failover6_name
DHCPv6 failover name.
dhcpfailover6_type
DHCPv6 failover type.
failover6_type
DHCPv6 failover type.
dhcpfailover6_port
DHCPv6 failover port.
501
DHCPv6 Failover
failover6_port
DHCPv6 failover port.
dhcpfailover6_peer_port
DHCPv6 failover peer port.
failover6_peer_port
DHCPv6 failover peer port.
dhcpfailover6_addr
DHCPv6 failover IP address.
failover6_addr
DHCPv6 failover addr.
dhcpfailover6_peer_addr
DHCPv6 failover peer IP address.
failover6_peer_addr
DHCPv6 failover peer IP address.
peer_dhcp6_id
The peer_dhcp6_id parameter is the DHCPv6 failover peer identifier (ID). This identifier is a
unique numeric key value that is automatically incremented.
norefresh_server
internal use.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
check
Run check-rules.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
502
DHCPv6 Failover
Name
dhcp6_failover6_count — Number of DHCPv6 failover channels
Description
The service dhcp6_failover6_count allows to display the number of DHCPv6 failover channels.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
503
DHCPv6 Failover
Name
dhcp6_failover6_list — List the DHCPv6 failover channels
Description
The service dhcp6_failover6_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcpfailover6_id
Not documented.
dhcp6_name
Not documented.
dhcp6_id
Not documented.
504
DHCPv6 Failover
dhcp6_type
Not documented.
vdhcp6_parent_id
Not documented.
dhcpfailover6_name
Not documented.
dhcpfailover6_addr
Not documented.
dhcpfailover6_port
Not documented.
peer_dhcp6_id
Not documented.
dhcpfailover6_peer_addr
Not documented.
dhcpfailover6_peer_port
Not documented.
dhcpfailover6_state
Not documented.
dhcpfailover6_type
Not documented.
delayed_time
Not documented.
ip6_addr
IP6 address.
505
DHCPv6 Failover
Name
dhcp6_failover6_server6_list — List the DHCPv6 failover channels
Description
The service dhcp6_failover6_server6_list allows to list entries from SOLIDserver database. To
execute this service, users must be granted permission to use it. The rows returned to the user
running the service depend on the resources granted to the group they belong to. The WHERE
input parameter allows to filter the returned rows.
Input Parameters
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
506
DHCPv6 Failover
Name
dhcp6_failover6_info — Display the properties of a DHCPv6 failover channel
Description
The service dhcp6_failover6_info returns the information on the object specified in input.
Input Parameters
dhcpfailover6_id
Not documented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dhcpfailover6_id
Not documented.
dhcp6_name
Not documented.
dhcp6_id
Not documented.
dhcp6_type
Not documented.
vdhcp6_parent_id
Not documented.
dhcpfailover6_name
Not documented.
dhcpfailover6_addr
Not documented.
dhcpfailover6_port
Not documented.
peer_dhcp6_id
Not documented.
dhcpfailover6_peer_addr
Not documented.
dhcpfailover6_peer_port
Not documented.
dhcpfailover6_state
Not documented.
dhcpfailover6_type
Not documented.
delayed_time
Not documented.
ip6_addr
IP6 address.
507
DHCPv6 Failover
Name
dhcp6_failover6_delete — Delete a DHCPv6 failover channel
Description
The service dhcp6_failover6_delete allows to delete SOLIDserver database object. The service
dhcp6_failover6_delete needs to identify the object to delete with the input parameters detailed
in the next section. This service will be executed if the connected user running this service is al-
lowed to delete the concerned object
Input Parameters
dhcp6_id
The dhcp6_id parameter is the DHCPv6 server identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcp6_name
DHCPv6 server name.
hostaddr
DHCPv6 server address.
dhcp6_addr
DHCPv6 server address.
dhcpfailover6_id
The dhcpfailover6_id parameter is the DHCPv6 group identifier (ID). This identifier is a unique
numeric key value that is automatically incremented.
failover6_id
The failover6_id parameter is the DHCP group identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dhcpfailover6_name
DHCPv6 group name.
failover6_name
DHCPv6 group name.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
508
Part V. DNS Services
Table of Contents
42. DNS Server ............................................................................................................. 512
dns_add ............................................................................................................... 513
dns_server_count .................................................................................................. 516
dns_server_list ...................................................................................................... 517
dns_server_info .................................................................................................... 521
dns_options_add ................................................................................................... 524
dns_server_param_add ......................................................................................... 526
dns_server_param_count ...................................................................................... 527
dns_server_param_list .......................................................................................... 528
dns_server_param_info ......................................................................................... 530
dns_server_param_delete ..................................................................................... 531
dns_send_rndc ..................................................................................................... 532
group_dns_add ..................................................................................................... 533
group_dns_delete ................................................................................................. 534
dns_server_admin_group_count ............................................................................ 535
dns_server_admin_group_list ................................................................................ 536
dns_server_admin_service_count .......................................................................... 538
dns_server_admin_service_list .............................................................................. 539
dns_delete ............................................................................................................ 540
43. DNS ACL ................................................................................................................ 541
dns_acl_add ......................................................................................................... 542
dns_acl_count ....................................................................................................... 543
dns_acl_list ........................................................................................................... 544
dns_acl_info ......................................................................................................... 546
dns_acl_delete ...................................................................................................... 547
44. TSIG Key ................................................................................................................. 548
dns_key_add ........................................................................................................ 549
dns_key_count ...................................................................................................... 551
dns_key_list .......................................................................................................... 552
dns_key_info ......................................................................................................... 554
dns_key_delete ..................................................................................................... 555
45. View ........................................................................................................................ 556
dns_view_add ....................................................................................................... 557
dns_view_count .................................................................................................... 559
dns_view_list ........................................................................................................ 560
dns_view_info ....................................................................................................... 562
dns_view_param_add ............................................................................................ 564
dns_view_param_count ......................................................................................... 565
dns_view_param_list ............................................................................................. 566
dns_view_param_info ............................................................................................ 568
dns_view_param_delete ........................................................................................ 569
dns_view_admin_group_count ............................................................................... 570
dns_view_admin_group_list ................................................................................... 571
dns_view_admin_service_count ............................................................................. 573
dns_view_admin_service_list ................................................................................. 574
group_dnsview_add .............................................................................................. 575
group_dnsview_delete ........................................................................................... 576
dns_view_delete ................................................................................................... 577
46. Zone ....................................................................................................................... 578
dns_zone_add ...................................................................................................... 579
dns_zone_count .................................................................................................... 581
510
DNS Services
511
Chapter 42. DNS Server
512
DNS Server
Name
dns_add — Add/Edit a DNS server
Description
The service dns_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
dns_name
The DNS server name.
dns_type
DNS server type.
hostaddr
The DNS server IP address.
dns_comment
Comments.
dns_class_name
The dns_class_name is the name of the file class that will used for this object. The name of
dns_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a dns_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
dns_class_parameters
The dns_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dns_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by dns_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
vdns_list
VDNS ID list.
additional_parameters
Additional parameters passed to rules.
513
DNS Server
zone
Zone name (for other DNS server).
snmp_port
SNMP port (IPM DNS).
snmp_profile_id
SNMP profile ID (IPM DNS).
snmp_retry
SNMP retry (IPM DNS).
snmp_timeout
SNMP timeout (IPM DNS).
snmp_use_tcp
SNMP use TCP (IPM DNS).
ipmdns_protocol
IPM DNS protocol.
ipmdns_https_login
IPM DNS https login.
ipmdns_https_password
IPM DNS https password.
ad_domain
AD domain (MS).
ad_user
AD user (MS).
ad_password
AD password (MS).
ans_key
ANS key (ANS).
vdns_arch
VDNS architecture (VDNS).
vdns_ref1_dns_id
VDNS ref1 DNS ID (VDNS).
vdns_ref2_dns_id
VDNS ref2 DNS ID (VDNS).
tsig_key_name
TSIG key name.
tsig_key_value
TSIG key value.
tsig_key_proto
TSIG key proto.
windns_use_ssl
Use SSL (WINDNS).
windns_port
TCP port (WINDNS).
windns_protocol
Protocol (WINDNS).
514
DNS Server
windns_login
Login (WINDNS).
windns_password
Password (WINDNS).
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
515
DNS Server
Name
dns_server_count — Number of DNS servers
Description
The service dns_server_count allows to display the number of DNS servers. To execute this
service, users must be granted permission to use it. The rows returned to the user running the
service depend on the resources granted to the group they belong to. The WHERE input para-
meter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
516
DNS Server
Name
dns_server_list — List the DNS servers
Description
The service dns_server_list allows to list entries from SOLIDserver database. To execute this
service, users must be granted permission to use it. The rows returned to the user running the
service depend on the resources granted to the group they belong to. The WHERE input para-
meter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
517
DNS Server
modif_count
Not documented.
ipmdns_https_login
Setup the HTTPS/SSL login account to manage the remote DNS server. By default this ac-
count is set to the admin account.
ipmdns_https_password
Setup the HTTPS/SSL password account to manage the remote DNS server.
ipmdns_protocol
Defined the protocol used to manage the EfficientIP DNS servers including the SOLIDserver
appliances and the package versions.
isolated
If the server is isolated (parameter set to 1), it does not apply the configured default behaviors.
windns_port
Defines the TCP port used by the EfficientIP WinDNS agent to manage the Microsoft DNS
servers.
windns_use_ssl
Use SSL (WINDNS).
windns_protocol
Protocol (WINDNS).
dns_notify
dns notify.
dns_also_notify
dns also notify.
dns_allow_query_cache
dns allow query_cache.
dns_allow_query
dns allow query.
dns_allow_transfer
dns allow transfer.
dns_allow_recursion
dns allow recursion.
dns_recursion
dns recursion.
dns_forwarders
dns forwarders.
dns_forward
dns forward.
snmp_id
The snmp_id parameter is the SNMP identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
ldap_user
AD user.
ldap_password
AD password.
518
DNS Server
ldap_domain
AD domain.
ref1_dns_name
Not documented.
vdns_ref1_dns_id
VDNS ref1 DNS ID (VDNS).
ref2_dns_name
Not documented.
vdns_ref2_dns_id
VDNS ref2 DNS ID (VDNS).
tree_level
Depth of imbricated spaces.
total_vdns_members
Not documented.
vdns_members_name
Not documented.
vdns_arch
VDNS architecture (VDNS).
vdns_parent_name
Not documented.
vdns_parent_arch
Not documented.
vdns_parent_id
Not documented.
vdns_ref1_dns_name
Not documented.
vdns_ref2_dns_name
Not documented.
dns_id
The dns_id parameter is the DNS server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
site name.
dns_state
Not documented.
dns_synching
Not documented.
dns_name
The DNS server name.
dns_comment
Comments.
519
DNS Server
dns_type
DNS server type.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. If set to 2, the object is manageable and taken into account in the database
and configuration but the object content is not replicated. By default, row_enabled is set to
1 when an object is created.
ip_addr
IP address.
dns_class_name
The dns_class_name is the name of the file class that will used for this object. The name of
dns_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a dns_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
dns_class_parameters
The dns_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dns_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by dns_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
dns_version
Not documented.
dns_key_name
Not documented.
dns_key_value
Not documented.
520
DNS Server
Name
dns_server_info — Properties of a DNS server
Description
The service dns_server_info returns the information on the object specified in input.
Input Parameters
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
modif_count
Not documented.
ipmdns_https_login
IPM DNS https login.
ipmdns_https_password
IPM DNS https password.
ipmdns_protocol
IPM DNS protocol.
isolated
If the server is isolated (parameter set to 1), it does not apply the configured default behaviors.
windns_port
TCP port (WINDNS).
windns_use_ssl
Use SSL (WINDNS).
windns_protocol
Protocol (WINDNS).
dns_notify
dns notify.
dns_also_notify
dns also notify.
dns_allow_query_cache
dns allow query_cache.
dns_allow_query
dns allow query.
dns_allow_transfer
dns allow transfer.
dns_allow_recursion
dns allow recursion.
521
DNS Server
dns_recursion
dns recursion.
dns_forwarders
dns forwarders.
dns_forward
dns forward.
snmp_id
The snmp_id parameter is the SNMP identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
ldap_user
AD user.
ldap_password
AD password.
ldap_domain
AD domain.
ref1_dns_name
Not documented.
vdns_ref1_dns_id
VDNS ref1 DNS ID (VDNS).
ref2_dns_name
Not documented.
vdns_ref2_dns_id
VDNS ref2 DNS ID (VDNS).
tree_level
Depth of imbricated spaces.
total_vdns_members
Not documented.
vdns_members_name
Not documented.
vdns_arch
VDNS architecture (VDNS).
vdns_parent_name
Not documented.
vdns_parent_arch
Not documented.
vdns_parent_id
Not documented.
vdns_ref1_dns_name
Not documented.
vdns_ref2_dns_name
Not documented.
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
522
DNS Server
site_id
The site_id parameter is the Space identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
site_name
site name.
dns_state
Not documented.
dns_synching
Not documented.
dns_name
The DNS server name.
dns_comment
Comments.
dns_type
DNS server type.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. If set to 2, the object is manageable and taken into account in the database
and configuration but the object content is not replicated. By default, row_enabled is set to
1 when an object is created.
ip_addr
IP address.
dns_class_name
The dns_class_name is the name of the file class that will used for this object. The name of
dns_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a dns_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
dns_class_parameters
The dns_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dns_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by dns_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
dns_version
Not documented.
dns_key_name
Not documented.
dns_key_value
Not documented.
523
DNS Server
Name
dns_options_add — Add/Edit DNS options on a server
Description
The service dns_options_add allows to add one or several DNS options to a DNS server. This
service has been replaced by the service dns_server_param_add.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
dns_name
The DNS server name.
hostaddr
The DNS server IP address.
dns_addr
The DNS server IP address.
dns_forward
dns forward.
forward
dns forward.
dns_recursion
dns recursion.
recursion
dns recursion.
dns_notify
dns notify.
notify
dns notify.
dns_forwarders
dns forwarders.
forwarders
dns forwarders.
dns_allow_query
dns allow query.
allow_query
dns allow query.
524
DNS Server
dns_allow_transfer
dns allow transfer.
allow_transfer
dns allow transfer.
dns_allow_query_cache
dns allow query_cache.
allow_query_cache
dns allow query_cache.
dns_allow_recursion
dns allow recursion.
allow_recursion
dns allow recursion.
dns_also_notify
dns also notify.
also_notify
dns also notify.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
525
DNS Server
Name
dns_server_param_add — Add/Edit DNS options on a server
Description
The service dns_server_param_add allows to add DNS options to a server. The options must
be added one at a time on a specific server. This service replaces the service dns_options_add.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
dns_name
The DNS server name.
param_key
The DNS option name.
param_value
The DNS option value.
is_array
Specifies if the DNS param is an array or not.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
526
DNS Server
Name
dns_server_param_count — Number of DNS options of a server
Description
The service dns_server_param_count allows to display the number of DNS options configured
on a DNS server. To execute this service, users must be granted permission to use it. The rows
returned to the user running the service depend on the resources granted to the group they belong
to. The WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: oid, dns_id, dns_name, param_key, param_value,
row_enabled, delayed_create_time, delayed_delete_time.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
527
DNS Server
Name
dns_server_param_list — List the DNS options of a server
Description
The service dns_server_param_list allows to list the DNS options configured on a DNS server.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: oid, dns_id, dns_name, param_key, param_value,
row_enabled, delayed_create_time, delayed_delete_time.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
oid
SNMP OID.
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
dns_name
The DNS server name.
528
DNS Server
param_key
The DNS option name.
param_value
The DNS option value.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. If set to 2, the object is manageable and taken into account in the database
and configuration but the object content is not replicated. By default, row_enabled is set to
1 when an object is created.
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
529
DNS Server
Name
dns_server_param_info — Properties of a DNS option set on a DNS server
Description
The service dns_server_param_info returns the information on the DNS options set on the
server specified in input.
Input Parameters
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
oid
SNMP OID.
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
dns_name
The DNS server name.
param_key
The DNS option name.
param_value
The DNS option value.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. If set to 2, the object is manageable and taken into account in the database
and configuration but the object content is not replicated. By default, row_enabled is set to
1 when an object is created.
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
530
DNS Server
Name
dns_server_param_delete — Delete DNS options from a server
Description
The service dns_server_param_delete allows to delete DNS options set on the specified server.
To execute this service, users must be granted the permission to use it.
Input Parameters
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
dns_name
The DNS server name.
param_key
The DNS option name.
param_id
ID of the parameter.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
531
DNS Server
Name
dns_send_rndc — Send an rndc command to a DNS server
Description
The service dns_send_rndc allows to send an rndc command to a DNS server. This command
can apply to the server itself (for the querylog, to flush cache, etc.) or a specific zone (to force a
retransfer, notify or refresh).
To execute this service, users must be granted the permission to use it, provided that they are
granted access to the relevant resources.
Input Parameters
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
dns_name
The DNS server name.
rndc_command
The rndc command. It specifies the object it applies to (the server itself or one of its zones).
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
532
DNS Server
Name
group_dns_add — Add a DNS server as group resource
Description
The service group_dns_add allows to add an object as resource for a group of users. You must
specify the group of users and the object that you set as resource. Once set as a resource, the
group can manage the object according to the rights services it has access to.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
533
DNS Server
Name
group_dns_delete — Remove a DNS server from a group resources
Description
The service group_dns_delete allows to delete SOLIDserver database object. The service
group_dns_delete needs to identify the object to delete with the input parameters detailed in the
next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
534
DNS Server
Name
dns_server_admin_group_count — Total number of groups that can access the
DNS server list
Description
The service dns_server_admin_group_count allows to display the total number of groups of users
that can access the DNS server list. The rows returned to the user running the service are not
subject to the group resources, this service returns data as if the user running it belonged to the
admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
535
DNS Server
Name
dns_server_admin_group_list — List the groups that can access the DNS server
list
Description
The service dns_server_admin_group_list allows to list entries from SOLIDserver database. The
rows returned to the user running the service are not subject to the group resources, this service
returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
536
DNS Server
grp_name
The name of the group of users.
grp_description
Group description.
from_type
Not documented.
537
DNS Server
Name
dns_server_admin_service_count — Total number of rights for a group to
add/delete objects in a DNS server
Description
The service dns_server_admin_service_count allows to display the total number of rights for a
group of users to add/delete objects in a DNS server. The rows returned to the user running the
service are not subject to the group resources, this service returns data as if the user running it
belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
538
DNS Server
Name
dns_server_admin_service_list — List the rights for a group to add/delete objects
in a DNS server
Description
The service dns_server_admin_service_list allows to list entries from SOLIDserver database.
The rows returned to the user running the service are not subject to the group resources, this
service returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
service_name
The service name.
539
DNS Server
Name
dns_delete — Delete a DNS server
Description
The service dns_delete allows to delete SOLIDserver database object. The service dns_delete
needs to identify the object to delete with the input parameters detailed in the next section. This
service will be executed if the connected user running this service is allowed to delete the con-
cerned object
Input Parameters
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
dns_name
The DNS server name.
hostaddr
The DNS server IP address.
dns_addr
The DNS server IP address.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
540
Chapter 43. DNS ACL
541
DNS ACL
Name
dns_acl_add — Add/Edit a DNS ACL
Description
The service dns_acl_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
dns_name
The DNS server name.
hostaddr
The DNS server IP address.
dns_addr
The DNS server IP address.
dnsacl_name
dns acl name.
acl_name
dns acl name.
dnsacl_value
dns acl value.
acl_value
dns acl value.
dnsacl_id
The dnsacl_id parameter is the dns acl identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
542
DNS ACL
Name
dns_acl_count — Number of DNS ACLs
Description
The service dns_acl_list allows to list the DNS ACL in the database. To execute this service,
users must be granted permission to use it. The rows returned to the user running the service
depend on the resources granted to the group they belong to. The WHERE input parameter allows
to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
543
DNS ACL
Name
dns_acl_list — List the DNS ACLs
Description
The service dns_acl_list allows to list the DNS ACLs in the database. To execute this service,
users must be granted permission to use it. The rows returned to the user running the service
depend on the resources granted to the group they belong to. The WHERE input parameter allows
to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dnsacl_name
dns acl name.
dnsacl_value
dns acl value.
dnsacl_id
The dnsacl_id parameter is the dns acl identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
544
DNS ACL
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
545
DNS ACL
Name
dns_acl_info — Properties of a DNS ACL
Description
The service dns_acl_info returns the information on the ACL specified in input.
Input Parameters
dnsacl_id
The dnsacl_id parameter is the dns acl identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dnsacl_name
dns acl name.
dnsacl_value
dns acl value.
dnsacl_id
The dnsacl_id parameter is the dns acl identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
546
DNS ACL
Name
dns_acl_delete — Delete a DNS ACL
Description
The service dns_acl_delete allows to delete SOLIDserver database object. The service
dns_acl_delete needs to identify the object to delete with the input parameters detailed in the
next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
dns_name
The DNS server name.
hostaddr
The DNS server IP address.
ip_id
The DNS server IP address identifier (ID). This identifier is a unique numeric key value that
is automatically incremented.
site_name
DNS IP space name.
site_id
DNS IP space OID.
dnsacl_id
DNS acl OID.
dnsacl_name
DNS acl name.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
547
Chapter 44. TSIG Key
548
TSIG Key
Name
dns_key_add — Add/Edit a TSIG key
Description
The service dns_key_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
dns_name
The DNS server name.
hostaddr
The DNS server IP address.
dns_addr
The DNS server IP address.
dnskey_name
DNS TSIG key name.
dnskey_proto
DNS TSIG key proto.
dnskey_value
DNS TSIG key value.
dnsview_name
The DNS view name.
dnsview_id
The view identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
dnskey_id
The dnskey_id parameter is the DNS TSIG key identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
549
TSIG Key
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
550
TSIG Key
Name
dns_key_count — Number of TSIG keys
Description
The service dns_key_count allows to display the number of DNS TSIG keys of the database. To
execute this service, users must be granted permission to use it. The rows returned to the user
running the service depend on the resources granted to the group they belong to. The WHERE
input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: dns_id, dns_name, dns_type, vdns_parent_id, dnskey_id,
dnskey_name, dnskey_value, dnskey_proto, dnsview_name, dnsview_id.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
551
TSIG Key
Name
dns_key_list — List the DNS keys
Description
The service dns_key_list allows to list the DNS keys of the database. To execute this service,
users must be granted permission to use it. The rows returned to the user running the service
depend on the resources granted to the group they belong to. The WHERE input parameter allows
to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: dns_id, dns_name, dns_type, vdns_parent_id, dnskey_id,
dnskey_name, dnskey_value, dnskey_proto, dnsview_name, dnsview_id.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
dns_name
The DNS server name.
dns_type
DNS server type.
552
TSIG Key
vdns_parent_id
Not documented.
dnskey_id
The dnskey_id parameter is the DNS TSIG key identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dnskey_name
DNS TSIG key name.
dnskey_value
DNS TSIG key value.
dnskey_proto
DNS TSIG key proto.
dnsview_name
The DNS view name.
dnsview_id
The view identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
553
TSIG Key
Name
dns_key_info — Properties of a TSIG key
Description
The service dns_key_info returns the information on the DNs key specified in input.
Input Parameters
dnskey_id
The dnskey_id parameter is the DNS TSIG key identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
dns_name
The DNS server name.
dns_type
DNS server type.
vdns_parent_id
Not documented.
dnskey_id
The dnskey_id parameter is the DNS TSIG key identifier (ID). This identifier is a unique nu-
meric key value that is automatically incremented.
dnskey_name
DNS TSIG key name.
dnskey_value
DNS TSIG key value.
dnskey_proto
DNS TSIG key proto.
dnsview_name
The DNS view name.
dnsview_id
The view identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
554
TSIG Key
Name
dns_key_delete — Delete a TSIG key
Description
The service dns_key_delete allows to delete the DNS TSIG key specified in input. To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to.
Input Parameters
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
dns_name
The DNS server name.
hostaddr
The DNS server IP address.
ip_id
The DNS server IP address identifier (ID). This identifier is a unique numeric key value that
is automatically incremented.
site_name
DNS IP space name.
site_id
DNS IP space OID.
dnskey_id
DNS TSIG key OID.
dnskey_name
DNS TSIG key name.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
555
Chapter 45. View
556
View
Name
dns_view_add — Add/Edit a view
Description
The service dns_view_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
dns_name
The DNS server name.
hostaddr
The DNS server IP address.
dns_addr
The DNS server IP address.
dnsview_name
The DNS view name.
dnsview_match_clients
The DNS view match clients configuration.
dnsview_match_to
The DNS view match destinations configuration.
dnsview_allow_transfer
The DNS view allow transfer configuration.
dnsview_allow_query
The DNS view allow query configuration.
dnsview_allow_recursion
The DNS view allow recursion configuration.
dnsview_recursion
The DNS view recursion configuration.
dnsview_id
The view identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
557
View
no_calc_match_client
Do not execute calculation of match_client.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
558
View
Name
dns_view_count — Number of views
Description
The service dns_view_count allows to display the number of views in the database. To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
559
View
Name
dns_view_list — List the views
Description
The service dns_view_list allows to list the views of the database. To execute this service, users
must be granted permission to use it. The rows returned to the user running the service depend
on the resources granted to the group they belong to. The WHERE input parameter allows to
filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dnsview_recursion
The DNS view recursion configuration.
dnsview_allow_recursion
The DNS view allow recursion configuration.
560
View
dnsview_allow_query
The DNS view allow query configuration.
dnsview_allow_transfer
The DNS view allow transfer configuration.
dnsview_key_name
Not documented.
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
dns_type
DNS server type.
dns_name
The DNS server name.
vdns_parent_id
Not documented.
dnsview_name
The DNS view name.
dnsview_match_clients
The DNS view match clients configuration.
dnsview_match_to
The DNS view match destinations configuration.
dnsview_id
The view identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
dns_class_name
The dns_class_name is the name of the file class that will used for this object. The name of
dns_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a dns_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
dns_comment
Comments.
dns_version
Not documented.
vdns_parent_name
Not documented.
561
View
Name
dns_view_info — Properties of a view
Description
The service dns_view_info returns the information on the view specified in input.
Input Parameters
dnsview_id
The view identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dnsview_recursion
The DNS view recursion configuration.
dnsview_allow_recursion
The DNS view allow recursion configuration.
dnsview_allow_query
The DNS view allow query configuration.
dnsview_allow_transfer
The DNS view allow transfer configuration.
dnsview_key_name
Not documented.
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
dns_type
DNS server type.
dns_name
The DNS server name.
vdns_parent_id
Not documented.
dnsview_name
The DNS view name.
dnsview_match_clients
The DNS view match clients configuration.
dnsview_match_to
The DNS view match destinations configuration.
dnsview_id
The view identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
562
View
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
dns_class_name
The dns_class_name is the name of the file class that will used for this object. The name of
dns_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a dns_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
dns_comment
Comments.
dns_version
Not documented.
vdns_parent_name
Not documented.
563
View
Name
dns_view_param_add — Add/Edit DNS options on a view
Description
The service dns_view_param_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
564
View
Name
dns_view_param_count — Number of DNS options of a view
Description
The service dns_view_param_count allows to display the number of DNS options configured on
a DNS view.To execute this service, users must be granted permission to use it.The rows returned
to the user running the service depend on the resources granted to the group they belong to.
The WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: oid, dnsview_id, dns_name, dnsview_name, dns_id,
param_key, param_value, row_enabled, delayed_create_time, delayed_delete_time.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
565
View
Name
dns_view_param_list — List the DNS options of a view
Description
The service dns_view_param_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: oid, dnsview_id, dns_name, dnsview_name, dns_id,
param_key, param_value, row_enabled, delayed_create_time, delayed_delete_time.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
oid
SNMP OID.
dnsview_id
The view identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
dns_name
The DNS server name.
566
View
dnsview_name
The DNS view name.
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
param_key
The DNS option name.
param_value
The DNS option value.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. If set to 2, the object is manageable and taken into account in the database
and configuration but the object content is not replicated. By default, row_enabled is set to
1 when an object is created.
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
567
View
Name
dns_view_param_info — Properties of a DNS option set on a view
Description
The service dns_view_param_info returns the information on the DNS options set on the view
specified in input.
Input Parameters
dnsview_id
The view identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
oid
SNMP OID.
dnsview_id
The view identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
dns_name
The DNS server name.
dnsview_name
The DNS view name.
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
param_key
The DNS option name.
param_value
The DNS option value.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. If set to 2, the object is manageable and taken into account in the database
and configuration but the object content is not replicated. By default, row_enabled is set to
1 when an object is created.
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
568
View
Name
dns_view_param_delete — Delete DNS options from a view
Description
The service dns_view_param_delete allows to delete DNS options set on the specified view. To
execute this service, users must be granted the permission to use it.
Input Parameters
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
569
View
Name
dns_view_admin_group_count — Total number of groups that can access the
DNS view list
Description
The service dns_view_admin_group_count allows to display the total number of groups of users
that can access the DNS view list. The rows returned to the user running the service are not
subject to the group resources, this service returns data as if the user running it belonged to the
admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
dnsview_id
The view identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
570
View
Name
dns_view_admin_group_list — List the groups that can access the DNS view list
Description
The service dns_view_admin_group_list allows to list entries from SOLIDserver database. The
rows returned to the user running the service are not subject to the group resources, this service
returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
dnsview_id
The view identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
dnsview_id
The view identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
571
View
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
grp_description
Group description.
from_type
Not documented.
572
View
Name
dns_view_admin_service_count — Total number of rights for a group to
add/delete objects in a DNS view
Description
The service dns_view_admin_service_count allows to display the total number of rights for a
group of users to add/delete objects in a DNS view. The rows returned to the user running the
service are not subject to the group resources, this service returns data as if the user running it
belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
573
View
Name
dns_view_admin_service_list — List the rights of a group to add/delete objects
in a DNS view
Description
The service dns_view_admin_service_list allows to list entries from SOLIDserver database. The
rows returned to the user running the service are not subject to the group resources, this service
returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
service_name
The service name.
574
View
Name
group_dnsview_add — Add a view as group resource
Description
The service group_dnsview_add allows to add an object as resource for a group of users. You
must specify the group of users and the object that you set as resource. Once set as a resource,
the group can manage the object according to the rights services it has access to.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
dnsview_id
The view identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
575
View
Name
group_dnsview_delete — Remove a view from a group resources
Description
The service group_dnsview_delete allows to delete SOLIDserver database object. The service
group_dnsview_delete needs to identify the object to delete with the input parameters detailed
in the next section. This service will be executed if the connected user running this service is al-
lowed to delete the concerned object
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
dnsview_id
The view identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
576
View
Name
dns_view_delete — Delete a view
Description
The service dns_view_delete allows to delete SOLIDserver database object. The service
dns_view_delete needs to identify the object to delete with the input parameters detailed in the
next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
dns_name
The DNS server name.
hostaddr
The DNS server IP address.
ip_id
The DNS server IP address identifier (ID). This identifier is a unique numeric key value that
is automatically incremented.
site_name
DNS IP space name.
site_id
DNS IP space OID.
dnsview_id
The DNS view OID.
dnsview_name
The DNS view name.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
577
Chapter 46. Zone
578
Zone
Name
dns_zone_add — Add/Edit a zone
Description
The service dns_zone_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dns_id
The dns_id parameter is the DNS server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dns_name
The DNS server name.
hostaddr
The DNS server IP address.
dnszone_site_id
The dnszone_site_id parameter is the DNS zone space identifier (ID) used to join foreign
data. This identifier is a unique numeric key value that is automatically incremented.
dnszone_site_name
Obsolete. This is an alias of dnszone_space_name.
dnszone_space_name
If you use the IPAM modules, this parameter specifies the space linked to space name.
dnsview_id
The dnsview_id parameter is the DNS view identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dnszone_id
The zone identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
dnsview_name
The DNS view name.
zone
Obsolete. This is an alias of dnszone_name.
dnszone_name
The DNS zone name.
zone_type
Obsolete. This is an alias of dnszone_type.
dnszone_type
Zone type can receive the following values: master, slave, forward, stub, hint, delegation-
only.
579
Zone
master_addr
The IP address of the Master (for slave).
dnszone_class_name
The dnszone_class_name is the name of the file class that will used for this object. The name
of dnszone_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a
dnszone_class_name parameter could be set to: my_favorite_dir/my_class.class.
dnszone_class_parameters
The dnszone_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dnszone_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by dnszone_class_parameters parameter the URL value must be encoded
in URL format (see RFC 3986).
dnszone_ad_integrated
AD integrated (WINDNS only).
add_flag
This parameter specifies if the service call must send an error if the object already exists.
The allowed values are: new_edit will overwrite all existing objects or new_only will refuse
the service execution.
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. If set to 2, the object is manageable and taken into account in the database
and configuration but the object content is not replicated. By default, row_enabled is set to
1 when an object is created.
additional_parameters
Additional parameters passed to rules.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
580
Zone
Name
dns_zone_count — Number of zones
Description
The service dns_zone_count allows to display t he number of DNS zones in the database. To
execute this service, users must be granted permission to use it. The rows returned to the user
running the service depend on the resources granted to the group they belong to. The WHERE
input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
581
Zone
Name
dns_zone_list — List the DNS options of a zone
Description
The service dns_zone_list allows to list the DNS zones of the database. To execute this service,
users must be granted permission to use it. The rows returned to the user running the service
depend on the resources granted to the group they belong to. The WHERE input parameter allows
to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
num_keys
Number of keys attached to the zone. This number of keys includes all ZSK and KSK.
582
Zone
ipmdns_protocol
Define the protocol used for the management of the server. It can contain SSL or SNMP. By
default the SSL protocol is used.
dnszone_synching
Define if the zone is currently synchronizing. Value 1 indicates that the zone is synchronizing,
0 indicates that it is not.
dns_state
Define the last state of a zone. The values can be:
• ET: the server is in timeout.
• ER: the license key is invalid.
• IC: the credential to manage the server is invalid.
• ES: a syntax error has been find at the DNS configuration parsing.
• IS: an invalid setting as been found in the DNS configuration.
vdns_parent_id
Specifies the DNS identifier of the smart architecture. If the current server is belonging to a
smart architecture, then this value must contain an identifier. If the server is in stand alone
this parameter is empty.
dnszone_allow_update
Specifies which hosts are allowed to submit Dynamic DNS updates for master zones. The
default is to deny updates from all hosts. Note that allowing updates based on the IP address
of the requesting client is insecure and must be used with a TSIG key.
dnszone_allow_query
Specifies which hosts are allowed to ask ordinary DNS questions. allow-query may also be
specified at the server level, in which case it will be overridden by the zone setting. If not
specified, the default is to allow queries from all hosts.
dnszone_allow_transfer
Specifies which hosts are allowed to receive zone transfers from the server. If allow_transfer
is specified at the zone level, then it overrides the options allow-transfer at the server level.
If not specified, the default is to allow transfers to all hosts.
dnszone_forwarders
Specifies the IP addresses to be used for forwarding.The default is the empty list (no forward-
ing). Forwarding can also be configured on a per-domain basis, allowing for the global for-
warding options to be overridden in a variety of ways. You can set particular domains to use
different forwarders, or have a different forward only/first behavior, or not forward at all.
dnszone_forward
This option is only meaningful if the forwarders list is not empty. A value of first, the default,
causes the server to query the forwarders first — and if that doesn't answer the question,
the server will then look for the answer itself. If only is specified, the server will only query
the forwarders.
dnszone_notify
If yes (the default), DNS NOTIFY messages are sent when a zone the server is authoritative
for changes. The messages are sent to the servers listed in the zone NS records, and to any
servers listed in the also-notify option. If explicit, notifies are sent only to servers explicitly
listed using also-notify. If no, no notifies are sent. The notify option may also be specified in
the zone statement, in which case it overrides the options notify statement. It would only be
necessary to turn off this option if it caused slaves to crash. Within the Smart Architecture
the notify is automatically set to no on the slave zones.
583
Zone
dnszone_also_notify
Defines a global list of IP addresses of name servers that are also sent NOTIFY messages
whenever a fresh copy of the zone is loaded, in addition to the servers listed in the zone NS
records. This helps to ensure that copies of the zones will quickly converge on stealth servers.
Optionally, a port may be specified with each also-notify address to send the notify messages
to a port other than the default of 53. If an also-notify list is given in a zone statement, it will
override the options also-notify statement. When a zone notify statement is set to no, the IP
addresses in the global also-notify list will not be sent NOTIFY messages for that zone. The
default is the empty list (no global notification list).
dnszone_name_utf
This parameter contains the domain name encoded in UTF8. UTF8 allows to manage DNS
punycode see RFC 3492.
dnszone_id
The dnszone_id parameter is the Zone identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. If set to 2, the object is manageable and taken into account in the database
and configuration but the object content is not replicated. By default, row_enabled is set to
1 when an object is created.
dns_type
DNS server type which specifies if the server is based on Microsoft, EfficientIP, BIND or
Nominum as well.
dnszone_ad_integrated
AD integrated (WINDNS only). The value is 1 for Active Directory and 0 for not
dnszone_sort_zone
This parameter can be used to apply a natural sort order.
dns_id
The dns_id parameter is the DNS server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dns_name
The DNS server name.
dnszone_name
Zone domain name.
dnszone_rev_sort_zone
This parameter can be used to apply a reverse natural sort order.
dnszone_type
Define the type of the zone. It can contain one of the following values: master, slave, stub,
forward, hint, delegation-only.
dnszone_masters
Defines a named masters list for inclusion in stub and slave zone masters clauses.
dnszone_xfer_done
Not documented.
dnszone_is_reverse
Define if the zone is a name zone type of a reverse zone type.
584
Zone
delayed_delete_time
If the value is set to 1 then the zone is currently deleting. If the value is set to 0 the zone is
active
delayed_create_time
If the value is set to 1 then the zone is currently creating. If the value is set to 0 the zone is
active
dnszone_site_name
DNS zone space name.
dnszone_site_id
The dnszone_site_id parameter is the DNS zone space identifier (ID) used to join foreign
data. This identifier is a unique numeric key value that is automatically incremented.
dnszone_class_name
The dnszone_class_name is the name of the file class that will used for this object. The name
of dnszone_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a
dnszone_class_name parameter could be set to: my_favorite_dir/my_class.class.
dnszone_class_parameters
The dnszone_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dnszone_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by dnszone_class_parameters parameter the URL value must be encoded
in URL format (see RFC 3986).
dnsview_name
Name of the view.
dnsview_id
The dnsview_id parameter is the dns view identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dns_class_name
The dns_class_name is the name of the file class that will used for this object. The name of
dns_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a dns_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
dns_comment
Comments for the DNS server.
dns_version
Display the version of the DNS engine.
vdns_parent_name
Specifies the DNS name of the smart architecture. If the current server is belonging to a
smart architecture, then this value must contain a name. If the server is in stand alone this
parameter is empty.
ds
The ds parameter contains the DNSSEC delegation signer (DS) finger print key.
585
Zone
Name
dns_zone_info — Properties of a zone
Description
The service dns_zone_info returns the information on the zone specified in input.
Input Parameters
dnszone_id
The dnszone_id parameter is the Zone identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
num_keys
Number of keys attached to the zone. This number of keys includes all ZSK and KSK.
ipmdns_protocol
Define the protocol used for the management of the server. It can contain SSL or SNMP. By
default the SSL protocol is used.
dnszone_synching
Define if the zone is currently synchronizing. Value 1 indicates that the zone is synchronizing,
0 indicates that it is not.
dns_state
Define the last state of a zone. The values can be:
• ET: the server is in timeout.
• ER: the license key is invalid.
• IC: the credential to manage the server is invalid.
• ES: a syntax error has been find at the DNS configuration parsing.
• IS: an invalid setting as been found in the DNS configuration.
vdns_parent_id
Specifies the DNS identifier of the smart architecture. If the current server is belonging to a
smart architecture, then this value must contain an identifier. If the server is in stand alone
this parameter is empty.
dnszone_allow_update
Specifies which hosts are allowed to submit Dynamic DNS updates for master zones. The
default is to deny updates from all hosts. Note that allowing updates based on the IP address
of the requesting client is insecure and must be used with a TSIG key.
dnszone_allow_query
Specifies which hosts are allowed to ask ordinary DNS questions. allow-query may also be
specified at the server level, in which case it will be overridden by the zone setting. If not
specified, the default is to allow queries from all hosts.
586
Zone
dnszone_allow_transfer
Specifies which hosts are allowed to receive zone transfers from the server. If allow_transfer
is specified at the zone level, then it overrides the options allow-transfer at the server level.
If not specified, the default is to allow transfers to all hosts.
dnszone_forwarders
Specifies the IP addresses to be used for forwarding.The default is the empty list (no forward-
ing). Forwarding can also be configured on a per-domain basis, allowing for the global for-
warding options to be overridden in a variety of ways. You can set particular domains to use
different forwarders, or have a different forward only/first behavior, or not forward at all.
dnszone_forward
This option is only meaningful if the forwarders list is not empty. A value of first, the default,
causes the server to query the forwarders first — and if that doesn't answer the question,
the server will then look for the answer itself. If only is specified, the server will only query
the forwarders.
dnszone_notify
If yes (the default), DNS NOTIFY messages are sent when a zone the server is authoritative
for changes. The messages are sent to the servers listed in the zone NS records, and to any
servers listed in the also-notify option. If explicit, notifies are sent only to servers explicitly
listed using also-notify. If no, no notifies are sent. The notify option may also be specified in
the zone statement, in which case it overrides the options notify statement. It would only be
necessary to turn off this option if it caused slaves to crash. Within the Smart Architecture
the notify is automatically set to no on the slave zones.
dnszone_also_notify
Defines a global list of IP addresses of name servers that are also sent NOTIFY messages
whenever a fresh copy of the zone is loaded, in addition to the servers listed in the zone NS
records. This helps to ensure that copies of the zones will quickly converge on stealth servers.
Optionally, a port may be specified with each also-notify address to send the notify messages
to a port other than the default of 53. If an also-notify list is given in a zone statement, it will
override the options also-notify statement. When a zone notify statement is set to no, the IP
addresses in the global also-notify list will not be sent NOTIFY messages for that zone. The
default is the empty list (no global notification list).
dnszone_name_utf
This parameter contains the domain name encoded in UTF8. UTF8 allows to manage DNS
punycode see RFC 3492.
dnszone_id
The dnszone_id parameter is the Zone identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. If set to 2, the object is manageable and taken into account in the database
and configuration but the object content is not replicated. By default, row_enabled is set to
1 when an object is created.
dns_type
DNS server type which specifies if the server is based on Microsoft, EfficientIP, BIND or
Nominum as well.
dnszone_ad_integrated
AD integrated (WINDNS only). The value is 1 for Active Directory and 0 for not
587
Zone
dnszone_sort_zone
This parameter can be used to apply a natural sort order.
dns_id
The dns_id parameter is the DNS server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dns_name
The DNS server name.
dnszone_name
Zone domain name.
dnszone_rev_sort_zone
This parameter can be used to apply a reverse natural sort order.
dnszone_type
Define the type of the zone. It can contain one of the following values: master, slave, stub,
forward, hint, delegation-only.
dnszone_masters
Defines a named masters list for inclusion in stub and slave zone masters clauses.
dnszone_xfer_done
Not documented.
dnszone_is_reverse
Define if the zone is a name zone type of a reverse zone type.
delayed_delete_time
If the value is set to 1 then the zone is currently deleting. If the value is set to 0 the zone is
active
delayed_create_time
If the value is set to 1 then the zone is currently creating. If the value is set to 0 the zone is
active
dnszone_site_name
DNS zone space name.
dnszone_site_id
The dnszone_site_id parameter is the DNS zone space identifier (ID) used to join foreign
data. This identifier is a unique numeric key value that is automatically incremented.
dnszone_class_name
The dnszone_class_name is the name of the file class that will used for this object. The name
of dnszone_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a
dnszone_class_name parameter could be set to: my_favorite_dir/my_class.class.
dnszone_class_parameters
The dnszone_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The dnszone_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by dnszone_class_parameters parameter the URL value must be encoded
in URL format (see RFC 3986).
dnsview_name
Name of the view.
588
Zone
dnsview_id
The dnsview_id parameter is the dns view identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dns_class_name
The dns_class_name is the name of the file class that will used for this object. The name of
dns_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a dns_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
dns_comment
Comments for the DNS server.
dns_version
Display the version of the DNS engine.
vdns_parent_name
Not documented.
ds
The ds parameter contains the DNSSEC delegation signer (DS) finger print key.
589
Zone
Name
dns_zone_param_add — Add/Edit DNS options on a zone
Description
The service dns_zone_param_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
dnszone_id
The dnszone_id parameter is the DNS server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
param_key
The DNS option name.
is_array
Specifies if the DNS param is an array or not.
param_value
The DNS option value.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
590
Zone
Name
dns_zone_param_count — Number of DNS options of a zone
Description
The service dns_zone_param_count allows to display the number of DNS options configured on
a DNS view.To execute this service, users must be granted permission to use it.The rows returned
to the user running the service depend on the resources granted to the group they belong to.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: oid, dnszone_id, dns_name, dnszone_name, dns_id,
param_key, param_value, row_enabled, delayed_create_time, delayed_delete_time.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
591
Zone
Name
dns_zone_param_list — List the DNS options of a zone
Description
The service dns_zone_param_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: oid, dnszone_id, dns_name, dnszone_name, dns_id,
param_key, param_value, row_enabled, delayed_create_time, delayed_delete_time.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
oid
SNMP OID.
dnszone_id
The zone identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
dns_name
The DNS server name.
592
Zone
dnszone_name
The DNS zone name.
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
param_key
The DNS option name.
param_value
The DNS option value.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. If set to 2, the object is manageable and taken into account in the database
and configuration but the object content is not replicated. By default, row_enabled is set to
1 when an object is created.
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
593
Zone
Name
dns_zone_param_info — Properties of a DNS option set on a zone
Description
The service dns_zone_param_info returns the information on the DNS options set on the zone
specified in input.
Input Parameters
dnszone_id
The zone identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
oid
SNMP OID.
dnszone_id
The zone identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
dns_name
The DNS server name.
dnszone_name
The DNS zone name.
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
param_key
The DNS option name.
param_value
The DNS option value.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. If set to 2, the object is manageable and taken into account in the database
and configuration but the object content is not replicated. By default, row_enabled is set to
1 when an object is created.
delayed_create_time
Not documented.
delayed_delete_time
Not documented.
594
Zone
Name
dns_zone_param_delete — Delete DNS options from a zone
Description
The service dns_zone_param_delete allows to delete DNS options set on the specified zone. To
execute this service, users must be granted the permission to use it.
Input Parameters
dnszone_id
The dnszone_id parameter is the DNS server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
param_key
The DNS option name.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
595
Zone
Name
dns_zone_admin_group_count — Total number of groups that can access the
DNS zone list
Description
The service dns_zone_admin_group_count allows to display the total number of groups of users
that can access the DNS zone list. The rows returned to the user running the service are not
subject to the group resources, this service returns data as if the user running it belonged to the
admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
dnszone_id
The zone identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
596
Zone
Name
dns_zone_admin_group_list — List the groups that can access the DNS zone list
Description
The service dns_zone_admin_group_list allows to list entries from SOLIDserver database. The
rows returned to the user running the service are not subject to the group resources, this service
returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
dnszone_id
The zone identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
dnszone_id
The zone identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
dnszone_id
The zone identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
597
Zone
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
grp_description
Group description.
from_type
Not documented.
598
Zone
Name
dns_zone_admin_service_count — Total number of rights for a group to
add/delete objects in a zone
Description
The service dns_zone_admin_service_count allows to display the total number of rights for a
group of users to add/delete objects in a zone. The rows returned to the user running the service
are not subject to the group resources, this service returns data as if the user running it belonged
to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
599
Zone
Name
dns_zone_admin_service_list — List the rights for a group to add/delete objects
in a zone
Description
The service dns_zone_admin_service_list allows to list entries from SOLIDserver database. The
rows returned to the user running the service are not subject to the group resources, this service
returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
service_name
The service name.
600
Zone
Name
group_dnszone_add — Add a zone as group resource
Description
The service group_dnszone_add allows to add an object as resource for a group of users. You
must specify the group of users and the object that you set as resource. Once set as a resource,
the group can manage the object according to the rights services it has access to.
To execute this service, users must be granted permission to use the service group_dnszone_add.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
dnszone_id
The zone identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
601
Zone
Name
group_dnszone_delete — Remove a zone from a group resources
Description
The service group_dnszone_delete allows to delete SOLIDserver database object. The service
group_dnszone_delete needs to identify the object to delete with the input parameters detailed
in the next section. This service will be executed if the connected user running this service is al-
lowed to delete the concerned object
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
dnszone_id
The zone identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
602
Zone
Name
dns_zone_delete — Delete a zone
Description
The service dns_zone_delete allows to delete SOLIDserver database object. The
dns_zone_delete service needs to identify the object to delete with the input parameters detailed
in the next section. This service will be executed if the connected user running this service is al-
lowed to delete the concerned object
Input Parameters
dns_id
The dns_id parameter is the DNS server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dns_name
Specifies the name of the DNS server. This name must be exactly the same one you defined
in the management interface.
hostaddr
Specifies the IP address of the DNS server as you defined in the management interface.
ip_id
The DNS server IP address identifier (ID). This identifier is a unique numeric key value that
is automatically incremented.
site_name
Defines the name of the space linked with the DNS server.
site_id
DNS IP space OID.
dnszone_id
DNS zone OID.
dnszone_name
DNS zone name.
zone
Obsolete. This is an alias of the dnszone_name.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
603
Chapter 47. Resource Record
604
Resource Record
Name
dns_rr_add — Add/Edit a resource record
Description
The service dns_rr_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
rr_id
RR ID (for replacement).
dns_id
The dns_id parameter is the DNS identifier (ID) used to join foreign data. This identifier is a
unique numeric key value that is automatically incremented.
hostaddr
The DNS server IP address.
dns_name
The DNS server name.
dnszone_id
The zone identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
zone
DNS zone name (Obsolete. Has been replaced by dnszone_name).
dnszone_name
DNS zone name.
dnsview_id
The dnsview_id parameter is the DNS view identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dnsview_name
The DNS view name.
serial_type
SOA serial type.
rr_name
The rr_name specifies the domain name that must deleted. The fully qualified domain name
must be used for this parameter.
rr_ttl
RR TTL.
rr_type
RR type.
rr_value1
RR value 1.
605
Resource Record
rr_value2
RR value 2.
rr_value3
RR value 3.
rr_value4
RR value 4.
rr_value5
RR value 5.
rr_value6
RR value 6.
rr_value7
RR value 7.
dnszone_site_id
The dnszone_site_id parameter is the DNS zone space identifier (ID) used to join foreign
data. This identifier is a unique numeric key value that is automatically incremented.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
force_update
Force DNS update.
check
Run check-rules.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
check_value
check on value flag.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
Example
Creating an A record and a CNAME record using a BASH script.
#!/bin/sh
user=ipmadmin
password=admin
dns_rr() {
curl -s -H "Content-Type: text/xml; charset=utf-8" \
-H "SOAPAction: \"urn:dns_rr_${4}\"" \
-d "<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:urn=\\
"urn:IPM_SOAP\">
<soapenv:Header/>
<soapenv:Body>
<urn:dns_rr_${4} soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">
<input xsi:type=\"urn:dns_rr_${4}_in\" xmlns:urn=\"urn:IPM\">
606
Resource Record
<auth_login xsi:type=\"xsd:string\">${user}</auth_login>
<auth_password xsi:type=\"xsd:string\">${password}</auth_password>
<dns_name xsi:type=\"xsd:string\">smart.test</dns_name>
<rr_name xsi:type=\"xsd:string\">${1}</rr_name>
<rr_type xsi:type=\"xsd:string\">${2}</rr_type>
<rr_value1 xsi:type=\"xsd:string\">${3}</rr_value1>
<dnszone_site_id xsi:type=\"xsd:string\">8</dnszone_site_id>
<force_update xsi:type=\"xsd:string\">1</force_update>
</input>
</urn:dns_rr_${4}>
</soapenv:Body>
</soapenv:Envelope>" \
--insecure -X POST https://10.0.249.64/interfaces/ws.php
}
607
Resource Record
Name
dns_rr_count — Number of resource records
Description
The service dns_rr_count allows to display the number of resources records in the database. To
execute this service, users must be granted permission to use it. The rows returned to the user
running the service depend on the resources granted to the group they belong to. The WHERE
input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
608
Resource Record
Name
dns_rr_info — Properties of a resource record
Description
The service dns_rr_info returns the information on the resource record specified in input.
Input Parameters
rr_id
RR ID (for replacement).
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
rr_all_value
Not documented.
dnszone_sort_zone
This parameter can be used to apply a natural sort order.
dnszone_type
Zone type.
rr_full_name
Fully qualified domain name of a RR.
rr_full_name_utf
Fully qualified domain name of a RR encoded in UTF8
rr_name_ip_addr
See rr_name_ip4_addr.
rr_name_ip4_addr
If the RR name is an IP address, then it will contain the IP address encoded in hexadecimal.
rr_value_ip_addr
See rr_value_ip4_addr.
rr_value_ip4_addr
If the RR value1 is an IP address, then it will contain the IP address encoded in hexadecimal.
rr_glue
Short name of a RR.
rr_type
RR type.
ttl
RR TTL.
delayed_time
Not documented.
value1
RR value 1.
value2
RR value 2.
609
Resource Record
value3
RR value 3.
value4
RR value 4.
value5
RR value 5.
value6
RR value 6.
value7
RR value 7.
dnszone_id
The dnszone_id parameter is the Zone identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
rr_id
RR ID (for replacement).
dns_id
The dns_id parameter is the DNS server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dnszone_name_utf
This parameter contains the domain name encoded in UTF8. UTF8 allows to manage DNS
punycode see RFC 3492.
dnszone_name
The DNS zone name.
dns_name
The DNS server name.
dns_type
DNS server type which specifies if the server is based on Microsoft, EfficientIP, BIND or
Nominum as well.
vdns_parent_id
Specifies the DNS identifier of the smart architecture. If the current server is belonging to a
smart architecture, then this value must contain an identifier. If the server is in stand alone
this parameter is empty.
dnsview_name
The DNS view name.
dnsview_id
The dnsview_id parameter is the dns view identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dnszone_site_name
DNS zone space name.
dnszone_is_reverse
Define if the zone is a name zone type of a reverse zone type.
delayed_create_time
If the value is set to 1 then the zone is currently creating. If the value is set to 0 the zone is
active
610
Resource Record
Name
dns_rr_list — List the resource records
Description
The service dns_rr_list allows to list data from the SOLIDserver database. To execute this service,
users must be granted permission to use it. The rows returned to the user running the service
depend on the resources granted to the group they belong to. The WHERE input parameter allows
to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
rr_all_value
Not documented.
611
Resource Record
dnszone_sort_zone
This parameter can be used to apply a natural sort order.
dnszone_type
Zone type.
rr_full_name
Fully qualified domain name of a RR.
rr_full_name_utf
Fully qualified domain name of a RR encoded in UTF8
rr_name_ip_addr
See rr_name_ip4_addr.
rr_name_ip4_addr
If the RR name is an IP address, then it will contain the IP address encoded in hexadecimal.
rr_value_ip_addr
See rr_value_ip4_addr.
rr_value_ip4_addr
If the RR value1 is an IP address, then it will contain the IP address encoded in hexadecimal.
rr_glue
Short name of a RR.
rr_type
RR type.
ttl
RR TTL.
delayed_time
Not documented.
value1
RR value 1.
value2
RR value 2.
value3
RR value 3.
value4
RR value 4.
value5
RR value 5.
value6
RR value 6.
value7
RR value 7.
dnszone_id
The dnszone_id parameter is the Zone identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
rr_id
RR ID (for replacement).
612
Resource Record
dns_id
The dns_id parameter is the DNS server identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dnszone_name_utf
This parameter contains the domain name encoded in UTF8. UTF8 allows to manage DNS
punycode see RFC 3492.
dnszone_name
The DNS zone name.
dns_name
The DNS server name.
dns_type
DNS server type which specifies if the server is based on Microsoft, EfficientIP, BIND or
Nominum as well.
vdns_parent_id
Specifies the DNS identifier of the smart architecture. If the current server is belonging to a
smart architecture, then this value must contain an identifier. If the server is in stand alone
this parameter is empty.
dnsview_name
The DNS view name.
dnsview_id
The dnsview_id parameter is the dns view identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dnszone_site_name
DNS zone space name.
dnszone_is_reverse
Define if the zone is a name zone type of a reverse zone type.
delayed_create_time
If the value is set to 1 then the zone is currently creating. If the value is set to 0 the zone is
active
613
Resource Record
Name
dns_rr_delete — Delete a resource record
Description
The service dns_rr_delete allows to delete SOLIDserver database object. The dns_rr_delete
service needs to identify the object to delete with the input parameters detailed in the next section.
This service will be executed if the connected user running this service is allowed to delete the
concerned object
Input Parameters
rr_id
RR ID (for replacement).
dns_id
The dns_id parameter is the DNS identifier (ID) used to join foreign data. This identifier is a
unique numeric key value that is automatically incremented.
hostaddr
The DNS server IP address.
dns_name
The DNS server name.
dnszone_id
The zone identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
zone
DNS zone name (Obsolete. Has been replaced by dnszone_name).
dnszone_name
DNS zone name.
dnsview_id
The dnsview_id parameter is the DNS view identifier (ID). This identifier is a unique numeric
key value that is automatically incremented.
dnsview_name
The DNS view name.
rr_name
The rr_name specifies the domain name that must deleted. Different value formats must be
set to rr_name, according to other parameters context. If the zone is specified with
dnszone_name, dnszone_id or zone parameter, then the short RR name (label) must be
used. If the zone is not specified, then the fully qualified domain name must be used.
rr_ttl
RR TTL.
rr_type
RR type.
rr_value1
RR value 1.
rr_value2
RR value 2.
614
Resource Record
rr_value3
RR value 3.
rr_value4
RR value 4.
rr_value5
RR value 5.
rr_value6
RR value 6.
rr_value7
RR value 7.
dnszone_site_id
The dnszone_site_id parameter is the DNS zone space identifier (ID) used to join foreign
data. This identifier is a unique numeric key value that is automatically incremented.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
615
Chapter 48. DNSSEC
616
DNSSEC
Name
macro_sign_dnssec_zones_php — Sign a zones with DNSSEC
Description
The service macro_sign_dnssec_zones_php allows to sign DNS zones with DNSSEC.To execute
this service, users must be granted permission to use it, provided the group they belong has the
relevant resources.
Input Parameters
zsk_encryption
Defines the cryptographic algorithm for which the key is being generated and implicitly de-
termines both usage and the RR type (KEY or DNSKEY) generated. May take one of the
following case-insensitive values based on required usage: TSIG/TKEY: DH, HMAC-MD5,
HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, or HMAC-SHA512.
zsk_encryption_bits
Specifies the number of bits to be used in the key and depends on the algorithm being used:
RSAMD5, RSASHA1, RSASHA256, and NSEC3. RSASHA1 range is 512 - 4096 (current
RSA recommendation is 1024 but this changes over time); RSASHA512 range is 1024- 4096
(current RSA recommendation is 1024 but this changes over time); DSA range is 512-1024
(must be a multiple of 64); DH range is 128-4096; HMAC-MD5 range is 1-512; HMAC-SHA1
range is 1-160; HMACSHA224 range is 1-224; HMAC-SHA256 range is 1-256; HMAC-
SHA384 range is 1- 384; HMAC-SHA512 range is 1-512.
zsk_validity
Defines the time validity of the generate ZSK key. The unit of this number is defined within
the zsk_validity_unit parameter. The maximum allowed value must not later than 31/12/2037.
zsk_validity_unit
Unit of the zsk_validity parameter. May take one of the following case-insensitive values
based on required usage: day, month, year, or infinity.
ksk_encryption
Defines the cryptographic algorithm for which the key is being generated and implicitly de-
termines both usage and the RR type (KEY or DNSKEY) generated. May take one of the
following case-insensitive values based on required usage: TSIG/TKEY: DH, HMAC-MD5,
HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, or HMAC-SHA512.
ksk_encryption_bits
Specifies the number of bits to be used in the key and depends on the algorithm being used:
RSAMD5, RSASHA1, RSASHA256, and NSEC3. RSASHA1 range is 512 - 4096 (current
RSA recommendation is 1024 but this changes over time); RSASHA512 range is 1024- 4096
(current RSA recommendation is 1024 but this changes over time); DSA range is 512-1024
(must be a multiple of 64); DH range is 128-4096; HMAC-MD5 range is 1-512; HMAC-SHA1
range is 1-160; HMACSHA224 range is 1-224; HMAC-SHA256 range is 1-256; HMAC-
SHA384 range is 1- 384; HMAC-SHA512 range is 1-512.
ksk_validity
Defines the time validity of the generate ZSK key. The unit of this number is defined within
the ksk_validity_unit parameter. The maximum allowed value must not greater than
31/12/2037.
ksk_validity_unit
Unit of the ksk_validity parameter. May take one of the following case-insensitive values
based on required usage: day, month, year, or infinity.
617
DNSSEC
selected_query
Contains a service to select the zones to sign. This parameter must call the service
dns_zone_list to select the target zone(s) through their ID or name. To sign several zones
at once, use the condition in within the SQL query of the clause WHERE.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
Example
Signing a zone with DNSSEC using a PHP script to execute the service via SOAP.
<?php
$context = stream_context_create(array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true
)
));
618
DNSSEC
Name
dnssec_link_anchor — Apply a DNSSEC trust anchor to a DNSSEC resolver
Description
The service dnssec_link_anchor allows to use a trust anchor on the DNS server specified in input,
this server must be a DNSSEC resolver.To execute this service, users must be granted permission
to use it.
Input Parameters
dns_id
The dns_id parameter is the DNS identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
dns_name
DNS name.
anchor_id
The anchor_id parameter is the Anchor identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
619
DNSSEC
Name
dnssec_trust_anchor_count — Number of DNSSEC trust anchors
Description
The service dnssec_trust_anchor_count allows to display the number of trust anchors in the
database. To execute this service, users must be granted permission to use it. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: dns_id, key_id, obj_type, encryption_data, encryp-
tion_bits, subject, validity, start_date, encryption_data_public, obj_name, ds, dlv,
dnszone_name, encryption_type.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
620
DNSSEC
Name
dnssec_trust_anchor_list — List the DNSSEC trust anchors
Description
The service dnssec_trust_anchor_list allows to list trust anchors in the database. To execute this
service, users must be granted permission to use it. The WHERE input parameter allows to filter
the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: dns_id, key_id, obj_type, encryption_data, encryp-
tion_bits, subject, validity, start_date, encryption_data_public, obj_name, ds, dlv,
dnszone_name, encryption_type.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
key_id
ID of the key.
obj_type
Type of the key.
621
DNSSEC
encryption_data
Not documented.
encryption_bits
Bit length.
subject
Not documented.
validity
Validity period (days).
start_date
Start date.
encryption_data_public
Not documented.
obj_name
Name of the key.
ds
DS Set.
dlv
DLV Set.
dnszone_name
The DNS zone name.
encryption_type
Encryption type.
622
DNSSEC
Name
dnssec_trust_anchor_info — Properties of a DNSSEC trust anchor
Description
The service dnssec_trust_anchor_info returns the information on the trust anchor specified in
input. To execute this service, users must be granted permission to use it.
Input Parameters
anchor_id
The anchor_id parameter is the Anchor identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
dns_id
The DNS server identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
key_id
ID of the key.
obj_type
Type of the key.
encryption_data
Not documented.
encryption_bits
Bit length.
subject
Not documented.
validity
Validity period (days).
start_date
Start date.
encryption_data_public
Not documented.
obj_name
Name of the key.
ds
DS Set.
dlv
DLV Set.
dnszone_name
The DNS zone name.
623
DNSSEC
encryption_type
Encryption type.
624
DNSSEC
Name
dnssec_unlink_anchor — Stop using a DNSSEC trust anchor on a DNS server
Description
The service dnssec_link_anchor allows to stop using a trust anchor on the DNS server specified
in input. To execute this service, users must be granted permission to use it.
Input Parameters
dns_id
The dns_id parameter is the DNS identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
dns_name
DNS name.
anchor_id
The anchor_id parameter is the Anchor identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
link_id
The link_id parameter is the Link identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
625
Part VI. NetChange Services
Table of Contents
49. Network Device ....................................................................................................... 628
iplnetdev_count ..................................................................................................... 629
iplnetdev_list ......................................................................................................... 630
iplnetdev_info ........................................................................................................ 632
group_iplnetdev_add ............................................................................................. 634
group_iplnetdev_delete .......................................................................................... 635
iplocator_netdev_delete ......................................................................................... 636
50. VLAN ...................................................................................................................... 637
iplnetdevvlan_count ............................................................................................... 638
iplnetdevvlan_list ................................................................................................... 639
51. Port ......................................................................................................................... 641
iplocator_port_add ................................................................................................ 642
iplport_count ......................................................................................................... 643
iplport_list ............................................................................................................. 644
iplport_info ............................................................................................................ 646
52. Discovered Item ....................................................................................................... 648
ipldev_count ......................................................................................................... 649
ipldev_list .............................................................................................................. 650
ipldev_log_count ................................................................................................... 654
ipldev_log_list ....................................................................................................... 655
627
Chapter 49. Network Device
628
Network Device
Name
iplnetdev_count — Number of network devices
Description
The service iplnetdev_count allows to list all the network devices managed via SOLIDserver. To
execute this service, users must be granted permission to use the service iplnetdev_count. The
rows returned to the user running the service depend on the resources granted to the group they
belong to. The WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: site_name, ip_id, site_id, iplnetdev_ip_addr, iplnet-
dev_stack_id, iplnetdev_nb_stack, iplnetdev_name, iplnetdev_synching, iplnetdev_uptime,
iplnetdev_sysname, iplnetdev_syscontact, iplnetdev_type, iplnetdev_vendor, iplnetdev_descr,
iplnetdev_vlanid, iplnetdev_updatetime, iplnetdev_analysistime, iplnetdev_status, iplnet-
dev_nbports, iplnetdev_nbusedports, iplnetdev_sysoid, iplnetdev_shortdescr, iplnetdev_fin-
ished, iplnetdev_refresh_parameters, iplnetdev_refresh_rancid_parameters, iplnetdev_serial,
iplnetdev_slot_serial, iplnetdev_syslocation, iplnetdev_class_name, iplnetdev_class_para-
meters, snmp_id, iplnetdev_version, iplnetdev_id, iplnetdev_nbfreeports, iplnetdev_percused-
ports, iplnetdevip_ip_addr_list, supported_mibs, iplnetdev_dot1x, iplnetdev_port_security,
row_enabled.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
629
Network Device
Name
iplnetdev_list — List the network devices
Description
The service iplnetdev_list allows to list the network devices managed via SOLIDserver. To execute
this service, users must be granted permission to use the service iplnetdev_list. The rows returned
to the user running the service depend on the resources granted to the group they belong to.
The WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: site_name, ip_id, site_id, iplnetdev_ip_addr, iplnet-
dev_stack_id, iplnetdev_nb_stack, iplnetdev_name, iplnetdev_synching, iplnetdev_uptime,
iplnetdev_sysname, iplnetdev_syscontact, iplnetdev_type, iplnetdev_vendor, iplnetdev_descr,
iplnetdev_vlanid, iplnetdev_updatetime, iplnetdev_analysistime, iplnetdev_status, iplnet-
dev_nbports, iplnetdev_nbusedports, iplnetdev_sysoid, iplnetdev_shortdescr, iplnetdev_fin-
ished, iplnetdev_refresh_parameters, iplnetdev_refresh_rancid_parameters, iplnetdev_serial,
iplnetdev_slot_serial, iplnetdev_syslocation, iplnetdev_class_name, iplnetdev_class_para-
meters, snmp_id, iplnetdev_version, iplnetdev_id, iplnetdev_nbfreeports, iplnetdev_percused-
ports, iplnetdevip_ip_addr_list, supported_mibs, iplnetdev_dot1x, iplnetdev_port_security,
row_enabled.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
630
Network Device
iplnetdev_ip_addr
The network device IP address.
ip_id
The network device IP address identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
iplnetdev_status
The network device status.
iplnetdev_syslocation
The network device location, as stored on the network device.
iplnetdev_id
The network device identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
iplnetdev_nbfreeports
The number of free ports on the network device.
iplnetdev_class_name
The name of the class applied to the network device. It must include the class file name and
the directory it belongs to, for instance, my_favorite_dir/my_class.class . The classes global
and default cannot be used. This parameter can be empty.
iplnetdev_class_parameters
The parameters of the class specified in the parameter [object]_class_name. The class can
contain several parameters, each parameter must have a maximum length of 4000 characters
and the value of each parameter must be set in the following URL style format:
metadata1=value1&metadata2=value2& . The URL value must be encoded in URL format
as defined in RFC 3986. This parameter can be empty.
snmp_id
The identifier (ID) of the SNMP configuration the network device belongs to in SOLIDserver
database. This identifier is a unique numeric key value that is automatically incremented.
631
Network Device
Name
iplnetdev_info — Display the properties of a network device
Description
The service iplnetdev_info returns the information on the object specified in input. The WHERE
input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: site_name, ip_id, site_id, iplnetdev_ip_addr, iplnet-
dev_stack_id, iplnetdev_nb_stack, iplnetdev_name, iplnetdev_synching, iplnetdev_uptime,
iplnetdev_sysname, iplnetdev_syscontact, iplnetdev_type, iplnetdev_vendor, iplnetdev_descr,
iplnetdev_vlanid, iplnetdev_updatetime, iplnetdev_analysistime, iplnetdev_status, iplnet-
dev_nbports, iplnetdev_nbusedports, iplnetdev_sysoid, iplnetdev_shortdescr, iplnetdev_fin-
ished, iplnetdev_refresh_parameters, iplnetdev_refresh_rancid_parameters, iplnetdev_serial,
iplnetdev_slot_serial, iplnetdev_syslocation, iplnetdev_class_name, iplnetdev_class_para-
meters, snmp_id, iplnetdev_version, iplnetdev_id, iplnetdev_nbfreeports, iplnetdev_percused-
ports, iplnetdevip_ip_addr_list, supported_mibs, iplnetdev_dot1x, iplnetdev_port_security,
row_enabled.
iplnetdev_id
The network device identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
iplnetdev_ip_addr
The network device IP address.
ip_id
The network device IP address identifier (ID). This identifier is a unique numeric key value
that is automatically incremented.
iplnetdev_status
The network device status.
iplnetdev_syslocation
The network device location, as stored on the network device.
iplnetdev_id
The network device identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
iplnetdev_nbfreeports
The number of free ports on the network device.
632
Network Device
iplnetdev_class_name
The name of the class applied to the network device. It must include the class file name and
the directory it belongs to, for instance, my_favorite_dir/my_class.class . The classes global
and default cannot be used. This parameter can be empty.
iplnetdev_class_parameters
The parameters of the class specified in the parameter [object]_class_name. The class can
contain several parameters, each parameter must have a maximum length of 4000 characters
and the value of each parameter must be set in the following URL style format:
metadata1=value1&metadata2=value2& . The URL value must be encoded in URL format
as defined in RFC 3986. This parameter can be empty.
snmp_id
The identifier (ID) of the SNMP configuration the network device belongs to in SOLIDserver
database. This identifier is a unique numeric key value that is automatically incremented.
633
Network Device
Name
group_iplnetdev_add — Add a network device as group resource
Description
The service group_iplnetdev_add allows to add an object as resource for a group of users. You
must specify the group of users and the object that you set as resource. Once set as a resource,
the group can manage the object according to the rights services it has access to.
To execute this service, users must be granted permission to use the service group_iplnetdev_add.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
iplnetdev_id
The network device identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
634
Network Device
Name
group_iplnetdev_delete — Remove a network device from a group resources
Description
The service group_iplnetdev_delete allows to delete SOLIDserver database object. The service
group_iplnetdev_delete needs to identify the object to delete with the input parameters detailed
in the next section. This service will be executed if the connected user running this service is al-
lowed to delete the concerned object
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
iplnetdev_id
The network device identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
635
Network Device
Name
iplocator_netdev_delete — Delete an IPlocator device
Description
The service iplocator_netdev_delete allows to delete network devices, or stop managing them
via SOLIDserver.You must specify the object to delete in the input. To execute this service, users
must be granted permission to use the service iplnetdev_list.The rows returned to the user running
the service depend on the resources granted to the group they belong to.
Input Parameters
iplnetdev_id
The network device identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
hostaddr
The network device IP address.
iplnetdev_addr
The network device IP address.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
636
Chapter 50. VLAN
637
VLAN
Name
iplnetdevvlan_count — Number of VLANs
Description
The service iplnetdevvlan_count allows to display the number of VLANs in the database or for a
specific network device. To execute this service, users must be granted permission to use the
service iplnetdevvlan_list. The rows returned to the user running the service depend on the re-
sources granted to the group they belong to. The WHERE input parameter allows to filter the
returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
638
VLAN
Name
iplnetdevvlan_list — List the VLANs
Description
The service iplnetdevvlan_list allows to list the VLANs in the database or belonging to a specific
network device. To execute this service, users must be granted permission to use the service
iplnetdevvlan_list. The rows returned to the user running the service depend on the resources
granted to the group they belong to. The WHERE input parameter allows to filter the returned
rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
iplnetdev_name
The network device name.
iplnetdev_class_name
The name of the class applied to the network device. It must include the class file name and
the directory it belongs to, for instance, my_favorite_dir/my_class.class . The classes global
and default cannot be used. This parameter can be empty.
639
VLAN
iplnetdev_nbports
The number of ports of the network device.
iplnetdev_type
The network device type.
iplnetdev_vendor
The network device vendor.
iplnetdev_syscontact
The network device administrative contact. The contact details of the person managing the
network device configuration, as stored on the network device.
iplnetdev_serial
The network device serial number.
iplnetdev_status
The network device status.
iplnetdev_syslocation
The network device location, as stored on the network device.
640
Chapter 51. Port
641
Port
Name
iplocator_port_add — Add/Edit a network device port
Description
The service iplocator_port_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to.
Input Parameters
iplport_id
The port identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
iplport_class_name
The name of the class applied to the port. It must include the class file name and the directory
it belongs to, for instance, my_favorite_dir/my_class.class . The classes global and default
cannot be used. This parameter can be empty.
iplport_class_parameters
The parameters of the class specified in the parameter [object]_class_name. The class can
contain several parameters, each parameter must have a maximum length of 4000 characters
and the value of each parameter must be set in the following URL style format:
metadata1=value1&metadata2=value2& . The URL value must be encoded in URL format
as defined in RFC 3986. This parameter can be empty.
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
642
Port
Name
iplport_count — Number of network device ports
Description
The service iplport_count allows to display the number of network device ports.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
643
Port
Name
iplport_list — List the network device ports
Description
The service iplport_list allows to list entries from SOLIDserver database. To execute this service,
users must be granted permission to use the service iplport_list. The rows returned to the user
running the service depend on the resources granted to the group they belong to. The WHERE
input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
aggregated_port_name
The aggregated port name.
iplport_id
The port identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
644
Port
iplport_class_name
The name of the class applied to the port. It must include the class file name and the directory
it belongs to, for instance, my_favorite_dir/my_class.class . The classes global and default
cannot be used. This parameter can be empty.
iplport_class_parameters
The parameters of the class specified in the parameter [object]_class_name. The class can
contain several parameters, each parameter must have a maximum length of 4000 characters
and the value of each parameter must be set in the following URL style format:
metadata1=value1&metadata2=value2& . The URL value must be encoded in URL format
as defined in RFC 3986. This parameter can be empty.
iplnetdev_ip_addr
The network device IP address.
snmp_id
The identifier (ID) of the SNMP configuration the port belongs to in SOLIDserver database.
This identifier is a unique numeric key value that is automatically incremented.
iplnetdev_vendor
The network device vendor.
iplnetdev_name
The network device name.
iplnetdev_type
The network device type.
iplnetdevvlan_name
The VLAN name.
iplnetdev_serial
The network device serial number.
iplnetdev_syscontact
The network device administrative contact. The contact details of the person managing the
network device configuration, as stored on the network device.
iplnetdev_nbports
The number of ports of the network device.
iplnetdev_status
The network device status.
iplnetdev_class_name
The name of the class applied to the network device. It must include the class file name and
the directory it belongs to, for instance, my_favorite_dir/my_class.class . The classes global
and default cannot be used. This parameter can be empty.
645
Port
Name
iplport_info — Display the properties of a network device port
Description
The service iplport_info returns the information on the object specified in input.
Input Parameters
iplport_id
The port identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
aggregated_port_name
The aggregated port name.
iplport_id
The port identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
iplnetdev_ip_addr
The network device IP address.
snmp_id
The identifier (ID) of the SNMP configuration the port belongs to in SOLIDserver database.
This identifier is a unique numeric key value that is automatically incremented.
iplnetdev_vendor
The network device vendor.
iplnetdev_name
The network device name.
iplnetdev_type
The network device type.
iplnetdevvlan_name
The VLAN name.
iplnetdev_serial
The network device serial number.
iplnetdev_syscontact
The network device administrative contact. The contact details of the person managing the
network device configuration, as stored on the network device.
iplnetdev_nbports
The number of ports of the network device.
iplnetdev_status
The network device status.
646
Port
iplnetdev_class_name
The name of the class applied to the network device. It must include the class file name and
the directory it belongs to, for instance, my_favorite_dir/my_class.class . The classes global
and default cannot be used. This parameter can be empty.
647
Chapter 52. Discovered Item
648
Discovered Item
Name
ipldev_count — Number of discovered items
Description
The service ipldev_count allows to display the number of discovered items.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
649
Discovered Item
Name
ipldev_list — List of discovered items
Description
The service ipldev_list allows to list all the devices (computers, etc.) currently connected to a
network device. To execute this service, users must be granted permission to use the service
ipldev_list. The rows returned to the user running the service depend on the resources granted
to the group they belong to. The WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
iplnetdev_ip_addr
The network device IP address.
650
Discovered Item
iplnetdev_stack_id
The network device stack identifier (ID). This identifier is a unique numeric key value that is
automatically incremented.
iplport_dev_count
The number of ports that the discovered item is connected to.
oid
The discovered item SNMP object identifier (OID).
iplport_id
The port identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
ipldev_mac
The discovered item MAC address.
ipldev_vlan
The discovered item VLAN.
ipldev_time
The exact time at which the item was discovered, in epoch time format.
ipldev_end_time
The exact time at which the discovered item was last seen, in epoch time format.
mac_vendor
The vendor of the network device NIC (network interface controller).
iplip_ip_addr
The IP address of the MAC address used to connect to the port.
iplip_source
The discovered item IP discovery source. This information is displayed in the GUI in the
column Source of the All discovered items list.
iplip_dns_name
The domain associated with the discovered item IP address.
iplip_start_time
The date when the discovered item MAC address was detected.
iplip_end_time
The date when the discovered item MAC address was detected for the last time.
iplport_name
The port name.
iplport_ifnumber
The number of the port interface through which the discovered item is connected to the network
device.
iplport_description
The port description.
iplport_slotnumber
The port slot number.
iplport_secure
The port-security configuration. If set to 0, the port is not secure. If set to 1, the port is secure.
iplport_portnumber
The port number.
651
Discovered Item
iplport_interco
The port interconnection status.
iplport_staticinterco
The port static interconnection status.
iplnetdev_id
The network device identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
iplnetdev_name
The network device name.
iplnetdevvlan_name
The VLAN name.
iplnetdevvlan_number
The VLAN of the discovered item port.
hostiface_name
The interface name in Device Manager.
hostdev_name
The device name in Device Manager.
hostdev_id
The device identifier (ID) in Device Manager. This identifier is a unique numeric key value
that is automatically incremented.
hostiface_id
The interface identifier (ID) in Device Manager. This identifier is a unique numeric key value
that is automatically incremented.
iplport_class_name
The name of the class applied to the port. It must include the class file name and the directory
it belongs to, for instance, my_favorite_dir/my_class.class . The classes global and default
cannot be used. This parameter can be empty.
iplport_poe
The port POE status. It is set to 1 if the port provides POE. It is set to 0 if the port does not.
iplport_duplex
The port duplex mode.
iplport_iftype
The port interface type (Ethernet, GigaEthernet, FastEthernet, Aggregated).
iplport_ifoperstatus
The port interface status. It can be up or down.
iplnetdev_serial
The network device serial number.
iplnetdev_syscontact
The network device administrative contact. The contact details of the person managing the
network device configuration, as stored on the network device.
iplnetdev_vendor
The network device vendor.
iplnetdev_type
The network device type.
iplnetdev_syslocation
The network device location, as stored on the network device.
652
Discovered Item
iplnetdev_nbports
The number of ports of the network device.
iplnetdevvlan_status
The VLAN status.
653
Discovered Item
Name
ipldev_log_count — Track the total number of discovered item of a network device
Description
The service ipldev_log_count allows to use the discovered items MAC address to fins and display
the total number of discovered items of a network device since you started managing it with
SOLIDserver.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
654
Discovered Item
Name
ipldev_log_list — Track all the discovered items of a network device
Description
The service ipldev_log_list allows to list the devices (computers, etc.) that have ever been con-
nected to a network device, as displayed on the History view in the GUI. It allows to track the
discovered items movements through their MAC address. To execute this service, users must
be granted permission to use the service ipldev_log_list. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
655
Discovered Item
iplnetdev_ip_addr
The network device IP address.
iplnetdev_stack_id
The network device stack identifier (ID). This identifier is a unique numeric key value that is
automatically incremented.
iplport_dev_count
The number of ports that the discovered item is connected to.
oid
The discovered item SNMP object identifier (OID).
iplport_id
The port identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
ipldev_mac
The discovered item MAC address.
ipldev_vlan
The discovered item VLAN.
ipldev_time
The exact time at which the item was discovered, in epoch time format.
ipldev_end_time
The exact time at which the discovered item was last seen, in epoch time format.
mac_vendor
The vendor of the network device NIC (network interface controller).
iplip_ip_addr
The IP address of the MAC address used to connect to the port.
iplip_source
The discovered item IP discovery source. This information is displayed in the GUI in the
column Source of the All discovered items list.
iplip_dns_name
The domain associated with the discovered item IP address.
iplip_start_time
The date when the discovered item MAC address was detected.
iplip_end_time
The date when the discovered item MAC address was detected for the last time.
iplport_name
The port name.
iplport_ifnumber
The number of the port interface through which the discovered item is connected to the network
device.
iplport_description
The port description.
iplport_slotnumber
The port slot number.
iplport_secure
The port-security configuration. If set to 0, the port is not secure. If set to 1, the port is secure.
656
Discovered Item
iplport_portnumber
The port number.
iplport_interco
The port interconnection status.
iplport_staticinterco
The port static interconnection status.
iplnetdev_id
The network device identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
iplnetdev_name
The network device name.
iplnetdevvlan_name
The VLAN name.
iplnetdevvlan_number
The VLAN of the discovered item port.
hostiface_name
The interface name in Device Manager.
hostdev_name
The device name in Device Manager.
hostdev_id
The device identifier (ID) in Device Manager. This identifier is a unique numeric key value
that is automatically incremented.
hostiface_id
The interface identifier (ID) in Device Manager. This identifier is a unique numeric key value
that is automatically incremented.
iplport_class_name
The name of the class applied to the port. It must include the class file name and the directory
it belongs to, for instance, my_favorite_dir/my_class.class . The classes global and default
cannot be used. This parameter can be empty.
iplport_class_parameters
The parameters of the class specified in the parameter [object]_class_name. The class can
contain several parameters, each parameter must have a maximum length of 4000 characters
and the value of each parameter must be set in the following URL style format:
metadata1=value1&metadata2=value2& . The URL value must be encoded in URL format
as defined in RFC 3986. This parameter can be empty.
iplport_poe
The port POE status. It is set to 1 if the port provides POE. It is set to 0 if the port does not.
iplport_duplex
The port duplex mode.
iplport_iftype
The port interface type (Ethernet, GigaEthernet, FastEthernet, Aggregated).
iplport_ifoperstatus
The port interface status. It can be up or down.
iplnetdev_serial
The network device serial number.
657
Discovered Item
iplnetdev_syscontact
The network device administrative contact. The contact details of the person managing the
network device configuration, as stored on the network device.
iplnetdev_vendor
The network device vendor.
iplnetdev_type
The network device type.
iplnetdev_syslocation
The network device location, as stored on the network device.
iplnetdev_nbports
The number of ports of the network device.
iplnetdevvlan_status
The VLAN status.
658
Part VII. Workflow Services
Name
workflow_request_add — Add/Edit a Workflow request
Description
The service workflow_request_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to.
Input Parameters
request_id
The Workflow request identifier (ID). This identifier is a unique numeric key value that is
automatically incremented.
request_name
The name of the Workflow request.
request_object_type
The object of the request: dnszone for a DNS zone, block for an IPv4 block, subnet for an
IPv4 terminal subnet, pool for an IPv4 pool or ip for an IPv4 address.
request_object_id
The identifier (ID) of the requested object.
request_object_name
The name of the requested object.
request_target_type
The type of group that deals with the request. The accepted values are: group, DNS server
and VLSM space. If you do not set any value, request_target_type is automatically set to
group.
Set it to group to assign it to a specific group of users, identified with the parameter request_tar-
get_id.
Set it to DNS server to assign it to any group of users that has among its resources the DNS
server specified with the parameter request_target_name or the parameter request_target_id.
Set it to VLSM space to assign it to any group of users that has among its resources the
IPAM space specified with the parameter request_target_name or the parameter request_tar-
get_id.
request_target_name
If you set the request_target_type to DNS server, you can specify a DNS server name. Any
group with the specified DNS server among its resource can execute the request.
If you set the request_target_type to VLSM space, you can specify an IPAM space. Any
group with the specified IPAM space among its resource can execute the request.
request_target_id
If you set the request_target_type to group, specify the identifier (ID) of the group of users
that will deal with your request.
660
workflow_request_add
If you set the request_target_type to DNS server, you can specify the identifier (ID) of a DNS
server. Any group with the specified DNS server among its resource can execute the request.
If you set the request_target_type to VLSM space, you can specify the identifier (ID) of an
IPAM space. Any group with the specified IPAM space among its resource can execute the
request.
request_source_name
This optional parameter allows to specify the name of a group of users when creating a
Workflow request. It is useful if the requestor belongs to several groups. The rights and per-
missions of the specified group are used when executing the service. Besides, all the users
of the specified group can edit the request. The group specified can be displayed in the GUI
in the column Source name.
request_admin_id
The identifier (ID) of the request manager, the user that deals with the request. It is useless
to set it when adding or editing a request, it is automatically set when the request manager
deals with the request.
request_admin_time
The last time the request was edited by a request manager. It is useless to set it when adding
or editing a request, it is automatically edited.
modify_time
The last time the request was edited, by the requestor, a request manager or any other user
with sufficient rights. It is useless to set it when adding or editing a request, it is automatically
edited.
request_status
The request status. By default, six statuses exist: accept, archive, cancel, finish, handle, new
and reject. It is useless to set it when adding a request, it is automatically set to new.
This parameter can also be return and set with statuses that you or your administrator created.
request_action
The action required in the request. The accepted values are: New, Modified and Delete. They
allow to ask for the addition, edition or deletion of the object specified in the parameter re-
quest_object_type.
request_class_name
The request_class_name is the name of the file class that will used for this object. The name
of request_class_name must include the directory of the class. The global and default class
names are reserved by the system and must never be used. For example a re-
quest_class_name parameter could be set to: my_favorite_dir/my_class.class.
request_class_parameters
The request_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The request_class_parameters parameter accepts several meta-
data values set in the following URL style format: metadata1=value1&metadata2=value2&.
To be accepted by request_class_parameters parameter the URL value must be encoded
in URL format (see RFC 3986).
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
661
workflow_request_add
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
additional_parameters
Additional parameters passed to rules.
no_usertracking
The operation visibility. If set to 1, the operation information is not stored in user tracking.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
662
Name
request_incoming_count — Number of incoming requests
Description
The service request_incoming_count allows to display the number of Workflow incoming requests.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
663
Name
request_incoming_list — List of incoming requests
Description
The service request_incoming_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
request_id
The Workflow request identifier (ID). This identifier is a unique numeric key value that is
automatically incremented.
request_usr_login
Not documented.
request_admin_login
Not documented.
664
Name
request_outgoing_count — Number of outgoing requests
Description
The service request_outgoing_count allows to display the number of Workflow outgoing requests.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
665
Name
request_outgoing_list — List the outgoing requests
Description
The service request_outgoing_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
request_id
The Workflow request identifier (ID). This identifier is a unique numeric key value that is
automatically incremented.
request_usr_login
Not documented.
request_admin_login
Not documented.
666
Name
request_info — Display the properties of a Workflow request
Description
The service request_info returns the information on the object specified in input.
Input Parameters
request_id
The Workflow request identifier (ID). This identifier is a unique numeric key value that is
automatically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
667
Name
workflow_request_delete — Delete a Workflow request
Description
The service workflow_request_delete allows to delete SOLIDserver database object.The service
workflow_request_delete needs to identify the object to delete with the input parameters detailed
in the next section. This service will be executed if the connected user running this service is al-
lowed to delete the concerned object
Input Parameters
request_id
The Workflow request identifier (ID). This identifier is a unique numeric key value that is
automatically incremented.
request_name
The name of the Workflow request.
additional_parameters
Additional parameters passed to rules.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
668
Part VIII. Administration Services
Table of Contents
53. Services Management ............................................................................................. 671
service_list ............................................................................................................ 672
group_service_add ................................................................................................ 674
group_service_delete ............................................................................................ 675
54. Group ..................................................................................................................... 676
group_add ............................................................................................................ 677
group_count .......................................................................................................... 679
group_list .............................................................................................................. 680
group_info ............................................................................................................ 682
maintainer_group_list ............................................................................................ 684
group_admin_user_count ...................................................................................... 685
group_admin_user_list .......................................................................................... 686
group_admin_item_count ....................................................................................... 688
group_admin_item_list ........................................................................................... 689
group_admin_count ............................................................................................... 691
group_admin_list ................................................................................................... 692
group_admin_info .................................................................................................. 694
group_admin_service_list ...................................................................................... 696
group_delete ......................................................................................................... 697
55. User ........................................................................................................................ 698
user_add .............................................................................................................. 699
user_modify_password .......................................................................................... 701
user_modify_settings ............................................................................................. 702
user_info .............................................................................................................. 703
user_admin_count ................................................................................................. 705
user_admin_list ..................................................................................................... 706
user_admin_info .................................................................................................... 708
user_admin_group_list .......................................................................................... 710
user_service_list ................................................................................................... 711
group_service_list ................................................................................................. 712
group_user_add .................................................................................................... 713
group_user_delete ................................................................................................ 714
user_delete ........................................................................................................... 715
56. Custom Database and Custom Data ......................................................................... 716
custom_db_name_add .......................................................................................... 717
custom_db_name_count ........................................................................................ 718
custom_db_name_list ............................................................................................ 719
custom_db_name_info .......................................................................................... 721
custom_db_name_delete ....................................................................................... 722
custom_db_data_add ............................................................................................ 723
custom_db_data_count ......................................................................................... 724
custom_db_data_list .............................................................................................. 725
custom_db_data_delete ......................................................................................... 727
57. Class ...................................................................................................................... 728
class_add ............................................................................................................. 729
class_list ............................................................................................................... 730
class_count .......................................................................................................... 732
group_class_add ................................................................................................... 733
group_class_delete ............................................................................................... 734
class_delete .......................................................................................................... 735
670
Chapter 53. Services Management
671
Services Management
Name
service_list — List all the services
Description
The service service_list allows to list all the existing services whether they can be granted as
resource of a group or not. Not all services can be granted access to, the output parameters in-
dicate what you can do with them and where to find them: which module they apply or whether
they are listed in the GUI. Once a service that can actually be granted as a resource is part of
the resource of a group, the user of the group can execute it, provided that they are granted access
to the relevant resources. The WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional WHERE parameter has the general SQL ANSI form. Any row that matches the
configuration of the WHERE clause is returned.
Output Parameters
service_name
The service name.
service_comment
The service description.
service_default
The service default assignment. If set to 1, the service can be executed by any group of users
by default. That is to say that any group of users created is granted access to the service. If
set to 0, the administrators must grant access to the service if they want their user to be able
to execute it. Obviously, this applies to services that can actually be added as group resource.
service_show
The service visibility in the GUI. If set to 1, the services is listed among the services of the
properties page of a group of users. If set to 0, the service is not visible in the GUI. For in-
stance, all the *_count services are set to 0 as the number of items is visible an all listing
pages.
module_name
The name of the module the service applies to: ip for the IPAM, dhcp for the DHCP, dns for
the DNS, iplocator for NetChange, workflow for the Workflow, host for Device Manage, vlm
for VLAN Manager, access for the resources, groups and users management of the Admin-
istration module and system for the rest of the Administration module (custom databases,
custom data, etc.).
service_usage
The service type. It is either: service, macro or internal. No user can execute or grant access
to the internal services, these services are internal to SOLIDserver and run on their own
when needed.
672
Services Management
service_has_help
The service help command availability. If set to 1, you can call the command <service-
name> help to get the list of input and output parameters. If set to 0, the help command is
unavailable for the service.
673
Services Management
Name
group_service_add — Add a service as group resource/Grant a group access to a
service
Description
The service group_service_add allows to grant a group of users the right to execute a service.
Not all services can be granted access to, you can use the service service_list to have an overview
of the available services. You must specify the group of users and the service that you set as
resource. Once set as a resource, the group can execute the service.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
service_name
The service name.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
674
Services Management
Name
group_service_delete — Remove a service from a group resources/Deny a group
access to a service
Description
The service group_service_delete allows to delete SOLIDserver database object. The service
group_service_delete needs to identify the object to delete with the input parameters detailed in
the next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
service_name
The service name.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
675
Chapter 54. Group
676
Group
Name
group_add — Add/Edit a group of users
Description
The service group_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
grp_description
Group description.
grp_category
Group category.
src_grp_id
Source group ID (for default service values).
src_grp_name
Source group name (for default service values).
parent_grp_id
The parent group identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
parent_grp_name
Parent group name.
grp_class_name
The grp_class_name is the name of the file class that will used for this object. The name of
grp_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a grp_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
grp_class_parameters
The grp_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The grp_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by grp_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
enabled
Manage/Unmanage.
677
Group
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
no_rule_exec
Defines if rules are executed after the service is called. If its value is set to 1, no rules are
executed after the service. The default value is 0.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
678
Group
Name
group_count — Number of groups a user belongs to
Description
The service group_count returns the number of groups the user running it belongs to.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
679
Group
Name
group_list — List the groups a user belongs to
Description
The service group_list allows to list the groups of users that the user running the service belongs
to.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_description
Group description.
680
Group
grp_category
Group category.
src_grp_id
Source group ID (for default service values).
src_grp_name
Source group name (for default service values).
parent_grp_id
The parent group identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
parent_grp_name
Parent group name.
grp_class_name
The grp_class_name is the name of the file class that will used for this object. The name of
grp_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a grp_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
grp_class_parameters
The grp_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The grp_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by grp_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
681
Group
Name
group_info — Display the properties of a group a user belongs to
Description
The service group_info returns information one of the groups the running the service belongs to.
The group must be specified in input.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_description
Group description.
grp_category
Group category.
src_grp_id
Source group ID (for default service values).
src_grp_name
Source group name (for default service values).
parent_grp_id
The parent group identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
parent_grp_name
Parent group name.
grp_class_name
The grp_class_name is the name of the file class that will used for this object. The name of
grp_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a grp_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
682
Group
grp_class_parameters
The grp_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The grp_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by grp_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
683
Group
Name
maintainer_group_list — List the groups of users used as Maintainer
Description
The service maintainer_group_list allows to list all the group of users that have been set as
Maintainer group for users.
To execute this service, users must be granted permission to use the service maintainer_group_list.
The rows returned to the user running the service depend on the resources granted to the group
they belong to. The WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
684
Group
Name
group_admin_user_count — Total number of users in a group of users
Description
The service group_admin_user_count allows to display the total number of users of a group of
users. The rows returned to the user running the service are not subject to the group resources,
this service returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: grp_id, grp_name, item_id, t_type, t_oid, t_value1,
t_value2, t_value3, t_value4.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
685
Group
Name
group_admin_user_list — List all the users of a group of users
Description
The service group_admin_user_list allows to list all the users of a group of users. The rows re-
turned to the user running the service are not subject to the group resources, this service returns
data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: grp_id, grp_name, item_id, t_type, t_oid, t_value1,
t_value2, t_value3, t_value4.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
686
Group
item_id
Not documented.
t_type
Not documented.
t_oid
Not documented.
t_value1
Not documented.
t_value2
Not documented.
t_value3
Not documented.
t_value4
Not documented.
687
Group
Name
group_admin_item_count — Total number of resources in a group of users
Description
The service group_admin_item_count allows to display the total number of resources of a group
of users. The rows returned to the user running the service are not subject to the group resources,
this service returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: grp_id, grp_name, item_id, t_type, t_oid, t_value1,
t_value2, t_value3, t_value4.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belong to. It matches the WHERE clause, if provided.
688
Group
Name
group_admin_item_list — List all the resources of a group of users
Description
The service group_admin_item_list allows to list all the resources of a group of users. The rows
returned to the user running the service are not subject to the group resources, this service returns
data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: grp_id, grp_name, item_id, t_type, t_oid, t_value1,
t_value2, t_value3, t_value4.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
689
Group
item_id
Not documented.
t_type
Not documented.
t_oid
Not documented.
t_value1
Not documented.
t_value2
Not documented.
t_value3
Not documented.
t_value4
Not documented.
690
Group
Name
group_admin_count — Total number of group of users
Description
The service group_admin_count allows to display the total number of groups of users. The rows
returned to the user running the service are not subject to the group resources, this service returns
data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
691
Group
Name
group_admin_list — List all the groups of users
Description
The service group_admin_list allows to list all the existing groups of users. The rows returned to
the user running the service are not subject to the group resources, this service returns data as
if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_description
Group description.
692
Group
grp_category
Group category.
src_grp_id
Source group ID (for default service values).
src_grp_name
Source group name (for default service values).
parent_grp_id
The parent group identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
parent_grp_name
Parent group name.
grp_class_name
The grp_class_name is the name of the file class that will used for this object. The name of
grp_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a grp_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
grp_class_parameters
The grp_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The grp_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by grp_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
693
Group
Name
group_admin_info — Display all the properties of a group of users
Description
The service group_admin_info returns information on all the existing group of users. The rows
returned to the user running the service are not subject to the group resources, this service returns
data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_description
Group description.
grp_category
Group category.
src_grp_id
Source group ID (for default service values).
src_grp_name
Source group name (for default service values).
parent_grp_id
The parent group identifier (ID). This identifier is a unique numeric key value that is automat-
ically incremented.
parent_grp_name
Parent group name.
grp_class_name
The grp_class_name is the name of the file class that will used for this object. The name of
grp_class_name must include the directory of the class. The global and default class names
694
Group
are reserved by the system and must never be used. For example a grp_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
grp_class_parameters
The grp_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The grp_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by grp_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
695
Group
Name
group_admin_service_list — List all the rights of a group of users
Description
The service group_admin_service_list allows to list all the services/rights granted to a group of
users. The rows returned to the user running the service are not subject to the group resources,
this service returns data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
696
Group
Name
group_delete — Delete a group of users
Description
The service group_delete allows to delete a group of users.Yous must specify the group to delete
in input.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
697
Chapter 55. User
698
User
Name
user_add — Add/Edit a user
Description
The service user_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
usr_id
The user identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
login
User login.
usr_login
User login.
description
User description.
usr_description
User description.
fname
User first name.
usr_fname
User first name.
lname
User last name.
usr_lname
User last name.
email
User email.
usr_email
User email.
type
User type (local/passwd/pam/rule).
usr_type
User type (local/passwd/pam/rule).
path
User login url.
usr_path
User login url.
699
User
password
User password.
usr_password
User password.
www_settings
User settings (URL).
usr_www_settings
User settings (URL).
maintainer_grp_id
The identifier (ID) of the maintainer group set for the user. This identifier is a unique numeric
key value that is automatically incremented.
maintainer_grp_name
The name of the maintainer group set for the user. This identifier is a unique numeric key
value that is automatically incremented.
usr_class_name
The usr_class_name is the name of the file class that will used for this object. The name of
usr_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a usr_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
usr_class_parameters
The usr_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The usr_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by usr_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
enabled
Manage/Unmanage.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
changed_waiting_state
Changed waiting state (Internal).
keep_class_parameters
Allows to keep existing class parameters. The parameter value must be 0 or 1. If set to 1,
the value of the parameter [object]_class_parameters is added to the existing class paramet-
ers.
add_flag
Allows to flag the creation type. The flag can be either new_only, edit_only or new_edit.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
700
User
Name
user_modify_password — Edit the password of a user
Description
The service user_modify_password allows to edit a user password.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
password
User password.
usr_password
User password.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
701
User
Name
user_modify_settings — Edit the settings of a user
Description
The service user_modify_settings allows to edit a user properties.
To execute this service, users must be granted permission to use it. The rows returned to the
user running the service depend on the resources granted to the group they belong to. The
WHERE input parameter allows to filter the returned rows.
Input Parameters
www_settings
User settings (URL).
usr_www_settings
User settings (URL).
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
702
User
Name
user_info — Display the properties of the user running the service
Description
The service user_info returns the information on the user running it.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
usr_id
The user identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
usr_login
User login.
usr_type
User type (local/passwd/pam/rule).
usr_path
User login url.
usr_description
User description.
usr_fname
User first name.
703
User
usr_lname
User last name.
usr_email
User email.
usr_www_settings
User settings (URL).
usr_class_name
The usr_class_name is the name of the file class that will used for this object. The name of
usr_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a usr_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
usr_class_parameters
The usr_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The usr_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by usr_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
maintainer_grp_id
The identifier (ID) of the maintainer group set for the user. This identifier is a unique numeric
key value that is automatically incremented.
maintainer_grp_name
The name of the maintainer group set for the user. This identifier is a unique numeric key
value that is automatically incremented.
704
User
Name
user_admin_count — Total number of users
Description
The service user_admin_count allows to display the total number of users. The rows returned to
the user running the service are not subject to the group resources, this service returns data as
if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: usr_id, row_enabled, usr_login, usr_type, usr_descrip-
tion, usr_lname, usr_fname, usr_custom1, usr_custom2, usr_custom3, usr_class_name,
usr_class_parameters, waiting_state, waiting_status, maintainer_grp_name, maintain-
er_grp_id, usr_email, usr_path.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belongs to. It matches the WHERE clause, if provided.
705
User
Name
user_admin_list — List all the users
Description
The service user_admin_list allows to list all the existing users. The rows returned to the user
running the service are not subject to the group resources, this service returns data as if the user
running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: usr_id, row_enabled, usr_login, usr_type, usr_descrip-
tion, usr_lname, usr_fname, usr_custom1, usr_custom2, usr_custom3, usr_class_name,
usr_class_parameters, waiting_state, waiting_status, maintainer_grp_name, maintain-
er_grp_id, usr_email, usr_path.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
usr_id
The user identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
706
User
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
usr_login
User login.
usr_type
User type (local/passwd/pam/rule).
usr_description
User description.
usr_lname
User last name.
usr_fname
User first name.
usr_class_name
The usr_class_name is the name of the file class that will used for this object. The name of
usr_class_name must include the directory of the class. The global and default class names
are reserved by the system and must never be used. For example a usr_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
usr_class_parameters
The usr_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The usr_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by usr_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
waiting_state
State of the pending creation used when update third external database as Internet registrar.
waiting_status
Status of the pending operation.
maintainer_grp_name
The name of the maintainer group set for the user. This identifier is a unique numeric key
value that is automatically incremented.
maintainer_grp_id
The identifier (ID) of the maintainer group set for the user. This identifier is a unique numeric
key value that is automatically incremented.
usr_email
User email.
usr_path
User login url.
707
User
Name
user_admin_info — Display all the properties of a user
Description
The service user_admin_info returns information on all the existing users. The rows returned to
the user running the service are not subject to the group resources, this service returns data as
if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
usr_id
The user identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
usr_id
The user identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
row_enabled
The object activation status. If set to 0, the object is in the database but ignored (it is not
visible in the GUI and cannot be managed, counted or listed). If set to 1, the object can be
managed normally. By default, row_enabled is set to 1 when an object is created.
usr_login
User login.
usr_type
User type (local/passwd/pam/rule).
usr_description
User description.
usr_lname
User last name.
usr_fname
User first name.
usr_class_name
The usr_class_name is the name of the file class that will used for this object. The name of
usr_class_name must include the directory of the class. The global and default class names
708
User
are reserved by the system and must never be used. For example a usr_class_name para-
meter could be set to: my_favorite_dir/my_class.class.
usr_class_parameters
The usr_class_parameters parameter is a data container used to store your customized
meta-data. This meta-data can be apply for the class object definition and for the global
customized fields as well. The usr_class_parameters parameter accepts several meta-data
values set in the following URL style format: metadata1=value1&metadata2=value2&. To be
accepted by usr_class_parameters parameter the URL value must be encoded in URL format
(see RFC 3986).
waiting_state
State of the pending creation used when update third external database as Internet registrar.
waiting_status
Status of the pending operation.
maintainer_grp_name
The name of the maintainer group set for the user. This identifier is a unique numeric key
value that is automatically incremented.
maintainer_grp_id
The identifier (ID) of the maintainer group set for the user. This identifier is a unique numeric
key value that is automatically incremented.
usr_email
User email.
usr_path
User login url.
709
User
Name
user_admin_group_list — List all the groups a user belongs to
Description
The service user_admin_group_list allows to list all the groups a user belongs to. The rows re-
turned to the user running the service are not subject to the group resources, this service returns
data as if the user running it belonged to the admin group.
To execute this service, users must be granted permission to use it. The WHERE input parameter
allows to filter the returned rows.
Input Parameters
usr_id
The user identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
from_type
Not documented.
710
User
Name
user_service_list — List the services that a user can execute
Description
The service user_service_list allows to list entries from SOLIDserver database. To execute this
service, users must be granted permission to use it. The WHERE input parameter allows to filter
the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
service_name
The service name.
module_name
The name of the module the service applies to: ip for the IPAM, dhcp for the DHCP, dns for
the DNS, iplocator for NetChange, workflow for the Workflow, host for Device Manage, vlm
for VLAN Manager, access for the resources, groups and users management of the Admin-
istration module and system for the rest of the Administration module (custom databases,
custom data, etc.).
link_active
The service activation status. If set to 1, it is active. If set to 0 it is not active.
711
User
Name
group_service_list — List the services that a user can execute according to the groups
they belong to
Description
The service group_service_list allows to list entries from SOLIDserver database. To execute this
service, users must be granted permission to use it. The rows returned to the user running the
service depend on the resources granted to the group they belong to. The WHERE input para-
meter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: all the output parameters that are specific to the object
can be used in the clause.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
grp_name
The name of the group of users.
module_name
The name of the module the service applies to: ip for the IPAM, dhcp for the DHCP, dns for
the DNS, iplocator for NetChange, workflow for the Workflow, host for Device Manage, vlm
for VLAN Manager, access for the resources, groups and users management of the Admin-
istration module and system for the rest of the Administration module (custom databases,
custom data, etc.).
service_name
The service name.
link_active
The service activation status. If set to 1, it is active. If set to 0 it is not active.
712
User
Name
group_user_add — Add a user as group resource
Description
The service group_user_add allows to add a user as resource for a group of users, in other words,
to add a user to a group. You must specify the group of users and the object that you set as re-
source. Once set as a resource, the user is granted access to all the services and object (re-
sources) of the group.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
usr_id
The user identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
713
User
Name
group_user_delete — Remove a user from a group resources
Description
The service group_user_delete allows to delete SOLIDserver database object. The service
group_user_delete needs to identify the object to delete with the input parameters detailed in the
next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
usr_id
The user identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
714
User
Name
user_delete — Delete a user
Description
The service user_delete allows to delete a user. You must specify the user in input. To execute
this service, users must be granted permission to use it. Its successful execution also depends
on the resources granted to the group they belong to.
Input Parameters
usr_id
The user identifier (ID). This identifier is a unique numeric key value that is automatically in-
cremented.
login
User login.
usr_login
User login.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
715
Chapter 56. Custom Database and
Custom Data
716
Custom Database and Custom Data
Name
custom_db_name_add — Add/Edit a custom database
Description
The service custom_db_name_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
custom_db_name_id
The identifier (ID) of the custom database. This ID must be used for any change on this
custom database.
name
Name of the custom database that you want to create. This field is mandatory.
type
Type is a free text data. It allows you to define a type of database.
descr
This is an optional field to describe the database.
label1 to label10
Name the columns of the custom database. The column is an entry of the database, you can
set up to 10 columns in each database.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
717
Custom Database and Custom Data
Name
custom_db_name_count — Number of custom databases
Description
The service custom_db_name_count allows to display the number of custom databases. To ex-
ecute this service, users must be granted permission to use the service custom_db_name_count.
The rows returned to the user running the service depend on the resources granted to the group
they belong to. The WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: custom_db_name_id, descr, name, type, read_only,
label1, label2, label3, label4, label5, label6, label7, label8, label9, label10.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belong to. It matches the WHERE clause, if provided.
718
Custom Database and Custom Data
Name
custom_db_name_list — List the custom databases
Description
The service custom_db_name_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
It can contain the following variables: custom_db_name_id, descr, name, type, read_only,
label1, label2, label3, label4, label5, label6, label7, label8, label9, label10.
ORDERBY
The optional parameter ORDERBY follows the general SQL ANSI form. It sets the order of
the output parameters returned, using their name or ordinal number.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
custom_db_name_id
Unique identifier of the custom database.
descr
This is an optional field to describe the database.
name
Name of the custom database.
719
Custom Database and Custom Data
type
Define the type of custom database.
read_only
No documented.
label1 to label10
Name the columns of the custom database. The column is an entry of the database, you can
set up to 10 columns in each database.
720
Custom Database and Custom Data
Name
custom_db_name_info — Display the properties of a custom database
Description
The service custom_db_name_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use it. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
custom_db_name_id
Unique identifier of the custom database.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
custom_db_name_id
Unique identifier of the custom database.
descr
This is an optional field to describe the database.
name
Name of the custom database.
type
Define the type of custom database.
read_only
No documented.
label1 to label10
Name the columns of the custom database. The column is an entry of the database, you can
set up to 10 columns in each database.
721
Custom Database and Custom Data
Name
custom_db_name_delete — Delete a custom database
Description
The service custom_db_name_delete allows to delete SOLIDserver database object. The service
custom_db_name_delete needs to identify the object to delete with the input parameters detailed
in the next section. This service will be executed if the connected user running this service is al-
lowed to delete the concerned object
Input Parameters
selected_query
The selected_query parameter allows to use a sub query to select the data row to delete.
The selected_query parameter has the general SQL ANSI form.The selected_query condition
is any expression that evaluates to a result of type boolean. Any row that does not satisfy
this condition will be eliminated from the deletion.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
722
Custom Database and Custom Data
Name
custom_db_data_add — Add/Edit custom data
Description
The service custom_db_data_add_php allows to add new entries to the database or to update
it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
custom_db_name_id
The identifier (ID) of the custom database. This ID is mandatory.
custom_db_data_id
The identifier (ID) of the custom database entry (value).
name
Name of the custom DB that you want to create. This field is mandatory.
type
Type is a free text data. It allows you to define a type of database.
descr
This is an optional field to describe the database.
label1 to label10
Name the columns of the custom database. The column is an entry of the database, you can
set up to 10 columns in each database.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
723
Custom Database and Custom Data
Name
custom_db_data_count — Number of custom data entries in a custom database
Description
The service custom_db_data_count allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use the service custom_db_data_count. The
rows returned to the user running the service depend on the resources granted to the group they
belong to. The WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional WHERE parameter has the general SQL ANSI form. Any row that matches the
configuration of the WHERE clause is returned.
It can contain the following variables: custom_db_name_id, descr, name, type, read_only,
label1, label2, label3, label4, label5, label6, label7, label8, label9, label10.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Total number of objects. It depends on the resources of the group that the user running the
service belong to. It matches the WHERE clause, if provided.
724
Custom Database and Custom Data
Name
custom_db_data_list — List the custom data entries
Description
The service custom_db_data_list allows to list entries from SOLIDserver database. To execute
this service, users must be granted permission to use the service custom_db_data_list. The rows
returned to the user running the service depend on the resources granted to the group they belong
to. The WHERE input parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
custom_db_data_id
The identifier (ID) of the custom database entry (value).
custom_db_name_id
The identifier (ID) of the custom database.
descr
Not documented.
725
Custom Database and Custom Data
name
Not documented.
type
Not documented.
read_only
Not documented.
label1 to label10
Name the columns of the custom database. The column is an entry of the database, you can
set up to 10 columns in each database.
value1 to value10
The value of the database entries, if you have 10 columns, you have 10 corresponding entries.
726
Custom Database and Custom Data
Name
custom_db_data_delete — Delete custom data
Description
The service custom_db_data_delete allows to delete SOLIDserver database object. The service
custom_db_data_delete needs to identify the object to delete with the input parameters detailed
in the next section. This service will be executed if the connected user running this service is al-
lowed to delete the concerned object.
Input Parameters
selected_query
The selected_query parameter allows to use a sub query to select the data row to delete.
The selected_query parameter has the general SQL ANSI form.The selected_query condition
is any expression that evaluates to a result of type boolean. Any row that does not satisfy
this condition will be eliminated from the deletion.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
727
Chapter 57. Class
728
Class
Name
class_add — Add/Edit a class
Description
The service class_add allows to add new entries to the database or to update it.
If the identifier of the object is not specified, a new entry is created. If an existing identifier is
specified, the corresponding entry configuration is edited with all the parameters specified in input.
To remove a parameter, set it to null.
To execute this service, users must be granted the permission to use it. The rows returned to
the user running the service depend on the resources granted to the group they belong to
Input Parameters
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
729
Class
Name
class_list — List all the enabled classes
Description
The service class_list allows to list Class Studio classes with a status Enabled. The classes
global and default that are not returned by this service. The rows returned to the user running
the service depend on the resources granted to the group they belong to. The WHERE input
parameter allows to filter the returned rows.
Input Parameters
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
If a parameter has the same value in two different rows, the next parameter of each row is
compared. If that second parameter is still the same for both rows, the next parameter of
each row is compared, and so on until all the rows are ordered according to the configuration
you set in the ORDERBY clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
Users can add the optional keyword ASC (ascending) or DESC (descending) after any ex-
pression in the ORDERBY parameter. If not specified, ASC is assumed by default. The OR-
DERBY parameter can use the same variables as the WHERE clause.
offset
This optional parameter indicates the number of rows to skip in the service output.
limit
This optional parameter can be used to limit the number of rows returned. Once set, the
number of rows does not exceed the value set. However it can return less rows, depending
on the user resources, the input configuration or the database content.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
class_id
The class_id parameter is the Class identifier (ID). This identifier is a unique numeric key
value that is automatically incremented.
class_name
The class name.
730
Class
class_description
The class description.
class_type
The class type, i.e. the object the class applies to.
class_category
Not documented.
class_is_template
Indicates if the class is used as template class (1) or not (0).
731
Class
Name
class_count — Number of enabled classes
Description
The service class_count allows to count Class Studio classes with a status Enabled. The classes
global and default that are not returned by this service. To execute this service, users must be
granted permission to use it. The rows returned to the user running the service depend on the
resources granted to the group they belong to. The WHERE input parameter allows to filter the
returned rows.
Input Parameters
class_id
The class identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
class_name
The class name.
WHERE
The optional parameter WHERE follows the general SQL ANSI form. Any row that matches
the configuration of the WHERE clause is returned.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
total
Number of objects returned, it depends on the resources of the group and matches the
WHERE clause, if provided.
732
Class
Name
group_class_add — Add a class as group resource
Description
The service group_class_add allows to add an object as resource for a group of users. You must
specify the group of users and the object that you set as resource. Once set as a resource, the
group can manage the object according to the rights services it has access to.
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
class_id
The class identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
733
Class
Name
group_class_delete — Remove a class from a group resources
Description
The service group_class_delete allows to delete SOLIDserver database object. The service
group_class_delete needs to identify the object to delete with the input parameters detailed in
the next section. This service will be executed if the connected user running this service is allowed
to delete the concerned object
Input Parameters
grp_id
The group of users identifier (ID). This identifier is a unique numeric key value that is auto-
matically incremented.
grp_name
The name of the group of users.
class_id
The class identifier (ID). This identifier is a unique numeric key value that is automatically
incremented.
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
734
Class
Name
class_delete — Delete a class
Description
The service class_delete allows to delete SOLIDserver database object. The service class_delete
needs to identify the object to delete with the input parameters detailed in the next section. This
service will be executed if the connected user running this service is allowed to delete the con-
cerned object
Input Parameters
Output Parameters
errno
Status returned by the service after its execution. If the operation is successful, it returns 0.
If the operation fails, it returns other numbers detailed in the appendix Return code.
735
Appendix A. Return Codes
This section contains the API (Application Programming Interface) return codes for SOLIDserver.
For each return code, the following information is provided:
Table A.1.
Code Level Description
000004 Error Missing parameter(s) [<parameters>]
000005 Error Bad parameter(s) [<parameters>=<param_value>]
000006 Error Permission denied. [<errmsg>]
000010 Error Parameter '<parameter>' too long (<max_size> max)
000011 Error Object '<obj_name>' already exists
000012 Error Bad parameter format (<parameters>) (<param_value>)
000013 Error Value cannot be changed (parameter: <parameter>, pre-
vious value: <prev_value>, new value: <new_value>)
000014 Error Invalid license
000015 Error Internal protocol error (too many values)
000016 Error Syntax error at line <line> near "<token>"
000017 Error Object does not exist
000100 Error Failed to perform your action. (action: <action>, object:
<object>)
000101 Notice Object added (object: <object>)
000102 Notice Object deleted (object: <object>)
000103 Notice Object modified (object: <object>)
000104 Error Object already exists
000105 Error Cannot modify the parameter
000106 Error This value already exists
000107 Error Functionality not applicable for this object (object: <ob-
ject_name>, type: <object_type>)
000108 Error Can't find object
000200 Notice Action successfully completed
000201 Notice File "<file>" deleted
000202 Error File "<file>" already exists
736
Return Codes
737
Return Codes
738
Return Codes
739
Return Codes
740
Return Codes
741
Return Codes
742
Return Codes
743
Return Codes
744
Return Codes
745
Return Codes
746
Return Codes
747
Return Codes
748
Return Codes
749
Return Codes
750
Return Codes
751
Return Codes
752
Return Codes
753
Return Codes
754
Return Codes
755
Return Codes
756
Return Codes
757
Return Codes
758
Return Codes
759
Return Codes
760
Return Codes
761
Return Codes
762
Return Codes
763
Return Codes
764