SOLIDserver API Reference REST 8.1
SOLIDserver API Reference REST 8.1
Reference Guide
Version 8.1
™
SOLIDserver API: REST Reference Guide
SOLIDserver API: REST Reference Guide
Revision: #116930
This document aims at detailing EfficientIP proprietary solutions. As our solutions rely on several third-party products, created by other
companies or organizations, it may redirect readers to third-party websites and documentation for further information. EfficientIP cannot
be liable for or expected to provide said information regarding products maintained or created by third parties.
In no event shall EfficientIP be liable for any special, punitive, indirect, incidental or consequential damages of any kind including, but
not limited to, loss of present or prospective profits or business, loss of data, business interruption, damages to reputation or image,
whether in an action of contract, negligence, or other action, arising out of or in connection with the use, reliance upon or performance
of the products provided by EfficientIP or any information contained herein.
All EfficientIP products and documentation are subject to separate licensing terms which users must agree to and comply with in order
to use such products and documentation.
Table of Contents
About this Guide ............................................................................................................. xiv
Documentation Organization ................................................................................... xiv
Documentation Convention ..................................................................................... xiv
I. REST Calls with SOLIDserver ......................................................................................... 1
1. Technical Overview ................................................................................................ 3
Prerequisites .................................................................................................... 3
Limitations ........................................................................................................ 3
2. Calling SOLIDserver Services ................................................................................ 4
Supported HTTP Verbs ..................................................................................... 4
REST Calls Format and Description ................................................................... 4
REST Calls Using Multiple Parameters ............................................................... 5
REST Calls Expected Response ........................................................................ 6
3. SOLIDserver Key Services ..................................................................................... 7
Services *_add ................................................................................................. 7
Services *_list ................................................................................................... 7
Services *_info ................................................................................................. 8
Services *_count ............................................................................................... 9
Services *_delete .............................................................................................. 9
4. Calling Services With TAGS ................................................................................. 10
Prerequisites .................................................................................................. 10
Limitations ...................................................................................................... 10
Tagging a Class Parameter .............................................................................. 10
Including Tagged Class Parameters in the Clause WHERE ................................ 12
Including Tagged Class Parameters in the Clause ORDERBY ............................ 14
Including Tagged Class Parameters in the Statements SELECT and
GROUPBY ..................................................................................................... 16
Expected Object Types in the TAGS ................................................................. 18
II. IPAM Services ............................................................................................................. 19
5. Space ................................................................................................................. 22
ip_site_add ..................................................................................................... 23
ip_site_list ...................................................................................................... 26
ip_site_info ..................................................................................................... 29
ip_site_count .................................................................................................. 31
group_site_add ............................................................................................... 32
group_site_delete ........................................................................................... 34
ip_site_delete ................................................................................................. 36
6. IPv4 Network ...................................................................................................... 38
ip_subnet_add ................................................................................................ 39
ip_block_subnet_list ........................................................................................ 46
ip_block_subnet_info ....................................................................................... 53
ip_block_subnet_count .................................................................................... 59
ip_find_free_subnet ......................................................................................... 60
ip_block_subnet_groupby ................................................................................ 63
ip_block_subnet_groupby_count ...................................................................... 65
group_subnet_add .......................................................................................... 66
group_subnet_delete ....................................................................................... 70
ip_subnet_delete ............................................................................................ 74
7. IPv6 Network ...................................................................................................... 78
ip6_subnet6_add ............................................................................................ 79
ip6_block6_subnet6_list .................................................................................. 85
ip6_block6_subnet6_info ................................................................................. 91
iv
SOLIDserver API: REST Reference
Guide
ip6_block6_subnet6_count .............................................................................. 97
ip6_find_free_subnet6 ..................................................................................... 98
ip6_block6_subnet6_groupby ......................................................................... 100
ip6_block6_subnet6_groupby_count ............................................................... 102
group_subnet6_add ...................................................................................... 103
group_subnet6_delete ................................................................................... 106
ip6_subnet6_delete ....................................................................................... 109
8. IPv4 Pool .......................................................................................................... 112
ip_pool_add .................................................................................................. 113
ip_pool_list ................................................................................................... 117
ip_pool_info .................................................................................................. 121
ip_pool_count ............................................................................................... 125
group_pool_add ............................................................................................ 126
group_pool_delete ........................................................................................ 129
ip_pool_delete .............................................................................................. 132
9. IPv6 Pool .......................................................................................................... 134
ip6_pool6_add .............................................................................................. 135
ip6_pool6_list ................................................................................................ 139
ip6_pool6_info .............................................................................................. 143
ip6_pool6_count ........................................................................................... 146
group_pool6_add .......................................................................................... 147
group_pool6_delete ....................................................................................... 150
ip6_pool6_delete ........................................................................................... 152
10. IPv4 Address ................................................................................................... 154
ip_add .......................................................................................................... 155
ip_address_list .............................................................................................. 160
ip_address_info ............................................................................................. 167
ip_address_count .......................................................................................... 173
ip_find_free_address ..................................................................................... 174
ip_address_groupby ...................................................................................... 177
ip_address_groupby_count ............................................................................ 179
ip_delete ...................................................................................................... 180
11. IPv6 Address ................................................................................................... 182
ip6_address6_add ......................................................................................... 183
ip6_address6_list .......................................................................................... 187
ip6_address6_info ......................................................................................... 193
ip6_address6_count ...................................................................................... 198
ip6_find_free_address6 ................................................................................. 199
ip6_address6_groupby .................................................................................. 202
ip6_address6_groupby_count ........................................................................ 204
ip6_address6_delete ..................................................................................... 205
12. IPv4 Address Alias ........................................................................................... 207
ip_alias_add ................................................................................................. 208
ip_alias_list ................................................................................................... 211
ip_alias_count ............................................................................................... 214
ip_alias_delete .............................................................................................. 215
13. IPv6 Address Alias ........................................................................................... 217
ip6_alias_add ............................................................................................... 218
ip6_alias_list ................................................................................................. 221
ip6_alias_count ............................................................................................. 224
ip6_alias_delete ............................................................................................ 225
III. DHCP Services ........................................................................................................ 227
14. DHCPv4 Server ............................................................................................... 231
dhcp_server_list ............................................................................................ 232
v
SOLIDserver API: REST Reference
Guide
vi
SOLIDserver API: REST Reference
Guide
vii
SOLIDserver API: REST Reference
Guide
viii
SOLIDserver API: REST Reference
Guide
ix
SOLIDserver API: REST Reference
Guide
x
SOLIDserver API: REST Reference
Guide
xi
SOLIDserver API: REST Reference
Guide
xii
List of Examples
3.1. Calling the service dhcp_static_add using Ruby ........................................................... 7
3.2. Calling the service ip_block_subnet_list using PHP ....................................................... 8
3.3. Calling the service dns_rr_info using PHP .................................................................... 8
3.4. Calling the service ip_address_count using Python ....................................................... 9
3.5. Calling the service iplocator_netdev_delete using Python .............................................. 9
6.1. Calling the service ip_subnet_add using Python ......................................................... 44
6.2. Calling the service ip_block_subnet_list using PHP, WHERE and ORDERBY ............... 51
6.3. Calling the service ip_find_free_subnet using Ruby .................................................... 62
6.4. Calling the service group_subnet_add using Python ................................................... 69
6.5. Calling the service ip_subnet_delete using PHP ......................................................... 76
7.1. Calling the service ip6_block6_subnet6_list using Ruby and WHERE ........................... 90
10.1. Calling the service ip_add using Ruby .................................................................... 158
10.2. Calling the service ip_address_list using PHP ......................................................... 165
10.3. Calling the service ip_address_info using PHP ....................................................... 172
10.4. Calling the service ip_find_free_address using Python ............................................ 176
11.1. Calling the service ip6_address6_add using PHP ................................................... 186
11.2. Calling the service ip6_address6_delete using Ruby ............................................... 206
12.1. Calling the service ip_alias_list using Python and ORDERBY .................................. 213
18.1. Calling the service dhcp_scope_list using PHP and WHERE ................................... 284
24.1. Calling the service dhcp_range_lease_list using Python and WHERE ...................... 373
26.1. Calling the service dhcp_static_add using Ruby ...................................................... 409
26.2. Calling the service dhcp_static_info using Python ................................................... 418
30.1. Calling the service dhcp_subclass_list using PHP and ORDERBY ........................... 468
31.1. Calling the service dhcp_subclass_list using PHP and ORDERBY ........................... 487
35.1. Calling the service dns_zone_add using Ruby ........................................................ 560
35.2. Calling the service dns_zone_list using Python ....................................................... 567
36.1. Calling the service dns_rr_add using PHP .............................................................. 604
36.2. Calling the service dns_rr_list using Python ............................................................ 612
36.3. Calling the service dns_rr_info using Ruby ............................................................. 619
36.4. Calling the service dns_rr_delete using PHP .......................................................... 629
62.1. Calling the service user_add using PHP ................................................................. 993
62.2. Calling the service group_user_add using Python ................................................. 1001
62.3. Calling the service group_user_add using PHP ..................................................... 1003
63.1. Calling the service custom_db_data_list using PowerShell ..................................... 1012
xiii
About this Guide
SOLIDserver can be managed using web services instead of, or in addition to, the GUI via REST
mechanism. This guide provides an overview and description of the services you can execute.
Documentation Organization
This guide includes the following parts and appendices:
• REST Calls with SOLIDserver: an introduction to REST mechanism, with a technical overview
on how to make REST calls with SOLIDserver and a set of frequently asked questions.
• IPAM Services: a part describing IP Address Management services, in IPv4 and IPv6, for
spaces, networks, pools, IP addresses and IP address aliases.
• DHCP Services: a part describing DHCP services for servers, shared networks, scopes, groups,
ranges, leases, statics, options, ACLs and their entries and failover channels.
• DNS Services: a part describing DNS services for servers, views, zones, resource records,
ACLs, TSIG keys and DNSSEC.
• Application Services: a part describing Application services for applications, pools and nodes.
• Guardian Services: a part describing Guardian services for policies.
• NetChange Services: a part describing NetChange services for network devices, IPv4 and
IPv6 routes, VLANs, ports, NetChange IP addresses and discovered items.
• Workflow Services: a part describing Workflow services for requests.
• Device Manager Services: a part describing Device Manager services for devices and ports
& interfaces.
• VLAN Manager Services: a part describing VLAN Manager services for domains, ranges and
VLANs.
• VRF Services: a part describing VRF services for VRFs and VRF Route Targets.
• Administration Services: a part describing some services of the module Administration that
relate to services management, groups of users, users and custom data.
• IPAM Cheat Sheet an appendix describing key parameters when calling IPAM services.
• IPAM Workflow Sample an appendix including best practice scenarios to set up an IPAM ser-
vices orchestration.
• DHCP Options an appendix describing the DHCP options.
• Return Codes an appendix listing all the return codes.
Documentation Convention
Each service is documented following the same structure, some keywords prevent confusions.
xiv
About this Guide
Output Parameters The description of all the parameters returned by the service once executed.
This section does not include the parameters you may have tagged, for more
details refer to the chapter Calling Services With TAGS.
xv
Part I. REST Calls with SOLIDserver
Table of Contents
1. Technical Overview ........................................................................................................ 3
Prerequisites ............................................................................................................ 3
Limitations ................................................................................................................ 3
2. Calling SOLIDserver Services ........................................................................................ 4
Supported HTTP Verbs ............................................................................................. 4
REST Calls Format and Description ........................................................................... 4
REST Calls Using Multiple Parameters ....................................................................... 5
REST Calls Expected Response ................................................................................ 6
3. SOLIDserver Key Services ............................................................................................. 7
Services *_add ......................................................................................................... 7
Services *_list ........................................................................................................... 7
Services *_info ......................................................................................................... 8
Services *_count ....................................................................................................... 9
Services *_delete ...................................................................................................... 9
4. Calling Services With TAGS ......................................................................................... 10
Prerequisites .......................................................................................................... 10
Limitations .............................................................................................................. 10
Tagging a Class Parameter ...................................................................................... 10
Including Tagged Class Parameters in the Clause WHERE ........................................ 12
Including Tagged Class Parameters in the Clause ORDERBY .................................... 14
Including Tagged Class Parameters in the Statements SELECT and GROUPBY ......... 16
Expected Object Types in the TAGS ......................................................................... 18
2
Chapter 1. Technical Overview
The Representational State Transfer (REST) is a software architectural style used as an altern-
ative to SOAP-based web services in web developments. It allows to set up guidelines structured
using HTTP verbs as constraints.
SOLIDserver provides a REST API based on basic HTTP/1.1 verbs mapped to CRUD operations
(Create, Read, Update and Delete). 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 performed using web services: creations,
editions, deletions, retrieval of information, etc.
Prerequisites
• SOLIDserver appliance must be configured with a correct hostname that can be resolved using
a DNS query for the REST client.
• SOLIDserver appliance must respond to ping requests.
• The user must have the sufficient rights to execute the service.
• Every call requires user authentication, either through basic access authentication or in the
header, in base64 format.
• The user must take into account the SSL certificate of their SOLIDserver session before ex-
ecuting each service. Depending on the configuration they may have to:
• Accept the certificate from SOLIDserver GUI only once before executing web services.
• Configure your calls execution to accept or ignore the certificate every time.
Limitations
• SOLIDserver supports the verbs POST, GET, PUT, DELETE and OPTIONS. For more details,
refer to the chapter Calling SOLIDserver Services.
• SOLIDserver does not support the HTTP verb PATCH.
• REST calls must respect the HTTP/1.1 format. Calls respecting HTTP/1.0 are not interpreted
by the Apache server and may result in unpredicted behavior.
• REST calls apply to one object.
• REST allows you to execute calls one by one.
Therefore, any automated operation in the GUI has to be performed manually by calling all the
relevant services one after the other. For instance, to delete from the GUI ten networks called
*intranet* you would filter the page All networks, tick the networks and delete them all at once.
With REST, you must call the service that lists the networks, retrieve the ID of the intranet
networks, and then call the network deletion service ten times, for each network.
• You can no longer include class parameters in a clause WHERE using the structure <object-
type>_class_parameters like <value>. To filter the results based on class parameters you must
use TAGS instead, for more details refer to the chapter Calling Services With TAGS.
3
Chapter 2. Calling SOLIDserver Services
To call web services SOLIDserver supports 5 HTTP verbs, the execution of these calls can be
more or less detailed and even include a payload.
Any other verb returns the HTTP error: 501 - Method Not Implemented, 405 - Method Not Allowed
or 400 - Bad Request.
https://<your-SOLIDserver>/<rest-or-rpc>/<service-name>?[params-and-value]
https://
Hypertext Transfer Protocol Secure is the only way to execute the service. http:// returns the error 302.
<your-SOLIDserver>
The IP address or hostname used to connect to your appliance. The appliance must be running, you
must have either imported the certificate or disabled the certificate validation. If you are using a web
browser REST client, you should first acknowledge the warning message and ignore the self-signed
certificate.
<rest-or-rpc>
The method used to execute the service and indicates the expected input parameters format.
/rest/ must be used to call the services *_add, *_list, *_info, *_count and *_delete.
/rpc/ must be used to call any other service.
<service-name>
The name of the SOLIDserver service to be executed.
?
An optional separator. It is only required if you include input parameters in the call.
[params-and-value]
All the input parameter(s), if relevant for the service. Each parameter must be URL encoded and followed
by its value, the expected format is detailed in the section Multiple Parameters REST Calls Format.
The parameters order does not matter but this section of the URL is case sensitive, so make sure to
indicate WHERE and not where, the same goes for ORDERBY or SELECT.
4
Calling SOLIDserver Services
3. You can indicate a payload using JSON format when relevant for the service. For more details,
refer to the REST calls with payload.
For calls without input parameters, to request a list for instance, you can use the format:
https://<your-SOLIDserver>/<rest-or-rpc>/<service-name>
If you use a REST client to execute our services, you can follow the procedure below.
https://<IP-address>/<rest-or-rpc>/<service-name>?<param>=<value>&....
This format, the basic URI format to write down the URL, allows to make sure your call is properly
executed even if the value of an input parameter contains a "/".
5
Calling SOLIDserver Services
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.
You cannot send a request payload for calls using GET, DELETE and OPTIONS.
6
Chapter 3. SOLIDserver Key Services
There are five service types that you can find in all SOLIDserver modules: *_add, *_list, *_info,
*_count and *_delete; where * is the object the service applies to. Keep in mind that:
• These 5 service types must be executed using the method /rest/ in the URL. For more details,
refer to the section REST Calls Format and Description.
• These 5 service types, except for *_add when used to create objects, are idempotent: calling
them several times with the same parameter(s) specified in input does not change the output
parameter(s) returned.
• Any other type of service must be called using the method /rpc/.
Services *_add
They allow to add or edit objects in the database:
• Use the HTTP verb POST to add an object.
• Use the HTTP verb PUT and specify an existing identifier in input to edit an object.
Note that we recommend calling the services *_add with the input parameter add_flag.The value
of this parameter allows to overload the operation and make sure that you are either creating an
object (new_only), or editing an existing object (edit_only).
The services *_add only apply to one object at a time. To add or edit several objects you must
call the service as many times as there are objects involved.
url = URI("https://solid.intranet/rest/dhcp_static_add?"+
"dhcphost_mac_addr=01%3A0a%3A92%3Af2%3A54%3A17%3A80&dhcp_id=19")
request = Net::HTTP::Post.new(url)
request["x-ipm-username"] = 'aXBtYWRtaW4='
request["x-ipm-password"] = 'YWRtaW4='
request["cache-control"] = 'no-cache'
response = http.request(request)
puts response.read_body
Services *_list
They allow to retrieve the list of all the objects in a database.
To filter or organize the results, you can specify the clause WHERE, the clause ORDERBY, the
parameter offset and/or the parameter limit in input. The services *_list and *_info return the same
parameters in output.
7
SOLIDserver Key Services
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://solid.intranet/rest/ip_block_subnet_list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache",
"x-ipm-password: YWRtaW4=",
"x-ipm-username: aXBtYWRtaW4="
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
Services *_info
They allow to retrieve the properties of a specific object.
The services *_info only apply to one object at a time. They return the same parameters in output
than the services *_list.
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://solid.intranet/rest/dns_rr_info?rr_id=204",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache",
"x-ipm-password: YWRtaW4=",
"x-ipm-username: aXBtYWRtaW4="
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
8
SOLIDserver Key Services
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
Services *_count
They allow to retrieve the total number of entries in the object database. This total includes all
the objects: enabled or disabled, managed or unmanaged, in delayed create or delayed create.
Only the objects that are already deleted from the database are excluded from the count.
To filter the count result, you can specify the clause WHERE in input.
url = "https://solid.intranet/rest/ip_address_count"
headers = {
'x-ipm-username': "aXBtYWRtaW4=",
'x-ipm-password': "YWRtaW4=",
'cache-control': "no-cache"
}
print(response.text)
Services *_delete
They allow to delete a specific object from the database.
The services *_delete only apply to one object at a time. To delete several objects you must call
the service as many times as there are objects involved.
url = "https://solid.intranet/rest/iplocator_netdev_delete"
querystring = {"iplnetdev_id":"12"}
headers = {
'x-ipm-username': "aXBtYWRtaW4=",
'x-ipm-password': "YWRtaW4=",
'cache-control': "no-cache"
}
print(response.text)
9
Chapter 4. Calling Services With TAGS
TAGS is a proprietary tagging attribute designed to retrieve the class parameters - i.e. custom
class parameters, advanced properties or metadata - configured on an object.
Tagging a class parameter allows to find it more easily in the output parameters of a service or
to use it in the clauses and statements WHERE, ORDERBY, SELECT and GROUPBY.
All the class parameters and their value, are concatenated and separated by a comma in the
value of the parameter <object-type>_class_parameters. Using TAGS returns an additional
parameter called tag_<your-class-parameter> that allows to single out a class parameter in-
formation on a dedicated line; the class parameter is tagged.
Since version 6.0.0, it is no longer possible to include in a clause WHERE the structure <object-
type>_class_parameters like <value>, you must tag the class parameter of your choice and then
include it in the clause.
Prerequisites
• Calling a service for an object configured with custom class parameters, advanced properties
or metadata.
• Specifying the proper object type, as detailed in the table Expected object types in the TAGS.
• Encoding the calls. All calls using TAGS must be URL encoded.
Limitations
• TAGS can only be used on services *_list and *_info.
• TAGS can only be used for calls that return the parameter <object-type>_class_parameters.
• TAGS cannot single out the inheritance/propagation properties of a class parameter. It cannot
retrieve the value of the parameters <object-type>_class_parameters_properties and <object-
type>_class_parameters_inheritance_source.
https://<your-SOLIDserver>/rest/<service-name>?TAGS=<object-type>.<param>
All calls must be URL encoded, but, as tagging one class parameter only includes a . (dot), the
call does not need encoding.
https://<your-SOLIDserver>/rest/<service-name>?
For more details, refer to the section REST Calls Format and Description.
TAGS=
Specifies that you want to extract a specific class parameter from the output parameter
<object-type>_class_parameters.
<object-type>.<param>
The expected name convention to tag the class parameter and add the extra line in the output.
<object-type> and <param> must be separated with a . (dot).
<object-type> is the type of object the class parameter applies to. All types are listed in the
table Expected object types in the TAGS.
10
Calling Services With TAGS
<param> is the name of the class parameter you want to return independently.
In the following example, we use TAGS to call the service dhcp_scope_list and retrieve a class
parameter called information. The URL below cannot be used as such, you must execute the
call respecting the format detailed in the section REST Calls Format and Description.
https://192.168.0.1/rest/dhcp_scope_list?TAGS=dhcpscope.information
The service returns all the output parameters, plus a dedicated line for the tagged class parameter:
{
"errno": "0",
"vdhcp_parent_id": "0",
"vdhcp_arch": "splitscope",
"dhcp_type": "vdhcp",
"dhcpfailover_id": "13",
"dhcpfailover_name": "failover-mycompany.corporation",
"dhcpscope_id": "951",
"dhcp_id": "19",
"dhcp_name": "mycompany.corporation",
"dhcpscope_name": "allocation",
"dhcpscope_start_ip_addr": "0d000000",
"dhcpscope_end_ip_addr": "0dffffff",
"dhcpscope_net_addr": "13.0.0.0",
"dhcpscope_net_mask": "255.0.0.0",
"dhcpscope_size": "16777216",
"delayed_create_time": "0",
"delayed_delete_time": "0",
"dhcpscope_site_name": "#",
"dhcpscope_site_id": "0",
"dhcpscope_sort_name": "",
"dhcpscope_class_name": "info",
"dhcpsn_id": "949",
"dhcpsn_name": "13.0.0.0/8",
"vdhcp_parent_name": "#",
"dhcp_class_name": "",
"dhcp_version": "",
"row_enabled": "1",
"ip_addr": "#",
"multistatus": "",
"tag_dhcpscope_information": "important data",
<!--The class parameter you tagged is also returned by
<object-type>_class_parameters-->
"dhcpscope_class_parameters": "ipam_replication=0&information=important%20data",
"dhcpscope_class_parameters_properties":
"ipam_replication=inherited,propagate&information=set,propagate",
"dhcpscope_class_parameters_inheritance_source":
"ipam_replication=real_dhcp,19&information=real_dhcpscope,951",
"dhcp_class_parameters": "ipam_replication=0",
"dhcp_class_parameters_properties": "ipam_replication=set,propagate"
}
Keep in mind that you can tag several class parameters in one call. The call format to tag two or
more class parameters is the following:
https://<your-SOLIDserver>/rest/<service-name>?TAGS=<object-type1>.<param1>&<object-
type2>.<param2>&...
https://<your-SOLIDserver>/rest/<service-name>?TAGS=<object-type1>.<param1>%26<object-
type2>.<param2>%26...
11
Calling Services With TAGS
https://<your-SOLIDserver>/rest/<service-name>?TAGS=<object-type>.<param>&WHERE
=tag_<object-type>_<param> <filter>
https://<your-SOLIDserver>/rest/<service-name>?TAGS=<object-type>.<param>&WHERE
=tag_<object-type>_<param>%20<filter>
https://<your-SOLIDserver>/rest/<service-name>?TAGS=<object-type>.<param>
For more details, refer to the section Tagging a Class Parameter.
&WHERE=
The clause that filters the results of the service. It must include the full name of the tagged
class parameter.
tag_<object-type>_<param>
The name of the tagged class parameter as returned by the service. It always starts with
tag_ . It is followed by the object type, all types are listed in the table Expected object types
in the TAGS. Finally, the class parameter Name is mentioned, not its Label.
<filter>
The value of the class parameter that you want to filter the result with.
Use the structure tag_<object-type>_<param> like '<param-value>' to specify a string value.
To indicate that the class parameter should contain the <param-value> but that it can contain
other characters, you can use the character % as a wildcard: '%<param-value>%'.The space
must be encoded: tag_<object-type>_<param>%20like%20%27<param-value>%27. The
code for the % is %25.
Use the structure tag_<object-type>_<param>='<param-value>' to specify an integer value.
You can also use other operators like >, >=, < ... Within the clause, = must be encoded:
tag_<object-type>_<param>%3D%27<param-value>%27.
In the following example, we call the service dhcp_scope_list using TAGS and the clause WHERE
to only return scopes configured with the class parameter information and the value important.
The URL below cannot be used as such, you must execute the call respecting the format detailed
in the section REST Calls Format and Description.
https://192.168.0.1/rest/dhcp_scope_list?TAGS=dhcpscope.information&WHERE=
tag_dhcpscope_information%20like%20%27important%27
12
Calling Services With TAGS
https://<your-SOLIDserver>/rest/<service-name>?TAGS=<object-type1>.<param1>&<object-
type2>.<param2>&WHERE=tag_<object-type1>_<param1> like '<param1-value>' <and-or-or>
tag_<object-type2>_<param2>='<param2-value>'
https://<your-SOLIDserver>/rest/<service-name>?TAGS=<object-type1>.<param1>%26<object-
type2>.<param2>&WHERE=tag_<object-type1>_<param1>%20like%20%27<param1-value>%27
%20<and-or-or>%20tag_<object-type2>_<param2>%3D%27<param2-value>%27
https://<your-SOLIDserver>/rest/<service-name>?TAGS=
For more details, refer to the section Tagging a Class Parameter.
<object-type1>.<param1>&<object-type2>.<param2>
The list of all the class parameters you want to tag and use in the clause (<object-
type>.<param>), separated by a &, you can add as many class parameters as you need.
Within the clause, & must be encoded:<object-type1>.<param1>%26<object-
type2>.<param2>.
&WHERE=
The clause that filters the service output parameters. It must include the full name of all the
tagged class parameters.
tag_<object-type1>_<param1> like '<param1-value>'
The name of the first tagged class parameter (tag_<object-type>_<param>) you want to
filter. For a string value use the encoded version of like '<param1-value>'.
%20<and-or-or>%20
The condition in which you want to filter the results. You can include all class parameters
(and) or either class parameter (or) in the output parameters.
tag_<object-type2>_<param2>='<param2-value>'
The name of the second tagged class parameter (tag_<object-type>_<param>) you want
to filter. For an integer use the encoded version of ='<param2-value>'. You can add more,
as long as it is preceded by <and-or-or>.
In the following example, we call the service dhcp_scope_list using TAGS and the clause WHERE
to filter the result and only return either scopes which class parameter information is important
or scopes which class parameter description contains accounting. The URL below cannot be
used as such, you must execute the call respecting the format detailed in the section REST Calls
Format and Description.
https://192.168.0.1/rest/dhcp_scope_list?TAGS=dhcpscope.information%26dhcpscope.description&WHERE=
tag_dhcpscope_information%20like%20%27important%27%20or%20tag_dhcpscope_description%20like%20%27%25accounting%25%27
13
Calling Services With TAGS
Keep in mind that the order of the parameters specified in the clause is set using their value
(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 clause. If all the parameters of the rows are equal, they are returned
in an implementation-dependent order.
https://<your-SOLIDserver>/rest/<service-name>?TAGS=<object-type>.<param>&ORDERBY=
tag_<object-type>_<param> <order>
https://<your-SOLIDserver>/rest/<service-name>?TAGS=<object-type>.<param>&ORDERBY=
tag_<object-type>_<param>%20<order>
https://<your-SOLIDserver>/rest/<service-name>?TAGS=<object-type>.<param>
For more details, refer to the section Tagging a Class Parameter.
&ORDERBY=
The clause that indicates that the output parameters must be sorted.
tag_<object-type>_<param>
The name of the tagged class parameter as returned by the service. It always starts with
tag_ . It is followed by the object type, all types are listed in the table Expected object types
in the TAGS. Finally, the class parameter Name is mentioned, not its Label.
<order>
The order in which you want the results to be returned, based on the value of the class
parameter tag_<object-type>_<param>. It can be either ASC (ascending) or DESC (descend-
ing) and preceded by an encoded space: tag_<object-type>_<param>%20<ASC-or-DESC>.
The <order> is optional, if you do not specify an order, the service returns information in
ascending order.
In the following example, we call the service dhcp_scope_list using TAGS and the clause OR-
DERBY to sort the scopes based on the value of the class parameter information. The URL below
cannot be used as such, you must execute the call respecting the format detailed in the section
REST Calls Format and Description.
https://192.168.0.1/rest/dhcp_scope_list?TAGS=dhcpscope.information&ORDERBY=tag_dhcpscope_information%20DESC
14
Calling Services With TAGS
https://<your-SOLIDserver>/rest/<service-name>?TAGS=<object-type1>.<param1>&<object-
type2>.<param2>&ORDERBY=tag_<object-type1>_<param1> <order>, tag_<object-
type2>_<param2> <order>
https://<your-SOLIDserver>/rest/<service-name>?TAGS=<object-type1>.<param1>%26<object-
type2>.<param2>&ORDERBY=tag_<object-type1>_<param1>%20<order>%2C%20tag_<object-
type2>_<param2>%20<order>
https://<your-SOLIDserver>/rest/<service-name>?TAGS=
For more details, refer to the section Tagging a Class Parameter.
<object-type1>.<param1>&<object-type2>.<param2>
The list of all the class parameters you want to tag and use in the clause (<object-
type>.<param>), separated by a &, you can add as many class parameters as you need.
Within the clause, & must be encoded: <object-type1>.<param1>%26<object-
type2>.<param2>.
&ORDERBY=
The clause that indicates that the output parameters must be sorted. It must include the full
name of all the tagged class parameters, you can add as many as you want.
tag_<object-type1>_<param1> <order>
The name of the first tagged class parameter (tag_<object-type1>_<param1>) you want
to sort the result with. You can specify a sorting <order>: ASC (ascending) or DESC (des-
cending). The tagged class parameter and order must be separated by an encoded space:
tag_<object-type>_<param>%20<ASC-or-DESC>. Without order, the results are returned
in ascending order.
,
The required separator between tagged class parameters. You must insert it after the
tag_<object-type1>_<param1> or the <order>. It must be encoded %2C.
tag_<object-type2>_<param2> <order>
The name of the second tagged class parameter (tag_<object-type2>_<param2>) that sorts
the result. You can specify a sorting <order> for that one too, separate the tagged class
parameter and order with a space. Without order, the results are returned in ascending order.
You can add more, as long as it is preceded by an encoded comma: %2C.
In the example below, we call the service dhcp_scope_list using TAGS to sort the scopes based
first on the value of the class parameter information, in ascending order, and then on the value
of the class parameter description, in descending order:
https://192.168.0.1/rest/dhcp_scope_list?TAGS=dhcpscope.information%26dhcpscope.description&ORDERBY=
tag_dhcpscope_information%20%2Ctag_dhcpscope_description%20DESC
15
Calling Services With TAGS
https://<your-SOLIDserver>/rest/<service-name>?TAGS=<object-type>.<param>&SE-
LECT=tag_<object-type>_<param>&GROUPBY=tag_<object-type>_<param>
All calls must be URL encoded, but, as tagging one class parameter only includes a . (dot), the
call does not need encoding if you do not use aggregation functions in either statement.
https://<your-SOLIDserver>/rest/<service-name>?TAGS=<object-type>.<param>
For more details, refer to the section Tagging a Class Parameter.
&SELECT=
The statement that indicates which parameter is returned in output. You can include an ag-
gregation function in this statement: count, max, min, sum or avg.
You can specify several class parameters. The order of the specified parameters is respected
in output, all parameters must be separated by a comma, encoded as follows %2C .
tag_<object-type>_<param>
The name of the tagged class parameter as returned by the service. It always starts with
tag_ . It is followed by the object type, all types are listed in the table Expected object types
in the TAGS. Finally, the class parameter Name is mentioned, not its Label.
In the example below, we use the aggregation function count, it must precede the parameter
as follows: count(<parameter>). To count any parameter specified in the statement, you can
use count(*), <parameter> .
&GROUPBY=
The statement that aggregates the results using the output parameter specified in this
statement or in the statement SELECT. Keep in mind that any parameter specified in the
statement SELECT without aggregation function must be specified in the statement
GROUPBY.
You can specify several class parameters. The order of the specified parameters is respected
in output, all parameters must be separated by a comma, encoded as follows %2C . Keep
in mind that any parameter specified in the statement SELECT without aggregation function
must be specified in the statement GROUPBY.
tag_<object-type>_<param>
The name of the tagged class parameter as returned by the service. It always starts with
tag_ . It is followed by the object type, all types are listed in the table Expected object types
in the TAGS. Finally, the class parameter Name is mentioned, not its Label.
In the following example, we call the service dhcp_scope_groupby using TAGS and the statements
SELECT and GROUPBY to count the scopes returned based on the value of the class parameter
information.
https://192.168.0.1/rest/dhcp_scope_groupby?TAGS=dhcpscope.information&SELECT=count(*)%2C
tag_dhcpscope_information&GROUPBY=tag_dhcpscope_information
16
Calling Services With TAGS
https://<your-SOLIDserver>/rest/<service-name>?TAGS=<object-type>.<param>&SE-
LECT=tag_<object-type>_<param>&GROUPBY=tag_<object-type>_<param>&OR-
DERBY=tag_<object-type>_<param> <order>
https://<your-SOLIDserver>/rest/<service-name>?TAGS=<object-type>.<param>&SE-
LECT=tag_<object-type>_<param>&GROUPBY=tag_<object-type>_<param>&OR-
DERBY=tag_<object-type>_<param>%20<order>
https://<your-SOLIDserver>/rest/<service-name>?TAGS=<object-type>.<param>
For more details, refer to the section Tagging a Class Parameter.
&SELECT=tag_<object-type>_<param>
The statement that indicates which parameter is returned in output. For more details regarding
SELECT, refer to the section Aggregating Results based on Class Parameters above.
&GROUPBY=tag_<object-type>_<param>
The statement that aggregates the results using the specified output parameter. For more
details regarding GROUPBY, refer to the section Aggregating Results based on Class
Parameters above.
&ORDERBY=tag_<object-type>_<param> <order>
The clause that indicates that the output parameters must be sorted, and in which order, it
can be either ASC (ascending) or DESC (descending) and preceded by an encoded space:
tag_<object-type>_<param>%20<order>.
The <order> is optional, if you do not specify any, the service returns information in ascending
order. For more details regarding ORDERBY, refer to the section Including Tagged Class
Parameters in the Clause ORDERBY.
In the following example, we call the service dhcp_scope_groupby using TAGS, the statements
SELECT and GROUPBY to count the scopes returned and the clause ORDERBY to order the
results all based on the value of the class parameter information.
https://192.168.0.1/rest/dhcp_scope_groupby?TAGS=dhcpscope.information&SELECT=count(*)%2C
tag_dhcpscope_information&GROUPBY=tag_dhcpscope_information&ORDERBY=tag_dhcpscope_information
17
Calling Services With TAGS
18
Part II. IPAM Services
Table of Contents
5. Space ......................................................................................................................... 22
ip_site_add ............................................................................................................. 23
ip_site_list .............................................................................................................. 26
ip_site_info ............................................................................................................. 29
ip_site_count .......................................................................................................... 31
group_site_add ....................................................................................................... 32
group_site_delete ................................................................................................... 34
ip_site_delete ......................................................................................................... 36
6. IPv4 Network .............................................................................................................. 38
ip_subnet_add ........................................................................................................ 39
ip_block_subnet_list ................................................................................................ 46
ip_block_subnet_info ............................................................................................... 53
ip_block_subnet_count ............................................................................................ 59
ip_find_free_subnet ................................................................................................. 60
ip_block_subnet_groupby ........................................................................................ 63
ip_block_subnet_groupby_count .............................................................................. 65
group_subnet_add .................................................................................................. 66
group_subnet_delete ............................................................................................... 70
ip_subnet_delete .................................................................................................... 74
7. IPv6 Network .............................................................................................................. 78
ip6_subnet6_add .................................................................................................... 79
ip6_block6_subnet6_list .......................................................................................... 85
ip6_block6_subnet6_info ......................................................................................... 91
ip6_block6_subnet6_count ...................................................................................... 97
ip6_find_free_subnet6 ............................................................................................. 98
ip6_block6_subnet6_groupby ................................................................................. 100
ip6_block6_subnet6_groupby_count ....................................................................... 102
group_subnet6_add .............................................................................................. 103
group_subnet6_delete ........................................................................................... 106
ip6_subnet6_delete ............................................................................................... 109
8. IPv4 Pool .................................................................................................................. 112
ip_pool_add .......................................................................................................... 113
ip_pool_list ........................................................................................................... 117
ip_pool_info .......................................................................................................... 121
ip_pool_count ....................................................................................................... 125
group_pool_add .................................................................................................... 126
group_pool_delete ................................................................................................ 129
ip_pool_delete ...................................................................................................... 132
9. IPv6 Pool .................................................................................................................. 134
ip6_pool6_add ...................................................................................................... 135
ip6_pool6_list ........................................................................................................ 139
ip6_pool6_info ...................................................................................................... 143
ip6_pool6_count ................................................................................................... 146
group_pool6_add .................................................................................................. 147
group_pool6_delete ............................................................................................... 150
ip6_pool6_delete ................................................................................................... 152
10. IPv4 Address ........................................................................................................... 154
ip_add .................................................................................................................. 155
ip_address_list ...................................................................................................... 160
ip_address_info ..................................................................................................... 167
ip_address_count .................................................................................................. 173
20
IPAM Services
21
Chapter 5. Space
22
Space
Name
ip_site_add — Add/Edit a space
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify which space to edit.
site_name
The name of the space, each space must have a unique name.
site_description
The description of the space.
parent_site_id
The database identifier (ID) of an existing space you want to set as the VLSM parent of the
space you are adding/editing. This sets up a space-based VLSM organization.
parent_site_name
The name of an existing space you want to set as the VLSM parent of the space you are
adding/editing. This sets up a space-based VLSM organization.
23
Space
site_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
site_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
site_is_template
The template status of the space you are adding/editing. If the space is used as template
(1), all the IPv4 networks, pools and IP addresses it contains are also used as template. You
can only set this parameter once, you cannot edit its value.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
site_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
24
Space
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
25
Space
Name
ip_site_list — List the spaces
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
site_is_template
The template status of the space. If the space is used as template (1), all the IPv4 networks,
pools and IP addresses it contains are also used as template.
site_id
The database identifier (ID) of the space.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
26
Space
tree_level
The database level of the space. The highest level is 0. If you set up a VLSM organization,
it returns values between 0 and n.
tree_path
The path toward the space in the database as follows: <space-name># . If you set up a VLSM
organization, the path looks as follows: <highest-level-space-name>##<child-space-
name>#<child-space-name>#... .
tree_id_path
The path toward the space in the database as follows: <space-ID># . If you set up a VLSM
organization, the path looks as follows: <highest-level-space-ID>#<child-space-ID>#<child-
space-ID>#... .
site_name
The name of the space.
site_description
The description of the space.
parent_site_id
The database identifier (ID) of the VLSM parent space. 0 indicates that space has no parent
space.
parent_site_name
The name of the VLSM parent space. # indicates that space has no parent space.
site_class_name
The name of the class applied to the space, it can be preceded by the class directory.
parent_site_class_name
The name of the class applied to the VLSM parent space, it can be preceded by the class
directory.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
27
Space
site_class_parameters
The class parameters applied to the space and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
site_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
site_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
site_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
parent_site_class_parameters
The class parameters applied to the VLSM parent space and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
parent_site_class_parameters_properties
The inheritance and/or propagation properties of the class parameters returned in the para-
meter parent_site_class_parameters: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... .
28
Space
Name
ip_site_info — Display the properties of a space
Description
This service allows to display the properties of an object.
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 database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
Output Parameters
site_is_template
The template status of the space. If the space is used as template (1), all the IPv4 networks,
pools and IP addresses it contains are also used as template.
site_id
The database identifier (ID) of the space.
tree_level
The database level of the space. The highest level is 0. If you set up a VLSM organization,
it returns values between 0 and n.
tree_path
The path toward the space in the database as follows: <space-name># . If you set up a VLSM
organization, the path looks as follows: <highest-level-space-name>##<child-space-
name>#<child-space-name>#... .
tree_id_path
The path toward the space in the database as follows: <space-ID># . If you set up a VLSM
organization, the path looks as follows: <highest-level-space-ID>#<child-space-ID>#<child-
space-ID>#... .
site_name
The name of the space.
site_description
The description of the space.
parent_site_id
The database identifier (ID) of the VLSM parent space. 0 indicates that space has no parent
space.
parent_site_name
The name of the VLSM parent space. # indicates that space has no parent space.
site_class_name
The name of the class applied to the space, it can be preceded by the class directory.
29
Space
parent_site_class_name
The name of the class applied to the VLSM parent space, it can be preceded by the class
directory.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
site_class_parameters
The class parameters applied to the space and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
site_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
site_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
site_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
parent_site_class_parameters
The class parameters applied to the VLSM parent space and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
parent_site_class_parameters_properties
The inheritance and/or propagation properties of the class parameters returned in the para-
meter parent_site_class_parameters: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... .
30
Space
Name
ip_site_count — Count the number of spaces
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
31
Space
Name
group_site_add — Add a space to a group resources
Description
This service allows to add an object to the resources of a group. You can only add one object to
a group resource per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
site_id
The database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
32
Space
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
33
Space
Name
group_site_delete — Remove a space from a group resources
Description
This service allows to remove an object from a group resources.You can only remove one object
from the resources of a group per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
site_id
The database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
34
Space
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
35
Space
Name
ip_site_delete — Delete a space
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
36
Space
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
37
Chapter 6. IPv4 Network
38
IPv4 Network
Name
ip_subnet_add — Add/Edit an IPv4 block/subnet-type network
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
Note that to add a block-type network, setting the input parameter subnet_level to 0 is mandatory.
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 database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
vlsm_site_id
The database identifier (ID) of a VLSM child space of the space specified in site_id. If you
specify an ID, the subnet-type network you are adding/editing is duplicated as a VLSM block-
type network in the child space, with the same name but a different ID. This parameter serves
the same purpose as vlsm_site_name.
vlsm_site_name
The name of a VLSM child space of the space specified in site_id. If you specify a name, the
subnet-type network you are adding/editing is duplicated as a VLSM block-type network in
the child space, with the same name but a different ID. This parameter serves the same
purpose as vlsm_site_id.
39
IPv4 Network
subnet_id
The database identifier (ID) of the IPv4 network, a unique numeric key value automatically
incremented when you add an IPv4 network. Use the ID to specify which IPv4 network to
edit.
subnet_name
The name of the IPv4 network, each IPv4 network must have a unique name.
subnet_addr
The start IP address of the IPv4 network, its first IP address.
subnet_end_addr
The end IP address of the IPv4 network, its last IP address.
subnet_size
The size of the IPv4 network, the number of IP addresses it contains.
subnet_mask
The netmask of the IPv4 network. It is expressed in dot-decimal notation and defines the
number of addresses the network contains.
subnet_prefix
The prefix of the IPv4 network, an integer that defines the number of addresses the network
contains.
Type IPv4 prefix (integer between 1 and 32) Maximum length N/A
Default value N/A Can be edited Yes
subnet_level
The level of the network within the space:
40
IPv4 Network
parent_subnet_id
The database identifier (ID) of an existing IPv4 network you want to set as the parent of the
IPv4 network you are adding/editing. You can specify a subnet-type network to set up a
network-based VLSM organization.
allow_tree_reparenting
A way to allow (1) or prevent (0) changing the parent of the network you are adding. Upon
edition of the network, this parameter decides if you can associate it with a different parent
network.
relative_position
The position of the network within the hierarchy of networks of a VLSM organization. It calcu-
lates between 0 and n all the levels of the organization, its behavior depends on the value
of the parameter use_reversed_relative_position:
• use_reversed_relative_position=0 where 0 indicates a block-type network at the highest
level possible, in a space-based organization, it belongs to the top space. The levels incre-
ment from 0 down to n, the lowest level you set up, within networks or spaces.
• use_reversed_relative_position=1 where 1 indicates a network located at the lowest level
of the organization, within networks or spaces. The levels increment from 0 up to n, the
network at the highest level of the organization.
use_reversed_relative_position
A way to determine if the calculation of the parameter relative_position should start from
the top (0) or the bottom (1) of the VLSM organization.
subnet_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
41
IPv4 Network
network_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
subnet_class_parameters
Deprecated, replaced by network_class_parameters.
subnet_class_parameters_properties
Deprecated, replaced by network_class_parameters_properties.
permit_invalid
A way to authorize (1) IPv4 networks overlapping within a space.
permit_overlap
Deprecated, replaced by permit_invalid.
permit_no_block
A way to force the creation of an IPv4 subnet-type network. If set to 1, you can create a
subnet-type network even if no block-type network matching the start address exists.
is_terminal
A way to determine if a network can contain other networks. If set to 1, the network is terminal
and cannot contain other subnet-type networks. By essence, block-type networks are non-
terminal and are always set to 0.
vlmvlan_id
The database identifier (ID) of the VLAN you want to associate with the network.
enabled
Deprecated, replaced by row_enabled.
row_enabled
The object activation status.
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
42
IPv4 Network
lock_network_broadcast
A way to prevent (1) users from assigning the broadcast IP address and network IP address
of the network.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
network_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
43
IPv4 Network
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
Example
In the example below, we call the service ip_subnet_add with Python (Requests) to add a block-
type network.
url = "https://solid.intranet/rest/ip_subnet_add"
querystring =
{"subnet_addr":"192.168.0.0","subnet_level":"0","subnet_prefix":"24","site_id":"2","subnet_name":"internal-network"}
headers = {
'x-ipm-username': "aXBtYWRtaW4=",
'x-ipm-password': "YWRtaW4=",
'cache-control': "no-cache"
}
44
IPv4 Network
print(response.text)
45
IPv4 Network
Name
ip_block_subnet_list — List the IPv4 block/subnet-type networks
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
type
The type of the network.
subnet_id
The database identifier (ID) of the IPv4 network.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
46
IPv4 Network
start_ip_addr
The first IP address of the IPv4 network, in hexadecimal format.
start_hostaddr
The human readable version of the parameter start_ip_addr.
end_ip_addr
The last IP address of the IPv4 network, in hexadecimal format.
end_hostaddr
The human readable version of the parameter end_ip_addr.
subnet_name
The name of the IPv4 network. Default indicates that the network is an orphan network.
subnet_size
The number of IP addresses the IPv4 network contains.
vlsm_block_id
The database identifier (ID) of the IPv4 VLSM block-type network duplicated, in a VLSM child
space, from the network. 0 indicates that the network is not duplicated as a VLSM block-type
network in a child space.
vlmvlan_id
The database identifier (ID) of the VLAN associated with the network.
subnet_level
The level of the network within the space. It returns values between 0 (block-type network)
and n (subnet-type network). A value higher than 1 indicates a VLSM organization where a
block-type network can belong to another subnet-type network.
subnet_path
The path toward the network in the database from the containing block-type network down
to the subnet-type network: <block-network-start-IP>#<block-network-ID>#<subnet-network-
start-IP>#<subnet-network-ID>. The IP address is returned in hexadecimal format.
• In network-based VLSM organizations, the path includes all the subnet-type networks there
are from the containing block-type network down to the subnet-type network specified in
subnet_id.
• In space-based VLSM organizations, the path includes the block-type network of the top
parent space and all the subnet-type networks there are until the network specified in
subnet_id. Only one block-type network is returned.
subnet_class_name
The name of the class applied to the IPv4 network, it can be preceded by the class directory.
parent_subnet_id
The database identifier (ID) of the parent IPv4 network. 0 indicates that the network has no
parent network.
vlsm_subnet_id
The database identifier (ID) of the IPv4 subnet-type network, located in the VLSM parent
space, from which the network was duplicated. 0 indicates that the network is not a VLSM
block-type network duplicated from a parent space.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
47
IPv4 Network
waiting_status
The status of a RIPE assigned network within SOLIDserver until it is confirmed that you can
create or delete it. If set to 1, it is about to be created. If set to 2, it is about to be deleted.
is_terminal
A way to determine if a network can contain other networks. If set to 1, the network is terminal
and cannot contain other subnet-type networks. Block-type networks are always set to 0.
subnet_allocated_size
The sum of the size of all the subnet-type networks that belong to the block-type network.
subnet_allocated_percent
The percentage of subnet-type networks the non-terminal network contains.
subnet_used_size
The sum of the size of all the terminal networks within the block-type network. This sum in-
cludes the terminal networks that might belong to non-terminal subnet-type networks.
subnet_used_percent
The percentage of terminal networks the non-terminal network contains.
subnet_ip_used_size
The number of IP addresses In use in terminal networks.
subnet_ip_used_percent
The percentage of IP addresses In use in terminal networks.
subnet_ip_free_size
The total number of free addresses, for terminal networks only. It excludes the network and
broadcast IP address.
is_in_orphan
A way to determine if the network has a parent (0) or if it belongs to a container Orphan
networks (1).
lock_network_broadcast
A way to prevent (1) users from assigning the broadcast IP address and network IP address
of the network.
48
IPv4 Network
site_description
The description of the space the object belongs to.
site_name
The name of the space the object belongs to.
site_is_template
The template status of the space the object belongs to. If the space is used as template (1),
all the IPv4 networks, pools and IP addresses it contains are also used as template.
tree_level
The database level of the space the object belongs to. If you set up a VLSM organization, it
returns values between between 0 (the highest level) and n.
tree_path
The database path toward the space the object belongs to as follows: <space-name># . If
you set up a VLSM organization, the path looks as follows: <highest-level-space-
name>##<child-space-name>#<child-space-name>#... .
tree_id_path
The database path toward the space the object belongs to as follows: <space-ID># . If you
set up a VLSM organization, the path looks as follows: <highest-level-space-ID>#<child-
space-ID>#<child-space-ID>#... .
site_class_name
The name of the class applied to the space the object belongs to, it can be preceded by the
class directory.
parent_subnet_name
The name of the parent IPv4 network:
• # indicates that the network has no parent network.
• Default indicates that the network belongs to an orphan network.
parent_start_ip_addr
The first IP address of the parent IPv4 network, in hexadecimal format.
parent_end_ip_addr
The last IP address of the parent IPv4 network, in hexadecimal format.
parent_subnet_size
The number of IP addresses of the network parent.
parent_subnet_level
The level of the parent network within the space. It returns values between 0 (block-type
network) and n (subnet-type network). A value higher than 1 indicates a VLSM organization
where a block-type network can belong to another subnet-type network.
parent_subnet_path
The path toward the parent network in the database. # indicates the network has no parent
network.
parent_subnet_class_name
The name of the class applied to the parent IPv4 network, it can be preceded by the class
directory.
parent_is_terminal
A way to determine if the parent network is terminal (1) or non-terminal (0).
parent_vlsm_subnet_id
The database identifier (ID) of the IPv4 subnet-type network, located in the VLSM parent
space, from which the parent network was duplicated. 0 indicates that the parent network is
not a VLSM block-type network duplicated from a parent space.
49
IPv4 Network
parent_site_id
The database identifier (ID) of the space where is located the parent network. 0 indicates
that the network has no parent network.
parent_site_name
The name of the space where is located the parent network. # indicates that the network has
no parent network.
site_parent_site_id
The database identifier (ID) of the VLSM parent of the space where is located the network.
0 indicates that the space where is located the network has no parent space.
vlsm_site_id
The database identifier (ID) of the VLSM child space where the network is duplicated as a
VLSM block-type network. 0 indicates that the network is not duplicated as a VLSM block-
type network in a child space.
vlsm_site_name
The name of the VLSM child space where the network is duplicated as a VLSM block-type
network. 0 indicates that the network is not duplicated as a VLSM block-type network in a
child space.
vlmvlan_vlan_id
The VLAN identifier (ID) of the VLAN associated with the network.
vlmvlan_name
The name of the VLAN associated with the network.
vlmdomain_id
The database identifier (ID) of the VLAN domain associated with the network.
vlmdomain_name
The name of the VLAN domain associated with the network.
vlmrange_id
The database identifier (ID) of the VLAN range associated with the network.
vlmrange_name
The name of the VLAN range associated with the network.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
50
IPv4 Network
subnet_class_parameters
The class parameters applied to the IPv4 network and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
subnet_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
subnet_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
subnet_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
site_class_parameters
The class parameters applied to the space the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
site_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
site_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>,<propagation>&... .
parent_subnet_class_parameters
The class parameters applied to the parent IPv4 network and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
parent_subnet_class_parameters_properties
The inheritance and/or propagation properties of the class parameters returned in the para-
meter parent_subnet_class_parameter: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... .
Example
In the example below, we call the service ip_block_subnet_list with PHP (cURL) using the
clauses WHERE and ORDERBY and the parameter limit to list the ten first /24 networks in as-
cending order. For more details regarding the use of class parameters in the clause, refer to the
chapter Calling Services With TAGS.
Example 6.2. Calling the service ip_block_subnet_list using PHP, WHERE and ORDERBY
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://solid.intranet/rest/ip_block_subnet_list?WHERE".
"=subnet_size%3D%27256%27&ORDERBY=start_ip_addr&limit=10",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache",
"x-ipm-password: YWRtaW4=",
"x-ipm-username: aXBtYWRtaW4="
),
));
51
IPv4 Network
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
52
IPv4 Network
Name
ip_block_subnet_info — Display the properties of an IPv4 block/subnet-type network
Description
This service allows to display the properties of an object.
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
subnet_id
The database identifier (ID) of the IPv4 network, a unique numeric key value automatically
incremented when you add an IPv4 network. Use the ID to specify the IPv4 network of your
choice.
Output Parameters
type
The type of the network.
subnet_id
The database identifier (ID) of the IPv4 network.
start_ip_addr
The first IP address of the IPv4 network, in hexadecimal format.
start_hostaddr
The human readable version of the parameter start_ip_addr.
end_ip_addr
The last IP address of the IPv4 network, in hexadecimal format.
end_hostaddr
The human readable version of the parameter end_ip_addr.
subnet_name
The name of the IPv4 network. Default indicates that the network is an orphan network.
subnet_size
The number of IP addresses the IPv4 network contains.
vlsm_block_id
The database identifier (ID) of the IPv4 VLSM block-type network duplicated, in a VLSM child
space, from the network. 0 indicates that the network is not duplicated as a VLSM block-type
network in a child space.
vlmvlan_id
The database identifier (ID) of the VLAN associated with the network.
subnet_level
The level of the network within the space. It returns values between 0 (block-type network)
and n (subnet-type network). A value higher than 1 indicates a VLSM organization where a
block-type network can belong to another subnet-type network.
53
IPv4 Network
subnet_path
The path toward the network in the database from the containing block-type network down
to the subnet-type network: <block-network-start-IP>#<block-network-ID>#<subnet-network-
start-IP>#<subnet-network-ID>. The IP address is returned in hexadecimal format.
• In network-based VLSM organizations, the path includes all the subnet-type networks there
are from the containing block-type network down to the subnet-type network specified in
subnet_id.
• In space-based VLSM organizations, the path includes the block-type network of the top
parent space and all the subnet-type networks there are until the network specified in
subnet_id. Only one block-type network is returned.
subnet_class_name
The name of the class applied to the IPv4 network, it can be preceded by the class directory.
parent_subnet_id
The database identifier (ID) of the parent IPv4 network. 0 indicates that the network has no
parent network.
vlsm_subnet_id
The database identifier (ID) of the IPv4 subnet-type network, located in the VLSM parent
space, from which the network was duplicated. 0 indicates that the network is not a VLSM
block-type network duplicated from a parent space.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
subnet_is_valid
The network validity. A valid network (1) has a size, prefix and/or netmask that match.
site_id
The database identifier (ID) of the space the object belongs to, a unique numeric key value
automatically incremented when you add a space.
waiting_state
The state of the exchange between SOLIDserver and the RIPE for the assigned network:
waiting_status
The status of a RIPE assigned network within SOLIDserver until it is confirmed that you can
create or delete it. If set to 1, it is about to be created. If set to 2, it is about to be deleted.
54
IPv4 Network
is_terminal
A way to determine if a network can contain other networks. If set to 1, the network is terminal
and cannot contain other subnet-type networks. Block-type networks are always set to 0.
subnet_allocated_size
The sum of the size of all the subnet-type networks that belong to the block-type network.
subnet_allocated_percent
The percentage of subnet-type networks the non-terminal network contains.
subnet_used_size
The sum of the size of all the terminal networks within the block-type network. This sum in-
cludes the terminal networks that might belong to non-terminal subnet-type networks.
subnet_used_percent
The percentage of terminal networks the non-terminal network contains.
subnet_ip_used_size
The number of IP addresses In use in terminal networks.
subnet_ip_used_percent
The percentage of IP addresses In use in terminal networks.
subnet_ip_free_size
The total number of free addresses, for terminal networks only. It excludes the network and
broadcast IP address.
is_in_orphan
A way to determine if the network has a parent (0) or if it belongs to a container Orphan
networks (1).
lock_network_broadcast
A way to prevent (1) users from assigning the broadcast IP address and network IP address
of the network.
site_description
The description of the space the object belongs to.
site_name
The name of the space the object belongs to.
site_is_template
The template status of the space the object belongs to. If the space is used as template (1),
all the IPv4 networks, pools and IP addresses it contains are also used as template.
tree_level
The database level of the space the object belongs to. If you set up a VLSM organization, it
returns values between between 0 (the highest level) and n.
tree_path
The database path toward the space the object belongs to as follows: <space-name># . If
you set up a VLSM organization, the path looks as follows: <highest-level-space-
name>##<child-space-name>#<child-space-name>#... .
tree_id_path
The database path toward the space the object belongs to as follows: <space-ID># . If you
set up a VLSM organization, the path looks as follows: <highest-level-space-ID>#<child-
space-ID>#<child-space-ID>#... .
site_class_name
The name of the class applied to the space the object belongs to, it can be preceded by the
class directory.
55
IPv4 Network
parent_subnet_name
The name of the parent IPv4 network:
• # indicates that the network has no parent network.
• Default indicates that the network belongs to an orphan network.
parent_start_ip_addr
The first IP address of the parent IPv4 network, in hexadecimal format.
parent_end_ip_addr
The last IP address of the parent IPv4 network, in hexadecimal format.
parent_subnet_size
The number of IP addresses of the network parent.
parent_subnet_level
The level of the parent network within the space. It returns values between 0 (block-type
network) and n (subnet-type network). A value higher than 1 indicates a VLSM organization
where a block-type network can belong to another subnet-type network.
parent_subnet_path
The path toward the parent network in the database. # indicates the network has no parent
network.
parent_subnet_class_name
The name of the class applied to the parent IPv4 network, it can be preceded by the class
directory.
parent_is_terminal
A way to determine if the parent network is terminal (1) or non-terminal (0).
parent_vlsm_subnet_id
The database identifier (ID) of the IPv4 subnet-type network, located in the VLSM parent
space, from which the parent network was duplicated. 0 indicates that the parent network is
not a VLSM block-type network duplicated from a parent space.
parent_site_id
The database identifier (ID) of the space where is located the parent network. 0 indicates
that the network has no parent network.
parent_site_name
The name of the space where is located the parent network. # indicates that the network has
no parent network.
site_parent_site_id
The database identifier (ID) of the VLSM parent of the space where is located the network.
0 indicates that the space where is located the network has no parent space.
vlsm_site_id
The database identifier (ID) of the VLSM child space where the network is duplicated as a
VLSM block-type network. 0 indicates that the network is not duplicated as a VLSM block-
type network in a child space.
vlsm_site_name
The name of the VLSM child space where the network is duplicated as a VLSM block-type
network. 0 indicates that the network is not duplicated as a VLSM block-type network in a
child space.
vlmvlan_vlan_id
The VLAN identifier (ID) of the VLAN associated with the network.
vlmvlan_name
The name of the VLAN associated with the network.
56
IPv4 Network
vlmdomain_id
The database identifier (ID) of the VLAN domain associated with the network.
vlmdomain_name
The name of the VLAN domain associated with the network.
vlmrange_id
The database identifier (ID) of the VLAN range associated with the network.
vlmrange_name
The name of the VLAN range associated with the network.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
subnet_class_parameters
The class parameters applied to the IPv4 network and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
subnet_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
subnet_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
subnet_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
site_class_parameters
The class parameters applied to the space the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
site_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
site_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>,<propagation>&... .
parent_subnet_class_parameters
The class parameters applied to the parent IPv4 network and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
57
IPv4 Network
parent_subnet_class_parameters_properties
The inheritance and/or propagation properties of the class parameters returned in the para-
meter parent_subnet_class_parameter: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... .
58
IPv4 Network
Name
ip_block_subnet_count — Count the number of IPv4 block/subnet-type networks
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
59
IPv4 Network
Name
ip_find_free_subnet — List the free IPv4 subnet-type networks
Description
This service allows to list the 10 first free IPv4 subnet-type networks, terminal or non terminal.
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 database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
prefix
The prefix of the subnet-type network(s) you are looking for, an integer that defines the
number of addresses the network contains.
Type IPv4 prefix (integer between 1 and 32) Maximum length N/A
Default value N/A Can be edited Yes
size
The size of the subnet-type network(s) you are looking, an integer that indicates the number
of IP addresses they contain.
max_find
The maximum number of IPv4 networks to be returned by the service.You can use it to return
more than 10 results.
begin_addr
The first IPv4 address of the range of addresses where you are looking for free networks.
60
IPv4 Network
end_addr
The last IPv4 address of the range of addresses where you are looking for free networks.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
block_id
The database identifier (ID) of an existing non-terminal IPv4 network. Use the ID to specify
the IPv4 network of your choice.
use_searched_path
A way to filter the search for subnet-type networks based on the specified block_id. If set
to 0, the service returns free subnet-type networks within the specified block-type network.
If set to 1, the service returns free subnet-type networks within the specified block-type network
and within all the non-terminal subnet-type networks it might contain.
Output Parameters
start_ip_addr
The first IP address of the IPv4 network, in hexadecimal format.
block_name
The name of the non-terminal IPv4 network the free subnet-type network(s) belongs to.
cost
An integer between 0 and n that evaluates the best range of IP addresses within a block-type
network to create a subnet-type network and avoid fragmentation. The lower the cost, the
better the position is. The lowest costs are always returned first.
block_id
The database identifier (ID) of the non-terminal IPv4 network the free subnet-type network(s)
belongs to.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
61
IPv4 Network
site_id
The database identifier (ID) of the space the object belongs to, a unique numeric key value
automatically incremented when you add a space.
Example
In the example below, we call the service ip_find_free_subnet with Ruby (NET::Http) to look
for /30 networks in a specific space.
url = URI("https://solid.intranet/rest/ip_find_free_subnet?prefix=30&site_id=2")
request = Net::HTTP::Options.new(url)
request["x-ipm-username"] = 'aXBtYWRtaW4='
request["x-ipm-password"] = 'YWRtaW4='
request["cache-control"] = 'no-cache'
response = http.request(request)
puts response.read_body
62
IPv4 Network
Name
ip_block_subnet_groupby — Group IPv4 block/subnet-type networks by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
63
IPv4 Network
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
64
IPv4 Network
Name
ip_block_subnet_groupby_count — Count the number of IPv4 block/subnet-
type networks grouped by parameter(s)
Description
This service allows to display the total number of results of the service *_groupby.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
65
IPv4 Network
Name
group_subnet_add — Add an IPv4 block/subnet-type network to a group resources
Description
This service allows to add an object to the resources of a group. You can only add one object to
a group resource per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
site_id
The database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
subnet_id
The database identifier (ID) of the IPv4 network, a unique numeric key value automatically
incremented when you add an IPv4 network. Use the ID to specify the IPv4 network of your
choice.
66
IPv4 Network
parent_subnet_id
The database identifier (ID) of the parent IPv4 network. Use the ID to specify the parent IPv4
network of your choice.
subnet_name
The name of the IPv4 network.
subnet_addr
The start IP address of the IPv4 network, its first IP address.
subnet_end_addr
The end IP address of the IPv4 network, its last IP address.
subnet_size
The size of the IPv4 network, the number of IP addresses it contains.
subnet_mask
The netmask of the IPv4 network. It is expressed in dot-decimal notation and defines the
number of addresses the network contains.
subnet_prefix
The prefix of the IPv4 network, an integer that defines the number of addresses the network
contains.
Type IPv4 prefix (integer between 1 and 32) Maximum length N/A
Default value N/A Can be edited Yes
subnet_level
The level of the network within the space:
• Set it to 0 for a block-type network.
• Set it to a value between 1 and n for a subnet-type network.
67
IPv4 Network
If you set a value between 2 and n, you are setting a network-based VLSM organization
where non terminal subnet-type networks can contain other subnet-type networks.
relative_position
The position of the network within the hierarchy of networks of a VLSM organization. It calcu-
lates between 0 and n all the levels of the organization, its behavior depends on the value
of the parameter use_reversed_relative_position:
• use_reversed_relative_position=0 where 0 indicates a block-type network at the highest
level possible, in a space-based organization, it belongs to the top space. The levels incre-
ment from 0 down to n, the lowest level you set up, within networks or spaces.
• use_reversed_relative_position=1 where 1 indicates a network located at the lowest level
of the organization, within networks or spaces. The levels increment from 0 up to n, the
network at the highest level of the organization.
use_reversed_relative_position
A way to determine if the calculation of the parameter relative_position should start from
the top (0) or the bottom (1) of the VLSM organization.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
68
IPv4 Network
Example
In the example below, we call the service group_subnet_add with Python (Requests) to add a
block-type network in a group of users.
url = "https://solid.intranet/rest/group_subnet_add"
querystring =
{"grp_name":"regular","subnet_id":"241","relative_position":"0","site_id":"44"}
headers = {
'x-ipm-username': "aXBtYWRtaW4=",
'x-ipm-password': "YWRtaW4=",
'cache-control': "no-cache"
}
print(response.text)
69
IPv4 Network
Name
group_subnet_delete — Remove an IPv4 block/subnet-type network from a group
resources
Description
This service allows to remove an object from a group resources.You can only remove one object
from the resources of a group per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
site_id
The database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
subnet_id
The database identifier (ID) of the IPv4 network, a unique numeric key value automatically
incremented when you add an IPv4 network. Use the ID to specify the IPv4 network of your
choice.
70
IPv4 Network
parent_subnet_id
The database identifier (ID) of the parent IPv4 network. Use the ID to specify the parent IPv4
network of your choice.
subnet_name
The name of the IPv4 network.
subnet_addr
The start IP address of the IPv4 network, its first IP address.
subnet_end_addr
The end IP address of the IPv4 network, its last IP address.
subnet_size
The size of the IPv4 network, the number of IP addresses it contains.
subnet_mask
The netmask of the IPv4 network. It is expressed in dot-decimal notation and defines the
number of addresses the network contains.
subnet_prefix
The prefix of the IPv4 network, an integer that defines the number of addresses the network
contains.
Type IPv4 prefix (integer between 1 and 32) Maximum length N/A
Default value N/A Can be edited Yes
subnet_level
The level of the network within the space:
• Set it to 0 for a block-type network.
• Set it to a value between 1 and n for a subnet-type network.
71
IPv4 Network
If you set a value between 2 and n, you are setting a network-based VLSM organization
where non terminal subnet-type networks can contain other subnet-type networks.
relative_position
The position of the network within the hierarchy of networks of a VLSM organization. It calcu-
lates between 0 and n all the levels of the organization, its behavior depends on the value
of the parameter use_reversed_relative_position:
• use_reversed_relative_position=0 where 0 indicates a block-type network at the highest
level possible, in a space-based organization, it belongs to the top space. The levels incre-
ment from 0 down to n, the lowest level you set up, within networks or spaces.
• use_reversed_relative_position=1 where 1 indicates a network located at the lowest level
of the organization, within networks or spaces. The levels increment from 0 up to n, the
network at the highest level of the organization.
use_reversed_relative_position
A way to determine if the calculation of the parameter relative_position should start from
the top (0) or the bottom (1) of the VLSM organization.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
72
IPv4 Network
param_value
The value of the input parameter(s) that caused the error during the service execution.
73
IPv4 Network
Name
ip_subnet_delete — Delete an IPv4 block/subnet-type network
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
subnet_id
The database identifier (ID) of the IPv4 network, a unique numeric key value automatically
incremented when you add an IPv4 network. Use the ID to specify the IPv4 network of your
choice.
parent_subnet_id
The database identifier (ID) of the parent IPv4 network. Use the ID to specify the parent IPv4
network of your choice.
subnet_name
The name of the IPv4 network.
74
IPv4 Network
subnet_addr
The start IP address of the IPv4 network, its first IP address.
subnet_end_addr
The end IP address of the IPv4 network, its last IP address.
subnet_size
The size of the IPv4 network, the number of IP addresses it contains.
subnet_mask
The netmask of the IPv4 network. It is expressed in dot-decimal notation and defines the
number of addresses the network contains.
subnet_prefix
The prefix of the IPv4 network, an integer that defines the number of addresses the network
contains.
Type IPv4 prefix (integer between 1 and 32) Maximum length N/A
Default value N/A Can be edited Yes
subnet_level
The level of the network within the space:
• Set it to 0 for a block-type network.
• Set it to a value between 1 and n for a subnet-type network.
If you set a value between 2 and n, you are setting a network-based VLSM organization
where non terminal subnet-type networks can contain other subnet-type networks.
relative_position
The position of the network within the hierarchy of networks of a VLSM organization. It calcu-
lates between 0 and n all the levels of the organization, its behavior depends on the value
of the parameter use_reversed_relative_position:
• use_reversed_relative_position=0 where 0 indicates a block-type network at the highest
level possible, in a space-based organization, it belongs to the top space. The levels incre-
ment from 0 down to n, the lowest level you set up, within networks or spaces.
75
IPv4 Network
use_reversed_relative_position
A way to determine if the calculation of the parameter relative_position should start from
the top (0) or the bottom (1) of the VLSM organization.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
Example
In the example below, we call the service ip_subnet_delete with PHP (cURL).
$curl = curl_init();
76
IPv4 Network
curl_setopt_array($curl, array(
CURLOPT_URL => "https://solid.intranet/rest/ip_subnet_delete?".
"subnet_id=241&relative_position=0&site_id=44",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache",
"x-ipm-password: YWRtaW4=",
"x-ipm-username: aXBtYWRtaW4="
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
77
Chapter 7. IPv6 Network
78
IPv6 Network
Name
ip6_subnet6_add — Add/Edit an IPv6 block/subnet-type network
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
vlsm_site_id
The database identifier (ID) of a VLSM child space of the space specified in site_id. If you
specify an ID, the subnet-type network you are adding/editing is duplicated as a VLSM block-
type network in the child space, with the same name but a different ID. This parameter serves
the same purpose as vlsm_site_name.
vlsm_site_name
The name of a VLSM child space of the space specified in site_id. If you specify a name, the
subnet-type network you are adding/editing is duplicated as a VLSM block-type network in
the child space, with the same name but a different ID. This parameter serves the same
purpose as vlsm_site_id.
79
IPv6 Network
subnet6_id
The database identifier (ID) of the IPv6 network, a unique numeric key value automatically
incremented when you add an IPv6 network. Use the ID to specify which IPv6 network to
edit.
subnet6_name
The name of the IPv6 network, each IPv6 network must have a unique name.
subnet6_addr
The start IP address of the IPv6 network, its first IP address.
subnet6_end_addr
The end IP address of the IPv6 network, its last IP address.
subnet6_prefix
The prefix of the IPv6 network, an integer that defines the number of address the network
contains.
Type IPv6 prefix (integer between 1 and 128) Maximum length N/A
Default value N/A Can be edited No
subnet_level
The level of the network within the space:
• Set it to 0 for a block-type network.
• Set it to a value between 1 and n for a subnet-type network.
If you set a value between 2 and n, you are setting a network-based VLSM organization
where non terminal subnet-type networks can contain other subnet-type networks.
parent_subnet6_id
The database identifier (ID) of an existing IPv6 network you want to set as the parent of the
IPv6 network you are adding/editing. You can specify a subnet-type network to set up a
network-based VLSM organization.
80
IPv6 Network
allow_tree_reparenting
A way to allow (1) or prevent (0) changing the parent of the network you are adding. Upon
edition of the network, this parameter decides if you can associate it with a different parent
network.
relative_position
The position of the network within the hierarchy of networks of a VLSM organization. It calcu-
lates between 0 and n all the levels of the organization, its behavior depends on the value
of the parameter use_reversed_relative_position:
• use_reversed_relative_position=0 where 0 indicates a block-type network at the highest
level possible, in a space-based organization, it belongs to the top space. The levels incre-
ment from 0 down to n, the lowest level you set up, within networks or spaces.
• use_reversed_relative_position=1 where 1 indicates a network located at the lowest level
of the organization, within networks or spaces. The levels increment from 0 up to n, the
network at the highest level of the organization.
use_reversed_relative_position
A way to determine if the calculation of the parameter relative_position should start from
the top (0) or the bottom (1) of the VLSM organization.
subnet6_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
network6_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
subnet6_class_parameters
Deprecated, replaced by network6_class_parameters.
subnet6_class_parameters_properties
Deprecated, replaced by network6_class_parameters_properties.
81
IPv6 Network
permit_invalid
A way to authorize (1) IPv6 networks overlapping within a space.
permit_overlap
Deprecated, replaced by permit_invalid.
permit_no_block6
A way to force the creation of an IPv6 subnet-type network. If set to 1, you can create a
subnet-type network even if no block-type network matching the start address exists.
is_terminal
A way to determine if a network can contain other networks. If set to 1, the network is terminal
and cannot contain other subnet-type networks. By essence, block-type networks are non-
terminal and are always set to 0.
vlmvlan_id
The database identifier (ID) of the VLAN you want to associate with the network.
enabled
Deprecated, replaced by row_enabled.
row_enabled
The object activation status.
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
• If set to 2, the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
lock_network_broadcast
A way to prevent (1) users from assigning the broadcast IP address and network IP address
of the network.
82
IPv6 Network
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
network6_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
83
IPv6 Network
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
84
IPv6 Network
Name
ip6_block6_subnet6_list — List the IPv6 block/subnet-type networks
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
type
The type of the network.
subnet6_id
The database identifier (ID) of the IPv6 network.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
85
IPv6 Network
start_ip6_addr
The first IP address of the IPv6 network, in hexadecimal format.
start_hostaddr
The human readable version of the parameter start_ip6_addr.
end_ip6_addr
The last IP address of the IPv6 network, in hexadecimal format.
end_hostaddr
The human readable version of the parameter end_ip6_addr.
subnet6_name
The name of the IPv6 network.
subnet_size
The number of IP addresses the IPv6 network contains.
vlsm_block6_id
The database identifier (ID) of the IPv6 VLSM block-type network duplicated, in a VLSM child
space, from the network. 0 indicates that the network is not duplicated as a VLSM block-type
network in a child space.
vlmvlan_id
The database identifier (ID) of the VLAN associated with the network.
subnet_level
The level of the network within the space. It returns values between 0 (block-type network)
and n (subnet-type network). A value higher than 1 indicates a VLSM organization where a
block-type network can belong to another subnet-type network.
subnet_path
The path toward the network in the database from the containing block-type network down
to the subnet-type network: <block-network-start-IP>#<block-network-ID>#<subnet-network-
start-IP>#<subnet-network-ID>. The IP address is returned in hexadecimal format.
• In network-based VLSM organizations, the path includes all the subnet-type networks there
are from the containing block-type network down to the subnet-type network specified in
subnet_id.
• In space-based VLSM organizations, the path includes the block-type network of the top
parent space and all the subnet-type networks there are until the network specified in
subnet_id. Only one block-type network is returned.
subnet6_class_name
The name of the class applied to the IPv6 network, it can be preceded by the class directory.
parent_subnet6_id
The database identifier (ID) of the parent IPv6 network. 0 indicates that the network has no
parent network.
vlsm_subnet6_id
The database identifier (ID) of the IPv6 subnet-type network, located in the VLSM parent
space, from which the network was duplicated. 0 indicates that the network is not a VLSM
block-type network duplicated from a parent space.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
86
IPv6 Network
waiting_status
The status of a RIPE assigned network within SOLIDserver until it is confirmed that you can
create or delete it. If set to 1, it is about to be created. If set to 2, it is about to be deleted.
is_terminal
A way to determine if a network can contain other networks. If set to 1, the network is terminal
and cannot contain other subnet-type networks. Block-type networks are always set to 0.
subnet6_prefix
The prefix of the IPv6 network.
percent_allocated
The percentage of subnet-type networks the non-terminal network contains.
percent_used
The percentage of terminal networks the non-terminal network contains.
is_in_orphan
A way to determine if the network has a parent (0) or if it belongs to a container Orphan
networks (1).
site_description
The description of the space the object belongs to.
site_name
The name of the space the object belongs to.
site_is_template
The template status of the space the object belongs to. If the space is used as template (1),
all the IPv4 networks, pools and IP addresses it contains are also used as template.
tree_level
The database level of the space the object belongs to. If you set up a VLSM organization, it
returns values between between 0 (the highest level) and n.
87
IPv6 Network
tree_path
The database path toward the space the object belongs to as follows: <space-name># . If
you set up a VLSM organization, the path looks as follows: <highest-level-space-
name>##<child-space-name>#<child-space-name>#... .
tree_id_path
The database path toward the space the object belongs to as follows: <space-ID># . If you
set up a VLSM organization, the path looks as follows: <highest-level-space-ID>#<child-
space-ID>#<child-space-ID>#... .
site_class_name
The name of the class applied to the space the object belongs to, it can be preceded by the
class directory.
parent_subnet6_name
The name of the parent IPv6 network. # indicates that the network has no parent network.
parent_start_ip6_addr
The first IP address of the parent IPv6 network, in hexadecimal format.
parent_end_ip6_addr
The last IP address of the parent IPv6 network, in hexadecimal format.
parent_subnet_size
The number of IP addresses of the network parent, in hexadecimal format.
parent_subnet_level
The level of the parent network within the space. It returns values between 0 (block-type
network) and n (subnet-type network). A value higher than 1 indicates a VLSM organization
where a block-type network can belong to another subnet-type network.
parent_subnet_path
The path toward the parent network in the database. # indicates the network has no parent
network.
parent_subnet6_class_name
The name of the class applied to the parent IPv6 network, it can be preceded by the class
directory.
parent_is_terminal
A way to determine if the parent network is terminal (1) or non-terminal (0).
parent_vlsm_subnet6_id
The database identifier (ID) of the IPv6 subnet-type network, located in the VLSM parent
space, from which the parent network was duplicated. 0 indicates that the parent network is
not a VLSM block-type network duplicated from a parent space.
parent_subnet6_prefix
The prefix of the parent of the IPv6 network the object belongs to.
parent_percent_allocated
The percentage of subnet-type networks the parent network contains.
parent_percent_used
The percentage of terminal networks the parent network contains.
parent_site_id
The database identifier (ID) of the space where is located the parent network. 0 indicates
that the network has no parent network.
parent_site_name
The name of the space where is located the parent network. # indicates that the network has
no parent network.
88
IPv6 Network
site_parent_site_id
The database identifier (ID) of the VLSM parent of the space where is located the network.
0 indicates that the space where is located the network has no parent space.
vlsm_site_id
The database identifier (ID) of the VLSM child space where the network is duplicated as a
VLSM block-type network. 0 indicates that the network is not duplicated as a VLSM block-
type network in a child space.
vlsm_site_name
The name of the VLSM child space where the network is duplicated as a VLSM block-type
network. 0 indicates that the network is not duplicated as a VLSM block-type network in a
child space.
vlmvlan_vlan_id
The VLAN identifier (ID) of the VLAN associated with the network.
vlmvlan_name
The name of the VLAN associated with the network.
vlmdomain_id
The database identifier (ID) of the VLAN domain associated with the network.
vlmdomain_name
The name of the VLAN domain associated with the network.
vlmrange_id
The database identifier (ID) of the VLAN range associated with the network.
vlmrange_name
The name of the VLAN range associated with the network.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
subnet6_class_parameters
The class parameters applied to the IPv6 network and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
subnet6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
subnet6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
89
IPv6 Network
subnet6_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
site_class_parameters
The class parameters applied to the space the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
site_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
site_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>,<propagation>&... .
parent_subnet6_class_parameters
The class parameters applied to the parent IPv6 network and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
parent_subnet6_class_parameters_properties
The inheritance and/or propagation properties of the class parameters returned in the para-
meter parent_subnet6_class_parameters: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>.f
Example
In the example below, we call the service ip6_block6_subnet6_list with Ruby (NET::Http) using
the clause WHERE to list all the IPv6 terminal networks.
Example 7.1. Calling the service ip6_block6_subnet6_list using Ruby and WHERE
require 'uri'
require 'net/http'
url = URI("https://solid.intranet/rest/ip6_block6_subnet6_list?WHERE%2Fis_terminal=1")
request = Net::HTTP::Get.new(url)
request["x-ipm-username"] = 'aXBtYWRtaW4='
request["x-ipm-password"] = 'YWRtaW4='
request["cache-control"] = 'no-cache'
response = http.request(request)
puts response.read_body
90
IPv6 Network
Name
ip6_block6_subnet6_info — Display the properties of an IPv6 block/subnet-type
network
Description
This service allows to display the properties of an object.
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
subnet6_id
The database identifier (ID) of the IPv6 network, a unique numeric key value automatically
incremented when you add an IPv6 network. Use the ID to specify the IPv6 network of your
choice.
Output Parameters
type
The type of the network.
subnet6_id
The database identifier (ID) of the IPv6 network.
start_ip6_addr
The first IP address of the IPv6 network, in hexadecimal format.
start_hostaddr
The human readable version of the parameter start_ip6_addr.
end_ip6_addr
The last IP address of the IPv6 network, in hexadecimal format.
end_hostaddr
The human readable version of the parameter end_ip6_addr.
subnet6_name
The name of the IPv6 network.
subnet_size
The number of IP addresses the IPv6 network contains.
vlsm_block6_id
The database identifier (ID) of the IPv6 VLSM block-type network duplicated, in a VLSM child
space, from the network. 0 indicates that the network is not duplicated as a VLSM block-type
network in a child space.
vlmvlan_id
The database identifier (ID) of the VLAN associated with the network.
91
IPv6 Network
subnet_level
The level of the network within the space. It returns values between 0 (block-type network)
and n (subnet-type network). A value higher than 1 indicates a VLSM organization where a
block-type network can belong to another subnet-type network.
subnet_path
The path toward the network in the database from the containing block-type network down
to the subnet-type network: <block-network-start-IP>#<block-network-ID>#<subnet-network-
start-IP>#<subnet-network-ID>. The IP address is returned in hexadecimal format.
• In network-based VLSM organizations, the path includes all the subnet-type networks there
are from the containing block-type network down to the subnet-type network specified in
subnet_id.
• In space-based VLSM organizations, the path includes the block-type network of the top
parent space and all the subnet-type networks there are until the network specified in
subnet_id. Only one block-type network is returned.
subnet6_class_name
The name of the class applied to the IPv6 network, it can be preceded by the class directory.
parent_subnet6_id
The database identifier (ID) of the parent IPv6 network. 0 indicates that the network has no
parent network.
vlsm_subnet6_id
The database identifier (ID) of the IPv6 subnet-type network, located in the VLSM parent
space, from which the network was duplicated. 0 indicates that the network is not a VLSM
block-type network duplicated from a parent space.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
subnet6_is_valid
The network validity. A valid network (1) has a prefix and last IP address that match.
lock_network_broadcast
A way to prevent (1) users from assigning the broadcast IP address and network IP address
of the network.
site_id
The database identifier (ID) of the space the object belongs to, a unique numeric key value
automatically incremented when you add a space.
waiting_state
The state of the exchange between SOLIDserver and the RIPE for the assigned network:
92
IPv6 Network
Status Description
wait_aw_confirm The number of IP addresses of the assigned network exceeds the Assignment
Window declared during your RIPE configuration.
waiting_status
The status of a RIPE assigned network within SOLIDserver until it is confirmed that you can
create or delete it. If set to 1, it is about to be created. If set to 2, it is about to be deleted.
is_terminal
A way to determine if a network can contain other networks. If set to 1, the network is terminal
and cannot contain other subnet-type networks. Block-type networks are always set to 0.
subnet6_prefix
The prefix of the IPv6 network.
percent_allocated
The percentage of subnet-type networks the non-terminal network contains.
percent_used
The percentage of terminal networks the non-terminal network contains.
is_in_orphan
A way to determine if the network has a parent (0) or if it belongs to a container Orphan
networks (1).
site_description
The description of the space the object belongs to.
site_name
The name of the space the object belongs to.
site_is_template
The template status of the space the object belongs to. If the space is used as template (1),
all the IPv4 networks, pools and IP addresses it contains are also used as template.
tree_level
The database level of the space the object belongs to. If you set up a VLSM organization, it
returns values between between 0 (the highest level) and n.
tree_path
The database path toward the space the object belongs to as follows: <space-name># . If
you set up a VLSM organization, the path looks as follows: <highest-level-space-
name>##<child-space-name>#<child-space-name>#... .
tree_id_path
The database path toward the space the object belongs to as follows: <space-ID># . If you
set up a VLSM organization, the path looks as follows: <highest-level-space-ID>#<child-
space-ID>#<child-space-ID>#... .
site_class_name
The name of the class applied to the space the object belongs to, it can be preceded by the
class directory.
parent_subnet6_name
The name of the parent IPv6 network. # indicates that the network has no parent network.
parent_start_ip6_addr
The first IP address of the parent IPv6 network, in hexadecimal format.
parent_end_ip6_addr
The last IP address of the parent IPv6 network, in hexadecimal format.
93
IPv6 Network
parent_subnet_size
The number of IP addresses of the network parent, in hexadecimal format.
parent_subnet_level
The level of the parent network within the space. It returns values between 0 (block-type
network) and n (subnet-type network). A value higher than 1 indicates a VLSM organization
where a block-type network can belong to another subnet-type network.
parent_subnet_path
The path toward the parent network in the database. # indicates the network has no parent
network.
parent_subnet6_class_name
The name of the class applied to the parent IPv6 network, it can be preceded by the class
directory.
parent_is_terminal
A way to determine if the parent network is terminal (1) or non-terminal (0).
parent_vlsm_subnet6_id
The database identifier (ID) of the IPv6 subnet-type network, located in the VLSM parent
space, from which the parent network was duplicated. 0 indicates that the parent network is
not a VLSM block-type network duplicated from a parent space.
parent_subnet6_prefix
The prefix of the parent of the IPv6 network the object belongs to.
parent_percent_allocated
The percentage of subnet-type networks the parent network contains.
parent_percent_used
The percentage of terminal networks the parent network contains.
parent_site_id
The database identifier (ID) of the space where is located the parent network. 0 indicates
that the network has no parent network.
parent_site_name
The name of the space where is located the parent network. # indicates that the network has
no parent network.
site_parent_site_id
The database identifier (ID) of the VLSM parent of the space where is located the network.
0 indicates that the space where is located the network has no parent space.
vlsm_site_id
The database identifier (ID) of the VLSM child space where the network is duplicated as a
VLSM block-type network. 0 indicates that the network is not duplicated as a VLSM block-
type network in a child space.
vlsm_site_name
The name of the VLSM child space where the network is duplicated as a VLSM block-type
network. 0 indicates that the network is not duplicated as a VLSM block-type network in a
child space.
vlmvlan_vlan_id
The VLAN identifier (ID) of the VLAN associated with the network.
vlmvlan_name
The name of the VLAN associated with the network.
vlmdomain_id
The database identifier (ID) of the VLAN domain associated with the network.
94
IPv6 Network
vlmdomain_name
The name of the VLAN domain associated with the network.
vlmrange_id
The database identifier (ID) of the VLAN range associated with the network.
vlmrange_name
The name of the VLAN range associated with the network.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
subnet6_class_parameters
The class parameters applied to the IPv6 network and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
subnet6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
subnet6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
subnet6_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
site_class_parameters
The class parameters applied to the space the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
site_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
site_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>,<propagation>&... .
parent_subnet6_class_parameters
The class parameters applied to the parent IPv6 network and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
95
IPv6 Network
parent_subnet6_class_parameters_properties
The inheritance and/or propagation properties of the class parameters returned in the para-
meter parent_subnet6_class_parameters: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>.f
96
IPv6 Network
Name
ip6_block6_subnet6_count — Count the number of IPv6 block/subnet-type networks
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
97
IPv6 Network
Name
ip6_find_free_subnet6 — List the 10 first free IPv6 subnet-type networks
Description
This service allows to list the 10 first free IPv6 subnet-type networks, terminal or non terminal.
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 database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
prefix
The prefix of the subnet-type network(s) you are looking for, an integer that defines the
number of addresses the network contains.
Type IPv6 prefix (integer between 1 and 128) Maximum length N/A
Default value N/A Can be edited Yes
max_find
The maximum number of IPv6 networks to be returned by the service.You can use it to return
more than 10 results.
begin_addr
The first IPv6 address of the range of addresses where you are looking for free networks.
end_addr
The last IPv6 address of the range of addresses where you are looking for free networks.
98
IPv6 Network
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
block6_id
The database identifier (ID) of an existing non-terminal IPv6 network. Use the ID to specify
the IPv6 network of your choice.
use_searched_path
A way to filter the search for subnet-type networks based on the specified block_id. If set
to 0, the service returns free subnet-type networks within the specified block-type network.
If set to 1, the service returns free subnet-type networks within the specified block-type network
and within all the non-terminal subnet-type networks it might contain.
Output Parameters
start_ip6_addr
The first IP address of the IPv6 network, in hexadecimal format.
block6_name
The name of the non-terminal IPv6 network the free subnet-type network(s) belongs to.
cost
An integer between 0 and n that evaluates the best range of IP addresses within a block-type
network to create a subnet-type network and avoid fragmentation. The lower the cost, the
better the position is. The lowest costs are always returned first.
block6_id
The database identifier (ID) of the non-terminal IPv6 network the free subnet-type network(s)
belongs to.
site_id
The database identifier (ID) of the space the object belongs to, a unique numeric key value
automatically incremented when you add a space.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
99
IPv6 Network
Name
ip6_block6_subnet6_groupby — Group IPv6 block/subnet-type networks by
parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
100
IPv6 Network
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
101
IPv6 Network
Name
ip6_block6_subnet6_groupby_count — Count the number of IPv6 block/subnet-
type networks grouped by parameter(s)
Description
This service allows to display the total number of results of the service *_groupby.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
102
IPv6 Network
Name
group_subnet6_add — Add an IPv6 block/subnet-type network to a group resources
Description
This service allows to add an object to the resources of a group. You can only add one object to
a group resource per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
site_id
The database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
subnet6_id
The database identifier (ID) of the IPv6 network, a unique numeric key value automatically
incremented when you add an IPv6 network. Use the ID to specify the IPv6 network of your
choice.
103
IPv6 Network
parent_subnet6_id
The database identifier (ID) of the parent IPv6 network. Use the ID to specify the parent IPv6
network of your choice.
subnet6_name
The name of the IPv6 network.
subnet6_addr
The start IP address of the IPv6 network, its first IP address.
subnet6_end_addr
The end IP address of the IPv6 network, its last IP address.
subnet6_prefix
The prefix of the IPv6 network, an integer that defines the number of address the network
contains.
Type IPv6 prefix (integer between 1 and 128) Maximum length N/A
Default value N/A Can be edited Yes
subnet_level
The level of the network within the space:
• Set it to 0 for a block-type network.
• Set it to a value between 1 and n for a subnet-type network.
If you set a value between 2 and n, you are setting a network-based VLSM organization
where non terminal subnet-type networks can contain other subnet-type networks.
relative_position
The position of the network within the hierarchy of networks of a VLSM organization. It calcu-
lates between 0 and n all the levels of the organization, its behavior depends on the value
of the parameter use_reversed_relative_position:
• use_reversed_relative_position=0 where 0 indicates a block-type network at the highest
level possible, in a space-based organization, it belongs to the top space. The levels incre-
ment from 0 down to n, the lowest level you set up, within networks or spaces.
104
IPv6 Network
use_reversed_relative_position
A way to determine if the calculation of the parameter relative_position should start from
the top (0) or the bottom (1) of the VLSM organization.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
105
IPv6 Network
Name
group_subnet6_delete — Remove an IPv6 block/subnet-type network from a group
resources
Description
This service allows to remove an object from a group resources.You can only remove one object
from the resources of a group per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
site_id
The database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
subnet6_id
The database identifier (ID) of the IPv6 network, a unique numeric key value automatically
incremented when you add an IPv6 network. Use the ID to specify the IPv6 network of your
choice.
106
IPv6 Network
parent_subnet6_id
The database identifier (ID) of the parent IPv6 network. Use the ID to specify the parent IPv6
network of your choice.
subnet6_name
The name of the IPv6 network.
subnet6_addr
The start IP address of the IPv6 network, its first IP address.
subnet6_end_addr
The end IP address of the IPv6 network, its last IP address.
subnet6_prefix
The prefix of the IPv6 network, an integer that defines the number of address the network
contains.
Type IPv6 prefix (integer between 1 and 128) Maximum length N/A
Default value N/A Can be edited Yes
subnet_level
The level of the network within the space:
• Set it to 0 for a block-type network.
• Set it to a value between 1 and n for a subnet-type network.
If you set a value between 2 and n, you are setting a network-based VLSM organization
where non terminal subnet-type networks can contain other subnet-type networks.
relative_position
The position of the network within the hierarchy of networks of a VLSM organization. It calcu-
lates between 0 and n all the levels of the organization, its behavior depends on the value
of the parameter use_reversed_relative_position:
• use_reversed_relative_position=0 where 0 indicates a block-type network at the highest
level possible, in a space-based organization, it belongs to the top space. The levels incre-
ment from 0 down to n, the lowest level you set up, within networks or spaces.
107
IPv6 Network
use_reversed_relative_position
A way to determine if the calculation of the parameter relative_position should start from
the top (0) or the bottom (1) of the VLSM organization.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
108
IPv6 Network
Name
ip6_subnet6_delete — Delete an IPv6 block/subnet-type network
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
subnet6_id
The database identifier (ID) of the IPv6 network, a unique numeric key value automatically
incremented when you add an IPv6 network. Use the ID to specify the IPv6 network of your
choice.
parent_subnet6_id
The database identifier (ID) of the parent IPv6 network. Use the ID to specify the parent IPv6
network of your choice.
subnet6_name
The name of the IPv6 network.
109
IPv6 Network
subnet6_addr
The start IP address of the IPv6 network, its first IP address.
subnet6_end_addr
The end IP address of the IPv6 network, its last IP address.
subnet6_prefix
The prefix of the IPv6 network, an integer that defines the number of address the network
contains.
Type IPv6 prefix (integer between 1 and 128) Maximum length N/A
Default value N/A Can be edited Yes
subnet_level
The level of the network within the space:
• Set it to 0 for a block-type network.
• Set it to a value between 1 and n for a subnet-type network.
If you set a value between 2 and n, you are setting a network-based VLSM organization
where non terminal subnet-type networks can contain other subnet-type networks.
relative_position
The position of the network within the hierarchy of networks of a VLSM organization. It calcu-
lates between 0 and n all the levels of the organization, its behavior depends on the value
of the parameter use_reversed_relative_position:
• use_reversed_relative_position=0 where 0 indicates a block-type network at the highest
level possible, in a space-based organization, it belongs to the top space. The levels incre-
ment from 0 down to n, the lowest level you set up, within networks or spaces.
• use_reversed_relative_position=1 where 1 indicates a network located at the lowest level
of the organization, within networks or spaces. The levels increment from 0 up to n, the
network at the highest level of the organization.
use_reversed_relative_position
A way to determine if the calculation of the parameter relative_position should start from
the top (0) or the bottom (1) of the VLSM organization.
110
IPv6 Network
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
111
Chapter 8. IPv4 Pool
112
IPv4 Pool
Name
ip_pool_add — Add/Edit an IPv4 pool
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
subnet_id
The database identifier (ID) of the IPv4 network, a unique numeric key value automatically
incremented when you add an IPv4 network. Use the ID to specify the IPv4 network of your
choice.
pool_id
The database identifier (ID) of the IPv4 pool, a unique numeric key value automatically incre-
mented when you add an IPv4 pool. Use the ID to specify which IPv4 pool to edit.
pool_name
The name of the IPv4 pool, each IPv4 pool must have a unique name.
113
IPv4 Pool
start_addr
The first IP address of the pool.
end_addr
The last IP address of the pool.
pool_size
The size of the pool, the number of IP addresses it contains.
pool_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
pool_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
pool_read_only
The reservation status of the IPv4 pool. If set 1, the IP addresses it contains cannot be as-
signed.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
114
IPv4 Pool
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
pool_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
115
IPv4 Pool
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
116
IPv4 Pool
Name
ip_pool_list — List the IPv4 pools
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
site_name
The name of the space the object belongs to.
site_id
The database identifier (ID) of the space the object belongs to, a unique numeric key value
automatically incremented when you add a space.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
117
IPv4 Pool
site_description
The description of the space the object belongs to.
site_class_name
The name of the class applied to the space the object belongs to, it can be preceded by the
class directory.
site_is_template
The template status of the space the object belongs to. If the space is used as template (1),
all the IPv4 networks, pools and IP addresses it contains are also used as template.
tree_path
The database path toward the space the object belongs to as follows: <space-name># . If
you set up a VLSM organization, the path looks as follows: <highest-level-space-
name>##<child-space-name>#<child-space-name>#... .
pool_id
The database identifier (ID) of the IPv4 pool.
pool_name
The name of the IPv4 pool.
pool_class_name
The name of the class applied to the IPv4 pool, it can be preceded by the class directory.
pool_read_only
The reservation status of the IPv4 pool. If set 1, the IP addresses it contains cannot be as-
signed.
start_ip_addr
The first IP address of the IPv4 pool, in hexadecimal format.
start_hostaddr
The human readable version of the parameter start_ip_addr.
end_ip_addr
The last IP address of the IPv4 pool, in hexadecimal format.
end_hostaddr
The human readable version of the parameter end_ip_addr.
pool_start_ip_addr
The first IP address of the IPv4 pool, in hexadecimal format.
pool_end_ip_addr
The last IP address of the IPv4 pool, in hexadecimal format.
pool_size
The number of IP addresses the IPv4 pool contains.
parent_subnet_name
The name of the parent IPv4 network:
• # indicates that the network the object belongs to has no parent network.
• Default indicates that the network the object belongs to is in an orphan network.
parent_subnet_id
The database identifier (ID) of the parent IPv4 network. It identifies the parent of the IPv4
network the object belongs to. 0 indicates that the network the object belongs to has no
parent network.
parent_subnet_size
The number of IP addresses of the parent of the network the object belongs to.
118
IPv4 Pool
vlsm_subnet_id
The database identifier (ID) of the IPv4 subnet-type network, located in the VLSM parent
space, from which the parent of the network the pool belongs to was duplicated. 0 indicates
that the parent of the network the pool belongs to is not a VLSM block-type network duplicated
from a parent space.
parent_subnet_class_name
The name of the class applied to the parent of the IPv4 network the object belongs to, it can
be preceded by the class directory.
subnet_name
The name of the IPv4 network the object belongs to. Default indicates that the network the
object belongs to is an orphan network.
vlsm_block_id
The database identifier (ID) of the IPv4 VLSM block-type network duplicated, in a VLSM child
space, from the network the pool belongs to. 0 indicates that the parent of the network the
pool belongs to is not duplicated as a VLSM block-type network in a child space.
subnet_id
The database identifier (ID) of the IPv4 network the object belongs to.
subnet_start_ip_addr
The first IP address of the IPv4 network the object belongs to.
subnet_end_ip_addr
The last IP address of the IPv4 network the object belongs to.
subnet_size
The number of IP addresses the network the object belongs to contains.
subnet_class_name
The name of the class applied to the IPv4 network the object belongs to, it can be preceded
by the class directory.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
pool_class_parameters
The class parameters applied to the IPv4 pool and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
119
IPv4 Pool
pool_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
pool_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
pool_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
site_class_parameters
The class parameters applied to the space the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
site_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
site_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>,<propagation>&... .
subnet_class_parameters
The class parameters applied to the IPv4 network the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
subnet_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
subnet_class_parameters: <classparam1>=<inheritance>,<propaga-
tion>&<classparam2>=<inheritance>,<propagation>&... .
120
IPv4 Pool
Name
ip_pool_info — Display the properties of an IPv4 pool
Description
This service allows to display the properties of an object.
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
pool_id
The database identifier (ID) of the IPv4 pool, a unique numeric key value automatically incre-
mented when you add an IPv4 pool. Use the ID to specify the IPv4 pool of your choice.
Output Parameters
site_name
The name of the space the object belongs to.
site_id
The database identifier (ID) of the space the object belongs to, a unique numeric key value
automatically incremented when you add a space.
site_description
The description of the space the object belongs to.
site_class_name
The name of the class applied to the space the object belongs to, it can be preceded by the
class directory.
site_is_template
The template status of the space the object belongs to. If the space is used as template (1),
all the IPv4 networks, pools and IP addresses it contains are also used as template.
tree_path
The database path toward the space the object belongs to as follows: <space-name># . If
you set up a VLSM organization, the path looks as follows: <highest-level-space-
name>##<child-space-name>#<child-space-name>#... .
pool_id
The database identifier (ID) of the IPv4 pool.
pool_name
The name of the IPv4 pool.
pool_class_name
The name of the class applied to the IPv4 pool, it can be preceded by the class directory.
pool_read_only
The reservation status of the IPv4 pool. If set 1, the IP addresses it contains cannot be as-
signed.
121
IPv4 Pool
start_ip_addr
The first IP address of the IPv4 pool, in hexadecimal format.
start_hostaddr
The human readable version of the parameter start_ip_addr.
end_ip_addr
The last IP address of the IPv4 pool, in hexadecimal format.
end_hostaddr
The human readable version of the parameter end_ip_addr.
pool_start_ip_addr
The first IP address of the IPv4 pool, in hexadecimal format.
pool_end_ip_addr
The last IP address of the IPv4 pool, in hexadecimal format.
pool_size
The number of IP addresses the IPv4 pool contains.
parent_subnet_name
The name of the parent IPv4 network:
• # indicates that the network the object belongs to has no parent network.
• Default indicates that the network the object belongs to is in an orphan network.
parent_subnet_id
The database identifier (ID) of the parent IPv4 network. It identifies the parent of the IPv4
network the object belongs to. 0 indicates that the network the object belongs to has no
parent network.
parent_subnet_size
The number of IP addresses of the parent of the network the object belongs to.
vlsm_subnet_id
The database identifier (ID) of the IPv4 subnet-type network, located in the VLSM parent
space, from which the parent of the network the pool belongs to was duplicated. 0 indicates
that the parent of the network the pool belongs to is not a VLSM block-type network duplicated
from a parent space.
parent_subnet_class_name
The name of the class applied to the parent of the IPv4 network the object belongs to, it can
be preceded by the class directory.
subnet_name
The name of the IPv4 network the object belongs to. Default indicates that the network the
object belongs to is an orphan network.
vlsm_block_id
The database identifier (ID) of the IPv4 VLSM block-type network duplicated, in a VLSM child
space, from the network the pool belongs to. 0 indicates that the parent of the network the
pool belongs to is not duplicated as a VLSM block-type network in a child space.
subnet_id
The database identifier (ID) of the IPv4 network the object belongs to.
subnet_start_ip_addr
The first IP address of the IPv4 network the object belongs to.
subnet_end_ip_addr
The last IP address of the IPv4 network the object belongs to.
122
IPv4 Pool
subnet_size
The number of IP addresses the network the object belongs to contains.
subnet_class_name
The name of the class applied to the IPv4 network the object belongs to, it can be preceded
by the class directory.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
pool_class_parameters
The class parameters applied to the IPv4 pool and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
pool_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
pool_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
pool_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
site_class_parameters
The class parameters applied to the space the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
site_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
site_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>,<propagation>&... .
subnet_class_parameters
The class parameters applied to the IPv4 network the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
123
IPv4 Pool
subnet_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
subnet_class_parameters: <classparam1>=<inheritance>,<propaga-
tion>&<classparam2>=<inheritance>,<propagation>&... .
124
IPv4 Pool
Name
ip_pool_count — Count the number of IPv4 pools
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
125
IPv4 Pool
Name
group_pool_add — Add an IPv4 pool to a group resources
Description
This service allows to add an object to the resources of a group. You can only add one object to
a group resource per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
site_id
The database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
subnet_id
The database identifier (ID) of the IPv4 network, a unique numeric key value automatically
incremented when you add an IPv4 network. Use the ID to specify the IPv4 network of your
choice.
126
IPv4 Pool
pool_id
The database identifier (ID) of the IPv4 pool, a unique numeric key value automatically incre-
mented when you add an IPv4 pool. Use the ID to specify the IPv4 pool of your choice.
start_addr
The first IP address of the pool.
end_addr
The last IP address of the pool.
pool_size
The size of the pool, the number of IP addresses it contains.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
127
IPv4 Pool
128
IPv4 Pool
Name
group_pool_delete — Remove an IPv4 pool from a group resources
Description
This service allows to remove an object from a group resources.You can only remove one object
from the resources of a group per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
site_id
The database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
subnet_id
The database identifier (ID) of the IPv4 network, a unique numeric key value automatically
incremented when you add an IPv4 network. Use the ID to specify the IPv4 network of your
choice.
129
IPv4 Pool
pool_id
The database identifier (ID) of the IPv4 pool, a unique numeric key value automatically incre-
mented when you add an IPv4 pool. Use the ID to specify the IPv4 pool of your choice.
start_addr
The first IP address of the pool.
end_addr
The last IP address of the pool.
pool_size
The size of the pool, the number of IP addresses it contains.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
130
IPv4 Pool
param_value
The value of the input parameter(s) that caused the error during the service execution.
131
IPv4 Pool
Name
ip_pool_delete — Delete an IPv4 pool
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
subnet_id
The database identifier (ID) of the IPv4 network, a unique numeric key value automatically
incremented when you add an IPv4 network. Use the ID to specify the IPv4 network of your
choice.
pool_id
The database identifier (ID) of the IPv4 pool, a unique numeric key value automatically incre-
mented when you add an IPv4 pool. Use the ID to specify the IPv4 pool of your choice.
start_addr
The first IP address of the pool.
132
IPv4 Pool
end_addr
The last IP address of the pool.
pool_size
The size of the pool, the number of IP addresses it contains.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
133
Chapter 9. IPv6 Pool
134
IPv6 Pool
Name
ip6_pool6_add — Add/Edit an IPv6 pool
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
subnet6_id
The database identifier (ID) of the IPv6 network, a unique numeric key value automatically
incremented when you add an IPv6 network. Use the ID to specify the IPv6 network of your
choice.
pool6_id
The database identifier (ID) of the IPv6 pool, a unique numeric key value automatically incre-
mented when you add an IPv6 pool. Use the ID to specify which IPv6 pool to edit.
pool6_name
The name of the IPv6 pool, each IPv6 pool must have a unique name.
135
IPv6 Pool
start_addr
The first IP address of the pool.
end_addr
The last IP address of the pool.
pool6_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
pool6_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
pool6_read_only
The reservation status of the IPv6 pool. If set 1, the IP addresses it contains cannot be as-
signed.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
136
IPv6 Pool
pool6_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
137
IPv6 Pool
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
138
IPv6 Pool
Name
ip6_pool6_list — List the IPv6 pools
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
site_name
The name of the space the object belongs to.
site_id
The database identifier (ID) of the space the object belongs to, a unique numeric key value
automatically incremented when you add a space.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
139
IPv6 Pool
site_description
The description of the space the object belongs to.
site_class_name
The name of the class applied to the space the object belongs to, it can be preceded by the
class directory.
site_is_template
The template status of the space the object belongs to. If the space is used as template (1),
all the IPv4 networks, pools and IP addresses it contains are also used as template.
tree_path
The database path toward the space the object belongs to as follows: <space-name># . If
you set up a VLSM organization, the path looks as follows: <highest-level-space-
name>##<child-space-name>#<child-space-name>#... .
pool6_id
The database identifier (ID) of the IPv6 pool.
pool6_name
The name of the IPv6 pool.
pool6_class_name
The name of the class applied to the IPv6 pool, it can be preceded by the class directory.
pool6_read_only
The reservation status of the IPv6 pool. If set 1, the IP addresses it contains cannot be as-
signed.
start_ip6_addr
The first IP address of the IPv6 pool, in hexadecimal format.
start_hostaddr
The human readable version of the parameter start_ip6_addr.
end_ip6_addr
The last IP address of the IPv6 pool, in hexadecimal format.
end_hostaddr
The human readable version of the parameter end_ip6_addr.
pool6_start_ip6_addr
The first IP address of the IPv6 pool, in hexadecimal format.
pool6_end_ip6_addr
The last IP address of the IPv6 pool, in hexadecimal format.
pool6_size
The number of IP addresses the IPv6 pool contains.
parent_subnet6_name
The name of the parent IPv6 network. # indicates that the network the object belongs to has
no parent network.
parent_subnet6_id
The database identifier (ID) of the parent IPv6 network. It identifies the parent of the IPv6
network the object belongs to. 0 indicates that the network the object belongs to has no
parent network.
vlsm_subnet6_id
The database identifier (ID) of the IPv6 subnet-type network, located in the VLSM parent
space, from which the parent of the network the pool belongs to was duplicated. 0 indicates
140
IPv6 Pool
that the parent of the network the pool belongs to is not a VLSM block-type network duplicated
from a parent space.
parent_subnet6_prefix
The prefix of the parent of the IPv6 network the object belongs to.
parent_subnet6_class_name
The name of the class applied to the parent of the IPv6 network the object belongs to, it can
be preceded by the class directory.
subnet6_name
The name of the IPv6 network the object belongs to.
vlsm_block6_id
The database identifier (ID) of the IPv6 VLSM block-type network duplicated, in a VLSM child
space, from the network the pool belongs to. 0 indicates that the parent of the network the
pool belongs to is not duplicated as a VLSM block-type network in a child space.
subnet6_id
The database identifier (ID) of the IPv6 network the object belongs to.
subnet6_start_ip6_addr
The first IP address of the IPv6 network the object belongs to.
subnet6_end_ip6_addr
The last IP address of the IPv6 network the object belongs to.
subnet6_class_name
The name of the class applied to the IPv6 network the object belongs to, it can be preceded
by the class directory.
subnet6_prefix
The prefix of the IPv6 network the object belongs to.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
pool6_class_parameters
The class parameters applied to the IPv6 pool and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
141
IPv6 Pool
pool6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
pool6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
pool6_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
site_class_parameters
The class parameters applied to the space the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
site_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
site_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>,<propagation>&... .
subnet6_class_parameters
The class parameters applied to the IPv6 network the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
subnet6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
subnet6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
142
IPv6 Pool
Name
ip6_pool6_info — Display the properties of an IPv6 pool
Description
This service allows to display the properties of an object.
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
pool6_id
The database identifier (ID) of the IPv6 pool, a unique numeric key value automatically incre-
mented when you add an IPv6 pool. Use the ID to specify the IPv6 pool of your choice.
Output Parameters
site_name
The name of the space the object belongs to.
site_id
The database identifier (ID) of the space the object belongs to, a unique numeric key value
automatically incremented when you add a space.
site_description
The description of the space the object belongs to.
site_class_name
The name of the class applied to the space the object belongs to, it can be preceded by the
class directory.
site_is_template
The template status of the space the object belongs to. If the space is used as template (1),
all the IPv4 networks, pools and IP addresses it contains are also used as template.
tree_path
The database path toward the space the object belongs to as follows: <space-name># . If
you set up a VLSM organization, the path looks as follows: <highest-level-space-
name>##<child-space-name>#<child-space-name>#... .
pool6_id
The database identifier (ID) of the IPv6 pool.
pool6_name
The name of the IPv6 pool.
pool6_class_name
The name of the class applied to the IPv6 pool, it can be preceded by the class directory.
pool6_read_only
The reservation status of the IPv6 pool. If set 1, the IP addresses it contains cannot be as-
signed.
143
IPv6 Pool
start_ip6_addr
The first IP address of the IPv6 pool, in hexadecimal format.
start_hostaddr
The human readable version of the parameter start_ip6_addr.
end_ip6_addr
The last IP address of the IPv6 pool, in hexadecimal format.
end_hostaddr
The human readable version of the parameter end_ip6_addr.
pool6_start_ip6_addr
The first IP address of the IPv6 pool, in hexadecimal format.
pool6_end_ip6_addr
The last IP address of the IPv6 pool, in hexadecimal format.
pool6_size
The number of IP addresses the IPv6 pool contains.
parent_subnet6_name
The name of the parent IPv6 network. # indicates that the network the object belongs to has
no parent network.
parent_subnet6_id
The database identifier (ID) of the parent IPv6 network. It identifies the parent of the IPv6
network the object belongs to. 0 indicates that the network the object belongs to has no
parent network.
vlsm_subnet6_id
The database identifier (ID) of the IPv6 subnet-type network, located in the VLSM parent
space, from which the parent of the network the pool belongs to was duplicated. 0 indicates
that the parent of the network the pool belongs to is not a VLSM block-type network duplicated
from a parent space.
parent_subnet6_prefix
The prefix of the parent of the IPv6 network the object belongs to.
parent_subnet6_class_name
The name of the class applied to the parent of the IPv6 network the object belongs to, it can
be preceded by the class directory.
subnet6_name
The name of the IPv6 network the object belongs to.
vlsm_block6_id
The database identifier (ID) of the IPv6 VLSM block-type network duplicated, in a VLSM child
space, from the network the pool belongs to. 0 indicates that the parent of the network the
pool belongs to is not duplicated as a VLSM block-type network in a child space.
subnet6_id
The database identifier (ID) of the IPv6 network the object belongs to.
subnet6_start_ip6_addr
The first IP address of the IPv6 network the object belongs to.
subnet6_end_ip6_addr
The last IP address of the IPv6 network the object belongs to.
subnet6_class_name
The name of the class applied to the IPv6 network the object belongs to, it can be preceded
by the class directory.
144
IPv6 Pool
subnet6_prefix
The prefix of the IPv6 network the object belongs to.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
pool6_class_parameters
The class parameters applied to the IPv6 pool and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
pool6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
pool6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
pool6_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
site_class_parameters
The class parameters applied to the space the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
site_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
site_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>,<propagation>&... .
subnet6_class_parameters
The class parameters applied to the IPv6 network the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
subnet6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
subnet6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
145
IPv6 Pool
Name
ip6_pool6_count — Count the number of IPv6 pools
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
146
IPv6 Pool
Name
group_pool6_add — Add an IPv6 pool to a group resources
Description
This service allows to add an object to the resources of a group. You can only add one object to
a group resource per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
site_id
The database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
subnet6_id
The database identifier (ID) of the IPv6 network, a unique numeric key value automatically
incremented when you add an IPv6 network. Use the ID to specify the IPv6 network of your
choice.
147
IPv6 Pool
pool6_id
The database identifier (ID) of the IPv6 pool, a unique numeric key value automatically incre-
mented when you add an IPv6 pool. Use the ID to specify the IPv6 pool of your choice.
start_addr
The first IP address of the pool.
end_addr
The last IP address of the pool.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
148
IPv6 Pool
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
149
IPv6 Pool
Name
group_pool6_delete — Remove an IPv6 pool from a group resources
Description
This service allows to remove an object from a group resources.You can only remove one object
from the resources of a group per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
site_id
The database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
subnet6_id
The database identifier (ID) of the IPv6 network, a unique numeric key value automatically
incremented when you add an IPv6 network. Use the ID to specify the IPv6 network of your
choice.
150
IPv6 Pool
pool6_id
The database identifier (ID) of the IPv6 pool, a unique numeric key value automatically incre-
mented when you add an IPv6 pool. Use the ID to specify the IPv6 pool of your choice.
start_addr
The first IP address of the pool.
end_addr
The last IP address of the pool.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
151
IPv6 Pool
Name
ip6_pool6_delete — Delete an IPv6 pool
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
subnet6_id
The database identifier (ID) of the IPv6 network, a unique numeric key value automatically
incremented when you add an IPv6 network. Use the ID to specify the IPv6 network of your
choice.
pool6_id
The database identifier (ID) of the IPv6 pool, a unique numeric key value automatically incre-
mented when you add an IPv6 pool. Use the ID to specify the IPv6 pool of your choice.
start_addr
The first IP address of the pool.
152
IPv6 Pool
end_addr
The last IP address of the pool.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
153
Chapter 10. IPv4 Address
154
IPv4 Address
Name
ip_add — Add/Edit an IPv4 address
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
ip_id
The database identifier (ID) of the IPv4 address, a unique numeric key value automatically
incremented when you add an IPv4 address. Use the ID to specify which IPv4 address to
edit.
name
The name of the IPv4 address, each IPv4 address must have a unique name.
ip_name
Deprecated, replaced by name.
mac_addr
The MAC address you want to associate with the IPv4 address.
155
IPv4 Address
ip_addr
Deprecated, replaced by hostaddr.
hostaddr
The IP address.
ip_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
ip_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
hostdev_id
The database identifier (ID) of the Device Manager device you want to associate with the IP
address.
hostiface_id
The database identifier (ID) of the Device Manager interface you want to associate with the
IP address.
iplport_id
The database identifier (ID) of the NetChange port you want to associate with the IP address.
dhcphost_id
The database identifier (ID) of the DHCP static you want to associate with the IP address.
156
IPv4 Address
dhcplease_id
The database identifier (ID) of the DHCP lease you want to associate with the IP address.
check_is_dhcp_ip
A way to force a validity check, if you configured the IPAM to DHCP replication. If the check
is enabled (1), the configuration of the IP address you are adding must be valid as well for
the DHCP.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
ip_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
157
IPv4 Address
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
Example
In the example below, we call the service ip_add with Ruby (NET::Http) to an IPv4 address
named ip.domain.corp in one of our spaces.
url =
URI("https://solid.intranet/rest/ip_add?hostaddr=15.0.0.10&name=ip.domain.corp&site_id=44")
request = Net::HTTP::Post.new(url)
request["x-ipm-username"] = 'aXBtYWRtaW4='
158
IPv4 Address
request["x-ipm-password"] = 'YWRtaW4='
request["cache-control"] = 'no-cache'
response = http.request(request)
puts response.read_body
159
IPv4 Address
Name
ip_address_list — List the IPv4 addresses
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
type
A way to determine if you can assign the IP address (free) or if it is In use (ip).
free_start_ip_addr
An IP address in hexadecimal format. For addresses In use (type ip), it returns the IP address
itself.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
160
IPv4 Address
For free addresses (type free), it returns the first IP address of a range of IPv4 addresses
that are not assigned yet. The last address in that range is returned in free_end_ip_addr.
free_end_ip_addr
An IP address in hexadecimal format. For addresses In use (type ip), it returns the IP address
itself.
For free addresses (type free), it returns the last IP address of a range of IPv4 addresses
that are not assigned yet. The first address in that range is returned in free_start_ip_addr.
free_scope_size
The number of IP addresses that are not assigned yet (type free) between
free_start_ip_addr and free_end_ip_addr.
ip_id
The database identifier (ID) of the IPv4 address.
site_is_template
The template status of the space the object belongs to. If the space is used as template (1),
all the IPv4 networks, pools and IP addresses it contains are also used as template.
site_name
The name of the space the object belongs to.
tree_level
The database level of the space the object belongs to. If you set up a VLSM organization, it
returns values between between 0 (the highest level) and n.
tree_path
The database path toward the space the object belongs to as follows: <space-name># . If
you set up a VLSM organization, the path looks as follows: <highest-level-space-
name>##<child-space-name>#<child-space-name>#... .
tree_id_path
The database path toward the space the object belongs to as follows: <space-ID># . If you
set up a VLSM organization, the path looks as follows: <highest-level-space-ID>#<child-
space-ID>#<child-space-ID>#... .
ip_addr
The IPv4 address itself, in hexadecimal format.
hostaddr
The human readable version of the parameter ip_addr.
name
The name of the IPv4 address.
mac_addr
The MAC address associated with the IPv4 address.
ip_class_name
The name of the class applied to the IPv4 address, it can be preceded by the class directory.
parent_subnet_id
The database identifier (ID) of the parent IPv4 network. It identifies the parent of the IPv4
network the object belongs to. 0 indicates that the network the object belongs to has no
parent network.
parent_subnet_name
The name of the parent IPv4 network:
• # indicates that the network the object belongs to has no parent network.
• Default indicates that the network the object belongs to is in an orphan network.
161
IPv4 Address
parent_subnet_size
The number of IP addresses of the parent of the network the object belongs to.
parent_vlsm_subnet_id
The database identifier (ID) of the IPv4 subnet-type network, located in the VLSM parent
space, from which the parent of the network the IP address belongs to was duplicated. 0 in-
dicates that the parent of the network the IP address belongs to is not a VLSM block-type
network duplicated from a parent space.
parent_subnet_class_name
The name of the class applied to the parent of the IPv4 network the object belongs to, it can
be preceded by the class directory.
parent_subnet_start_ip_addr
The first IP address of the parent of the IPv4 network the IP address belongs to.
parent_subnet_start_hostaddr
The human readable version of the parameter parent_subnet_start_ip_addr.
parent_subnet_end_ip_addr
The last IP address of the parent of the IPv4 network the IP address belongs to.
parent_subnet_end_hostaddr
The human readable version of the parameter parent_subnet_end_ip_addr.
subnet_name
The name of the IPv4 network the object belongs to. Default indicates that the network the
object belongs to is an orphan network.
pool_name
The name of the IPv4 pool the object belongs to.
site_id
The database identifier (ID) of the space the object belongs to, a unique numeric key value
automatically incremented when you add a space.
subnet_id
The database identifier (ID) of the IPv4 network the object belongs to.
subnet_start_ip_addr
The first IP address of the IPv4 network the object belongs to.
subnet_start_hostaddr
The human readable version of the parameter subnet_start_ip_addr.
subnet_end_ip_addr
The last IP address of the IPv4 network the object belongs to.
subnet_end_hostaddr
The human readable version of the parameter subnet_end_ip_addr.
subnet_size
The number of IP addresses the network the object belongs to contains.
subnet_is_terminal
A way to determine if the network the IP address belongs to is terminal (1) or non-terminal
(0).
lock_network_broadcast
A way to prevent (1) users from assigning the broadcast IP address and network IP address
of the network the IP address belongs to.
162
IPv4 Address
pool_class_name
The name of the class applied to the IPv4 pool the object belongs to, it can be preceded by
the class directory.
pool_id
The database identifier (ID) of the IPv4 pool the object belongs to.
pool_read_only
The reservation status of the pool the IPv4 address belongs to. If set 1, the pool is reserved
and you cannot assign the IP address.
pool_row_enabled
Internal use. Not documented.
iplnetdev_name
The name of the NetChange network device associated with the IP address.
iplnetdev_id
The database identifier (ID) of the NetChange network device associated with the IP address.
iplport_name
The name of the NetChange port associated with the IP address.
iplport_slotnumber
The slot number of the port, for IP addresses which MAC addresses is imported from
NetChange.
iplport_portnumber
The number of the port, for IP addresses which MAC addresses is imported from NetChange.
iplport_ifvlan
The VLAN identifier (ID) of the NetChange port, for IP addresses which MAC addresses is
imported from NetChange.
hostiface_name
The name of the Device Manager interface associated with the IP address.
hostiface_id
The database identifier (ID) of the Device Manager interface associated with the IP address.
hostdev_name
The name of the Device Manager device associated with the IP address.
hostdev_id
The database identifier (ID) of the Device Manager device associated with the IP address.
dhcphost_id
The database identifier (ID) of the DHCP static associated with the IP address.
dhcplease_id
The database identifier (ID) of the DHCP lease associated the IP address.
last_seen
The last time the MAC address associated with the IP address was seen on the network, in
decimal UNIX date format.
dhcplease_end_time
The expiration time of the lease, if the IP address was imported from the DHCP, in decimal
UNIX date format.
site_description
The description of the space the object belongs to.
163
IPv4 Address
site_class_name
The name of the class applied to the space the object belongs to, it can be preceded by the
class directory.
subnet_class_name
The name of the class applied to the IPv4 network the object belongs to, it can be preceded
by the class directory.
pool_size
The number of IP addresses that contains the pool the IPv4 address belongs to.
pool_start_ip_addr
The first IP address of the IPv4 pool the IP address belongs to.
pool_end_ip_addr
The last IP address of the IPv4 pool the IP address belongs to.
ip_alias
The name of the IPv4 alias(es) associated with the IPv4 address.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
tag_pool_dhcprange
A way to determine if the pool the IP address belongs to is configured to Create DHCP range
(1) or not (0).
tag_container_dhcpstatic
A way to determine if the terminal network or pool the IP address belongs to is configured
to Add a DHCP static (1) or not (0).
ip_class_parameters
The class parameters applied to the IPv4 address and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
ip_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
ip_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-paramet-
er2>=<inheritance>&... .
ip_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
164
IPv4 Address
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
pool_class_parameters
The class parameters applied to the IPv4 pool the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
pool_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
pool_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
site_class_parameters
The class parameters applied to the space the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
site_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
site_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>,<propagation>&... .
subnet_class_parameters
The class parameters applied to the IPv4 network the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
subnet_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
subnet_class_parameters: <classparam1>=<inheritance>,<propaga-
tion>&<classparam2>=<inheritance>,<propagation>&... .
Example
In the example below, we call the service ip_address_list with PHP (cURL) and the clause
WHERE to list the only used IP addresses that are not called Gateway and are configured with
a class called *staff* .
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://solid.intranet/rest/ip_address_list?WHERE".
"=type%3D%27ip%27%20and%20name%21%3D%27Gateway%27%20and%20ip_class_name%20like%20%27%25staff%25%27",
$response = curl_exec($curl);
$err = curl_error($curl);
165
IPv4 Address
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
166
IPv4 Address
Name
ip_address_info — Display the properties of an IPv4 address
Description
This service allows to display the properties of an object.
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
ip_id
The database identifier (ID) of the IPv4 address, a unique numeric key value automatically
incremented when you add an IPv4 address. Use the ID to specify the IPv4 address of your
choice.
Output Parameters
type
A way to determine if you can assign the IP address (free) or if it is In use (ip).
free_start_ip_addr
An IP address in hexadecimal format. For addresses In use (type ip), it returns the IP address
itself.
For free addresses (type free), it returns the first IP address of a range of IPv4 addresses
that are not assigned yet. The last address in that range is returned in free_end_ip_addr.
free_end_ip_addr
An IP address in hexadecimal format. For addresses In use (type ip), it returns the IP address
itself.
For free addresses (type free), it returns the last IP address of a range of IPv4 addresses
that are not assigned yet. The first address in that range is returned in free_start_ip_addr.
free_scope_size
The number of IP addresses that are not assigned yet (type free) between
free_start_ip_addr and free_end_ip_addr.
ip_id
The database identifier (ID) of the IPv4 address.
site_is_template
The template status of the space the object belongs to. If the space is used as template (1),
all the IPv4 networks, pools and IP addresses it contains are also used as template.
site_name
The name of the space the object belongs to.
tree_level
The database level of the space the object belongs to. If you set up a VLSM organization, it
returns values between between 0 (the highest level) and n.
167
IPv4 Address
tree_path
The database path toward the space the object belongs to as follows: <space-name># . If
you set up a VLSM organization, the path looks as follows: <highest-level-space-
name>##<child-space-name>#<child-space-name>#... .
tree_id_path
The database path toward the space the object belongs to as follows: <space-ID># . If you
set up a VLSM organization, the path looks as follows: <highest-level-space-ID>#<child-
space-ID>#<child-space-ID>#... .
ip_addr
The IPv4 address itself, in hexadecimal format.
hostaddr
The human readable version of the parameter ip_addr.
name
The name of the IPv4 address.
mac_addr
The MAC address associated with the IPv4 address.
ip_class_name
The name of the class applied to the IPv4 address, it can be preceded by the class directory.
parent_subnet_id
The database identifier (ID) of the parent IPv4 network. It identifies the parent of the IPv4
network the object belongs to. 0 indicates that the network the object belongs to has no
parent network.
parent_subnet_name
The name of the parent IPv4 network:
• # indicates that the network the object belongs to has no parent network.
• Default indicates that the network the object belongs to is in an orphan network.
parent_subnet_size
The number of IP addresses of the parent of the network the object belongs to.
parent_vlsm_subnet_id
The database identifier (ID) of the IPv4 subnet-type network, located in the VLSM parent
space, from which the parent of the network the IP address belongs to was duplicated. 0 in-
dicates that the parent of the network the IP address belongs to is not a VLSM block-type
network duplicated from a parent space.
parent_subnet_class_name
The name of the class applied to the parent of the IPv4 network the object belongs to, it can
be preceded by the class directory.
parent_subnet_start_ip_addr
The first IP address of the parent of the IPv4 network the IP address belongs to.
parent_subnet_start_hostaddr
The human readable version of the parameter parent_subnet_start_ip_addr.
parent_subnet_end_ip_addr
The last IP address of the parent of the IPv4 network the IP address belongs to.
parent_subnet_end_hostaddr
The human readable version of the parameter parent_subnet_end_ip_addr.
168
IPv4 Address
subnet_name
The name of the IPv4 network the object belongs to. Default indicates that the network the
object belongs to is an orphan network.
pool_name
The name of the IPv4 pool the object belongs to.
site_id
The database identifier (ID) of the space the object belongs to, a unique numeric key value
automatically incremented when you add a space.
subnet_id
The database identifier (ID) of the IPv4 network the object belongs to.
subnet_start_ip_addr
The first IP address of the IPv4 network the object belongs to.
subnet_start_hostaddr
The human readable version of the parameter subnet_start_ip_addr.
subnet_end_ip_addr
The last IP address of the IPv4 network the object belongs to.
subnet_end_hostaddr
The human readable version of the parameter subnet_end_ip_addr.
subnet_size
The number of IP addresses the network the object belongs to contains.
subnet_is_terminal
A way to determine if the network the IP address belongs to is terminal (1) or non-terminal
(0).
lock_network_broadcast
A way to prevent (1) users from assigning the broadcast IP address and network IP address
of the network the IP address belongs to.
pool_class_name
The name of the class applied to the IPv4 pool the object belongs to, it can be preceded by
the class directory.
pool_id
The database identifier (ID) of the IPv4 pool the object belongs to.
pool_read_only
The reservation status of the pool the IPv4 address belongs to. If set 1, the pool is reserved
and you cannot assign the IP address.
pool_row_enabled
Internal use. Not documented.
iplnetdev_name
The name of the NetChange network device associated with the IP address.
iplnetdev_id
The database identifier (ID) of the NetChange network device associated with the IP address.
iplport_name
The name of the NetChange port associated with the IP address.
iplport_slotnumber
The slot number of the port, for IP addresses which MAC addresses is imported from
NetChange.
169
IPv4 Address
iplport_portnumber
The number of the port, for IP addresses which MAC addresses is imported from NetChange.
iplport_ifvlan
The VLAN identifier (ID) of the NetChange port, for IP addresses which MAC addresses is
imported from NetChange.
hostiface_name
The name of the Device Manager interface associated with the IP address.
hostiface_id
The database identifier (ID) of the Device Manager interface associated with the IP address.
hostdev_name
The name of the Device Manager device associated with the IP address.
hostdev_id
The database identifier (ID) of the Device Manager device associated with the IP address.
dhcphost_id
The database identifier (ID) of the DHCP static associated with the IP address.
dhcplease_id
The database identifier (ID) of the DHCP lease associated the IP address.
last_seen
The last time the MAC address associated with the IP address was seen on the network, in
decimal UNIX date format.
dhcplease_end_time
The expiration time of the lease, if the IP address was imported from the DHCP, in decimal
UNIX date format.
site_description
The description of the space the object belongs to.
site_class_name
The name of the class applied to the space the object belongs to, it can be preceded by the
class directory.
subnet_class_name
The name of the class applied to the IPv4 network the object belongs to, it can be preceded
by the class directory.
pool_size
The number of IP addresses that contains the pool the IPv4 address belongs to.
pool_start_ip_addr
The first IP address of the IPv4 pool the IP address belongs to.
pool_end_ip_addr
The last IP address of the IPv4 pool the IP address belongs to.
ip_alias
The name of the IPv4 alias(es) associated with the IPv4 address.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
170
IPv4 Address
tag_pool_dhcprange
A way to determine if the pool the IP address belongs to is configured to Create DHCP range
(1) or not (0).
tag_container_dhcpstatic
A way to determine if the terminal network or pool the IP address belongs to is configured
to Add a DHCP static (1) or not (0).
ip_class_parameters
The class parameters applied to the IPv4 address and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
ip_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
ip_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-paramet-
er2>=<inheritance>&... .
ip_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
pool_class_parameters
The class parameters applied to the IPv4 pool the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
pool_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
pool_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
site_class_parameters
The class parameters applied to the space the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
site_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
site_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>,<propagation>&... .
171
IPv4 Address
subnet_class_parameters
The class parameters applied to the IPv4 network the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
subnet_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
subnet_class_parameters: <classparam1>=<inheritance>,<propaga-
tion>&<classparam2>=<inheritance>,<propagation>&... .
Example
In the example below, we call the service ip_address_info with PHP (cURL) to retrieve the
properties of an IPv4 address.
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://solid.intranet/rest/ip_address_info?ip_id=241",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache",
"x-ipm-password: YWRtaW4=",
"x-ipm-username: aXBtYWRtaW4="
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
172
IPv4 Address
Name
ip_address_count — Count the number of IPv4 addresses
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
173
IPv4 Address
Name
ip_find_free_address — List the free IPv4 addresses
Description
This service allows to list the 10 first free IPv4 addresses.
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
subnet_id
The database identifier (ID) of the IPv4 network, a unique numeric key value automatically
incremented when you add an IPv4 network. Use the ID to specify the IPv4 network of your
choice.
parent_subnet_id
The database identifier (ID) of the parent IPv4 network. Use the ID to specify the parent IPv4
network of your choice.
pool_id
The database identifier (ID) of the IPv4 pool, a unique numeric key value automatically incre-
mented when you add an IPv4 pool. Use the ID to specify the IPv4 pool of your choice.
max_find
The maximum number of IPv4 addresses to be returned by the service. You can use it to
return more than 10 results.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
174
IPv4 Address
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
begin_addr
The first IPv4 address of the range of addresses where you are looking for free IP addresses.
end_addr
The last IPv4 address of the range of addresses where you are looking for free IP addresses.
pool_class_name
The name of the class applied to the IPv4 pool the IP addresses you are looking for belong
to. You must specify the class file directory, e.g. my_directory/my_class.class . You cannot
use the classes global and default, they are reserved by the system.
subnet_class_name
The name of the class applied to the IPv4 network the IP addresses you are looking for belong
to. You must specify the class file directory, e.g. my_directory/my_class.class . You cannot
use the classes global and default, they are reserved by the system.
Output Parameters
ip_addr
The IPv4 address itself, in hexadecimal format.
hostaddr
The human readable version of the parameter ip_addr.
site_id
The database identifier (ID) of the space the object belongs to, a unique numeric key value
automatically incremented when you add a space.
site_name
The name of the space the object belongs to.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
175
IPv4 Address
subnet_id
The database identifier (ID) of the IPv4 network the object belongs to.
subnet_name
The name of the IPv4 network the object belongs to. Default indicates that the network the
object belongs to is an orphan network.
pool_id
The database identifier (ID) of the IPv4 pool the object belongs to.
pool_name
The name of the IPv4 pool the object belongs to.
Example
In the example below, we call the service ip_find_free_address with Python (Requests) to list
the free IPv4 addresses of a specific network. Unlike the other services, it must be called using
the method /rpc/.
url = "https://solid.intranet/rpc/ip_find_free_address"
querystring = {"subnet_id":"238"}
headers = {
'x-ipm-username': "aXBtYWRtaW4=",
'x-ipm-password': "YWRtaW4=",
'cache-control': "no-cache"
}
print(response.text)
176
IPv4 Address
Name
ip_address_groupby — Group IPv4 addresses by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
177
IPv4 Address
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
178
IPv4 Address
Name
ip_address_groupby_count — Count the number of IPv4 addresses by parameter(s)
Description
This service allows to display the total number of results of the service *_groupby.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
179
IPv4 Address
Name
ip_delete — Delete an IPv4 address
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
ip_id
The database identifier (ID) of the IPv4 address, a unique numeric key value automatically
incremented when you add an IPv4 address. Use the ID to specify the IPv4 address of your
choice.
name
The name of the IPv4 address.
ip_name
Deprecated, replaced by name.
ip_addr
Deprecated, replaced by hostaddr.
hostaddr
The IP address.
180
IPv4 Address
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
181
Chapter 11. IPv6 Address
182
IPv6 Address
Name
ip6_address6_add — Add/Edit an IPv6 address
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
ip6_id
The database identifier (ID) of the IPv6 address, a unique numeric key value automatically
incremented when you add an IPv6 address. Use the ID to specify which IPv6 address to
edit.
ip6_name
The name of the IPv6 address, each IPv6 address must have a unique name.
ip6_mac_addr
The MAC address you want to associate with the IPv6 address.
183
IPv6 Address
ip6_addr
Deprecated, replaced by hostaddr.
hostaddr
The IP address.
ip6_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
ip6_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
hostdev_id
The database identifier (ID) of the Device Manager device you want to associate with the IP
address.
hostiface_id
The database identifier (ID) of the Device Manager interface you want to associate with the
IP address.
iplport_id
The database identifier (ID) of the NetChange port you want to associate with the IP address.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
184
IPv6 Address
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
ip6_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
185
IPv6 Address
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
Example
In the example below, we call the service ip6_address6_add with PHP (cURL) to add an IPv6
address in one of our spaces.
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://solid.intranet/rest/ip6_address6_add?".
"hostaddr=2%3A0%3A0%3A0%3A0%3A0%3A0%3A6&site_id=44",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache",
"x-ipm-password: YWRtaW4=",
"x-ipm-username: aXBtYWRtaW4="
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
186
IPv6 Address
Name
ip6_address6_list — List the IPv6 addresses
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
type
A way to determine if you can assign the IP address (free) or if it is In use (ip6).
free_start_ip6_addr
An IP address in hexadecimal format. For addresses In use (type ip6), it returns the IP address
itself.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
187
IPv6 Address
For free addresses (type free), it returns the first IP address of a range of IPv6 addresses
that are not assigned yet. The last address in that range is returned in free_end_ip6_addr.
free_end_ip6_addr
An IP address in hexadecimal format. For addresses In use (type ip6), it returns the IP address
itself.
For free addresses (type free), it returns the last IP address of a range of IPv6 addresses
that are not assigned yet. The first address in that range is returned in free_start_ip6_addr.
free_scope_size
The number of IP addresses that are not assigned yet (type free) between
free_start_ip6_addr and free_end_ip6_addr.
ip6_id
The database identifier (ID) of the IPv6 address.
site_name
The name of the space the object belongs to.
tree_level
The database level of the space the object belongs to. If you set up a VLSM organization, it
returns values between between 0 (the highest level) and n.
tree_path
The database path toward the space the object belongs to as follows: <space-name># . If
you set up a VLSM organization, the path looks as follows: <highest-level-space-
name>##<child-space-name>#<child-space-name>#... .
parent_subnet6_name
The name of the parent IPv6 network. # indicates that the network the object belongs to has
no parent network.
ip6_addr
The IPv6 address itself.
hostaddr
The human readable version of the parameter ip6_addr.
ip6_name
The name of the IPv6 address.
ip6_mac_addr
The MAC address associated with the IPv6 address.
ip6_class_name
The name of the class applied to the IPv6 address, it can be preceded by the class directory.
subnet6_name
The name of the IPv6 network the object belongs to.
subnet6_is_terminal
A way to determine if the network the IP address belongs to is terminal (1) or non-terminal
(0).
lock_network_broadcast
A way to prevent (1) users from assigning the broadcast IP address and network IP address
of the network the IP address belongs to.
pool6_name
The name of the IPv6 pool the object belongs to.
188
IPv6 Address
site_id
The database identifier (ID) of the space the object belongs to, a unique numeric key value
automatically incremented when you add a space.
subnet6_id
The database identifier (ID) of the IPv6 network the object belongs to.
subnet6_start_ip6_addr
The first IP address of the IPv6 network the object belongs to.
subnet6_start_hostaddr
The human readable version of the parameter subnet6_start_ip6_addr.
subnet6_end_ip6_addr
The last IP address of the IPv6 network the object belongs to.
subnet6_end_hostaddr
The human readable version of the parameter subnet6_end_ip6_addr.
subnet6_size
The number of IP addresses the network the object belongs to contains.
subnet_size
The number of IP addresses the network the object belongs to contains.
subnet6_prefix
The prefix of the IPv6 network the object belongs to.
parent_subnet6_size
The number of IP addresses of the network parent, in hexadecimal format.
parent_subnet6_id
The database identifier (ID) of the parent IPv6 network. It identifies the parent of the IPv6
network the object belongs to. 0 indicates that the network the object belongs to has no
parent network.
parent_vlsm_subnet6_id
The database identifier (ID) of the IPv6 subnet-type network, located in the VLSM parent
space, from which the parent of the network the IP address belongs to was duplicated. 0 in-
dicates that the parent of the network the IP address belongs to is not a VLSM block-type
network duplicated from a parent space.
pool6_class_name
The name of the class applied to the IPv6 pool the object belongs to, it can be preceded by
the class directory.
pool6_id
The database identifier (ID) of the IPv6 pool the object belongs to.
pool6_read_only
The reservation status of the pool the IPv6 address belongs to. If set 1, the pool is reserved
and you cannot assign the IP address.
pool6_row_enabled
Internal use. Not documented.
hostiface_name
The name of the Device Manager interface associated with the IP address.
hostiface_id
The database identifier (ID) of the Device Manager interface associated with the IP address.
hostdev_name
The name of the Device Manager device associated with the IP address.
189
IPv6 Address
hostdev_id
The database identifier (ID) of the Device Manager device associated with the IP address.
site_description
The description of the space the object belongs to.
site_class_name
The name of the class applied to the space the object belongs to, it can be preceded by the
class directory.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
parent_site_name
The name of the space where is located the parent of the network the IPv6 address belongs
to. # indicates that the network the IPv6 address belongs to has no parent network.
parent_subnet6_class_name
The name of the class applied to the parent of the IPv6 network the object belongs to, it can
be preceded by the class directory.
parent_subnet6_prefix
The prefix of the parent of the IPv6 network the object belongs to.
parent_subnet6_start_ip6_addr
The first IP address of the parent of the IPv6 network the IP address belongs to.
parent_subnet6_start_hostaddr
The human readable version of the parameter parent_subnet6_start_ip6_addr.
parent_subnet6_end_ip6_addr
The last IP address of the parent of the IPv6 network the IP address belongs to.
parent_subnet6_end_hostaddr
The human readable version of the parameter parent_subnet6_end_ip6_addr.
vlsm_subnet6_id
The database identifier (ID) of the IPv6 subnet-type network, located in the VLSM parent
space, from which the network the IP address belongs to was duplicated. 0 indicates the
network the IP address belongs to is not a VLSM block-type network duplicated from a parent
space.
subnet6_class_name
The name of the class applied to the IPv6 network the object belongs to, it can be preceded
by the class directory.
pool6_size
The number of IP addresses that contains the pool the IPv6 address belongs to.
pool6_start_ip6_addr
The first IP address of the IPv6 pool the IP address belongs to.
pool6_end_ip6_addr
The last IP address of the IPv6 pool the IP address belongs to.
ip6_alias
The name of the IPv6 alias(es) associated with the IPv6 address.
190
IPv6 Address
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
ip6_class_parameters
The class parameters applied to the IPv6 address and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
ip6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
ip6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-paramet-
er2>=<inheritance>&... .
ip6_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
pool6_class_parameters
The class parameters applied to the IPv6 pool the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
pool6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
pool6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
If the inheritance or propagation property is not specified, its default value - set, propagate -
is used.
site_class_parameters
The class parameters applied to the space the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
site_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
site_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>,<propagation>&... .
subnet6_class_parameters
The class parameters applied to the IPv6 network the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
191
IPv6 Address
subnet6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
subnet6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
192
IPv6 Address
Name
ip6_address6_info — Display the properties of an IPv6 address
Description
This service allows to display the properties of an object.
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
ip6_id
The database identifier (ID) of the IPv6 address, a unique numeric key value automatically
incremented when you add an IPv6 address. Use the ID to specify the IPv6 address of your
choice.
Output Parameters
type
A way to determine if you can assign the IP address (free) or if it is In use (ip6).
free_start_ip6_addr
An IP address in hexadecimal format. For addresses In use (type ip6), it returns the IP address
itself.
For free addresses (type free), it returns the first IP address of a range of IPv6 addresses
that are not assigned yet. The last address in that range is returned in free_end_ip6_addr.
free_end_ip6_addr
An IP address in hexadecimal format. For addresses In use (type ip6), it returns the IP address
itself.
For free addresses (type free), it returns the last IP address of a range of IPv6 addresses
that are not assigned yet. The first address in that range is returned in free_start_ip6_addr.
free_scope_size
The number of IP addresses that are not assigned yet (type free) between
free_start_ip6_addr and free_end_ip6_addr.
ip6_id
The database identifier (ID) of the IPv6 address.
site_name
The name of the space the object belongs to.
tree_level
The database level of the space the object belongs to. If you set up a VLSM organization, it
returns values between between 0 (the highest level) and n.
tree_path
The database path toward the space the object belongs to as follows: <space-name># . If
you set up a VLSM organization, the path looks as follows: <highest-level-space-
name>##<child-space-name>#<child-space-name>#... .
193
IPv6 Address
parent_subnet6_name
The name of the parent IPv6 network. # indicates that the network the object belongs to has
no parent network.
ip6_addr
The IPv6 address itself.
hostaddr
The human readable version of the parameter ip6_addr.
ip6_name
The name of the IPv6 address.
ip6_mac_addr
The MAC address associated with the IPv6 address.
ip6_class_name
The name of the class applied to the IPv6 address, it can be preceded by the class directory.
subnet6_name
The name of the IPv6 network the object belongs to.
subnet6_is_terminal
A way to determine if the network the IP address belongs to is terminal (1) or non-terminal
(0).
lock_network_broadcast
A way to prevent (1) users from assigning the broadcast IP address and network IP address
of the network the IP address belongs to.
pool6_name
The name of the IPv6 pool the object belongs to.
site_id
The database identifier (ID) of the space the object belongs to, a unique numeric key value
automatically incremented when you add a space.
subnet6_id
The database identifier (ID) of the IPv6 network the object belongs to.
subnet6_start_ip6_addr
The first IP address of the IPv6 network the object belongs to.
subnet6_start_hostaddr
The human readable version of the parameter subnet6_start_ip6_addr.
subnet6_end_ip6_addr
The last IP address of the IPv6 network the object belongs to.
subnet6_end_hostaddr
The human readable version of the parameter subnet6_end_ip6_addr.
subnet6_size
The number of IP addresses the network the object belongs to contains.
subnet_size
The number of IP addresses the network the object belongs to contains.
subnet6_prefix
The prefix of the IPv6 network the object belongs to.
parent_subnet6_size
The number of IP addresses of the network parent, in hexadecimal format.
194
IPv6 Address
parent_subnet6_id
The database identifier (ID) of the parent IPv6 network. It identifies the parent of the IPv6
network the object belongs to. 0 indicates that the network the object belongs to has no
parent network.
parent_vlsm_subnet6_id
The database identifier (ID) of the IPv6 subnet-type network, located in the VLSM parent
space, from which the parent of the network the IP address belongs to was duplicated. 0 in-
dicates that the parent of the network the IP address belongs to is not a VLSM block-type
network duplicated from a parent space.
pool6_class_name
The name of the class applied to the IPv6 pool the object belongs to, it can be preceded by
the class directory.
pool6_id
The database identifier (ID) of the IPv6 pool the object belongs to.
pool6_read_only
The reservation status of the pool the IPv6 address belongs to. If set 1, the pool is reserved
and you cannot assign the IP address.
pool6_row_enabled
Internal use. Not documented.
hostiface_name
The name of the Device Manager interface associated with the IP address.
hostiface_id
The database identifier (ID) of the Device Manager interface associated with the IP address.
hostdev_name
The name of the Device Manager device associated with the IP address.
hostdev_id
The database identifier (ID) of the Device Manager device associated with the IP address.
site_description
The description of the space the object belongs to.
site_class_name
The name of the class applied to the space the object belongs to, it can be preceded by the
class directory.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
parent_site_name
The name of the space where is located the parent of the network the IPv6 address belongs
to. # indicates that the network the IPv6 address belongs to has no parent network.
parent_subnet6_class_name
The name of the class applied to the parent of the IPv6 network the object belongs to, it can
be preceded by the class directory.
195
IPv6 Address
parent_subnet6_prefix
The prefix of the parent of the IPv6 network the object belongs to.
parent_subnet6_start_ip6_addr
The first IP address of the parent of the IPv6 network the IP address belongs to.
parent_subnet6_start_hostaddr
The human readable version of the parameter parent_subnet6_start_ip6_addr.
parent_subnet6_end_ip6_addr
The last IP address of the parent of the IPv6 network the IP address belongs to.
parent_subnet6_end_hostaddr
The human readable version of the parameter parent_subnet6_end_ip6_addr.
vlsm_subnet6_id
The database identifier (ID) of the IPv6 subnet-type network, located in the VLSM parent
space, from which the network the IP address belongs to was duplicated. 0 indicates the
network the IP address belongs to is not a VLSM block-type network duplicated from a parent
space.
subnet6_class_name
The name of the class applied to the IPv6 network the object belongs to, it can be preceded
by the class directory.
pool6_size
The number of IP addresses that contains the pool the IPv6 address belongs to.
pool6_start_ip6_addr
The first IP address of the IPv6 pool the IP address belongs to.
pool6_end_ip6_addr
The last IP address of the IPv6 pool the IP address belongs to.
ip6_alias
The name of the IPv6 alias(es) associated with the IPv6 address.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
ip6_class_parameters
The class parameters applied to the IPv6 address and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
196
IPv6 Address
ip6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
ip6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-paramet-
er2>=<inheritance>&... .
ip6_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
pool6_class_parameters
The class parameters applied to the IPv6 pool the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
pool6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
pool6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
If the inheritance or propagation property is not specified, its default value - set, propagate -
is used.
site_class_parameters
The class parameters applied to the space the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
site_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
site_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>,<propagation>&... .
subnet6_class_parameters
The class parameters applied to the IPv6 network the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
subnet6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
subnet6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
197
IPv6 Address
Name
ip6_address6_count — Count the number of IPv6 addresses
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
198
IPv6 Address
Name
ip6_find_free_address6 — List the free IPv6 addresses
Description
This service allows to list the 10 first free IPv6 addresses.
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
subnet6_id
The database identifier (ID) of the IPv6 network, a unique numeric key value automatically
incremented when you add an IPv6 network. Use the ID to specify the IPv6 network of your
choice.
parent_subnet6_id
The database identifier (ID) of the parent IPv6 network. Use the ID to specify the parent IPv6
network of your choice.
pool6_id
The database identifier (ID) of the IPv6 pool, a unique numeric key value automatically incre-
mented when you add an IPv6 pool. Use the ID to specify the IPv6 pool of your choice.
max_find
The maximum number of IPv6 addresses to be returned by the service. You can use it to
return more than 10 results.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
199
IPv6 Address
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
begin_addr
The first IPv6 address of the range of addresses where you are looking for free IP addresses.
end_addr
The last IPv6 address of the range of addresses where you are looking for free IP addresses.
pool6_class_name
The name of the class applied to the IPv6 pool the IP addresses you are looking for belong
to. You must specify the class file directory, e.g. my_directory/my_class.class . You cannot
use the classes global and default, they are reserved by the system.
subnet6_class_name
The name of the class applied to the IPv6 network the IP addresses you are looking for belong
to. You must specify the class file directory, e.g. my_directory/my_class.class . You cannot
use the classes global and default, they are reserved by the system.
Output Parameters
ip6_addr
The IPv6 address itself.
hostaddr6
The IP address.
site_id
The database identifier (ID) of the space the object belongs to, a unique numeric key value
automatically incremented when you add a space.
site_name
The name of the space the object belongs to.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
200
IPv6 Address
subnet_id
The database identifier (ID) of the IPv6 network the object belongs to.
subnet6_name
The name of the IPv6 network the object belongs to.
pool6_id
The database identifier (ID) of the IPv6 pool the object belongs to.
pool6_name
The name of the IPv6 pool the object belongs to.
201
IPv6 Address
Name
ip6_address6_groupby — Group IPv6 addresses by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
202
IPv6 Address
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
203
IPv6 Address
Name
ip6_address6_groupby_count — Count the number of IPv6 addresses by para-
meter(s)
Description
This service allows to display the total number of results of the service *_groupby.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
204
IPv6 Address
Name
ip6_address6_delete — Delete an IPv6 address
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
ip6_id
The database identifier (ID) of the IPv6 address, a unique numeric key value automatically
incremented when you add an IPv6 address. Use the ID to specify the IPv6 address of your
choice.
ip6_name
The name of the IPv6 address.
ip6_addr
Deprecated, replaced by hostaddr.
hostaddr
The IP address.
205
IPv6 Address
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
Example
In the example below, we call the service ip6_address6_delete with Ruby (NET::Http) to delete
a specific IPv6 address.
url = URI("https://solid.intranet/rest/ip6_address6_delete?ip6_id=17")
request = Net::HTTP::Delete.new(url)
request["x-ipm-username"] = 'aXBtYWRtaW4='
request["x-ipm-password"] = 'YWRtaW4='
request["cache-control"] = 'no-cache'
response = http.request(request)
puts response.read_body
206
Chapter 12. IPv4 Address Alias
207
IPv4 Address Alias
Name
ip_alias_add — Add/Edit an IPv4 address alias
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
ip_id
The database identifier (ID) of the IPv4 address, a unique numeric key value automatically
incremented when you add an IPv4 address. Use the ID to specify the IPv4 address of your
choice.
ip_name_id
The database identifier (ID) of the IPv4 alias, a unique numeric key value automatically incre-
mented when you add an IPv4 alias. Use the ID to specify which IPv4 alias to edit.
ip_name
The name of the IPv4 alias.
208
IPv4 Address Alias
name
Deprecated, replaced by ip_name.
ip_name_type
The type of the alias.
ip_addr
Deprecated, replaced by hostaddr.
hostaddr
The IP address.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
209
IPv4 Address Alias
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
210
IPv4 Address Alias
Name
ip_alias_list — List the aliases of an IPv4 address
Description
This service allows to list the objects.
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
ip_id
The database identifier (ID) of the IPv4 address, a unique numeric key value automatically
incremented when you add an IPv4 address. Use the ID to specify the IPv4 address of your
choice.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
211
IPv4 Address Alias
Output Parameters
alias_name
The name of the alias.
ip_name_type
The type of the alias, either CNAME or A.
ip_name_id
The database identifier (ID) of the IPv4 alias.
ip_id
The database identifier (ID) of the IPv4 address associated with the alias.
site_id
The database identifier (ID) of the space the object belongs to, a unique numeric key value
automatically incremented when you add a space.
ip_addr
The IPv4 alias itself, in hexadecimal format.
name
The name of the IPv4 alias.
mac_addr
The MAC address associated with the IPv4 alias.
ip_class_name
The name of the class applied to the object.
subnet_id
The database identifier (ID) of the IPv4 network the object belongs to.
ip_type
A way to determine if you can assign the IP alias (free) or if it is In use (ip).
pool_id
The database identifier (ID) of the IPv4 pool the object belongs to.
iplport_id
The database identifier (ID) of the NetChange port associated with the IP address.
hostdev_id
The database identifier (ID) of the Device Manager device associated with the IP address.
hostiface_id
The database identifier (ID) of the Device Manager interface associated with the IP address.
dhcphost_id
The database identifier (ID) of the DHCP static associated with the IP address.
dhcplease_id
The database identifier (ID) of the DHCP lease associated the IP address.
ip_class_name
The name of the class applied to the object.
site_name
The name of the space the object belongs to.
site_class_name
The name of the class applied to the space the object belongs to, it can be preceded by the
class directory.
212
IPv4 Address Alias
ip_class_parameters
The class parameters applied to the IPv4 alias and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
ip_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
ip_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-paramet-
er2>=<inheritance>&... .
ip_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
Example
In the example below, we call the service ip_alias_list with Python (Requests) using the clause
ORDERBY to list the 5 aliases of an IPv4 address and sort them based on their name and type.
Example 12.1. Calling the service ip_alias_list using Python and ORDERBY
import requests
url = "https://solid.intranet/rest/ip_alias_list"
headers = {
'x-ipm-username': "aXBtYWRtaW4=",
'x-ipm-password': "YWRtaW4=",
'cache-control': "no-cache"
}
print(response.text)
213
IPv4 Address Alias
Name
ip_alias_count — Count the number of aliases of an IPv4 address
Description
This service allows to return the number of objects.
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
ip_id
The database identifier (ID) of the IPv4 address, a unique numeric key value automatically
incremented when you add an IPv4 address. Use the ID to specify the IPv4 address of your
choice.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
214
IPv4 Address Alias
Name
ip_alias_delete — Delete an IPv4 address alias
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
ip_id
The database identifier (ID) of the IPv4 address, a unique numeric key value automatically
incremented when you add an IPv4 address. Use the ID to specify the IPv4 address of your
choice.
ip_name_id
The database identifier (ID) of the IPv4 alias, a unique numeric key value automatically incre-
mented when you add an IPv4 alias. Use the ID to specify the IPv4 alias to of your choice.
ip_name
The name of the IPv4 alias.
215
IPv4 Address Alias
ip_name_type
The type of the alias.
ip_addr
Deprecated, replaced by hostaddr.
hostaddr
The IP address.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
216
Chapter 13. IPv6 Address Alias
217
IPv6 Address Alias
Name
ip6_alias_add — Add/Edit an IPv6 address alias
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
ip6_id
The database identifier (ID) of the IPv6 address, a unique numeric key value automatically
incremented when you add an IPv6 address. Use the ID to specify the IPv6 address of your
choice.
ip6_name_id
The database identifier (ID) of the IPv6 alias, a unique numeric key value automatically incre-
mented when you add an IPv6 alias. Use the ID to specify which IPv6 alias to edit.
ip6_name
The name of the IPv6 address.
218
IPv6 Address Alias
name
Deprecated, replaced by ip6_name.
ip6_name_type
The type of the alias.
Type Fixed value: AAAA || aaaa || CNAME || cname Maximum length N/A
Default value CNAME Can be edited No
ip6_addr
Deprecated, replaced by hostaddr.
hostaddr
The IP address.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
219
IPv6 Address Alias
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
220
IPv6 Address Alias
Name
ip6_alias_list — List the aliases of an IPv6 address
Description
This service allows to list the objects.
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
ip6_id
The database identifier (ID) of the IPv6 address, a unique numeric key value automatically
incremented when you add an IPv6 address. Use the ID to specify the IPv6 address of your
choice.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
221
IPv6 Address Alias
Output Parameters
alias_name
The name of the alias.
ip6_name_type
The type of the alias, either CNAME or AAAA.
ip6_name_id
The database identifier (ID) of the IPv6 alias.
ip6_id
The database identifier (ID) of the IPv6 address associated with the alias.
site_id
The database identifier (ID) of the space the object belongs to, a unique numeric key value
automatically incremented when you add a space.
ip6_addr
The IPv6 alias itself.
ip6_name
The name of the IPv6 address associated with the alias.
ip6_mac_addr
The MAC address associated with the IPv6 alias.
subnet6_id
The database identifier (ID) of the IPv6 network the object belongs to.
pool6_id
The database identifier (ID) of the IPv6 pool the object belongs to.
iplport_id
The database identifier (ID) of the NetChange port associated with the IP address.
hostdev_id
The database identifier (ID) of the Device Manager device associated with the IP address.
hostiface_id
The database identifier (ID) of the Device Manager interface associated with the IP address.
ip6_class_name
The name of the class applied to the object.
site_name
The name of the space the object belongs to.
site_class_name
The name of the class applied to the space the object belongs to, it can be preceded by the
class directory.
ip6_class_parameters
The class parameters applied to the IPv6 alias and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
ip6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
ip6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-paramet-
er2>=<inheritance>&... .
ip6_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
222
IPv6 Address Alias
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
223
IPv6 Address Alias
Name
ip6_alias_count — Count the number of aliases of an IPv6 address
Description
This service allows to return the number of objects.
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
ip6_id
The database identifier (ID) of the IPv6 address, a unique numeric key value automatically
incremented when you add an IPv6 address. Use the ID to specify the IPv6 address of your
choice.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
224
IPv6 Address Alias
Name
ip6_alias_delete — Delete an IPv6 address alias
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the space, a unique numeric key value automatically incremen-
ted when you add a space. Use the ID to specify the space of your choice.
site_name
The name of the space.
ip6_id
The database identifier (ID) of the IPv6 address, a unique numeric key value automatically
incremented when you add an IPv6 address. Use the ID to specify the IPv6 address of your
choice.
ip6_name_id
The database identifier (ID) of the IPv6 alias, a unique numeric key value automatically incre-
mented when you add an IPv6 alias. Use the ID to specify the IPv6 alias to of your choice.
ip6_name
The name of the IPv6 address.
225
IPv6 Address Alias
ip6_name_type
The type of the alias.
ip6_addr
Deprecated, replaced by hostaddr.
hostaddr
The IP address.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
226
Part III. DHCP Services
Table of Contents
14. DHCPv4 Server ....................................................................................................... 231
dhcp_server_list .................................................................................................... 232
dhcp_server_info .................................................................................................. 237
dhcp_server_count ................................................................................................ 242
15. DHCPv6 Server ....................................................................................................... 243
dhcp6_server6_list ................................................................................................ 244
dhcp6_server6_info ............................................................................................... 249
dhcp6_server6_count ............................................................................................ 253
16. DHCPv4 Shared Network ......................................................................................... 254
dhcp_sn_add ........................................................................................................ 255
dhcp_shared_network_list ..................................................................................... 257
dhcp_shared_network_info .................................................................................... 259
dhcp_shared_network_count ................................................................................. 261
dhcp_sn_delete .................................................................................................... 262
17. DHCPv6 Shared Network ......................................................................................... 264
dhcp6_sn6_add .................................................................................................... 265
dhcp6_shared_network6_list ................................................................................. 267
dhcp6_shared_network6_info ................................................................................ 270
dhcp6_shared_network6_count ............................................................................. 272
dhcp6_sn6_delete ................................................................................................. 273
18. DHCPv4 Scope ....................................................................................................... 275
dhcp_scope_add ................................................................................................... 276
dhcp_scope_list .................................................................................................... 281
dhcp_scope_info ................................................................................................... 286
dhcp_scope_count ................................................................................................ 289
dhcp_scope_groupby ............................................................................................ 290
dhcp_scope_groupby_count .................................................................................. 292
group_dhcpscope_add .......................................................................................... 293
group_dhcpscope_delete ....................................................................................... 296
dhcp_scope_delete ............................................................................................... 298
19. DHCPv6 Scope ....................................................................................................... 300
dhcp6_scope6_add ............................................................................................... 301
dhcp6_scope6_list ................................................................................................ 305
dhcp6_scope6_info ............................................................................................... 309
dhcp6_scope6_count ............................................................................................ 312
group_dhcpscope6_add ........................................................................................ 313
group_dhcpscope6_delete ..................................................................................... 315
dhcp6_scope6_delete ........................................................................................... 317
20. DHCPv4 Group ....................................................................................................... 319
dhcp_group_add ................................................................................................... 320
dhcp_group_list .................................................................................................... 323
dhcp_group_info ................................................................................................... 326
dhcp_group_count ................................................................................................ 329
dhcp_group_delete ............................................................................................... 330
21. DHCPv6 Group ....................................................................................................... 332
dhcp6_group6_list ................................................................................................. 333
22. DHCPv4 Range ....................................................................................................... 336
dhcp_range_add ................................................................................................... 337
dhcp_range_list .................................................................................................... 341
dhcp_range_info ................................................................................................... 345
dhcp_range_count ................................................................................................ 349
228
DHCP Services
229
DHCP Services
230
Chapter 14. DHCPv4 Server
231
DHCPv4 Server
Name
dhcp_server_list — List the DHCPv4 servers
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dhcp_localtime
The local time on the DHCPv4 server, in decimal UNIX date format.
msrpc_login
The login of the Microsoft Windows DHCP server.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
232
DHCPv4 Server
msrpc_domain
The domain name of the Microsoft Windows DHCP server.
ipmdhcp_protocol
Internal use. Not documented.
ipmdhcp_https_login
Internal use. Not documented.
ipmdhcp_is_package
The DHCPv4 server package information. Y for an EfficientIP Package server, N for an ap-
pliance or virtual machine, U the package information is irrelevant. For servers with a dh-
cp_type set to ipm, U indicates either EfficientIP Packages or appliances/virtual machines.
isolated
A way to determine if the server can update any other module (1).
tree_path
The database path toward the server as follows: <server-name>#. If the physical server is
managed through a smart architecture, the path looks as follows: <smart-architecture-
name>##<server-name>.
vdhcp_param1
Internal use. Not documented.
tcp_port
Internal use. Not documented.
ms_use_ssl
Internal use. Not documented.
windhcp_protocol
Internal use. Not documented.
snmp_id
Internal use. Not documented.
snmp_port
Internal use. Not documented.
snmp_profile_id
Internal use. Not documented.
snmp_retry
Internal use. Not documented.
snmp_timeout
Internal use. Not documented.
snmp_use_tcp
Internal use. Not documented.
cisco_use_ssh
Internal use. Not documented.
cisco_login
Internal use. Not documented.
cisco_password
Internal use. Not documented.
cisco_root_password
Internal use. Not documented.
233
DHCPv4 Server
ref1_dhcp_name
The name of the Master or Single DHCPv4 server within the smart architecture.
vdhcp_ref1_dhcp_id
The database identifier (ID) of the DHCPv4 smart architecture the server belongs to.
ref2_dhcp_name
Internal use. Not documented.
vdhcp_ref2_dhcp_id
Internal use. Not documented.
tree_level
The database level of the server. 0 indicates the server is managed on its own, 1 indicates
it is managed by a smart architecture.
total_vdhcp_members
The total number of servers managed by the DHCPv4 smart architecture.
vdhcp_members_name
The list of the servers managed by the DHCPv4 smart architecture, as follows: <dh-
cp_name>,<dhcp_name>,... .
vdhcp_arch
The type of the DHCPv4 smart architecture:
vdhcp_parent_name
The name of the DHCPv4 smart architecture managing the DHCPv4 server. # indicates that
the server is not managed by a smart architecture or is a smart architecture itself.
vdhcp_parent_arch
The type of the DHCPv4 smart architecture managing the DHCPv4 server. No value indicates
that the server is not managed by a smart architecture or is a smart architecture itself.
vdhcp_parent_id
The database identifier (ID) of the DHCPv4 smart architecture managing the DHCPv4 server.
0 indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
vdhcp_ref1_dhcp_name
Internal use. Not documented.
vdhcp_ref2_dhcp_name
Internal use. Not documented.
dhcp_uboottime
Internal use. Not documented.
234
DHCPv4 Server
dhcp_id
The database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server.
dhcp_type
The type of the DHCPv4 server:
dhcp_state
The status of the DHCPv4 server:
dhcp_synching
The synchronization status of the DHCPv4 server. 1 indicates that the server is currently
being synchronized.
dhcp_name
The name of the DHCPv4 server.
dhcp_comment
The description of the DHCPv4 server.
dhcp_version
The version details of the DHCPv4 server.
row_enabled
The object activation status:
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
By default, row_enabled is set to 1 when an object is created.
dhcp_class_name
The name of the class applied to the DHCPv4 server, it can be preceded by the class directory.
235
DHCPv4 Server
ip_addr
The IP address of the DHCP server, in hexadecimal format.
stat_enabled
Internal use. Not documented.
stat_period
Internal use. Not documented.
stat_niceness
Internal use. Not documented.
stat_time
Internal use. Not documented.
reverse_proxy_conf
The URL of the HTTP(S) reverse proxy server that forwards client requests to the DHCPv4
server, if you configured one.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
dhcp_class_parameters
The class parameters applied to the DHCPv4 server and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dhcp_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcp_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
dhcp_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
236
DHCPv4 Server
Name
dhcp_server_info — Display the properties of a DHCPv4 server
Description
This service allows to display the properties of an object.
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 database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server. Use the ID to specify the DHCPv4 server of
your choice.
Output Parameters
dhcp_localtime
The local time on the DHCPv4 server, in decimal UNIX date format.
msrpc_login
The login of the Microsoft Windows DHCP server.
msrpc_domain
The domain name of the Microsoft Windows DHCP server.
ipmdhcp_protocol
Internal use. Not documented.
ipmdhcp_https_login
Internal use. Not documented.
ipmdhcp_is_package
The DHCPv4 server package information. Y for an EfficientIP Package server, N for an ap-
pliance or virtual machine, U the package information is irrelevant. For servers with a dh-
cp_type set to ipm, U indicates either EfficientIP Packages or appliances/virtual machines.
isolated
A way to determine if the server can update any other module (1).
tree_path
The database path toward the server as follows: <server-name>#. If the physical server is
managed through a smart architecture, the path looks as follows: <smart-architecture-
name>##<server-name>.
vdhcp_param1
Internal use. Not documented.
tcp_port
Internal use. Not documented.
ms_use_ssl
Internal use. Not documented.
237
DHCPv4 Server
windhcp_protocol
Internal use. Not documented.
snmp_id
Internal use. Not documented.
snmp_port
Internal use. Not documented.
snmp_profile_id
Internal use. Not documented.
snmp_retry
Internal use. Not documented.
snmp_timeout
Internal use. Not documented.
snmp_use_tcp
Internal use. Not documented.
cisco_use_ssh
Internal use. Not documented.
cisco_login
Internal use. Not documented.
cisco_password
Internal use. Not documented.
cisco_root_password
Internal use. Not documented.
ref1_dhcp_name
The name of the Master or Single DHCPv4 server within the smart architecture.
vdhcp_ref1_dhcp_id
The database identifier (ID) of the DHCPv4 smart architecture the server belongs to.
ref2_dhcp_name
Internal use. Not documented.
vdhcp_ref2_dhcp_id
Internal use. Not documented.
tree_level
The database level of the server. 0 indicates the server is managed on its own, 1 indicates
it is managed by a smart architecture.
total_vdhcp_members
The total number of servers managed by the DHCPv4 smart architecture.
vdhcp_members_name
The list of the servers managed by the DHCPv4 smart architecture, as follows: <dh-
cp_name>,<dhcp_name>,... .
vdhcp_arch
The type of the DHCPv4 smart architecture:
238
DHCPv4 Server
Type Description
star The One-to-Many smart architecture sets a multi-site failover configuration at the cost
of n-servers+1.
splitscope The Split-Scope smart architecture sets a pair of DHCP servers in a configuration
where the two scopes listen to the same subnet, but the range of addresses is divided.
single The Single-Server smart architecture manages a single DHCP server.
vdhcp_parent_name
The name of the DHCPv4 smart architecture managing the DHCPv4 server. # indicates that
the server is not managed by a smart architecture or is a smart architecture itself.
vdhcp_parent_arch
The type of the DHCPv4 smart architecture managing the DHCPv4 server. No value indicates
that the server is not managed by a smart architecture or is a smart architecture itself.
vdhcp_parent_id
The database identifier (ID) of the DHCPv4 smart architecture managing the DHCPv4 server.
0 indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
vdhcp_ref1_dhcp_name
Internal use. Not documented.
vdhcp_ref2_dhcp_name
Internal use. Not documented.
dhcp_uboottime
Internal use. Not documented.
dhcp_id
The database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server.
dhcp_type
The type of the DHCPv4 server:
dhcp_state
The status of the DHCPv4 server:
239
DHCPv4 Server
Status Description
IP The account used to add the Microsoft Windows DHCP server does not have sufficient
privileges to manage it.
LS The server configuration is not viable.
N The server does not have a status as it has not synchronized yet.
Y The server is operational.
dhcp_synching
The synchronization status of the DHCPv4 server. 1 indicates that the server is currently
being synchronized.
dhcp_name
The name of the DHCPv4 server.
dhcp_comment
The description of the DHCPv4 server.
dhcp_version
The version details of the DHCPv4 server.
row_enabled
The object activation status:
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
By default, row_enabled is set to 1 when an object is created.
dhcp_class_name
The name of the class applied to the DHCPv4 server, it can be preceded by the class directory.
ip_addr
The IP address of the DHCP server, in hexadecimal format.
stat_enabled
Internal use. Not documented.
stat_period
Internal use. Not documented.
stat_niceness
Internal use. Not documented.
stat_time
Internal use. Not documented.
reverse_proxy_conf
The URL of the HTTP(S) reverse proxy server that forwards client requests to the DHCPv4
server, if you configured one.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
240
DHCPv4 Server
dhcp_class_parameters
The class parameters applied to the DHCPv4 server and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dhcp_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcp_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
dhcp_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
241
DHCPv4 Server
Name
dhcp_server_count — Count the number of DHCPv4 servers
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
242
Chapter 15. DHCPv6 Server
243
DHCPv6 Server
Name
dhcp6_server6_list — List the DHCPv6 servers
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
ipmdhcp6_https_login
Internal use. Not documented.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
244
DHCPv6 Server
ipmdhcp6_is_package
The DHCPv6 server package information. Y for an EfficientIP Package server, N for an ap-
pliance or virtual machine, U the package information is irrelevant. For servers with a dh-
cp6_type set to ipm, U indicates either EfficientIP Packages or appliances/virtual machines.
isolated
A way to determine if the server can update any other module (1).
tree_path
The database path toward the server as follows: <server-name>#. If the physical server is
managed through a smart architecture, the path looks as follows: <smart-architecture-
name>##<server-name>.
vdhcp6_param1
Internal use. Not documented.
snmp_id
Internal use. Not documented.
snmp_port
Internal use. Not documented.
snmp_profile_id
Internal use. Not documented.
snmp_retry
Internal use. Not documented.
snmp_timeout
Internal use. Not documented.
snmp_use_tcp
Internal use. Not documented.
ref1_dhcp6_name
The name of the Master or Single DHCPv6 server within the smart architecture.
vdhcp6_ref1_dhcp6_id
The database identifier (ID) of the DHCPv6 smart architecture the server belongs to.
ref2_dhcp6_name
Internal use. Not documented.
vdhcp6_ref2_dhcp6_id
Internal use. Not documented.
tree_level
The database level of the server. 0 indicates the server is managed on its own, 1 indicates
it is managed by a smart architecture.
total_vdhcp6_members
The total number of servers managed by the DHCPv6 smart architecture.
vdhcp6_members_name
The list of the servers managed by the DHCPv6 smart architecture, as follows: <dh-
cp6_name>,<dhcp6_name>,... .
vdhcp6_arch
The type of the DHCPv6 smart architecture.
245
DHCPv6 Server
Type Description
splitscope The Split-Scope smart architecture sets a pair of DHCP servers in a configuration
where the two scopes listen to the same subnet, but the range of addresses is divided.
stateless The Stateless smart architecture offers a limited number of options to the DHCP clients.
The IP address is delivered thanks to the subnet gateway and it is impossible to create
any ranges or statics or to retrieve any leases.
vdhcp6_parent_name
The name of the DHCPv6 smart architecture managing the DHCPv6 server. # indicates that
the server is not managed by a smart architecture or is a smart architecture itself.
vdhcp6_parent_arch
The type of the DHCPv6 smart architecture managing the DHCPv6 server. No value indicates
that the server is not managed by a smart architecture or is a smart architecture itself.
vdhcp6_parent_id
The database identifier (ID) of the DHCPv6 smart architecture managing the DHCPv6 server.
0 indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
vdhcp6_ref1_dhcp6_name
Internal use. Not documented.
vdhcp6_ref2_dhcp6_name
Internal use. Not documented.
dhcp6_uboottime
Internal use. Not documented.
dhcp6_id
The database identifier (ID) of the DHCPv6 server, a unique numeric key value automatically
incremented when you add a DHCPv6 server.
dhcp6_type
The type of the DHCPv6 server:
dhcp6_state
The status of the DHCPv6 server:
246
DHCPv6 Server
Status Description
LS The server configuration is not viable.
N The server does not have a status as it has not synchronized yet.
Y The server is operational.
dhcp6_synching
The synchronization status of the DHCPv6 server. 1 indicates that the server is currently
being synchronized.
dhcp6_name
The name of the DHCPv6 server.
dhcp6_comment
The description of the DHCPv6 server.
dhcp6_version
The version details of the DHCPv6 server.
row_enabled
The object activation status:
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
By default, row_enabled is set to 1 when an object is created.
dhcp6_class_name
The name of the class applied to the DHCPv6 server, it can be preceded by the class directory.
ip_addr
The IP address of the DHCP server, in hexadecimal format.
dhcp6_last_refresh_time
Internal use. Not documented.
stat_enabled
Internal use. Not documented.
stat_period
Internal use. Not documented.
stat_niceness
Internal use. Not documented.
stat_time
Internal use. Not documented.
reverse_proxy_conf
The URL of the HTTP(S) reverse proxy server that forwards client requests to the DHCPv6
server, if you configured one.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
247
DHCPv6 Server
dhcp6_class_parameters
The class parameters applied to the DHCPv6 server and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dhcp6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcp6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcp6_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
248
DHCPv6 Server
Name
dhcp6_server6_info — Display the properties of a DHCPv6 server
Description
This service allows to display the properties of an object.
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 database identifier (ID) of the DHCPv6 server, a unique numeric key value automatically
incremented when you add a DHCPv6 server. Use the ID to specify the DHCPv6 server of
your choice.
Output Parameters
ipmdhcp6_https_login
Internal use. Not documented.
ipmdhcp6_is_package
The DHCPv6 server package information. Y for an EfficientIP Package server, N for an ap-
pliance or virtual machine, U the package information is irrelevant. For servers with a dh-
cp6_type set to ipm, U indicates either EfficientIP Packages or appliances/virtual machines.
isolated
A way to determine if the server can update any other module (1).
tree_path
The database path toward the server as follows: <server-name>#. If the physical server is
managed through a smart architecture, the path looks as follows: <smart-architecture-
name>##<server-name>.
vdhcp6_param1
Internal use. Not documented.
snmp_id
Internal use. Not documented.
snmp_port
Internal use. Not documented.
snmp_profile_id
Internal use. Not documented.
snmp_retry
Internal use. Not documented.
snmp_timeout
Internal use. Not documented.
snmp_use_tcp
Internal use. Not documented.
249
DHCPv6 Server
ref1_dhcp6_name
The name of the Master or Single DHCPv6 server within the smart architecture.
vdhcp6_ref1_dhcp6_id
The database identifier (ID) of the DHCPv6 smart architecture the server belongs to.
ref2_dhcp6_name
Internal use. Not documented.
vdhcp6_ref2_dhcp6_id
Internal use. Not documented.
tree_level
The database level of the server. 0 indicates the server is managed on its own, 1 indicates
it is managed by a smart architecture.
total_vdhcp6_members
The total number of servers managed by the DHCPv6 smart architecture.
vdhcp6_members_name
The list of the servers managed by the DHCPv6 smart architecture, as follows: <dh-
cp6_name>,<dhcp6_name>,... .
vdhcp6_arch
The type of the DHCPv6 smart architecture.
vdhcp6_parent_name
The name of the DHCPv6 smart architecture managing the DHCPv6 server. # indicates that
the server is not managed by a smart architecture or is a smart architecture itself.
vdhcp6_parent_arch
The type of the DHCPv6 smart architecture managing the DHCPv6 server. No value indicates
that the server is not managed by a smart architecture or is a smart architecture itself.
vdhcp6_parent_id
The database identifier (ID) of the DHCPv6 smart architecture managing the DHCPv6 server.
0 indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
vdhcp6_ref1_dhcp6_name
Internal use. Not documented.
vdhcp6_ref2_dhcp6_name
Internal use. Not documented.
dhcp6_uboottime
Internal use. Not documented.
dhcp6_id
The database identifier (ID) of the DHCPv6 server, a unique numeric key value automatically
incremented when you add a DHCPv6 server.
250
DHCPv6 Server
dhcp6_type
The type of the DHCPv6 server:
dhcp6_state
The status of the DHCPv6 server:
dhcp6_synching
The synchronization status of the DHCPv6 server. 1 indicates that the server is currently
being synchronized.
dhcp6_name
The name of the DHCPv6 server.
dhcp6_comment
The description of the DHCPv6 server.
dhcp6_version
The version details of the DHCPv6 server.
row_enabled
The object activation status:
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
By default, row_enabled is set to 1 when an object is created.
dhcp6_class_name
The name of the class applied to the DHCPv6 server, it can be preceded by the class directory.
ip_addr
The IP address of the DHCP server, in hexadecimal format.
dhcp6_last_refresh_time
Internal use. Not documented.
251
DHCPv6 Server
stat_enabled
Internal use. Not documented.
stat_period
Internal use. Not documented.
stat_niceness
Internal use. Not documented.
stat_time
Internal use. Not documented.
reverse_proxy_conf
The URL of the HTTP(S) reverse proxy server that forwards client requests to the DHCPv6
server, if you configured one.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
dhcp6_class_parameters
The class parameters applied to the DHCPv6 server and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dhcp6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcp6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcp6_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
252
DHCPv6 Server
Name
dhcp6_server6_count — Count the number of DHCPv6 servers
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
253
Chapter 16. DHCPv4 Shared Network
254
DHCPv4 Shared Network
Name
dhcp_sn_add — Add/Edit a DHCPv4 shared network
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server. Use the ID to specify the DHCPv4 server of
your choice.
dhcp_name
The name of the DHCPv4 server.
hostaddr
The IP address of the DHCP server.
dhcp_addr
Deprecated, replaced by hostaddr.
dhcpsn_id
The database identifier (ID) of the DHCPv4 shared network, a unique numeric key value
automatically incremented when you add a DHCPv4 shared network. Use the ID to specify
which DHCPv4 shared network to edit.
255
DHCPv4 Shared Network
dhcpsn_name
The name of the DHCPv4 shared network, each DHCPv4 shared network must have a unique
name.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
256
DHCPv4 Shared Network
Name
dhcp_shared_network_list — List the DHCPv4 shared networks
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dhcpsn_id
The database identifier (ID) of the DHCPv4 shared network.
dhcpsn_name
The name of the DHCPv4 shared network.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
257
DHCPv4 Shared Network
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
dhcp_id
The database identifier (ID) of the DHCPv4 server the object belongs to.
dhcp_name
The name of the DHCPv4 server the object belongs to.
dhcp_type
The type of the DHCPv4 server the object belongs to:
vdhcp_parent_id
The database identifier (ID) of the DHCPv4 smart architecture managing the DHCPv4 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
row_enabled
The object activation status:
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
By default, row_enabled is set to 1 when an object is created.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
258
DHCPv4 Shared Network
Name
dhcp_shared_network_info — Display the properties of a DHCPv4 shared network
Description
This service allows to display the properties of an object.
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
dhcpsn_id
The database identifier (ID) of the DHCPv4 shared network, a unique numeric key value
automatically incremented when you add a DHCPv4 shared network. Use the ID to specify
the DHCPv4 shared network of your choice.
Output Parameters
dhcpsn_id
The database identifier (ID) of the DHCPv4 shared network.
dhcpsn_name
The name of the DHCPv4 shared network.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
dhcp_id
The database identifier (ID) of the DHCPv4 server the object belongs to.
dhcp_name
The name of the DHCPv4 server the object belongs to.
dhcp_type
The type of the DHCPv4 server the object belongs to:
vdhcp_parent_id
The database identifier (ID) of the DHCPv4 smart architecture managing the DHCPv4 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
259
DHCPv4 Shared Network
row_enabled
The object activation status:
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
By default, row_enabled is set to 1 when an object is created.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
260
DHCPv4 Shared Network
Name
dhcp_shared_network_count — Count the number of DHCPv4 shared networks
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
261
DHCPv4 Shared Network
Name
dhcp_sn_delete — Delete a DHCPv4 Shared Network
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server. Use the ID to specify the DHCPv4 server of
your choice.
dhcp_name
The name of the DHCPv4 server.
hostaddr
The IP address of the DHCP server.
dhcp_addr
Deprecated, replaced by hostaddr.
dhcpsn_id
The database identifier (ID) of the DHCPv4 shared network, a unique numeric key value
automatically incremented when you add a DHCPv4 shared network. Use the ID to specify
the DHCPv4 shared network of your choice.
dhcpsn_name
The name of the DHCPv4 shared network.
262
DHCPv4 Shared Network
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
263
Chapter 17. DHCPv6 Shared Network
264
DHCPv6 Shared Network
Name
dhcp6_sn6_add — Add/Edit a DHCPv6 shared network
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the DHCPv6 server, a unique numeric key value automatically
incremented when you add a DHCPv6 server. Use the ID to specify the DHCPv6 server of
your choice.
dhcp6_name
The name of the DHCPv6 server.
hostaddr
The IP address of the DHCP server.
dhcpsn6_id
The database identifier (ID) of the DHCPv6 shared network, a unique numeric key value
automatically incremented when you add a DHCPv6 shared network. Use the ID to specify
the DHCPv6 shared network of your choice.
dhcpsn6_name
The name of the DHCPv6 shared network.
265
DHCPv6 Shared Network
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
266
DHCPv6 Shared Network
Name
dhcp6_shared_network6_list — List the DHCPv6 shared networks
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dhcpsn6_id
The database identifier (ID) of the DHCPv6 shared network.
dhcpsn6_name
The name of the DHCPv6 shared network.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
267
DHCPv6 Shared Network
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
dhcp6_id
The database identifier (ID) of the DHCPv6 server the object belongs to.
dhcp6_name
The name of the DHCPv6 server the object belongs to.
dhcp6_type
The type of the DHCPv6 server the object belongs to:
vdhcp6_parent_id
The database identifier (ID) of the DHCPv6 smart architecture managing the DHCPv6 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
vdhcp6_arch
The type of the DHCPv6 smart architecture the object belongs to.
row_enabled
The object activation status:
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
By default, row_enabled is set to 1 when an object is created.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
268
DHCPv6 Shared Network
269
DHCPv6 Shared Network
Name
dhcp6_shared_network6_info — Display the properties of a DHCPv6 shared
network
Description
This service allows to display the properties of an object.
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
dhcpsn6_id
The database identifier (ID) of the DHCPv6 shared network, a unique numeric key value
automatically incremented when you add a DHCPv6 shared network. Use the ID to specify
the DHCPv6 shared network of your choice.
Output Parameters
dhcpsn6_id
The database identifier (ID) of the DHCPv6 shared network.
dhcpsn6_name
The name of the DHCPv6 shared network.
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
dhcp6_id
The database identifier (ID) of the DHCPv6 server the object belongs to.
dhcp6_name
The name of the DHCPv6 server the object belongs to.
dhcp6_type
The type of the DHCPv6 server the object belongs to:
vdhcp6_parent_id
The database identifier (ID) of the DHCPv6 smart architecture managing the DHCPv6 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
vdhcp6_arch
The type of the DHCPv6 smart architecture the object belongs to.
270
DHCPv6 Shared Network
row_enabled
The object activation status:
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
By default, row_enabled is set to 1 when an object is created.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
271
DHCPv6 Shared Network
Name
dhcp6_shared_network6_count — Count the number of DHCPv6 shared networks
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
272
DHCPv6 Shared Network
Name
dhcp6_sn6_delete — Delete a DHCPv6 Shared Network
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the DHCPv6 server, a unique numeric key value automatically
incremented when you add a DHCPv6 server. Use the ID to specify the DHCPv6 server of
your choice.
dhcp6_name
The name of the DHCPv6 server.
hostaddr
The IP address of the DHCP server.
dhcp6_addr
Deprecated, replaced by hostaddr.
dhcpsn6_id
The database identifier (ID) of the DHCPv6 shared network, a unique numeric key value
automatically incremented when you add a DHCPv6 shared network. Use the ID to specify
the DHCPv6 shared network of your choice.
dhcpsn6_name
The name of the DHCPv6 shared network.
273
DHCPv6 Shared Network
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
274
Chapter 18. DHCPv4 Scope
275
DHCPv4 Scope
Name
dhcp_scope_add — Add/Edit a DHCPv4 scope
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server. Use the ID to specify the DHCPv4 server of
your choice.
dhcp_name
The name of the DHCPv4 server.
hostaddr
The IP address of the DHCP server.
dhcp_addr
Deprecated, replaced by hostaddr.
netaddr
Deprecated, replaced by dhcpscope_net_addr.
dhcpscope_net_addr
The first IP address of the DHCPv4 scope.
276
DHCPv4 Scope
dhcpscope_start_addr
Deprecated, replaced by dhcpscope_net_addr.
dhcpscope_netaddr
Deprecated, replaced by dhcpscope_net_addr.
netmask
Deprecated, replaced by dhcpscope_net_mask.
dhcpscope_net_mask
The netmask of the DHCPv4 scope. It is expressed in dot-decimal notation and defines the
number of addresses the scope contains.
dhcpscope_netmask
Deprecated, replaced by dhcpscope_net_mask.
dhcpsn_id
The database identifier (ID) of the DHCPv4 shared network, a unique numeric key value
automatically incremented when you add a DHCPv4 shared network. Use the ID to specify
the DHCPv4 shared network of your choice.
dhcpsn_name
The name of the DHCPv4 shared network.
dhcpscope_id
The database identifier (ID) of the DHCPv4 scope, a unique numeric key value automatically
incremented when you add a DHCPv4 scope. Use the ID to specify which DHCPv4 scope
to edit.
dhcpscope_name
The name of the DHCPv4 scope, each DHCPv4 scope must have a unique name.
dhcpfailover_id
The database identifier (ID) of the DHCPv4 failover channel, a unique numeric key value
automatically incremented when you add a DHCPv4 failover channel. Use the ID to specify
the DHCPv4 failover channel of your choice.
277
DHCPv4 Scope
dhcpfailover_name
The name of the DHCPv4 failover channel.
dhcpscope_site_id
The database identifier (ID) of an existing space you want to associate with the DHCPv4
scope.
dhcpscope_site_name
The name of an existing space you want to associate with the DHCPv4 scope.
dhcpscope_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
dhcpscope_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
278
DHCPv4 Scope
dhcpscope_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
279
DHCPv4 Scope
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
280
DHCPv4 Scope
Name
dhcp_scope_list — List the DHCPv4 scopes
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
vdhcp_parent_id
The database identifier (ID) of the DHCPv4 smart architecture managing the DHCPv4 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
281
DHCPv4 Scope
vdhcp_arch
The type of the DHCPv4 smart architecture the object belongs to.
dhcp_type
The type of the DHCPv4 server the object belongs to:
dhcpfailover_id
The database identifier (ID) of the DHCPv4 failover channel associated with the object.
dhcpfailover_name
The name of the DHCPv4 failover channel associated with the object.
dhcpscope_id
The database identifier (ID) of the DHCPv4 scope.
dhcp_id
The database identifier (ID) of the DHCPv4 server the object belongs to.
dhcp_name
The name of the DHCPv4 server the object belongs to.
dhcpscope_name
The name of the DHCPv4 scope.
dhcpscope_start_ip_addr
The first IP address of the DHCPv4 scope, in hexadecimal format.
dhcpscope_end_ip_addr
The last IP address of the DHCPv4 scope, in hexadecimal format.
dhcpscope_net_addr
The first IP address of the DHCPv4 scope.
dhcpscope_net_mask
The netmask of the DHCPv4 scope. It is expressed in dot-decimal notation and defines the
number of addresses the scope contains.
dhcpscope_size
The number of IP addresses the DHCPv4 scope contains.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
282
DHCPv4 Scope
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
dhcpscope_site_name
The name of the space associated with the DHCPv4 scope.
dhcpscope_site_id
The database identifier (ID) of the space associated with the DHCPv4 scope.
dhcpscope_sort_name
Internal use. Not documented.
dhcpscope_class_name
The name of the class applied to the DHCPv4 scope, it can be preceded by the class directory.
dhcpsn_id
The database identifier (ID) of the DHCPv4 shared network the object belongs to.
dhcpsn_name
The name of the DHCPv4 shared network the object belongs to.
vdhcp_parent_name
The name of the DHCPv4 smart architecture managing the DHCPv4 server the object belongs
to. # indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
dhcp_class_name
The name of the class applied to the DHCPv4 server the object belongs to, it can be preceded
by the class directory.
dhcp_version
The version details of the DHCPv4 server the object belongs to.
row_enabled
The object activation status:
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
By default, row_enabled is set to 1 when an object is created.
ip_addr
The IP address of the DHCP server the object belongs to, in hexadecimal format.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
283
DHCPv4 Scope
dhcpscope_class_parameters
The class parameters applied to the DHCPv4 scope and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dhcpscope_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcpscope_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcpscope_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
dhcp_class_parameters
The class parameters applied to the DHCPv4 server the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcp_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcp_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
Example
In the example below, we call the service dhcp_scope_list with PHP (cURL) using the clause
WHERE to return the scopes which class parameter information is important or the scopes which
class parameter description contains accounting. For more details regarding the use of class
parameters in the clause, refer to the chapter Calling Services With TAGS.
Example 18.1. Calling the service dhcp_scope_list using PHP and WHERE
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://solid.intranet/rest/dhcp_scope_list?TAGS=".
"dhcpscope.information%26dhcpscope.description&WHERE=".
"tag_dhcpscope_information%20like%20%27important%27%20or%20tag_dhcpscope_description%20like%20%27%25accounting%25%27",
$response = curl_exec($curl);
284
DHCPv4 Scope
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
285
DHCPv4 Scope
Name
dhcp_scope_info — Display the properties of a DHCPv4 scope
Description
This service allows to display the properties of an object.
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
dhcpscope_id
The database identifier (ID) of the DHCPv4 scope, a unique numeric key value automatically
incremented when you add a DHCPv4 scope. Use the ID to specify the DHCPv4 scope of
your choice.
Output Parameters
vdhcp_parent_id
The database identifier (ID) of the DHCPv4 smart architecture managing the DHCPv4 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
vdhcp_arch
The type of the DHCPv4 smart architecture the object belongs to.
dhcp_type
The type of the DHCPv4 server the object belongs to:
dhcpfailover_id
The database identifier (ID) of the DHCPv4 failover channel associated with the object.
286
DHCPv4 Scope
dhcpfailover_name
The name of the DHCPv4 failover channel associated with the object.
dhcpscope_id
The database identifier (ID) of the DHCPv4 scope.
dhcp_id
The database identifier (ID) of the DHCPv4 server the object belongs to.
dhcp_name
The name of the DHCPv4 server the object belongs to.
dhcpscope_name
The name of the DHCPv4 scope.
dhcpscope_start_ip_addr
The first IP address of the DHCPv4 scope, in hexadecimal format.
dhcpscope_end_ip_addr
The last IP address of the DHCPv4 scope, in hexadecimal format.
dhcpscope_net_addr
The first IP address of the DHCPv4 scope.
dhcpscope_net_mask
The netmask of the DHCPv4 scope. It is expressed in dot-decimal notation and defines the
number of addresses the scope contains.
dhcpscope_size
The number of IP addresses the DHCPv4 scope contains.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
dhcpscope_site_name
The name of the space associated with the DHCPv4 scope.
dhcpscope_site_id
The database identifier (ID) of the space associated with the DHCPv4 scope.
dhcpscope_sort_name
Internal use. Not documented.
dhcpscope_class_name
The name of the class applied to the DHCPv4 scope, it can be preceded by the class directory.
dhcpsn_id
The database identifier (ID) of the DHCPv4 shared network the object belongs to.
dhcpsn_name
The name of the DHCPv4 shared network the object belongs to.
vdhcp_parent_name
The name of the DHCPv4 smart architecture managing the DHCPv4 server the object belongs
to. # indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
dhcp_class_name
The name of the class applied to the DHCPv4 server the object belongs to, it can be preceded
by the class directory.
287
DHCPv4 Scope
dhcp_version
The version details of the DHCPv4 server the object belongs to.
row_enabled
The object activation status:
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
By default, row_enabled is set to 1 when an object is created.
ip_addr
The IP address of the DHCP server the object belongs to, in hexadecimal format.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
dhcpscope_class_parameters
The class parameters applied to the DHCPv4 scope and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dhcpscope_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcpscope_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcpscope_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
dhcp_class_parameters
The class parameters applied to the DHCPv4 server the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcp_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcp_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
288
DHCPv4 Scope
Name
dhcp_scope_count — Count the number of DHCPv4 scopes
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
289
DHCPv4 Scope
Name
dhcp_scope_groupby — Group DHCPv4 scopes by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
290
DHCPv4 Scope
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
291
DHCPv4 Scope
Name
dhcp_scope_groupby_count — Count the number of DHCPv4 scopes grouped
by parameter(s)
Description
This service allows to display the total number of results of the service *_groupby.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
292
DHCPv4 Scope
Name
group_dhcpscope_add — Add a DHCPv4 scope to a group resources
Description
This service allows to add an object to the resources of a group. You can only add one object to
a group resource per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
dhcp_id
The database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server. Use the ID to specify the DHCPv4 server of
your choice.
dhcp_name
The name of the DHCPv4 server.
hostaddr
The IP address of the DHCP server.
293
DHCPv4 Scope
dhcp_addr
Deprecated, replaced by hostaddr.
dhcpscope_id
The database identifier (ID) of the DHCPv4 scope, a unique numeric key value automatically
incremented when you add a DHCPv4 scope. Use the ID to specify the DHCPv4 scope of
your choice.
scope_id
Deprecated, replaced by dhcpscope_id.
netaddr
Deprecated, replaced by dhcpscope_net_addr.
dhcpscope_net_addr
The first IP address of the DHCPv4 scope.
dhcpscope_start_addr
Deprecated, replaced by dhcpscope_net_addr.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
294
DHCPv4 Scope
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
295
DHCPv4 Scope
Name
group_dhcpscope_delete — Remove a DHCPv4 scope from a group resources
Description
This service allows to remove an object from a group resources.You can only remove one object
from the resources of a group per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
dhcp_id
The database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server. Use the ID to specify the DHCPv4 server of
your choice.
dhcp_name
The name of the DHCPv4 server.
hostaddr
The IP address of the DHCP server.
296
DHCPv4 Scope
dhcp_addr
Deprecated, replaced by hostaddr.
dhcpscope_id
The database identifier (ID) of the DHCPv4 scope, a unique numeric key value automatically
incremented when you add a DHCPv4 scope. Use the ID to specify the DHCPv4 scope of
your choice.
scope_id
Deprecated, replaced by dhcpscope_id.
netaddr
Deprecated, replaced by dhcpscope_net_addr.
dhcpscope_net_addr
The first IP address of the DHCPv4 scope.
dhcpscope_start_addr
Deprecated, replaced by dhcpscope_net_addr.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
297
DHCPv4 Scope
Name
dhcp_scope_delete — Delete a DHCPv4 scope
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server. Use the ID to specify the DHCPv4 server of
your choice.
dhcp_name
The name of the DHCPv4 server.
hostaddr
The IP address of the DHCP server.
dhcp_addr
Deprecated, replaced by hostaddr.
dhcpscope_id
The database identifier (ID) of the DHCPv4 scope, a unique numeric key value automatically
incremented when you add a DHCPv4 scope. Use the ID to specify the DHCPv4 scope of
your choice.
scope_id
Deprecated, replaced by dhcpscope_id.
netaddr
Deprecated, replaced by dhcpscope_net_addr.
298
DHCPv4 Scope
dhcpscope_net_addr
The first IP address of the DHCPv4 scope.
dhcpscope_start_addr
Deprecated, replaced by dhcpscope_net_addr.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
299
Chapter 19. DHCPv6 Scope
300
DHCPv6 Scope
Name
dhcp6_scope6_add — Add/Edit a DHCPv6 scope
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the DHCPv6 server, a unique numeric key value automatically
incremented when you add a DHCPv6 server. Use the ID to specify the DHCPv6 server of
your choice.
dhcp6_name
The name of the DHCPv6 server.
hostaddr
The IP address of the DHCP server.
dhcpscope6_start_addr
The first IP address of the DHCPv6 scope.
dhcpscope6_end_addr
The last IP address of the DHCPv6 scope.
301
DHCPv6 Scope
dhcpscope6_prefix
The prefix of the DHCPv6 scope, an integer that defines the number of address the scope
contains.
Type IPv6 prefix (integer between 1 and 128) Maximum length N/A
Default value N/A Can be edited No
dhcpscope6_id
The database identifier (ID) of the DHCPv6 scope, a unique numeric key value automatically
incremented when you add a DHCPv6 scope. Use the ID to specify which DHCPv6 scope
to edit.
dhcpscope6_name
The name of the DHCPv6 scope, each DHCPv6 scope must have a unique name.
dhcpfailover6_id
The database identifier (ID) of the DHCPv6 failover channel, a unique numeric key value
automatically incremented when you add a DHCPv6 failover channel. Use the ID to specify
the DHCPv6 failover channel of your choice.
dhcpfailover6_name
The name of the DHCPv6 failover channel.
dhcpscope6_site_id
The database identifier (ID) of an existing space you want to associate with the DHCPv6
scope.
dhcpscope6_site_name
The name of an existing space you want to associate with the DHCPv6 scope.
302
DHCPv6 Scope
dhcpscope6_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
dhcpscope6_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
dhcpscope6_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
303
DHCPv6 Scope
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
304
DHCPv6 Scope
Name
dhcp6_scope6_list — List the DHCPv6 scopes
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
vdhcp6_parent_id
The database identifier (ID) of the DHCPv6 smart architecture managing the DHCPv6 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
305
DHCPv6 Scope
vdhcp6_arch
The type of the DHCPv6 smart architecture the object belongs to.
dhcp6_type
The type of the DHCPv6 server the object belongs to:
dhcpfailover6_id
The database identifier (ID) of the DHCPv6 failover channel associated with the object.
dhcpfailover6_name
The name of the DHCPv6 failover channel associated with the object.
dhcpscope6_id
The database identifier (ID) of the DHCPv6 scope.
dhcp6_id
The database identifier (ID) of the DHCPv6 server the object belongs to.
dhcp6_name
The name of the DHCPv6 server the object belongs to.
dhcpscope6_name
The name of the DHCPv6 scope.
dhcpscope6_start_ip6_addr
The first IP address of the DHCPv6 scope, in hexadecimal format.
dhcpscope6_end_ip6_addr
The last IP address of the DHCPv6 scope, in hexadecimal format.
dhcpscope6_size
The number of IP addresses the DHCPv6 scope contains.
dhcpscope6_prefix
The prefix of the DHCPv6 scope.
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
dhcpscope6_site_name
The name of the space associated with the DHCPv6 scope.
dhcpscope6_site_id
The database identifier (ID) of the space associated with the DHCPv6 scope.
306
DHCPv6 Scope
dhcpscope6_sort_name
Internal use. Not documented.
dhcpscope6_class_name
The name of the class applied to the DHCPv6 scope, it can be preceded by the class directory.
dhcpsn6_id
The database identifier (ID) of the DHCPv6 shared network the object belongs to.
dhcpsn6_name
The name of the DHCPv6 shared network the object belongs to.
vdhcp6_parent_name
The name of the DHCPv4 smart architecture managing the DHCPv4 server the object belongs
to. # indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
dhcp6_class_name
The name of the class applied to the DHCPv6 server the object belongs to, it can be preceded
by the class directory.
dhcp6_version
The version details of the DHCPv6 server the object belongs to.
row_enabled
The object activation status:
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
By default, row_enabled is set to 1 when an object is created.
ip_addr
The IP address of the DHCP server the object belongs to, in hexadecimal format.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
dhcpscope6_class_parameters
The class parameters applied to the DHCPv6 scope and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
307
DHCPv6 Scope
dhcpscope6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcpscope6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcpscope6_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
dhcp6_class_parameters
The class parameters applied to the DHCPv6 server the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcp6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcp6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
308
DHCPv6 Scope
Name
dhcp6_scope6_info — Display the properties of a DHCPv6 scope
Description
This service allows to display the properties of an object.
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
dhcpscope6_id
The database identifier (ID) of the DHCPv6 scope, a unique numeric key value automatically
incremented when you add a DHCPv6 scope. Use the ID to specify the DHCPv6 scope of
your choice.
Output Parameters
vdhcp6_parent_id
The database identifier (ID) of the DHCPv6 smart architecture managing the DHCPv6 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
vdhcp6_arch
The type of the DHCPv6 smart architecture the object belongs to.
dhcp6_type
The type of the DHCPv6 server the object belongs to:
dhcpfailover6_id
The database identifier (ID) of the DHCPv6 failover channel associated with the object.
dhcpfailover6_name
The name of the DHCPv6 failover channel associated with the object.
309
DHCPv6 Scope
dhcpscope6_id
The database identifier (ID) of the DHCPv6 scope.
dhcp6_id
The database identifier (ID) of the DHCPv6 server the object belongs to.
dhcp6_name
The name of the DHCPv6 server the object belongs to.
dhcpscope6_name
The name of the DHCPv6 scope.
dhcpscope6_start_ip6_addr
The first IP address of the DHCPv6 scope, in hexadecimal format.
dhcpscope6_end_ip6_addr
The last IP address of the DHCPv6 scope, in hexadecimal format.
dhcpscope6_size
The number of IP addresses the DHCPv6 scope contains.
dhcpscope6_prefix
The prefix of the DHCPv6 scope.
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
dhcpscope6_site_name
The name of the space associated with the DHCPv6 scope.
dhcpscope6_site_id
The database identifier (ID) of the space associated with the DHCPv6 scope.
dhcpscope6_sort_name
Internal use. Not documented.
dhcpscope6_class_name
The name of the class applied to the DHCPv6 scope, it can be preceded by the class directory.
dhcpsn6_id
The database identifier (ID) of the DHCPv6 shared network the object belongs to.
dhcpsn6_name
The name of the DHCPv6 shared network the object belongs to.
vdhcp6_parent_name
The name of the DHCPv4 smart architecture managing the DHCPv4 server the object belongs
to. # indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
dhcp6_class_name
The name of the class applied to the DHCPv6 server the object belongs to, it can be preceded
by the class directory.
dhcp6_version
The version details of the DHCPv6 server the object belongs to.
row_enabled
The object activation status:
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
By default, row_enabled is set to 1 when an object is created.
310
DHCPv6 Scope
ip_addr
The IP address of the DHCP server the object belongs to, in hexadecimal format.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
dhcpscope6_class_parameters
The class parameters applied to the DHCPv6 scope and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dhcpscope6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcpscope6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcpscope6_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
dhcp6_class_parameters
The class parameters applied to the DHCPv6 server the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcp6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcp6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
311
DHCPv6 Scope
Name
dhcp6_scope6_count — Count the number of DHCPv6 scopes
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
312
DHCPv6 Scope
Name
group_dhcpscope6_add — Add a DHCPv6 scope to a group resources
Description
This service allows to add an object to the resources of a group. You can only add one object to
a group resource per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
dhcp6_id
The database identifier (ID) of the DHCPv6 server, a unique numeric key value automatically
incremented when you add a DHCPv6 server. Use the ID to specify the DHCPv6 server of
your choice.
dhcp6_name
The name of the DHCPv6 server.
hostaddr
The IP address of the DHCP server.
313
DHCPv6 Scope
dhcpscope6_id
The database identifier (ID) of the DHCPv6 scope, a unique numeric key value automatically
incremented when you add a DHCPv6 scope. Use the ID to specify the DHCPv6 scope of
your choice.
dhcpscope6_start_addr
The first IP address of the DHCPv6 scope.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
314
DHCPv6 Scope
Name
group_dhcpscope6_delete — Remove a DHCPv6 scope from a group resources
Description
This service allows to remove an object from a group resources.You can only remove one object
from the resources of a group per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
dhcp6_id
The database identifier (ID) of the DHCPv6 server, a unique numeric key value automatically
incremented when you add a DHCPv6 server. Use the ID to specify the DHCPv6 server of
your choice.
dhcp6_name
The name of the DHCPv6 server.
hostaddr
The IP address of the DHCP server.
315
DHCPv6 Scope
dhcpscope6_id
The database identifier (ID) of the DHCPv6 scope, a unique numeric key value automatically
incremented when you add a DHCPv6 scope. Use the ID to specify the DHCPv6 scope of
your choice.
dhcpscope6_start_addr
The first IP address of the DHCPv6 scope.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
316
DHCPv6 Scope
Name
dhcp6_scope6_delete — Delete a DHCPv6 scope
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the DHCPv6 server, a unique numeric key value automatically
incremented when you add a DHCPv6 server. Use the ID to specify the DHCPv6 server of
your choice.
dhcp6_name
The name of the DHCPv6 server.
hostaddr
The IP address of the DHCP server.
dhcpscope6_id
The database identifier (ID) of the DHCPv6 scope, a unique numeric key value automatically
incremented when you add a DHCPv6 scope. Use the ID to specify the DHCPv6 scope of
your choice.
dhcpscope6_start_addr
The first IP address of the DHCPv6 scope.
317
DHCPv6 Scope
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
318
Chapter 20. DHCPv4 Group
319
DHCPv4 Group
Name
dhcp_group_add — Add a DHCPv4 group
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server. Use the ID to specify the DHCPv4 server of
your choice.
dhcp_name
The name of the DHCPv4 server.
hostaddr
The IP address of the DHCP server.
dhcp_addr
Deprecated, replaced by hostaddr.
dhcpgroup_name
The name of the DHCPv4 group, each DHCPv4 group must have a unique name.
320
DHCPv4 Group
dhcpgroup_id
The database identifier (ID) of the DHCPv4 group, a unique numeric key value automatically
incremented when you add a DHCPv4 group. Use the ID to specify the DHCPv4 group of
your choice.
dhcpgroup_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
dhcpgroup_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
dhcpgroup_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
321
DHCPv4 Group
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
322
DHCPv4 Group
Name
dhcp_group_list — List the DHCPv4 groups
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dhcpgroup_id
The database identifier (ID) of the DHCPv4 group.
dhcp_id
The database identifier (ID) of the DHCPv4 server the object belongs to.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
323
DHCPv4 Group
dhcp_name
The name of the DHCPv4 server the object belongs to.
dhcp_type
The type of the DHCPv4 server the object belongs to:
vdhcp_parent_id
The database identifier (ID) of the DHCPv4 smart architecture managing the DHCPv4 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
dhcpgroup_name
The name of the DHCPv4 group.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
vdhcp_parent_name
The name of the DHCPv4 smart architecture managing the DHCPv4 server the object belongs
to. # indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
dhcp_class_name
The name of the class applied to the DHCPv4 server the object belongs to, it can be preceded
by the class directory.
dhcp_version
The version details of the DHCPv4 server the object belongs to.
ip_addr
The IP address of the DHCP server the object belongs to, in hexadecimal format.
dhcpgroup_class_name
The name of the class applied to the DHCPv4 group, it can be preceded by the class directory.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
324
DHCPv4 Group
dhcpgroup_class_parameters
The class parameters applied to the DHCPv4 group and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dhcpgroup_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcpgroup_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcpgroup_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
dhcp_class_parameters
The class parameters applied to the DHCPv4 server the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcp_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcp_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
325
DHCPv4 Group
Name
dhcp_group_info — Display the properties of a DHCPv4 group
Description
This service allows to display the properties of an object.
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
dhcpgroup_id
The database identifier (ID) of the DHCPv4 group, a unique numeric key value automatically
incremented when you add a DHCPv4 group. Use the ID to specify the DHCPv4 group of
your choice.
Output Parameters
dhcpgroup_id
The database identifier (ID) of the DHCPv4 group.
dhcp_id
The database identifier (ID) of the DHCPv4 server the object belongs to.
dhcp_name
The name of the DHCPv4 server the object belongs to.
dhcp_type
The type of the DHCPv4 server the object belongs to:
vdhcp_parent_id
The database identifier (ID) of the DHCPv4 smart architecture managing the DHCPv4 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
dhcpgroup_name
The name of the DHCPv4 group.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
326
DHCPv4 Group
vdhcp_parent_name
The name of the DHCPv4 smart architecture managing the DHCPv4 server the object belongs
to. # indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
dhcp_class_name
The name of the class applied to the DHCPv4 server the object belongs to, it can be preceded
by the class directory.
dhcp_version
The version details of the DHCPv4 server the object belongs to.
ip_addr
The IP address of the DHCP server the object belongs to, in hexadecimal format.
dhcpgroup_class_name
The name of the class applied to the DHCPv4 group, it can be preceded by the class directory.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
dhcpgroup_class_parameters
The class parameters applied to the DHCPv4 group and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dhcpgroup_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcpgroup_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcpgroup_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
dhcp_class_parameters
The class parameters applied to the DHCPv4 server the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
327
DHCPv4 Group
dhcp_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcp_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
328
DHCPv4 Group
Name
dhcp_group_count — Count the number of DHCPv4 groups
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
329
DHCPv4 Group
Name
dhcp_group_delete — Delete a DHCPv4 group
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server. Use the ID to specify the DHCPv4 server of
your choice.
dhcp_name
The name of the DHCPv4 server.
hostaddr
The IP address of the DHCP server.
dhcp_addr
Deprecated, replaced by hostaddr.
dhcpgroup_id
The database identifier (ID) of the DHCPv4 group, a unique numeric key value automatically
incremented when you add a DHCPv4 group. Use the ID to specify the DHCPv4 group of
your choice.
group_id
Deprecated, replaced by dhcpgroup_id.
dhcpgroup_name
The name of the DHCPv4 group.
330
DHCPv4 Group
group_name
Deprecated, replaced by dhcpgroup_name.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
331
Chapter 21. DHCPv6 Group
332
DHCPv6 Group
Name
dhcp6_group6_list — List the DHCPv6 groups
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dhcpgroup6_id
The database identifier (ID) of the DHCPv6 group.
dhcp6_id
The database identifier (ID) of the DHCPv6 server the object belongs to.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
333
DHCPv6 Group
dhcp6_name
The name of the DHCPv6 server the object belongs to.
dhcp6_type
The type of the DHCPv6 server the object belongs to:
vdhcp6_parent_id
The database identifier (ID) of the DHCPv6 smart architecture managing the DHCPv6 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
dhcpgroup6_name
The name of the DHCPv6 group.
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
vdhcp6_parent_name
The name of the DHCPv4 smart architecture managing the DHCPv4 server the object belongs
to. # indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
dhcp6_class_name
The name of the class applied to the DHCPv6 server the object belongs to, it can be preceded
by the class directory.
dhcp6_version
The version details of the DHCPv6 server the object belongs to.
ip_addr
The IP address of the DHCP server the object belongs to, in hexadecimal format.
dhcpgroup6_class_name
The name of the class applied to the DHCPv6 group, it can be preceded by the class directory.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
334
DHCPv6 Group
dhcpgroup6_class_parameters
The class parameters applied to the DHCPv6 group and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dhcpgroup6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcpgroup6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcpgroup6_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
dhcp6_class_parameters
The class parameters applied to the DHCPv6 server the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcp6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcp6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
335
Chapter 22. DHCPv4 Range
336
DHCPv4 Range
Name
dhcp_range_add — Add/Edit a DHCPv4 range
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server. Use the ID to specify the DHCPv4 server of
your choice.
dhcp_name
The name of the DHCPv4 server.
hostaddr
The IP address of the DHCP server.
dhcp_addr
Deprecated, replaced by hostaddr.
dhcpscope_name
The name of the DHCPv4 scope.
337
DHCPv4 Range
dhcpscope_id
The database identifier (ID) of the DHCPv4 scope, a unique numeric key value automatically
incremented when you add a DHCPv4 scope. Use the ID to specify the DHCPv4 scope of
your choice.
scope_id
Deprecated, replaced by dhcpscope_id.
dhcprange_id
The database identifier (ID) of the DHCPv4 range, a unique numeric key value automatically
incremented when you add a DHCPv4 range. Use the ID to specify which DHCPv4 range to
edit.
start_addr
Deprecated, replaced by dhcprange_start_addr.
dhcprange_start_addr
The first IP address of the DHCPv4 range.
end_addr
Deprecated, replaced by dhcprange_end_addr.
dhcprange_end_addr
The last IP address of the DHCPv4 range.
acl
Deprecated, replaced by dhcprange_acl.
dhcprange_name
The name of the DHCPv4 range, each DHCPv4 range must have a unique name.
dhcprange_acl
The list of ACLs associated with the DHCPv4 range, as follows: <ACL_name>;<ACL_name>;...
.
338
DHCPv4 Range
dhcprange_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
dhcprange_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
dhcprange_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
339
DHCPv4 Range
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
340
DHCPv4 Range
Name
dhcp_range_list — List the DHCPv4 ranges
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dhcprange_id
The database identifier (ID) of the DHCPv4 range.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
341
DHCPv4 Range
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
dhcpscope_id
The database identifier (ID) of the DHCPv4 scope the object belongs to.
dhcprange_name
The name of the DHCPv4 range.
dhcprange_start_addr
The first IP address of the DHCPv4 range.
dhcprange_end_addr
The last IP address of the DHCPv4 range.
dhcprange_start_ip_addr
The first IP address of the DHCPv4 range, in hexadecimal format.
dhcprange_end_ip_addr
The last IP address of the DHCPv4 range, in hexadecimal format.
dhcp_id
The database identifier (ID) of the DHCPv4 server the object belongs to.
dhcpscope_site_id
The database identifier (ID) of the space associated with the DHCPv4 scope the object belongs
to.
dhcp_type
The type of the DHCPv4 server the object belongs to:
dhcp_name
The name of the DHCPv4 server the object belongs to.
vdhcp_parent_id
The database identifier (ID) of the DHCPv4 smart architecture managing the DHCPv4 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
dhcpscope_name
The name of the DHCPv4 scope the object belongs to.
dhcpscope_if_name
Internal use. Not documented.
dhcpscope_if_addr
Internal use. Not documented.
dhcpscope_net_addr
The first IP address of the DHCPv4 scope the object belongs.
dhcpscope_net_mask
The netmask of the DHCPv4 scope the object belongs to. It is expressed in dot-decimal
notation and defines the number of addresses the scope contains.
342
DHCPv4 Range
dhcpscope_start_ip_addr
The first IP address of the DHCPv4 scope the object belongs to, in hexadecimal format.
dhcpscope_size
The number of IP addresses the DHCPv4 scope the object belongs to contains.
dhcprange_failover_name
Internal use. Not documented.
dhcprange_state
Internal use. Not documented.
dhcprange_class_name
The name of the class applied to the DHCPv4 range, it can be preceded by the class directory.
dhcprange_lease_count
The total number of leases currently delivered by the DHCPv4 range.
dhcprange_size
The number of IP addresses the DHCPv4 range contains.
dhcprange_lease_percent
The percentage of leases currently delivered by the DHCPv4 range.
dhcprange_acl
The list of ACLs associated with the DHCPv4 range, as follows: <ACL_name>;<ACL_name>;...
.
dhcpsn_id
The database identifier (ID) of the DHCPv4 shared network the object belongs to.
dhcpsn_name
The name of the DHCPv4 shared network the object belongs to.
vdhcp_parent_name
The name of the DHCPv4 smart architecture managing the DHCPv4 server the object belongs
to. # indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
dhcp_comment
The description of the DHCPv4 server the object belongs to.
dhcpscope_class_name
The name of the class applied to the DHCPv4 scope the object belongs to, it can be preceded
by the class directory.
dhcp_class_name
The name of the class applied to the DHCPv4 server the object belongs to, it can be preceded
by the class directory.
dhcp_version
The version details of the DHCPv4 server the object belongs to.
row_enabled
The object activation status:
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
By default, row_enabled is set to 1 when an object is created.
ip_addr
The IP address of the DHCP server the object belongs to, in hexadecimal format.
343
DHCPv4 Range
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
dhcprange_class_parameters
The class parameters applied to the DHCPv4 range and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dhcprange_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcprange_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcprange_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
dhcpscope_class_parameters
The class parameters applied to the DHCPv4 scope the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcpscope_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcpscope_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcp_class_parameters
The class parameters applied to the DHCPv4 server the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcp_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcp_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
344
DHCPv4 Range
Name
dhcp_range_info — Display the properties of a DHCPv4 range
Description
This service allows to display the properties of an object.
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
dhcprange_id
The database identifier (ID) of the DHCPv4 range, a unique numeric key value automatically
incremented when you add a DHCPv4 range. Use the ID to specify the DHCPv4 range of
your choice.
Output Parameters
dhcprange_id
The database identifier (ID) of the DHCPv4 range.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
dhcpscope_id
The database identifier (ID) of the DHCPv4 scope the object belongs to.
dhcprange_name
The name of the DHCPv4 range.
dhcprange_start_addr
The first IP address of the DHCPv4 range.
dhcprange_end_addr
The last IP address of the DHCPv4 range.
dhcprange_start_ip_addr
The first IP address of the DHCPv4 range, in hexadecimal format.
dhcprange_end_ip_addr
The last IP address of the DHCPv4 range, in hexadecimal format.
dhcp_id
The database identifier (ID) of the DHCPv4 server the object belongs to.
dhcpscope_site_id
The database identifier (ID) of the space associated with the DHCPv4 scope the object belongs
to.
dhcp_type
The type of the DHCPv4 server the object belongs to:
345
DHCPv4 Range
dhcp_name
The name of the DHCPv4 server the object belongs to.
vdhcp_parent_id
The database identifier (ID) of the DHCPv4 smart architecture managing the DHCPv4 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
dhcpscope_name
The name of the DHCPv4 scope the object belongs to.
dhcpscope_if_name
Internal use. Not documented.
dhcpscope_if_addr
Internal use. Not documented.
dhcpscope_net_addr
The first IP address of the DHCPv4 scope the object belongs.
dhcpscope_net_mask
The netmask of the DHCPv4 scope the object belongs to. It is expressed in dot-decimal
notation and defines the number of addresses the scope contains.
dhcpscope_start_ip_addr
The first IP address of the DHCPv4 scope the object belongs to, in hexadecimal format.
dhcpscope_size
The number of IP addresses the DHCPv4 scope the object belongs to contains.
dhcprange_failover_name
Internal use. Not documented.
dhcprange_state
Internal use. Not documented.
dhcprange_class_name
The name of the class applied to the DHCPv4 range, it can be preceded by the class directory.
dhcprange_lease_count
The total number of leases currently delivered by the DHCPv4 range.
dhcprange_size
The number of IP addresses the DHCPv4 range contains.
dhcprange_lease_percent
The percentage of leases currently delivered by the DHCPv4 range.
dhcprange_acl
The list of ACLs associated with the DHCPv4 range, as follows: <ACL_name>;<ACL_name>;...
.
dhcpsn_id
The database identifier (ID) of the DHCPv4 shared network the object belongs to.
346
DHCPv4 Range
dhcpsn_name
The name of the DHCPv4 shared network the object belongs to.
vdhcp_parent_name
The name of the DHCPv4 smart architecture managing the DHCPv4 server the object belongs
to. # indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
dhcp_comment
The description of the DHCPv4 server the object belongs to.
dhcpscope_class_name
The name of the class applied to the DHCPv4 scope the object belongs to, it can be preceded
by the class directory.
dhcp_class_name
The name of the class applied to the DHCPv4 server the object belongs to, it can be preceded
by the class directory.
dhcp_version
The version details of the DHCPv4 server the object belongs to.
row_enabled
The object activation status:
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
By default, row_enabled is set to 1 when an object is created.
ip_addr
The IP address of the DHCP server the object belongs to, in hexadecimal format.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
dhcprange_class_parameters
The class parameters applied to the DHCPv4 range and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
347
DHCPv4 Range
dhcprange_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcprange_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcprange_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
dhcpscope_class_parameters
The class parameters applied to the DHCPv4 scope the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcpscope_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcpscope_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcp_class_parameters
The class parameters applied to the DHCPv4 server the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcp_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcp_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
348
DHCPv4 Range
Name
dhcp_range_count — Count the number of DHCPv4 ranges
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
349
DHCPv4 Range
Name
dhcp_range_delete — Delete a DHCPv4 range
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server. Use the ID to specify the DHCPv4 server of
your choice.
dhcp_name
The name of the DHCPv4 server.
hostaddr
The IP address of the DHCP server.
dhcp_addr
Deprecated, replaced by hostaddr.
dhcpscope_id
The database identifier (ID) of the DHCPv4 scope, a unique numeric key value automatically
incremented when you add a DHCPv4 scope. Use the ID to specify the DHCPv4 scope of
your choice.
scope_id
Deprecated, replaced by dhcpscope_id.
350
DHCPv4 Range
dhcprange_id
The database identifier (ID) of the DHCPv4 range, a unique numeric key value automatically
incremented when you add a DHCPv4 range. Use the ID to specify the DHCPv4 range of
your choice.
range_id
Deprecated, replaced by dhcprange_id.
dhcprange_name
The name of the DHCPv4 range.
range_name
Deprecated, replaced by dhcprange_name.
start_addr
Deprecated, replaced by dhcprange_start_addr.
dhcprange_start_addr
The first IP address of the DHCPv4 range.
end_addr
Deprecated, replaced by dhcprange_end_addr.
dhcprange_end_addr
The last IP address of the DHCPv4 range.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
351
DHCPv4 Range
352
Chapter 23. DHCPv6 Range
353
DHCPv6 Range
Name
dhcp6_range6_add — Add/Edit a DHCPv6 range
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the DHCPv6 server, a unique numeric key value automatically
incremented when you add a DHCPv6 server. Use the ID to specify the DHCPv6 server of
your choice.
dhcp6_name
The name of the DHCPv6 server.
hostaddr
The IP address of the DHCP server.
dhcpscope6_name
The name of the DHCPv6 scope.
354
DHCPv6 Range
dhcpscope6_id
The database identifier (ID) of the DHCPv6 scope, a unique numeric key value automatically
incremented when you add a DHCPv6 scope. Use the ID to specify the DHCPv6 scope of
your choice.
dhcprange6_id
The database identifier (ID) of the DHCPv6 range, a unique numeric key value automatically
incremented when you add a DHCPv6 range. Use the ID to specify which DHCPv6 range to
edit.
dhcprange6_start_addr
The first IP address of the DHCPv6 range.
dhcprange6_end_addr
The last IP address of the DHCPv6 range.
dhcprange6_acl
The list of ACLs associated with the DHCPv6 range, as follows: <ACL_name>;<ACL_name>;...
.
dhcprange6_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
dhcprange6_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
355
DHCPv6 Range
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
dhcprange6_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
356
DHCPv6 Range
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
357
DHCPv6 Range
Name
dhcp6_range6_list — List the DHCPv6 ranges
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dhcprange6_id
The database identifier (ID) of the DHCPv6 range.
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
358
DHCPv6 Range
dhcpscope6_id
The database identifier (ID) of the DHCPv6 scope the object belongs to.
dhcprange6_start_ip6_addr
The first IP address of the DHCPv6 range, in hexadecimal format.
dhcprange6_end_ip6_addr
The last IP address of the DHCPv6 range, in hexadecimal format.
dhcp6_id
The database identifier (ID) of the DHCPv6 server the object belongs to.
dhcp6_type
The type of the DHCPv6 server the object belongs to:
dhcp6_name
The name of the DHCPv6 server the object belongs to.
vdhcp6_parent_id
The database identifier (ID) of the DHCPv6 smart architecture managing the DHCPv6 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
dhcpscope6_name
The name of the DHCPv6 scope the object belongs to.
dhcpscope6_start_ip6_addr
The first IP address of the DHCPv6 scope the object belongs to, in hexadecimal format.
dhcpscope6_end_ip6_addr
The last IP address of the DHCPv6 scope the object belongs to, in hexadecimal format.
dhcpscope6_size
The number of IP addresses the DHCPv6 scope the object belongs to contains.
dhcpscope6_prefix
The prefix of the DHCPv6 scope the object belongs to.
dhcpscope6_site_id
The database identifier (ID) of the space associated with the DHCPv6 scope the object belongs
to.
dhcprange6_failover_name
Internal use. Not documented.
dhcprange6_state
Internal use. Not documented.
dhcprange6_class_name
The name of the class applied to the DHCPv6 range, it can be preceded by the class directory.
dhcprange6_lease_count
The total number of leases currently delivered by the DHCPv6 range.
dhcprange6_size
The number of IP addresses the DHCPv6 range contains.
359
DHCPv6 Range
dhcprange6_acl
The list of ACLs associated with the DHCPv6 range, as follows: <ACL_name>;<ACL_name>;...
.
dhcpsn6_id
The database identifier (ID) of the DHCPv6 shared network the object belongs to.
dhcpsn6_name
The name of the DHCPv6 shared network the object belongs to.
vdhcp6_parent_name
The name of the DHCPv4 smart architecture managing the DHCPv4 server the object belongs
to. # indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
dhcp6_comment
The description of the DHCPv6 server the object belongs to.
dhcpscope6_class_name
The name of the class applied to the DHCPv6 scope the object belongs to, it can be preceded
by the class directory.
dhcp6_class_name
The name of the class applied to the DHCPv6 server the object belongs to, it can be preceded
by the class directory.
dhcp6_version
The version details of the DHCPv6 server the object belongs to.
row_enabled
The object activation status:
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
By default, row_enabled is set to 1 when an object is created.
ip_addr
The IP address of the DHCP server the object belongs to, in hexadecimal format.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
360
DHCPv6 Range
dhcprange6_class_parameters
The class parameters applied to the DHCPv6 range and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dhcprange6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcprange6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcprange6_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
dhcpscope6_class_parameters
The class parameters applied to the DHCPv6 scope the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcpscope6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcpscope6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcp6_class_parameters
The class parameters applied to the DHCPv6 server the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcp6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcp6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
361
DHCPv6 Range
Name
dhcp6_range6_info — Display the properties of a DHCPv6 range
Description
This service allows to display the properties of an object.
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
dhcprange6_id
The database identifier (ID) of the DHCPv6 range, a unique numeric key value automatically
incremented when you add a DHCPv6 range. Use the ID to specify the DHCPv6 of your
choice.
Output Parameters
dhcprange6_id
The database identifier (ID) of the DHCPv6 range.
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
dhcpscope6_id
The database identifier (ID) of the DHCPv6 scope the object belongs to.
dhcprange6_start_ip6_addr
The first IP address of the DHCPv6 range, in hexadecimal format.
dhcprange6_end_ip6_addr
The last IP address of the DHCPv6 range, in hexadecimal format.
dhcp6_id
The database identifier (ID) of the DHCPv6 server the object belongs to.
dhcp6_type
The type of the DHCPv6 server the object belongs to:
dhcp6_name
The name of the DHCPv6 server the object belongs to.
vdhcp6_parent_id
The database identifier (ID) of the DHCPv6 smart architecture managing the DHCPv6 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
362
DHCPv6 Range
dhcpscope6_name
The name of the DHCPv6 scope the object belongs to.
dhcpscope6_start_ip6_addr
The first IP address of the DHCPv6 scope the object belongs to, in hexadecimal format.
dhcpscope6_end_ip6_addr
The last IP address of the DHCPv6 scope the object belongs to, in hexadecimal format.
dhcpscope6_size
The number of IP addresses the DHCPv6 scope the object belongs to contains.
dhcpscope6_prefix
The prefix of the DHCPv6 scope the object belongs to.
dhcpscope6_site_id
The database identifier (ID) of the space associated with the DHCPv6 scope the object belongs
to.
dhcprange6_failover_name
Internal use. Not documented.
dhcprange6_state
Internal use. Not documented.
dhcprange6_class_name
The name of the class applied to the DHCPv6 range, it can be preceded by the class directory.
dhcprange6_lease_count
The total number of leases currently delivered by the DHCPv6 range.
dhcprange6_size
The number of IP addresses the DHCPv6 range contains.
dhcprange6_acl
The list of ACLs associated with the DHCPv6 range, as follows: <ACL_name>;<ACL_name>;...
.
dhcpsn6_id
The database identifier (ID) of the DHCPv6 shared network the object belongs to.
dhcpsn6_name
The name of the DHCPv6 shared network the object belongs to.
vdhcp6_parent_name
The name of the DHCPv4 smart architecture managing the DHCPv4 server the object belongs
to. # indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
dhcp6_comment
The description of the DHCPv6 server the object belongs to.
dhcpscope6_class_name
The name of the class applied to the DHCPv6 scope the object belongs to, it can be preceded
by the class directory.
dhcp6_class_name
The name of the class applied to the DHCPv6 server the object belongs to, it can be preceded
by the class directory.
dhcp6_version
The version details of the DHCPv6 server the object belongs to.
363
DHCPv6 Range
row_enabled
The object activation status:
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
By default, row_enabled is set to 1 when an object is created.
ip_addr
The IP address of the DHCP server the object belongs to, in hexadecimal format.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
dhcprange6_class_parameters
The class parameters applied to the DHCPv6 range and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dhcprange6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcprange6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcprange6_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
dhcpscope6_class_parameters
The class parameters applied to the DHCPv6 scope the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcpscope6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcpscope6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcp6_class_parameters
The class parameters applied to the DHCPv6 server the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
364
DHCPv6 Range
dhcp6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcp6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
365
DHCPv6 Range
Name
dhcp6_range6_count — Count the number of DHCPv6 ranges
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
366
DHCPv6 Range
Name
dhcp6_range6_delete — Delete a DHCPv6 range
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the DHCPv6 server, a unique numeric key value automatically
incremented when you add a DHCPv6 server. Use the ID to specify the DHCPv6 server of
your choice.
dhcp6_name
The name of the DHCPv6 server.
hostaddr
The IP address of the DHCP server.
dhcpscope6_id
The database identifier (ID) of the DHCPv6 scope, a unique numeric key value automatically
incremented when you add a DHCPv6 scope. Use the ID to specify the DHCPv6 scope of
your choice.
dhcprange6_id
The database identifier (ID) of the DHCPv6 range, a unique numeric key value automatically
incremented when you add a DHCPv6 range. Use the ID to specify the DHCPv6 of your
choice.
367
DHCPv6 Range
dhcprange6_start_addr
The first IP address of the DHCPv6 range.
dhcprange6_end_addr
The last IP address of the DHCPv6 range.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
368
Chapter 24. DHCPv4 Lease
369
DHCPv4 Lease
Name
dhcp_range_lease_list — List the DHCPv4 leases
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dhcplease_giaddr
The gateway IP address of the relay agent of the DHCPv4 lease.
dhcplease_vendor_id
The vendor class identifier (ID) of the client associated with the DHCPv4 lease.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
370
DHCPv4 Lease
dhcplease_fingerbank_os
The operating system details of the client associated with the DHCPv4 lease.
dhcplease_remote_id
The remote identifier (ID) of the relay agent associated with the DHCPv4 lease.
dhcplease_circuit_id
The circuit identifier (ID) of the relay agent associated with the DHCPv4 lease.
parameter_request_list
The list of parameters requested with the DHCPv4 lease returned by the server, integers
separated by a comma.
mac_vendor
The vendor details of the client associated with the DHCPv4 lease.
dhcplease_id
The database identifier (ID) of the DHCPv4 lease.
dhcplease_addr
The IP address associated with the DHCPv4 lease.
dhcplease_ip_addr
The IP address associated with the DHCPv4 lease, in hexadecimal format.
dhcplease_mac_addr
The MAC address associated with the IPv4 lease.
dhcplease_client_ident
The client identifier (ID) of the client associated with the DHCPv4 lease.
dhcplease_first_time
The first time the DHCPv4 lease has been attributed to the client, in decimal UNIX date
format.
dhcplease_time
The last time the DHCPv4 lease has been attributed to the client, in decimal UNIX date
format.
dhcplease_end_time
The expiration time of the lease, in decimal UNIX date format.
dhcplease_period
The duration time (time to live) of the DHCPv4 lease, in seconds.
percent
The percentage of time the lease has really been in use.
time_to_expire
The time left to the lease before it expires, in seconds.
dhcplease_name
The name of the DHCPv4 lease.
dhcplease_clientname
The name of the client associated with the DHCPv4 lease.
dhcpscope_id
The database identifier (ID) of the DHCPv4 scope the object belongs to.
dhcprange_id
The database identifier (ID) of the DHCPv4 range the object belongs to.
dhcplease_domain
The domain name associated with the DHCPv4 lease.
371
DHCPv4 Lease
dhcprange_name
The name of the DHCPv4 range the object belongs to.
dhcprange_start_addr
The first IP address of the DHCPv4 range the lease belongs to.
dhcprange_end_addr
The last IP address of the DHCPv4 range the lease belongs to.
dhcpscope_name
The name of the DHCPv4 scope the object belongs to.
dhcpscope_size
The number of IP addresses the DHCPv4 scope the object belongs to contains.
dhcpscope_net_addr
The first IP address of the DHCPv4 scope the object belongs to.
dhcpsn_id
The database identifier (ID) of the DHCPv4 shared network the object belongs to.
dhcpsn_name
The name of the DHCPv4 shared network the object belongs to.
dhcp_id
The database identifier (ID) of the DHCPv4 server the object belongs to.
dhcp_name
The name of the DHCPv4 server the object belongs to.
dhcp_type
The type of the DHCPv4 server the object belongs to:
vdhcp_parent_id
The database identifier (ID) of the DHCPv4 smart architecture managing the DHCPv4 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
vdhcp_parent_name
The name of the DHCPv4 smart architecture managing the DHCPv4 server the object belongs
to. # indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
dhcprange_failover_name
Internal use. Not documented.
dhcprange_class_name
The name of the class applied to the DHCPv4 range the object belongs to, it can be preceded
by the class directory.
dhcpscope_class_name
The name of the class applied to the DHCPv4 scope the object belongs to, it can be preceded
by the class directory.
372
DHCPv4 Lease
dhcp_class_name
The name of the class applied to the DHCPv4 server the object belongs to, it can be preceded
by the class directory.
dhcp_version
The version details of the DHCPv4 server the object belongs to.
ip_addr
The IP address of the DHCP server the object belongs to, in hexadecimal format.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
dhcprange_class_parameters
The class parameters applied to the DHCPv4 range the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcprange_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcprange_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcprange_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
Example
In the example below, we call the service dhcp_range_lease_list with Python (Requests) using
the clause WHERE to list all the leases associated with a specific MAC address that have a time
to expire inferior or equal to an hour, or 3600 seconds.
Example 24.1. Calling the service dhcp_range_lease_list using Python and WHERE
import requests
url = "https://solid.intranet/rest/dhcp_range_lease_list"
373
DHCPv4 Lease
time_to_expire<=3600"}
headers = {
'x-ipm-username': "aXBtYWRtaW4=",
'x-ipm-password': "YWRtaW4=",
'cache-control': "no-cache"
}
print(response.text)
374
DHCPv4 Lease
Name
dhcp_range_lease_info — Display the properties of a DHCPv4 lease
Description
This service allows to display the properties of an object.
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
dhcplease_id
The database identifier (ID) of the DHCPv4 lease, a unique numeric key value automatically
incremented when you add a DHCPv4 lease. Use the ID to specify the DHCPv4 lease of
your choice.
Output Parameters
dhcplease_giaddr
The gateway IP address of the relay agent of the DHCPv4 lease.
dhcplease_vendor_id
The vendor class identifier (ID) of the client associated with the DHCPv4 lease.
dhcplease_fingerbank_os
The operating system details of the client associated with the DHCPv4 lease.
dhcplease_remote_id
The remote identifier (ID) of the relay agent associated with the DHCPv4 lease.
dhcplease_circuit_id
The circuit identifier (ID) of the relay agent associated with the DHCPv4 lease.
parameter_request_list
The list of parameters requested with the DHCPv4 lease returned by the server, integers
separated by a comma.
mac_vendor
The vendor details of the client associated with the DHCPv4 lease.
dhcplease_id
The database identifier (ID) of the DHCPv4 lease.
dhcplease_addr
The IP address associated with the DHCPv4 lease.
dhcplease_ip_addr
The IP address associated with the DHCPv4 lease, in hexadecimal format.
dhcplease_mac_addr
The MAC address associated with the IPv4 lease.
dhcplease_client_ident
The client identifier (ID) of the client associated with the DHCPv4 lease.
375
DHCPv4 Lease
dhcplease_first_time
The first time the DHCPv4 lease has been attributed to the client, in decimal UNIX date
format.
dhcplease_time
The last time the DHCPv4 lease has been attributed to the client, in decimal UNIX date
format.
dhcplease_end_time
The expiration time of the lease, in decimal UNIX date format.
dhcplease_period
The duration time (time to live) of the DHCPv4 lease, in seconds.
percent
The percentage of time the lease has really been in use.
time_to_expire
The time left to the lease before it expires, in seconds.
dhcplease_name
The name of the DHCPv4 lease.
dhcplease_clientname
The name of the client associated with the DHCPv4 lease.
dhcpscope_id
The database identifier (ID) of the DHCPv4 scope the object belongs to.
dhcprange_id
The database identifier (ID) of the DHCPv4 range the object belongs to.
dhcplease_domain
The domain name associated with the DHCPv4 lease.
dhcprange_name
The name of the DHCPv4 range the object belongs to.
dhcprange_start_addr
The first IP address of the DHCPv4 range the lease belongs to.
dhcprange_end_addr
The last IP address of the DHCPv4 range the lease belongs to.
dhcpscope_name
The name of the DHCPv4 scope the object belongs to.
dhcpscope_size
The number of IP addresses the DHCPv4 scope the object belongs to contains.
dhcpscope_net_addr
The first IP address of the DHCPv4 scope the object belongs to.
dhcpsn_id
The database identifier (ID) of the DHCPv4 shared network the object belongs to.
dhcpsn_name
The name of the DHCPv4 shared network the object belongs to.
dhcp_id
The database identifier (ID) of the DHCPv4 server the object belongs to.
dhcp_name
The name of the DHCPv4 server the object belongs to.
376
DHCPv4 Lease
dhcp_type
The type of the DHCPv4 server the object belongs to:
vdhcp_parent_id
The database identifier (ID) of the DHCPv4 smart architecture managing the DHCPv4 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
vdhcp_parent_name
The name of the DHCPv4 smart architecture managing the DHCPv4 server the object belongs
to. # indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
dhcprange_failover_name
Internal use. Not documented.
dhcprange_class_name
The name of the class applied to the DHCPv4 range the object belongs to, it can be preceded
by the class directory.
dhcpscope_class_name
The name of the class applied to the DHCPv4 scope the object belongs to, it can be preceded
by the class directory.
dhcp_class_name
The name of the class applied to the DHCPv4 server the object belongs to, it can be preceded
by the class directory.
dhcp_version
The version details of the DHCPv4 server the object belongs to.
ip_addr
The IP address of the DHCP server the object belongs to, in hexadecimal format.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
377
DHCPv4 Lease
dhcprange_class_parameters
The class parameters applied to the DHCPv4 range the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcprange_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcprange_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcprange_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
378
DHCPv4 Lease
Name
dhcp_range_lease_count — Count the number of DHCPv4 leases
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
379
DHCPv4 Lease
Name
dhcp_range_lease_groupby — Group DHCPv4 leases by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
380
DHCPv4 Lease
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
381
DHCPv4 Lease
Name
dhcp_range_lease_groupby_count — Count the number of DHCPv4 leases
grouped by parameter(s)
Description
This service allows to display the total number of results of the service *_groupby.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
382
DHCPv4 Lease
Name
dhcp_lease_log_list — List the DHCPv4 leases logs
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dhcp_name
The name of the DHCPv4 server the object belongs to.
dhcp_type
The type of the DHCPv4 server the object belongs to:
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
383
DHCPv4 Lease
vdhcp_parent_id
The database identifier (ID) of the DHCPv4 smart architecture managing the DHCPv4 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
histo_time
The time the DHCPv4 lease has been attributed to the client, in decimal UNIX date format.
histo_last_time
The expiration time of the DHCPv4 lease, in decimal UNIX date format.
dhcplease_period
The duration time (time to live) of the DHCPv4 lease, in seconds.
histo_state
Internal use. Not documented.
dhcplease_addr
The IP address associated with the DHCPv4 lease.
dhcplease_ip_addr
The IP address associated with the DHCPv4 lease, in hexadecimal format.
mac_addr
The MAC address associated with the IPv4 lease.
domain
The domain name associated with the DHCPv4 lease.
name
The name of the DHCPv4 lease.
dhcplease_full_name
The full name of the DHCPv4 lease in FQDN format: <lease-name>-<domain-name>.
dhcplease_id
The database identifier (ID) of the DHCPv4 lease.
dhcplease_histo_id
The database identifier (ID) of the lease log.
client_id
The client identifier (ID) of the client associated with the DHCPv4 lease.
remote_id
The remote identifier (ID) of the relay agent associated with the DHCPv4 lease.
circuit_id
The circuit identifier (ID) of the relay agent associated with the DHCPv4 lease.
parameter_request_list
The list of parameters requested with the DHCPv4 lease returned by the server, integers
separated by a comma.
dhcplease_fingerbank_os
The operating system details of the client associated with the DHCPv4 lease.
384
DHCPv4 Lease
dhcplease_giaddr
The gateway IP address of the relay agent of the DHCPv4 lease.
385
DHCPv4 Lease
Name
dhcp_lease_log_count — Count the number of DHCPv4 lease logs
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
386
DHCPv4 Lease
Name
dhcp_lease_log_groupby — Group DHCPv4 leases logs by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
387
DHCPv4 Lease
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
388
DHCPv4 Lease
Name
dhcp_lease_log_groupby_count — Count the number of DHCPv4 leases logs
grouped by parameter(s)
Description
This service allows to display the total number of results of the service *_groupby.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
389
DHCPv4 Lease
Name
dhcp_lease_manual_delete — Release a DHCPv4 lease
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server. Use the ID to specify the DHCPv4 server of
your choice.
dhcp_name
The name of the DHCPv4 server.
dhcplease_id
The database identifier (ID) of the DHCPv4 lease, a unique numeric key value automatically
incremented when you add a DHCPv4 lease. Use the ID to specify the DHCPv4 lease of
your choice.
dhcplease_addr
The IP address associated with the DHCPv4 lease.
lease_addr
Deprecated, replaced by dhcplease_addr.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
390
DHCPv4 Lease
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
391
Chapter 25. DHCPv6 Lease
392
DHCPv6 Lease
Name
dhcp6_lease6_list — List the DHCPv6 leases
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
mac_vendor
The vendor details of the client associated with the DHCPv6 lease.
dhcplease6_id
The database identifier (ID) of the DHCPv6 lease.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
393
DHCPv6 Lease
dhcplease6_ip6_addr
The IP address associated with the DHCPv6 lease, in hexadecimal format.
dhcplease6_giaddr
The gateway IP address of the relay agent of the DHCPv6 lease.
dhcplease6_mac_addr
The MAC address associated with the DHCPv6 lease.
dhcplease6_client_duid
The client DHCP Unique Identifier (DUID) associated with the DHCPv6 lease.
dhcplease6_first_time
The first time the DHCPv6 lease has been attributed to the client, in decimal UNIX date
format.
dhcplease6_time
The last time the DHCPv6 lease has been attributed to the client, in decimal UNIX date
format.
dhcplease6_end_time
The expiration time of the lease, in decimal UNIX date format.
dhcplease6_period
The duration time (time to live) of the DHCPv6 lease, in seconds.
percent
The percentage of time the lease has really been in use.
time_to_expire
The time left to the lease before it expires, in seconds.
dhcplease6_name
The name of the DHCPv6 lease.
dhcplease6_clientname
The name of the client associated with the DHCPv6 lease.
dhcpscope6_id
The database identifier (ID) of the DHCPv6 scope the object belongs to.
dhcprange6_id
The database identifier (ID) of the DHCPv6 range the object belongs to.
dhcplease6_domain
The domain name associated with the DHCPv6 lease.
dhcprange6_start_ip6_addr
The first IP address of the DHCPv6 range the object belongs to, in hexadecimal format.
dhcprange6_end_ip6_addr
The last IP address of the DHCPv6 range the object belongs to, in hexadecimal format.
dhcpscope6_name
The name of the DHCPv6 scope the object belongs to.
dhcpscope6_size
The number of IP addresses the DHCPv6 scope the object belongs to contains.
dhcpscope6_start_ip6_addr
The first IP address of the DHCPv6 scope the object belongs to, in hexadecimal format.
dhcpscope6_prefix
The prefix of the DHCPv6 scope the object belongs to.
394
DHCPv6 Lease
dhcpsn6_id
The database identifier (ID) of the DHCPv6 shared network the object belongs to.
dhcpsn6_name
The name of the DHCPv6 shared network the object belongs to.
dhcp6_id
The database identifier (ID) of the DHCPv6 server the object belongs to.
dhcp6_name
The name of the DHCPv6 server the object belongs to.
dhcp6_type
The type of the DHCPv6 server the object belongs to:
vdhcp6_parent_id
The database identifier (ID) of the DHCPv6 smart architecture managing the DHCPv6 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
vdhcp6_parent_name
The name of the DHCPv4 smart architecture managing the DHCPv4 server the object belongs
to. # indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
dhcprange6_failover_name
Internal use. Not documented.
dhcprange6_class_name
The name of the class applied to the DHCPv6 range the object belongs to, it can be preceded
by the class directory.
dhcpscope6_class_name
The name of the class applied to the DHCPv6 scope the object belongs to, it can be preceded
by the class directory.
dhcp6_class_name
The name of the class applied to the DHCPv6 server the object belongs to, it can be preceded
by the class directory.
dhcp6_version
The version details of the DHCPv6 server the object belongs to.
ip_addr
The IP address of the DHCP server the object belongs to, in hexadecimal format.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
395
DHCPv6 Lease
dhcprange6_class_parameters
The class parameters applied to the DHCPv6 range the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcprange6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcprange6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcprange6_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
396
DHCPv6 Lease
Name
dhcp6_lease6_count — Count the number of DHCPv6 leases
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
397
DHCPv6 Lease
Name
dhcp6_lease6_log_list — List the DHCPv6 leases logs
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dhcp6_name
The name of the DHCPv6 server the object belongs to.
dhcp6_type
The type of the DHCPv6 server the object belongs to:
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
398
DHCPv6 Lease
vdhcp6_parent_id
The database identifier (ID) of the DHCPv6 smart architecture managing the DHCPv6 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
histo_time
The time the DHCPv6 lease has been attributed to the client, in decimal UNIX date format.
histo_last_time
The expiration time of the DHCPv6 lease, in decimal UNIX date format.
dhcplease6_period
The duration time (time to live) of the DHCPv6 lease, in seconds.
histo_state
Internal use. Not documented.
dhcplease6_ip6_addr
The IP address associated with the DHCPv6 lease, in hexadecimal format.
mac_addr
The MAC address associated with the DHCPv6 lease.
domain
The domain name associated with the DHCPv6 lease.
name
The name of the DHCPv6 lease.
dhcplease6_full_name
The full name of the DHCPv6 lease, as follows: <dhcplease6_name>.<dhcplease6_domain>
dhcplease6_id
The database identifier (ID) of the DHCPv6 lease.
dhcplease6_histo_id
The database identifier (ID) of the DHCPv6 lease log.
client_duid
The client DHCP Unique Identifier (DUID) associated with the DHCPv6 lease.
dhcplease6_giaddr
The gateway IP address of the relay agent of the DHCPv6 lease.
399
DHCPv6 Lease
Name
dhcp6_lease6_log_count — List the DHCPv6 leases logs
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
400
DHCPv6 Lease
Name
dhcp6_lease6_log_groupby — Group DHCPv6 leases by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
401
DHCPv6 Lease
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
402
DHCPv6 Lease
Name
dhcp6_lease6_log_groupby_count — Count the number of DHCPv6 leases
grouped by parameter(s)
Description
This service allows to display the total number of results of the service *_groupby.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
403
Chapter 26. DHCPv4 Static
404
DHCPv4 Static
Name
dhcp_static_add — Add/Edit a DHCPv4 static
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server. Use the ID to specify the DHCPv4 server of
your choice.
dhcp_name
The name of the DHCPv4 server.
hostaddr
The IP address of the DHCP server.
dhcp_addr
Deprecated, replaced by hostaddr.
static_id
Deprecated, replaced by dhcphost_id.
dhcphost_id
The database identifier (ID) of the DHCPv4 static, a unique numeric key value automatically
incremented when you add a DHCPv4 static. Use the ID to specify which DHCPv4 static to
edit.
405
DHCPv4 Static
static_ip_addr
Deprecated, replaced by dhcphost_addr.
static_addr
Deprecated, replaced by dhcphost_addr.
dhcphost_addr
The IP address associated with the DHCPv4 static.
dhcphost_name
The name of the DHCPv4 static, each DHCPv4 static must have a unique name.
static_name
Deprecated, replaced by dhcphost_name.
static_mac_addr
Deprecated, replaced by dhcphost_mac_addr.
dhcphost_mac_addr
The MAC address you want to associate with the IPv4 static, it must include the MAC address
type. The address has 7 sections, 00:11:22:33:44:55:66 , where 00 indicates the type. For
Ethernet, specify 01.
dhcpgroup_id
The database identifier (ID) of the DHCPv4 group, a unique numeric key value automatically
incremented when you add a DHCPv4 group. Use the ID to specify the DHCPv4 group of
your choice.
dhcpgroup_name
The name of the DHCPv4 group.
dhcphost_identifier
The host identifier you want to associate with the IPv4 static. An option and value to look for
to identify clients and assign them the static, specified as follows: option <option-name>
"expected value".
406
DHCPv4 Static
dhcpstatic_class_name
Deprecated, replaced by dhcphost_class_name.
dhcphost_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
dhcpstatic_class_parameters
Deprecated, replaced by dhcphost_class_parameters.
dhcphost_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dhcpstatic_class_parameters_properties
Deprecated, replaced by dhcphost_class_parameters_properties.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
dhcphost_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
407
DHCPv4 Static
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
Example
In the example below, we call the service dhcp_static_add with Ruby (NET::Http) to add a DHCP
static without IP in one of our DHCP servers.
408
DHCPv4 Static
url = URI("https://solid.intranet/rest/dhcp_static_add?"+
"dhcphost_mac_addr=01%3A0a%B92%3Bf2%3B54%3A17%3A60&dhcp_id=19")
request = Net::HTTP::Post.new(url)
request["x-ipm-username"] = 'aXBtYWRtaW4='
request["x-ipm-password"] = 'YWRtaW4='
request["cache-control"] = 'no-cache'
response = http.request(request)
puts response.read_body
409
DHCPv4 Static
Name
dhcp_static_list — List the DHCPv4 statics
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dhcphost_last_seen
The last time the MAC address associated with the DHCPv4 static was seen on the network,
in decimal UNIX date format.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
410
DHCPv4 Static
dhcphost_expire_time
The expiration time of the lease associated with the DHCPv4 static, in decimal UNIX date
format.
dhcpscope_row_enabled
Internal use. Not documented.
dhcpscope_start_ip_addr
The first IP address of the DHCPv4 scope the object belongs to, in hexadecimal format.
dhcpscope_end_ip_addr
The last IP address of the DHCPv4 scope the object belongs to, in hexadecimal format.
dhcpscope_net_mask
The netmask of the DHCPv4 scope the object belongs to. It is expressed in dot-decimal
notation and defines the number of addresses the scope contains.
dhcpscope_net_addr
The first IP address of the DHCPv4 scope the object belongs.
mac_vendor
The vendor details of the client associated with the DHCPv4 static.
dhcphost_id
The database identifier (ID) of the DHCPv4 static.
dhcp_id
The database identifier (ID) of the DHCPv4 server the object belongs to.
dhcphost_mac_addr
The MAC address associated with the DHCPv4 static. It is composed of 7 sections,
00:11:22:33:44:55:66, where 00 is the MAC address type. The type 01 indicates Ethernet.
dhcphost_addr
The IP address associated with the DHCPv4 static.
dhcphost_ip_addr
The IP address associated with the DHCPv4 static, in hexadecimal format.
dhcphost_identifier
The host identifier of the DHCPv4 static, specified as follows: option <option-name> "expected
value".
db_hostname
Internal use. Not documented.
dhcphost_name
The name of the DHCPv4 static.
dhcphost_domain
The domain name associated with the DHCPv4 static.
dhcp_name
The name of the DHCPv4 server the object belongs to.
dhcp_type
The type of the DHCPv4 server the object belongs to:
411
DHCPv4 Static
Type Description
vdhcp EfficientIP DHCPv4 smart architecture
vdhcp_parent_id
The database identifier (ID) of the DHCPv4 smart architecture managing the DHCPv4 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
dhcphost_state
Internal use. Not documented.
dhcpscope_id
The database identifier (ID) of the DHCPv4 scope the object belongs to.
dhcpscope_name
The name of the DHCPv4 scope the object belongs to.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
dhcpscope_size
The number of IP addresses the DHCPv4 scope the object belongs to contains.
dhcpscope_site_id
The database identifier (ID) of the space associated with the DHCPv4 scope the object belongs
to.
dhcpsn_id
The database identifier (ID) of the DHCPv4 shared network the object belongs to.
dhcpsn_name
The name of the DHCPv4 shared network the object belongs to.
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
dhcpgroup_id
The database identifier (ID) of the DHCPv4 group.
dhcpgroup_name
The name of the DHCPv4 group associated with the object.
dhcpgroup_class_name
The name of the class applied to the DHCPv4 group the static belongs to, it can be preceded
by the class directory.
dhcphost_class_name
The name of the class applied to the DHCPv4 static, it can be preceded by the class directory.
vdhcp_parent_name
The name of the DHCPv4 smart architecture managing the DHCPv4 server the object belongs
to. # indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
dhcpscope_class_name
The name of the class applied to the DHCPv4 scope the object belongs to, it can be preceded
by the class directory.
dhcp_class_name
The name of the class applied to the DHCPv4 server the object belongs to, it can be preceded
by the class directory.
412
DHCPv4 Static
dhcp_version
The version details of the DHCPv4 server the object belongs to.
row_enabled
The object activation status:
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
By default, row_enabled is set to 1 when an object is created.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
dhcphost_class_parameters
The class parameters applied to the DHCPv4 static and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dhcphost_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcphost_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcphost_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
dhcpgroup_class_parameters
The class parameters applied to the DHCPv4 group the static belongs to, and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcpgroup_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcpgroup_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcpscope_class_parameters
The class parameters applied to the DHCPv4 scope the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
413
DHCPv4 Static
dhcpscope_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcpscope_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcp_class_parameters
The class parameters applied to the DHCPv4 server the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcp_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcp_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
414
DHCPv4 Static
Name
dhcp_static_info — Display the properties of a DHCPv4 static
Description
This service allows to display the properties of an object.
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
dhcpstatic_id
The database identifier (ID) of the DHCPv4 static, a unique numeric key value automatically
incremented when you add a DHCPv4 static. Use the ID to specify the DHCPv4 static of
your choice.
Output Parameters
dhcphost_last_seen
The last time the MAC address associated with the DHCPv4 static was seen on the network,
in decimal UNIX date format.
dhcphost_expire_time
The expiration time of the lease associated with the DHCPv4 static, in decimal UNIX date
format.
dhcpscope_row_enabled
Internal use. Not documented.
dhcpscope_start_ip_addr
The first IP address of the DHCPv4 scope the object belongs to, in hexadecimal format.
dhcpscope_end_ip_addr
The last IP address of the DHCPv4 scope the object belongs to, in hexadecimal format.
dhcpscope_net_mask
The netmask of the DHCPv4 scope the object belongs to. It is expressed in dot-decimal
notation and defines the number of addresses the scope contains.
dhcpscope_net_addr
The first IP address of the DHCPv4 scope the object belongs.
mac_vendor
The vendor details of the client associated with the DHCPv4 static.
dhcphost_id
The database identifier (ID) of the DHCPv4 static.
dhcp_id
The database identifier (ID) of the DHCPv4 server the object belongs to.
dhcphost_mac_addr
The MAC address associated with the DHCPv4 static. It is composed of 7 sections,
00:11:22:33:44:55:66, where 00 is the MAC address type. The type 01 indicates Ethernet.
415
DHCPv4 Static
dhcphost_addr
The IP address associated with the DHCPv4 static.
dhcphost_ip_addr
The IP address associated with the DHCPv4 static, in hexadecimal format.
dhcphost_identifier
The host identifier of the DHCPv4 static, specified as follows: option <option-name> "expected
value".
db_hostname
Internal use. Not documented.
dhcphost_name
The name of the DHCPv4 static.
dhcphost_domain
The domain name associated with the DHCPv4 static.
dhcp_name
The name of the DHCPv4 server the object belongs to.
dhcp_type
The type of the DHCPv4 server the object belongs to:
vdhcp_parent_id
The database identifier (ID) of the DHCPv4 smart architecture managing the DHCPv4 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
dhcphost_state
Internal use. Not documented.
dhcpscope_id
The database identifier (ID) of the DHCPv4 scope the object belongs to.
dhcpscope_name
The name of the DHCPv4 scope the object belongs to.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
dhcpscope_size
The number of IP addresses the DHCPv4 scope the object belongs to contains.
dhcpscope_site_id
The database identifier (ID) of the space associated with the DHCPv4 scope the object belongs
to.
dhcpsn_id
The database identifier (ID) of the DHCPv4 shared network the object belongs to.
dhcpsn_name
The name of the DHCPv4 shared network the object belongs to.
416
DHCPv4 Static
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
dhcpgroup_id
The database identifier (ID) of the DHCPv4 group.
dhcpgroup_name
The name of the DHCPv4 group associated with the object.
dhcpgroup_class_name
The name of the class applied to the DHCPv4 group the static belongs to, it can be preceded
by the class directory.
dhcphost_class_name
The name of the class applied to the DHCPv4 static, it can be preceded by the class directory.
vdhcp_parent_name
The name of the DHCPv4 smart architecture managing the DHCPv4 server the object belongs
to. # indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
dhcpscope_class_name
The name of the class applied to the DHCPv4 scope the object belongs to, it can be preceded
by the class directory.
dhcp_class_name
The name of the class applied to the DHCPv4 server the object belongs to, it can be preceded
by the class directory.
dhcp_version
The version details of the DHCPv4 server the object belongs to.
row_enabled
The object activation status:
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
By default, row_enabled is set to 1 when an object is created.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
417
DHCPv4 Static
dhcphost_class_parameters
The class parameters applied to the DHCPv4 static and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dhcphost_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcphost_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcphost_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
dhcpgroup_class_parameters
The class parameters applied to the DHCPv4 group the static belongs to, and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcpgroup_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcpgroup_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcpscope_class_parameters
The class parameters applied to the DHCPv4 scope the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcpscope_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcpscope_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcp_class_parameters
The class parameters applied to the DHCPv4 server the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcp_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcp_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
Example
In the example below, we call the service dhcp_static_info with Python (Requests) to retrieve
the properties of a specific DHCP static.
url = "https://solid.intranet/rest/dhcp_static_info"
querystring = {"dhcpstatic_id":"121"}
headers = {
'x-ipm-username': "aXBtYWRtaW4=",
'x-ipm-password': "YWRtaW4=",
'cache-control': "no-cache"
}
418
DHCPv4 Static
print(response.text)
419
DHCPv4 Static
Name
dhcp_static_count — Count the number of DHCPv4 statics
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
420
DHCPv4 Static
Name
dhcp_static_groupby — Group DHCPv4 statics by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
421
DHCPv4 Static
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
422
DHCPv4 Static
Name
dhcp_static_groupby_count — Count the number of DHCPv4 statics grouped by
parameter(s)
Description
This service allows to display the total number of results of the service *_groupby.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
423
DHCPv4 Static
Name
dhcp_static_delete — Delete a DHCPv4 static
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server. Use the ID to specify the DHCPv4 server of
your choice.
dhcp_name
The name of the DHCPv4 server.
hostaddr
The IP address of the DHCP server.
dhcp_addr
Deprecated, replaced by hostaddr.
dhcpscope_id
The database identifier (ID) of the DHCPv4 scope, a unique numeric key value automatically
incremented when you add a DHCPv4 scope. Use the ID to specify the DHCPv4 scope of
your choice.
scope_id
Deprecated, replaced by dhcpscope_id.
424
DHCPv4 Static
dhcphost_id
The database identifier (ID) of the DHCPv4 static, a unique numeric key value automatically
incremented when you add a DHCPv4 static. Use the ID to specify the DHCPv4 static of
your choice.
static_id
Deprecated, replaced by dhcphost_id.
dhcphost_addr
The IP address associated with the DHCPv4 static.
static_addr
Deprecated, replaced by dhcphost_addr.
static_ip_addr
Deprecated, replaced by dhcphost_addr.
dhcphost_mac_addr
The MAC address associated with the IPv4 static, it must include the MAC address type.
The address has 7 sections, 00:11:22:33:44:55:66 , where 00 indicates the type. For Ethernet,
specify 01.
static_mac_addr
Deprecated, replaced by dhcphost_mac_addr.
dhcphost_name
The name of the DHCPv4 static.
dhcphost_identifier
The host identifier associated with the IPv4 static. An option and value to look for to identify
clients and assign them the static, specified as follows: option <option-name> "expected
value".
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
425
DHCPv4 Static
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
426
Chapter 27. DHCPv6 Static
427
DHCPv6 Static
Name
dhcp6_static6_add — Add/Edit a DHCPv6 static
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the DHCPv6 server, a unique numeric key value automatically
incremented when you add a DHCPv6 server. Use the ID to specify the DHCPv6 server of
your choice.
dhcp6_name
The name of the DHCPv6 server.
hostaddr
The IP address of the DHCP server.
dhcphost6_id
The database identifier (ID) of the DHCPv6 static, a unique numeric key value automatically
incremented when you add a DHCPv6 static. Use the ID to specify which DHCPv6 static to
edit.
428
DHCPv6 Static
dhcphost6_name
The name of the DHCPv6 static, each DHCPv6 static must have a unique name.
dhcphost6_addr
The IP address associated with the DHCPv6 static.
dhcphost6_mac_addr
The MAC address you want to associate with the IPv6 static.
dhcphost6_client_duid
The client DHCP Unique Identifier (DUID) associated with the DHCPv6 static.
dhcpgroup6_id
The database identifier (ID) of the DHCPv6 group, a unique numeric key value automatically
incremented when you add a DHCPv6 group. Use the ID to specify the DHCPv6 group of
your choice.
dhcpgroup6_name
The name of the DHCPv6 group.
dhcphost6_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
dhcpstatic6_class_name
Deprecated, replaced by dhcphost6_class_name.
429
DHCPv6 Static
dhcphost6_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dhcpstatic6_class_parameters
Deprecated, replaced by dhcphost6_class_parameters.
dhcpstatic6_class_parameters_properties
Deprecated, replaced by dhcphost6_class_parameters_properties.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
dhcphost6_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
430
DHCPv6 Static
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
431
DHCPv6 Static
Name
dhcp6_static6_list — List the DHCPv6 statics
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dhcphost6_client_duid
The client DHCP Unique Identifier (DUID) associated with the DHCPv6 static.
dhcphost6_time
Internal use. Not documented.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
432
DHCPv6 Static
dhcphost6_end_time
Internal use. Not documented.
dhcpscope6_row_enabled
Internal use. Not documented.
dhcpscope6_start_ip6_addr
The first IP address of the DHCPv6 scope the object belongs to, in hexadecimal format.
dhcpscope6_end_ip6_addr
The last IP address of the DHCPv6 scope the object belongs to, in hexadecimal format.
mac_vendor
The vendor details of the client associated with the DHCPv6 static.
dhcphost6_id
The database identifier (ID) of the DHCPv6 static.
dhcp6_id
The database identifier (ID) of the DHCPv6 server the object belongs to.
dhcphost6_mac_addr
The MAC address associated with the DHCPv6 static.
dhcphost6_ip6_addr
The IP address associated with the DHCPv6 static, in hexadecimal format.
dhcphost6_name
The name of the DHCPv6 static.
dhcphost6_domain
The domain name associated with the DHCPv6 static.
dhcp6_name
The name of the DHCPv6 server the object belongs to.
dhcp6_type
The type of the DHCPv6 server the object belongs to:
vdhcp6_parent_id
The database identifier (ID) of the DHCPv6 smart architecture managing the DHCPv6 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
dhcphost6_state
Internal use. Not documented.
dhcpscope6_id
The database identifier (ID) of the DHCPv6 scope the object belongs to.
dhcpscope6_name
The name of the DHCPv6 scope the object belongs to.
dhcpscope6_size
The number of IP addresses the DHCPv6 scope the object belongs to contains.
433
DHCPv6 Static
dhcpscope6_site_id
The database identifier (ID) of the space associated with the DHCPv6 scope the object belongs
to.
dhcpsn6_id
The database identifier (ID) of the DHCPv6 shared network the object belongs to.
dhcpsn6_name
The name of the DHCPv6 shared network the object belongs to.
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
dhcpgroup6_id
The database identifier (ID) of the DHCPv6 group.
dhcpgroup6_name
The name of the DHCPv6 group associated with the object.
dhcpgroup6_class_name
The name of the class applied to the DHCPv6 group the static belongs to, it can be preceded
by the class directory.
dhcphost6_class_name
The name of the class applied to the DHCPv6static, it can be preceded by the class directory.
vdhcp6_parent_name
The name of the DHCPv4 smart architecture managing the DHCPv4 server the object belongs
to. # indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
dhcpscope6_class_name
The name of the class applied to the DHCPv6 scope the object belongs to, it can be preceded
by the class directory.
dhcp6_class_name
The name of the class applied to the DHCPv6 server the object belongs to, it can be preceded
by the class directory.
dhcp6_version
The version details of the DHCPv6 server the object belongs to.
row_enabled
The object activation status:
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
By default, row_enabled is set to 1 when an object is created.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
434
DHCPv6 Static
dhcphost6_class_parameters
The class parameters applied to the DHCPv6 static and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dhcphost6_class_parameters_properties
The DHCPv6 static class parameters inheritance property and propagation property, both
encoded in URL format: <class-parameter1>=<inheritance>,<propagation>&<class-paramet-
er2>=<inheritance>&... .
If the inheritance or propagation property is not specified, its default value - set, propagate -
is used.
dhcphost6_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
dhcpgroup6_class_parameters
The class parameters applied to the DHCPv6 group the static belongs to, and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcpgroup6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcpgroup6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcpscope6_class_parameters
The class parameters applied to the DHCPv6 scope the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcpscope6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcpscope6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcp6_class_parameters
The class parameters applied to the DHCPv6 server the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcp6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcp6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
435
DHCPv6 Static
Name
dhcp6_static6_info — Display the properties of a DHCPv6 static
Description
This service allows to display the properties of an object.
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
dhcpstatic6_id
The database identifier (ID) of the DHCPv6 static, a unique numeric key value automatically
incremented when you add a DHCPv6 static. Use the ID to specify the DHCPv6 static of
your choice.
Output Parameters
dhcphost6_client_duid
The client DHCP Unique Identifier (DUID) associated with the DHCPv6 static.
dhcphost6_time
Internal use. Not documented.
dhcphost6_end_time
Internal use. Not documented.
dhcpscope6_row_enabled
Internal use. Not documented.
dhcpscope6_start_ip6_addr
The first IP address of the DHCPv6 scope the object belongs to, in hexadecimal format.
dhcpscope6_end_ip6_addr
The last IP address of the DHCPv6 scope the object belongs to, in hexadecimal format.
mac_vendor
The vendor details of the client associated with the DHCPv6 static.
dhcphost6_id
The database identifier (ID) of the DHCPv6 static.
dhcp6_id
The database identifier (ID) of the DHCPv6 server the object belongs to.
dhcphost6_mac_addr
The MAC address associated with the DHCPv6 static.
dhcphost6_ip6_addr
The IP address associated with the DHCPv6 static, in hexadecimal format.
dhcphost6_name
The name of the DHCPv6 static.
436
DHCPv6 Static
dhcphost6_domain
The domain name associated with the DHCPv6 static.
dhcp6_name
The name of the DHCPv6 server the object belongs to.
dhcp6_type
The type of the DHCPv6 server the object belongs to:
vdhcp6_parent_id
The database identifier (ID) of the DHCPv6 smart architecture managing the DHCPv6 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
dhcphost6_state
Internal use. Not documented.
dhcpscope6_id
The database identifier (ID) of the DHCPv6 scope the object belongs to.
dhcpscope6_name
The name of the DHCPv6 scope the object belongs to.
dhcpscope6_size
The number of IP addresses the DHCPv6 scope the object belongs to contains.
dhcpscope6_site_id
The database identifier (ID) of the space associated with the DHCPv6 scope the object belongs
to.
dhcpsn6_id
The database identifier (ID) of the DHCPv6 shared network the object belongs to.
dhcpsn6_name
The name of the DHCPv6 shared network the object belongs to.
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
dhcpgroup6_id
The database identifier (ID) of the DHCPv6 group.
dhcpgroup6_name
The name of the DHCPv6 group associated with the object.
dhcpgroup6_class_name
The name of the class applied to the DHCPv6 group the static belongs to, it can be preceded
by the class directory.
dhcphost6_class_name
The name of the class applied to the DHCPv6static, it can be preceded by the class directory.
vdhcp6_parent_name
The name of the DHCPv4 smart architecture managing the DHCPv4 server the object belongs
to. # indicates that the server is not managed by a smart architecture or is a smart architecture
itself.
437
DHCPv6 Static
dhcpscope6_class_name
The name of the class applied to the DHCPv6 scope the object belongs to, it can be preceded
by the class directory.
dhcp6_class_name
The name of the class applied to the DHCPv6 server the object belongs to, it can be preceded
by the class directory.
dhcp6_version
The version details of the DHCPv6 server the object belongs to.
row_enabled
The object activation status:
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
By default, row_enabled is set to 1 when an object is created.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
dhcphost6_class_parameters
The class parameters applied to the DHCPv6 static and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dhcphost6_class_parameters_properties
The DHCPv6 static class parameters inheritance property and propagation property, both
encoded in URL format: <class-parameter1>=<inheritance>,<propagation>&<class-paramet-
er2>=<inheritance>&... .
If the inheritance or propagation property is not specified, its default value - set, propagate -
is used.
dhcphost6_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
438
DHCPv6 Static
dhcpgroup6_class_parameters
The class parameters applied to the DHCPv6 group the static belongs to, and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcpgroup6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcpgroup6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcpscope6_class_parameters
The class parameters applied to the DHCPv6 scope the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcpscope6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcpscope6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dhcp6_class_parameters
The class parameters applied to the DHCPv6 server the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
dhcp6_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dhcp6_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
439
DHCPv6 Static
Name
dhcp6_static6_count — Count the number of DHCPv6 statics
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
440
DHCPv6 Static
Name
dhcp6_static6_delete — Delete a DHCPv6 static
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the DHCPv6 server, a unique numeric key value automatically
incremented when you add a DHCPv6 server. Use the ID to specify the DHCPv6 server of
your choice.
dhcp6_name
The name of the DHCPv6 server.
hostaddr
The IP address of the DHCP server.
dhcpscope6_id
The database identifier (ID) of the DHCPv6 scope, a unique numeric key value automatically
incremented when you add a DHCPv6 scope. Use the ID to specify the DHCPv6 scope of
your choice.
dhcphost6_id
The database identifier (ID) of the DHCPv6 static, a unique numeric key value automatically
incremented when you add a DHCPv6 static. Use the ID to specify the DHCPv6 static of
your choice.
441
DHCPv6 Static
dhcphost6_name
The name of the DHCPv6 static.
dhcphost6_addr
The IP address associated with the DHCPv6 static.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
442
Chapter 28. DHCPv4 Option
443
DHCPv4 Option
Name
dhcp_option_add — Add/Edit/Delete a DHCP option on DHCPv4 objects
Description
This service allows to add, edit or delete DHCP options on all DHCP objects, except leases,
failover channels and shared networks. The service dhcp_option_delete does not exist.
• If no identifier is specified, a new option is created.
• If an existing identifier is specified:
• The value specified in input edits the option.
• The option specified without value is deleted.
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 database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server. Use the ID to specify the DHCPv4 server of
your choice.
dhcp_name
The name of the DHCPv4 server.
hostaddr
The IP address of the DHCP server.
444
DHCPv4 Option
dhcpscope_id
The database identifier (ID) of the DHCPv4 scope, a unique numeric key value automatically
incremented when you add a DHCPv4 scope. Use the ID to specify the DHCPv4 scope of
your choice.
scope_id
Deprecated, replaced by dhcpscope_id.
dhcpscope_name
The name of the DHCPv4 scope.
scope_name
Deprecated, replaced by dhcpscope_name.
dhcprange_id
The database identifier (ID) of the DHCPv4 range, a unique numeric key value automatically
incremented when you add a DHCPv4 range. Use the ID to specify the DHCPv4 range of
your choice.
range_id
Deprecated, replaced by dhcprange_id.
dhcprange_name
The name of the DHCPv4 range.
range_name
Deprecated, replaced by dhcprange_name.
dhcphost_id
The database identifier (ID) of the DHCPv4 static, a unique numeric key value automatically
incremented when you add a DHCPv4 static. Use the ID to specify the DHCPv4 static of
your choice.
host_id
Deprecated, replaced by dhcphost_id.
dhcphost_name
The name of the DHCPv4 static.
445
DHCPv4 Option
host_name
Deprecated, replaced by dhcphost_name.
dhcpgroup_id
The database identifier (ID) of the DHCPv4 group, a unique numeric key value automatically
incremented when you add a DHCPv4 group. Use the ID to specify the DHCPv4 group of
your choice.
group_id
Deprecated, replaced by dhcpgroup_id.
dhcpgroup_name
The name of the DHCPv4 group.
group_name
Deprecated, replaced by dhcpgroup_name.
dhcpacl_id
The database identifier (ID) of the DHCPv4 ACL, a unique numeric key value automatically
incremented when you add a DHCPv4 ACL. Use the ID to specify the DHCPv4 ACL of your
choice.
acl_id
Deprecated, replaced by dhcpacl_id.
dhcpacl_name
The name of the DHCPv4 ACL.
acl_name
Deprecated, replaced by dhcpacl_name.
dhcpacl_data_id
The database identifier (ID) of the DHCPv4 ACL entry, a unique numeric key value automat-
ically incremented when you add a DHCPv4 ACL entry. Use the ID to specify the DHCPv4
ACL entry of your choice.
acl_data_id
Deprecated, replaced by dhcpacl_data_id.
446
DHCPv4 Option
acl_data_value
The value of the DHCPv4 ACL entry.
dhcpacl_data_name
Deprecated, replaced by acl_data_value.
acl_data_name
Deprecated, replaced by acl_data_value.
dhcpoption_name
The name of the DHCPv4 option, it must be preceded by option and a space as follows: option
<option-name>. Specify an already defined DHCPv4 option to edit it.
option
Deprecated, replaced by dhcpoption_name.
dhcpoption_value
The value of the DHCPv4 option.
value
Deprecated, replaced by dhcpoption_value.
dhcpoption_type
The type of the DHCPv4 option.
Type Fixed value: global || scope || subnet || acl || Maximum length N/A
acl_data || group || range || host
Default value N/A Can be edited Yes
option_type
Deprecated, replaced by dhcpoption_type.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
447
DHCPv4 Option
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
448
Chapter 29. DHCPv6 Option
449
DHCPv6 Option
Name
dhcp6_option6_add — Add/Edit/Delete a DHCP option on DHCPv6 objects
Description
This service allows to add, edit or delete DHCPv6 options on all DHCP objects, except leases,
failover channels and shared networks. The service dhcp6_option6_delete does not exist.
• If no identifier is specified, a new option is created.
• If an existing identifier is specified:
• The value specified in input edits the option.
• The option specified without value is deleted.
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 database identifier (ID) of the DHCPv6 server, a unique numeric key value automatically
incremented when you add a DHCPv6 server. Use the ID to specify the DHCPv6 server of
your choice.
dhcp6_name
The name of the DHCPv6 server.
hostaddr
The IP address of the DHCP server.
450
DHCPv6 Option
dhcpscope6_id
The database identifier (ID) of the DHCPv6 scope, a unique numeric key value automatically
incremented when you add a DHCPv6 scope. Use the ID to specify the DHCPv6 scope of
your choice.
dhcpscope6_name
The name of the DHCPv6 scope.
dhcphost6_id
The database identifier (ID) of the DHCPv6 static, a unique numeric key value automatically
incremented when you add a DHCPv6 static. Use the ID to specify the DHCPv6 static of
your choice.
dhcphost6_name
The name of the DHCPv6 static.
dhcpgroup6_id
The database identifier (ID) of the DHCPv6 group, a unique numeric key value automatically
incremented when you add a DHCPv6 group. Use the ID to specify the DHCPv6 group of
your choice.
dhcpgroup6_name
The name of the DHCPv6 group.
dhcpacl6_id
The database identifier (ID) of the DHCPv6 ACL, a unique numeric key value automatically
incremented when you add a DHCPv6 ACL. Use the ID to specify the DHCPv6 ACL of your
choice.
dhcpacl6_name
The name of the DHCPv6 ACL.
451
DHCPv6 Option
dhcpacl6_data6_id
The database identifier (ID) of the DHCPv6 ACL entry, a unique numeric key value automat-
ically incremented when you add a DHCPv6 ACL entry. Use the ID to specify the DHCPv6
ACL entry of your choice.
dhcpoption6_name
The name of the DHCPv6 option. Use the name to specify which DHCPv6 option to edit.
dhcpoption6_value
The value of the DHCPv6 option.
dhcpoption6_type
The type of the DHCPv6 option.
Type Fixed value: global || scope6 || group6 || acl6 || Maximum length N/A
acl6_data6 || host6
Default value N/A Can be edited Yes
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
452
DHCPv6 Option
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
453
Chapter 30. DHCPv4 ACL and ACL Entry
454
DHCPv4 ACL and ACL Entry
Name
dhcp_acl_add — Add/Edit a DHCP ACL
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server. Use the ID to specify the DHCPv4 server of
your choice.
dhcp_name
The name of the DHCPv4 server.
hostaddr
The IP address of the DHCP server.
dhcp_addr
Deprecated, replaced by hostaddr.
dhcpclass_id
The database identifier (ID) of the DHCPv4 ACL, a unique numeric key value automatically
incremented when you add a DHCPv4 ACL. Use the ID to specify which DHCPv4 ACL to
edit.
455
DHCPv4 ACL and ACL Entry
dhcpclass_name
The name of the DHCPv4 ACL, each DHCPv4 ACL must have a unique name.
dhcpclass_match
The ACL rule associated with the DHCPv4 ACL, as follows: <match if (substring(option
agent.remote-id,0,6) = "dslam1");>
dhcpclass_spawnwith
The spawning class associated with the DHCPv4 ACL.
dhcpclass_statement
The statement associated with the DHCPv4 ACL.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
456
DHCPv4 ACL and ACL Entry
457
DHCPv4 ACL and ACL Entry
Name
dhcp_class_list — List the DHCP ACLs
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dhcp_id
The database identifier (ID) of the DHCPv4 server the object belongs to.
dhcp_name
The name of the DHCPv4 server the object belongs to.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
458
DHCPv4 ACL and ACL Entry
dhcp_type
The type of the DHCPv4 server the object belongs to:
vdhcp_parent_id
The database identifier (ID) of the DHCPv4 smart architecture managing the DHCPv4 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
dhcpclass_id
The database identifier (ID) of the DHCPv4 ACL.
dhcpclass_name
The name of the DHCPv4 ACL.
dhcpclass_match
The ACL rule associated with the DHCPv4 ACL, as follows: <match if (substring(option
agent.remote-id,0,6) = "dslam1");>
dhcpclass_spawnwith
The spawning class associated with the DHCPv4 ACL.
dhcpclass_statement
The statement associated with the DHCPv4 ACL.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
459
DHCPv4 ACL and ACL Entry
Name
dhcp_class_info — Display the properties of a DHCP ACL
Description
This service allows to display the properties of an object.
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
dhcpclass_id
The database identifier (ID) of the DHCPv4 ACL, a unique numeric key value automatically
incremented when you add a DHCPv4 ACL. Use the ID to specify the DHCPv4 ACL of your
choice.
Output Parameters
dhcp_id
The database identifier (ID) of the DHCPv4 server the object belongs to.
dhcp_name
The name of the DHCPv4 server the object belongs to.
dhcp_type
The type of the DHCPv4 server the object belongs to:
vdhcp_parent_id
The database identifier (ID) of the DHCPv4 smart architecture managing the DHCPv4 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
dhcpclass_id
The database identifier (ID) of the DHCPv4 ACL.
dhcpclass_name
The name of the DHCPv4 ACL.
dhcpclass_match
The ACL rule associated with the DHCPv4 ACL, as follows: <match if (substring(option
agent.remote-id,0,6) = "dslam1");>
dhcpclass_spawnwith
The spawning class associated with the DHCPv4 ACL.
460
DHCPv4 ACL and ACL Entry
dhcpclass_statement
The statement associated with the DHCPv4 ACL.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
461
DHCPv4 ACL and ACL Entry
Name
dhcp_class_count — Count the number of DHCP ACLs
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
462
DHCPv4 ACL and ACL Entry
Name
dhcp_acl_delete — Delete a DHCP ACL
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server. Use the ID to specify the DHCPv4 server of
your choice.
dhcp_name
The name of the DHCPv4 server.
hostaddr
The IP address of the DHCP server.
dhcp_addr
Deprecated, replaced by hostaddr.
dhcpclass_id
The database identifier (ID) of the DHCPv4 ACL, a unique numeric key value automatically
incremented when you add a DHCPv4 ACL. Use the ID to specify the DHCPv4 ACL of your
choice.
acl_id
Deprecated, replaced by dhcpclass_id.
dhcpclass_name
The name of the DHCPv4 ACL.
463
DHCPv4 ACL and ACL Entry
acl_name
Deprecated, replaced by dhcpclass_name.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
464
DHCPv4 ACL and ACL Entry
Name
dhcp_acl_data_add — Add/Edit a DHCP ACL entry
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server. Use the ID to specify the DHCPv4 server of
your choice.
dhcp_name
The name of the DHCPv4 server.
hostaddr
The IP address of the DHCP server.
dhcp_addr
Deprecated, replaced by hostaddr.
dhcpsubclass_id
The database identifier (ID) of the DHCPv4 ACL entry, a unique numeric key value automat-
ically incremented when you add a DHCPv4 ACL entry. Use the ID to specify which DHCPv4
ACL entry to edit.
465
DHCPv4 ACL and ACL Entry
dhcpclass_id
The database identifier (ID) of the DHCPv4 ACL, a unique numeric key value automatically
incremented when you add a DHCPv4 ACL. Use the ID to specify the DHCPv4 ACL of your
choice.
dhcpclass_name
The name of the DHCPv4 ACL.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
466
DHCPv4 ACL and ACL Entry
Name
dhcp_subclass_list — List the DHCP ACL entries
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dhcpsubclass_id
The database identifier (ID) of the DHCPv4 ACL entry.
dhcp_id
The database identifier (ID) of the DHCPv4 server the object belongs to.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
467
DHCPv4 ACL and ACL Entry
dhcp_name
The name of the DHCPv4 server the object belongs to.
dhcp_type
The type of the DHCPv4 server the object belongs to:
vdhcp_parent_id
The database identifier (ID) of the DHCPv4 smart architecture managing the DHCPv4 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
dhcpclass_name
The name of the DHCPv4 ACL.
dhcpclass_id
The database identifier (ID) of the DHCPv4 ACL.
dhcpsubclass_value
The value of the DHCPv4 ACL entry.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
Example
In the example below, we call the service dhcp_subclass_list with PHP (cURL) using the clause
ORDERBY to sort the ACL entries based on: the DHCP server they belong to, in descending
order; the name of the ACL they belong to; and finally on their value, in descending order.
Example 30.1. Calling the service dhcp_subclass_list using PHP and ORDERBY
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://solid.intranet/rest/dhcp_subclass_list?ORDERBY=".
"dhcp_name%20DESC%2C%20dhcpclass_name%2C%20dhcpsubclass_value%20DESC",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache",
"x-ipm-password: YWRtaW4=",
"x-ipm-username: aXBtYWRtaW4="
),
));
$response = curl_exec($curl);
468
DHCPv4 ACL and ACL Entry
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
469
DHCPv4 ACL and ACL Entry
Name
dhcp_subclass_info — Display the properties of a DHCP ACL entry
Description
This service allows to display the properties of an object.
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
dhcpsubclass_id
The database identifier (ID) of the DHCPv4 ACL entry, a unique numeric key value automat-
ically incremented when you add a DHCPv4 ACL entry. Use the ID to specify the DHCPv4
ACL entry of your choice.
Output Parameters
dhcpsubclass_id
The database identifier (ID) of the DHCPv4 ACL entry.
dhcp_id
The database identifier (ID) of the DHCPv4 server the object belongs to.
dhcp_name
The name of the DHCPv4 server the object belongs to.
dhcp_type
The type of the DHCPv4 server the object belongs to:
vdhcp_parent_id
The database identifier (ID) of the DHCPv4 smart architecture managing the DHCPv4 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
dhcpclass_name
The name of the DHCPv4 ACL.
dhcpclass_id
The database identifier (ID) of the DHCPv4 ACL.
dhcpsubclass_value
The value of the DHCPv4 ACL entry.
470
DHCPv4 ACL and ACL Entry
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
471
DHCPv4 ACL and ACL Entry
Name
dhcp_subclass_count — Count the number of DHCP ACL entries
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
472
DHCPv4 ACL and ACL Entry
Name
dhcp_acl_data_delete — Delete a DHCP ACL entry
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server. Use the ID to specify the DHCPv4 server of
your choice.
dhcp_name
The name of the DHCPv4 server.
hostaddr
The IP address of the DHCP server.
dhcp_addr
Deprecated, replaced by hostaddr.
dhcpclass_id
The database identifier (ID) of the DHCPv4 ACL, a unique numeric key value automatically
incremented when you add a DHCPv4 ACL. Use the ID to specify the DHCPv4 ACL of your
choice.
acl_id
Deprecated, replaced by dhcpclass_id.
dhcpclass_name
The name of the DHCPv4 ACL.
473
DHCPv4 ACL and ACL Entry
acl_name
Deprecated, replaced by dhcpclass_name.
dhcpsubclass_id
The database identifier (ID) of the DHCPv4 ACL entry, a unique numeric key value automat-
ically incremented when you add a DHCPv4 ACL entry. Use the ID to specify the DHCPv4
ACL entry of your choice.
acl_data_id
Deprecated, replaced by dhcpsubclass_id.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
474
Chapter 31. DHCPv6 ACL and ACL Entry
475
DHCPv6 ACL and ACL Entry
Name
dhcp6_acl6_add — Add/Edit a DHCPv6 ACL
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the DHCPv6 server, a unique numeric key value automatically
incremented when you add a DHCPv6 server. Use the ID to specify the DHCPv6 server of
your choice.
dhcp6_name
The name of the DHCPv6 server.
hostaddr
The IP address of the DHCP server.
dhcpclass6_id
The database identifier (ID) of the DHCPv6 ACL, a unique numeric key value automatically
incremented when you add a DHCPv6 ACL. Use the ID to specify the DHCPv6 ACL of your
choice.
dhcpclass6_name
The name of the DHCPv6 ACL, each DHCPv6 ACL must have a unique name.
476
DHCPv6 ACL and ACL Entry
dhcpclass6_match
The ACL rule associated with the DHCPv6 ACL, as follows: <match if (substring(option
agent.remote-id,0,6) = "dslam1");>
dhcpclass6_spawnwith
The spawning class associated with the DHCPv6 ACL.
dhcpclass6_statement
The statement associated with the DHCPv6 ACL.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
477
DHCPv6 ACL and ACL Entry
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
478
DHCPv6 ACL and ACL Entry
Name
dhcp6_class6_list — List the DHCPv6 ACLs
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dhcp6_id
The database identifier (ID) of the DHCPv6 server the object belongs to.
dhcp6_name
The name of the DHCPv6 server the object belongs to.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
479
DHCPv6 ACL and ACL Entry
dhcp6_type
The type of the DHCPv6 server the object belongs to:
vdhcp6_parent_id
The database identifier (ID) of the DHCPv6 smart architecture managing the DHCPv6 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
dhcpclass6_id
The database identifier (ID) of the DHCPv6 ACL.
dhcpclass6_name
The name of the DHCPv6 ACL.
dhcpclass6_match
The ACL rule associated with the DHCPv6 ACL, as follows: <match if (substring(option
agent.remote-id,0,6) = "dslam1");>
dhcpclass6_spawnwith
The spawning class associated with the DHCPv6 ACL.
dhcpclass6_statement
The statement associated with the DHCPv6 ACL.
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
480
DHCPv6 ACL and ACL Entry
Name
dhcp6_class6_info — Display the properties of a DHCPv6 ACL
Description
This service allows to display the properties of an object.
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
dhcpclass6_id
The database identifier (ID) of the DHCPv6 ACL, a unique numeric key value automatically
incremented when you add a DHCPv6 ACL. Use the ID to specify the DHCPv6 ACL of your
choice.
Output Parameters
dhcp6_id
The database identifier (ID) of the DHCPv6 server the object belongs to.
dhcp6_name
The name of the DHCPv6 server the object belongs to.
dhcp6_type
The type of the DHCPv6 server the object belongs to:
vdhcp6_parent_id
The database identifier (ID) of the DHCPv6 smart architecture managing the DHCPv6 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
dhcpclass6_id
The database identifier (ID) of the DHCPv6 ACL.
dhcpclass6_name
The name of the DHCPv6 ACL.
dhcpclass6_match
The ACL rule associated with the DHCPv6 ACL, as follows: <match if (substring(option
agent.remote-id,0,6) = "dslam1");>
dhcpclass6_spawnwith
The spawning class associated with the DHCPv6 ACL.
481
DHCPv6 ACL and ACL Entry
dhcpclass6_statement
The statement associated with the DHCPv6 ACL.
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
482
DHCPv6 ACL and ACL Entry
Name
dhcp6_class6_count — Count the number of DHCPv6 ACLs
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
483
DHCPv6 ACL and ACL Entry
Name
dhcp6_acl6_delete — Delete a DHCPv6 ACL
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the DHCPv6 server, a unique numeric key value automatically
incremented when you add a DHCPv6 server. Use the ID to specify the DHCPv6 server of
your choice.
dhcp6_name
The name of the DHCPv6 server.
hostaddr
The IP address of the DHCP server.
dhcpclass6_id
The database identifier (ID) of the DHCPv6 ACL, a unique numeric key value automatically
incremented when you add a DHCPv6 ACL. Use the ID to specify the DHCPv6 ACL of your
choice.
dhcpclass6_name
The name of the DHCPv6 ACL.
484
DHCPv6 ACL and ACL Entry
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
485
DHCPv6 ACL and ACL Entry
Name
dhcp6_subclass6_list — List the DHCPv6 ACL entries
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dhcpsubclass6_id
The database identifier (ID) of the DHCPv6 ACL entry.
dhcp6_id
The database identifier (ID) of the DHCPv6 server the object belongs to.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
486
DHCPv6 ACL and ACL Entry
dhcp6_name
The name of the DHCPv6 server the object belongs to.
dhcp6_type
The type of the DHCPv6 server the object belongs to:
vdhcp6_parent_id
The database identifier (ID) of the DHCPv6 smart architecture managing the DHCPv6 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
dhcpclass6_name
The name of the DHCPv6 ACL.
dhcpclass6_id
The database identifier (ID) of the DHCPv6 ACL.
dhcpsubclass6_value
The value of the DHCPv6 ACL entry.
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
Example
In the example below, we call the service dhcp_subclass_list with PHP (cURL) using the clause
ORDERBY to sort the ACL entries based on: the DHCP server they belong to, in descending
order; the name of the ACL they belong to; and finally on their value, in descending order.
Example 31.1. Calling the service dhcp_subclass_list using PHP and ORDERBY
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://solid.intranet/rest/dhcp_subclass_list?ORDERBY=".
"dhcp_name%20DESC%2C%20dhcpclass_name%2C%20dhcpsubclass_value%20DESC",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache",
"x-ipm-password: YWRtaW4=",
"x-ipm-username: aXBtYWRtaW4="
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
487
DHCPv6 ACL and ACL Entry
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
488
DHCPv6 ACL and ACL Entry
Name
dhcp6_subclass6_info — Display the properties of a DHCPv6 ACL entry
Description
This service allows to display the properties of an object.
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
dhcpsubclass6_id
The database identifier (ID) of the DHCPv6 ACL entry, a unique numeric key value automat-
ically incremented when you add a DHCPv6 ACL entry. Use the ID to specify the DHCPv6
ACL entry of your choice.
Output Parameters
dhcpsubclass6_id
The database identifier (ID) of the DHCPv6 ACL entry.
dhcp6_id
The database identifier (ID) of the DHCPv6 server the object belongs to.
dhcp6_name
The name of the DHCPv6 server the object belongs to.
dhcp6_type
The type of the DHCPv6 server the object belongs to:
vdhcp6_parent_id
The database identifier (ID) of the DHCPv6 smart architecture managing the DHCPv6 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
dhcpclass6_name
The name of the DHCPv6 ACL.
dhcpclass6_id
The database identifier (ID) of the DHCPv6 ACL.
dhcpsubclass6_value
The value of the DHCPv6 ACL entry.
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
489
DHCPv6 ACL and ACL Entry
Name
dhcp6_subclass6_count — Count the number of DHCPv6 ACL entries
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
490
Chapter 32. DHCPv4 Failover Channel
491
DHCPv4 Failover Channel
Name
dhcp_failover_list — List the DHCPv4 failover channels
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dhcpfailover_id
The database identifier (ID) of the DHCPv4 failover channel, a unique numeric key value
automatically incremented when you add a failover channel.
dhcp_name
The name of the DHCPv4 server the object belongs to.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
492
DHCPv4 Failover Channel
dhcp_id
The database identifier (ID) of the DHCPv4 server the object belongs to.
dhcp_type
The type of the DHCPv4 server the object belongs to:
vdhcp_parent_id
The database identifier (ID) of the DHCPv4 smart architecture managing the DHCPv4 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
dhcp_state
The status of the DHCPv4 smart architecture.
dhcpfailover_name
The name of the DHCPv4 failover channel.
dhcpfailover_addr
The IP address of the primary DHCPv4 server.
dhcpfailover_port
The port number of the primary DHCPv4 server.
peer_dhcp_id
The database identifier (ID) of the secondary DHCPv4 server.
dhcpfailover_peer_addr
The IP address of the secondary DHCPv4 server.
dhcpfailover_peer_port
The port number of the secondary DHCPv4 server.
dhcpfailover_split
Internal use. Not documented.
dhcpfailover_state
The status of the DHCPv4 failover channel, either startup, normal, communications-interrupted
or recover-wait.
dhcpfailover_type
The type of the DHCPv4 failover channel, either primary or secondary.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
ip_addr
The IP address of the DHCP server on which the failover channel is configured, in hexadecimal
format.
dhcpfailover_auto_partner_down
The time after which the DHCPv4 failover channel automatically switches to partner-down
after being in communication-interrupted state, in hours.
493
DHCPv4 Failover Channel
dhcpfailover_mclt
The maximum client lead time (MCLT) of the failover channel, in seconds. It indicates for
how long each DHCP server can extend the lease of a client, beyond the time known by its
partner server.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
494
DHCPv4 Failover Channel
Name
dhcp_failover_info — Display the properties of a DHCPv4 failover channel
Description
This service allows to display the properties of an object.
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
dhcpfailover_id
The database identifier (ID) of the DHCPv4 failover channel, a unique numeric key value
automatically incremented when you add a DHCPv4 failover channel. Use the ID to specify
the DHCPv4 failover channel of your choice.
Output Parameters
dhcpfailover_id
The database identifier (ID) of the DHCPv4 failover channel, a unique numeric key value
automatically incremented when you add a failover channel.
dhcp_name
The name of the DHCPv4 server the object belongs to.
dhcp_id
The database identifier (ID) of the DHCPv4 server the object belongs to.
dhcp_type
The type of the DHCPv4 server the object belongs to:
vdhcp_parent_id
The database identifier (ID) of the DHCPv4 smart architecture managing the DHCPv4 server
the object belongs to. 0 indicates that the server the object belongs to is not managed by a
smart architecture or is a smart architecture itself.
dhcp_state
The status of the DHCPv4 smart architecture.
dhcpfailover_name
The name of the DHCPv4 failover channel.
dhcpfailover_addr
The IP address of the primary DHCPv4 server.
495
DHCPv4 Failover Channel
dhcpfailover_port
The port number of the primary DHCPv4 server.
peer_dhcp_id
The database identifier (ID) of the secondary DHCPv4 server.
dhcpfailover_peer_addr
The IP address of the secondary DHCPv4 server.
dhcpfailover_peer_port
The port number of the secondary DHCPv4 server.
dhcpfailover_split
Internal use. Not documented.
dhcpfailover_state
The status of the DHCPv4 failover channel, either startup, normal, communications-interrupted
or recover-wait.
dhcpfailover_type
The type of the DHCPv4 failover channel, either primary or secondary.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
ip_addr
The IP address of the DHCP server on which the failover channel is configured, in hexadecimal
format.
dhcpfailover_auto_partner_down
The time after which the DHCPv4 failover channel automatically switches to partner-down
after being in communication-interrupted state, in hours.
dhcpfailover_mclt
The maximum client lead time (MCLT) of the failover channel, in seconds. It indicates for
how long each DHCP server can extend the lease of a client, beyond the time known by its
partner server.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
496
DHCPv4 Failover Channel
Name
dhcp_failover_count — Count the number of DHCPv4 failover channels
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
497
DHCPv4 Failover Channel
Name
dhcp_failover_set_partner_down — Set a DHCPv4 failover channel to PARTNER-
DOWN
Description
This service allows to set a DHCPv4 failover channel to PARTNER-DOWN.
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 database identifier (ID) of the DHCPv4 server, a unique numeric key value automatically
incremented when you add a DHCPv4 server. Use the ID to specify the DHCPv4 server of
your choice.
dhcp_name
The name of the DHCPv4 server.
dhcpfailover_id
The database identifier (ID) of the DHCPv4 failover channel, a unique numeric key value
automatically incremented when you add a DHCPv4 failover channel. Use the ID to specify
the DHCPv4 failover channel of your choice.
dhcpfailover_name
The name of the DHCPv4 failover channel.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
498
DHCPv4 Failover Channel
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
499
Part IV. DNS Services
Table of Contents
33. DNS Server ............................................................................................................. 503
dns_server_list ...................................................................................................... 504
dns_server_info .................................................................................................... 511
dns_server_count ................................................................................................. 518
dns_smart_member_add ....................................................................................... 519
dns_smart_member_delete ................................................................................... 521
34. DNS View ................................................................................................................ 523
dns_view_add ....................................................................................................... 524
dns_view_list ........................................................................................................ 529
dns_view_info ....................................................................................................... 533
dns_view_count .................................................................................................... 536
group_dnsview_add .............................................................................................. 537
group_dnsview_delete ........................................................................................... 539
dns_view_delete ................................................................................................... 541
dns_view_param_add ........................................................................................... 543
dns_view_param_list ............................................................................................. 545
dns_view_param_info ............................................................................................ 547
dns_view_param_count ......................................................................................... 549
dns_view_param_delete ........................................................................................ 550
35. DNS Zone ............................................................................................................... 552
dns_zone_add ...................................................................................................... 553
dns_zone_list ........................................................................................................ 561
dns_zone_info ...................................................................................................... 568
dns_zone_count .................................................................................................... 574
dns_zone_groupby ................................................................................................ 575
dns_zone_groupby_count ...................................................................................... 577
group_dnszone_add .............................................................................................. 578
group_dnszone_delete .......................................................................................... 581
dns_zone_delete ................................................................................................... 584
dns_zone_param_add ........................................................................................... 586
dns_zone_param_list ............................................................................................ 588
dns_zone_param_info ........................................................................................... 590
dns_zone_param_count ........................................................................................ 592
dns_zone_param_delete ....................................................................................... 593
36. DNS Resource Record ............................................................................................. 595
dns_rr_add ........................................................................................................... 596
dns_rr_list ............................................................................................................. 605
dns_rr_info ........................................................................................................... 613
dns_rr_count ........................................................................................................ 621
dns_rr_groupby ..................................................................................................... 622
dns_rr_groupby_count ........................................................................................... 624
dns_rr_delete ........................................................................................................ 625
37. DNS ACL ................................................................................................................ 630
dns_acl_add ......................................................................................................... 631
dns_acl_list ........................................................................................................... 634
dns_acl_info ......................................................................................................... 636
dns_acl_count ...................................................................................................... 637
dns_acl_delete ...................................................................................................... 638
38. TSIG Key ................................................................................................................ 640
dns_key_add ........................................................................................................ 641
dns_key_list .......................................................................................................... 644
501
DNS Services
502
Chapter 33. DNS Server
503
DNS Server
Name
dns_server_list — List the DNS servers
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dns_role
The role of the DNS server in the smart architecture, either master, hidden-master, pseudo-
master or slave.
modif_count
Internal use. Not documented.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
504
DNS Server
dns_cloud_private
The type of the DNS Amazon Route 53 or Azure server, either Public (0) or Private (1). If the
server is not a cloud server, 0 is returned.
aws_keyid
The AWS access key identifier (ID) of the DNS server.
aws_delegation_set
The reusable delegation set ID configured on the Amazon Route 53 public server.
az_tenantid
For Microsoft Azure servers, the tenant ID of the DNS server.
az_keyid
For Microsoft Azure servers, the Azure Application ID of the DNS server.
az_subscriptionid
For Microsoft Azure servers, the subscription ID of the DNS server.
az_group
For Microsoft Azure servers, the resource group of the DNS server.
ipmdns_is_package
The DNS server package information. Y for an EfficientIP Package server, N for an appliance
or virtual machine, U the package information is irrelevant. For servers with a dns_type set
to ipm, U indicates either EfficientIP Packages or appliances/virtual machines.
ipmdns_https_login
Internal use. Not documented.
ipmdns_protocol
Internal use. Not documented.
ipmdns_type
The engine type of the DNS server: named (BIND engine), nsd (NSD engine) or unbound
(Unbound engine).
tree_path
The database path toward the server as follows: <server-name>#. If the physical server is
managed through a smart architecture, the path looks as follows: <smart-architecture-
name>##<server-name>.
isolated
A way to determine if the server can update any other module (1).
windns_port
Internal use. Not documented.
windns_use_ssl
Internal use. Not documented.
windns_protocol
Internal use. Not documented.
dns_notify
The notify status of the DNS server:
505
DNS Server
Status Description
explicit The notify messages are only sent to the IP address(es) specified in the parameter
dns_also_notify.
dns_also_notify
The IP address and port of the DNS server managing the smart architecture. If the parameter
dns_notify is set to yes or explicit, the server specified is instantly notified of any slave zones
updates.
dns_allow_query_cache
The ACL values associated with the allow-query-cache configuration of the DNS server, as
follows: <value1>;<value2>;... . Values may include IP and network addresses, the name of
TSIG keys and ACLs, preceded by ! if the access is denied.
dns_allow_query
The ACL values associated with the allow-query configuration of the DNS server, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dns_allow_transfer
The ACL values associated with the allow-transfer configuration of the DNS server, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dns_allow_recursion
The ACL values associated with the allow-recursion configuration of the DNS server, as fol-
lows: <value1>;<value2>;... . Values may include IP and network addresses, the name of
TSIG keys and ACLs, preceded by ! if the access is denied.
dns_recursion
The recursion status of the DNS server:
dns_forwarders
The IP address(es) of the forwarder(s) associated with the DNS server. It lists the DNS
servers to which any unknown zone should be sent, as follows: <ip_address1>;<ip_ad-
dress2>;... .
dns_forward
The forwarding mode of the DNS server. No value indicates that the forwarding is disabled:
snmp_id
Internal use. Not documented.
506
DNS Server
ldap_user
For Microsoft Windows servers, the login of the user communicating with the DNS server.
ldap_domain
For Microsoft Windows servers, the domain of the DNS server.
vdns_public_ns_list
The list of the published name servers associated with the DNS smart architecture, as follows:
<ns1>;<ns2>;... .
tree_level
The database level of the server. 0 indicates the server is managed on its own, 1 indicates
it is managed by a smart architecture.
total_vdns_members
The total number of servers managed by the DNS smart architecture.
vdns_members_name
The list of the servers managed by the DNS smart architecture, as follows:
<dns_name>,<dns_name>,... .
vdns_arch
The type of the DNS smart architecture:
vdns_parent_name
The name of the DNS smart architecture managing the DNS server. # indicates that the
server is not managed by a smart architecture or is a smart architecture itself.
vdns_parent_arch
The type of the DNS smart architecture managing the DNS server. No value indicates that
the server is not managed by a smart architecture or is a smart architecture itself.
vdns_parent_id
The database identifier (ID) of the DNS smart architecture managing the DNS server. 0 indic-
ates that the server is not managed by a smart architecture or is a smart architecture itself.
dns_id
The database identifier (ID) of the DNS server, a unique numeric key value automatically
incremented when you add a DNS server.
dns_state
The status of the DNS server:
507
DNS Server
Status Description
IC The SSL credentials are invalid
IP The account used to add the Microsoft Windows DNS server does not have sufficient
privileges to manage it.
IR SOLIDserver cannot resolve the AWS DNS service.The Amazon services are unreach-
able and the Amazon Route 53 server cannot be managed. Make sure that the DNS
resolvers declared on the page Network configuration are valid.
IS There was a setting error during the server declaration. For instance, some settings
were added to a server that does not support them or a smart architecture is not
managing any physical server.
IT The server editions performed from the GUI are not pushed to the server because
SOLIDserver time and date are incorrect. You must use the UTC system on the appli-
ance, especially when managing Amazon Route 53 servers.
LS The server configuration is not viable.
N The server does not have a status as it has not synchronized yet.
UE An error occurred that SOLIDserver could not identify.
Y The server is operational.
querylog_state
The DNS querylog status. 1 indicates that the DNS server querylog is enabled.
dns_synching
The synchronization status of the DNS server. 1 indicates that the server is currently being
synchronized.
dns_name
The name of the DNS server.
dns_comment
The description of the DNS server.
dns_type
The type of the DNS server:
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
ip_addr
The IP address of the DNS server, in hexadecimal format.
508
DNS Server
dns_class_name
The name of the class applied to the DNS server, it can be preceded by the class directory.
dns_version
The version details of the DNS server.
dns_key_name
The name of the DNS TSIG key associated with the DNS server.
dns_key_value
The value of the TSIG key associated with the DNS server.
dns_key_proto
The encryption protocol of the TSIG key associated with the DNS server.
dns_hybrid
Internal use. Not documented.
dns_force_hybrid
Internal use. Not documented.
dns_cloud
Internal use. Not documented.
gss_keytab_id
The database identifier (ID) of the DNS GSS-TSIG keytab.
gss_enabled
The GSS-TSIG status of the DNS server. 1 indicates that GSS-TSIG is enabled on the
server.
reverse_proxy_conf
The URL of the HTTP(S) reverse proxy server that forwards client queries to the DNS server,
if you configured one.
stat_enabled
Internal use. Not documented.
stat_period
Internal use. Not documented.
stat_niceness
Internal use. Not documented.
stat_time
Internal use. Not documented.
dnsblast_enabled
The status of the service DNS Guardian, either enabled (1) or disabled (0).
dnsblast_status
The status of the Guardian server, either OK (1), Stopped (2), Invalid Credentials (4) or
Timeout (5).
dnssec_validation
The DNSSEC resolution status of the DNS server. yes indicates it is enabled.
dnsgslb_supported
The license GSLB activation status. 1 indicates your license includes GSLB and your appliance
supports it.
dnsguardian_supported
The license Guardian activation status. 1 indicates your license includes Guardian and your
appliance supports its latest features.
509
DNS Server
dnsguardian_gui_management_supported
Internal use. Not documented.
dns_vpc_list
The list of cloud networks configured on the DNS private server, separated by a comma:
• For an Azure server, it returns the list of virtual networks.
• For an Amazon Route 53 server, it returns the list of Virtual Private Cloud (VPC).
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
dns_class_parameters
The class parameters applied to the DNS server and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dns_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dns_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
dns_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
510
DNS Server
Name
dns_server_info — Display the properties of a DNS server
Description
This service allows to display the properties of an object.
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 database identifier (ID) of the DNS server, a unique numeric key value automatically
incremented when you add a DNS server. Use the ID to specify the DNS server of your
choice.
Output Parameters
dns_role
The role of the DNS server in the smart architecture, either master, hidden-master, pseudo-
master or slave.
modif_count
Internal use. Not documented.
dns_cloud_private
The type of the DNS Amazon Route 53 or Azure server, either Public (0) or Private (1). If the
server is not a cloud server, 0 is returned.
aws_keyid
The AWS access key identifier (ID) of the DNS server.
aws_delegation_set
The reusable delegation set ID configured on the Amazon Route 53 public server.
az_tenantid
For Microsoft Azure servers, the tenant ID of the DNS server.
az_keyid
For Microsoft Azure servers, the Azure Application ID of the DNS server.
az_subscriptionid
For Microsoft Azure servers, the subscription ID of the DNS server.
az_group
For Microsoft Azure servers, the resource group of the DNS server.
ipmdns_is_package
The DNS server package information. Y for an EfficientIP Package server, N for an appliance
or virtual machine, U the package information is irrelevant. For servers with a dns_type set
to ipm, U indicates either EfficientIP Packages or appliances/virtual machines.
ipmdns_https_login
Internal use. Not documented.
511
DNS Server
ipmdns_protocol
Internal use. Not documented.
ipmdns_type
The engine type of the DNS server: named (BIND engine), nsd (NSD engine) or unbound
(Unbound engine).
tree_path
The database path toward the server as follows: <server-name>#. If the physical server is
managed through a smart architecture, the path looks as follows: <smart-architecture-
name>##<server-name>.
isolated
A way to determine if the server can update any other module (1).
windns_port
Internal use. Not documented.
windns_use_ssl
Internal use. Not documented.
windns_protocol
Internal use. Not documented.
dns_notify
The notify status of the DNS server:
dns_also_notify
The IP address and port of the DNS server managing the smart architecture. If the parameter
dns_notify is set to yes or explicit, the server specified is instantly notified of any slave zones
updates.
dns_allow_query_cache
The ACL values associated with the allow-query-cache configuration of the DNS server, as
follows: <value1>;<value2>;... . Values may include IP and network addresses, the name of
TSIG keys and ACLs, preceded by ! if the access is denied.
dns_allow_query
The ACL values associated with the allow-query configuration of the DNS server, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dns_allow_transfer
The ACL values associated with the allow-transfer configuration of the DNS server, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dns_allow_recursion
The ACL values associated with the allow-recursion configuration of the DNS server, as fol-
lows: <value1>;<value2>;... . Values may include IP and network addresses, the name of
TSIG keys and ACLs, preceded by ! if the access is denied.
512
DNS Server
dns_recursion
The recursion status of the DNS server:
dns_forwarders
The IP address(es) of the forwarder(s) associated with the DNS server. It lists the DNS
servers to which any unknown zone should be sent, as follows: <ip_address1>;<ip_ad-
dress2>;... .
dns_forward
The forwarding mode of the DNS server. No value indicates that the forwarding is disabled:
snmp_id
Internal use. Not documented.
ldap_user
For Microsoft Windows servers, the login of the user communicating with the DNS server.
ldap_domain
For Microsoft Windows servers, the domain of the DNS server.
vdns_public_ns_list
The list of the published name servers associated with the DNS smart architecture, as follows:
<ns1>;<ns2>;... .
tree_level
The database level of the server. 0 indicates the server is managed on its own, 1 indicates
it is managed by a smart architecture.
total_vdns_members
The total number of servers managed by the DNS smart architecture.
vdns_members_name
The list of the servers managed by the DNS smart architecture, as follows:
<dns_name>,<dns_name>,... .
vdns_arch
The type of the DNS smart architecture:
513
DNS Server
Status Description
single Single-Server
farm Farm
vdns_parent_name
The name of the DNS smart architecture managing the DNS server. # indicates that the
server is not managed by a smart architecture or is a smart architecture itself.
vdns_parent_arch
The type of the DNS smart architecture managing the DNS server. No value indicates that
the server is not managed by a smart architecture or is a smart architecture itself.
vdns_parent_id
The database identifier (ID) of the DNS smart architecture managing the DNS server. 0 indic-
ates that the server is not managed by a smart architecture or is a smart architecture itself.
dns_id
The database identifier (ID) of the DNS server, a unique numeric key value automatically
incremented when you add a DNS server.
dns_state
The status of the DNS server:
querylog_state
The DNS querylog status. 1 indicates that the DNS server querylog is enabled.
dns_synching
The synchronization status of the DNS server. 1 indicates that the server is currently being
synchronized.
dns_name
The name of the DNS server.
514
DNS Server
dns_comment
The description of the DNS server.
dns_type
The type of the DNS server:
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
ip_addr
The IP address of the DNS server, in hexadecimal format.
dns_class_name
The name of the class applied to the DNS server, it can be preceded by the class directory.
dns_version
The version details of the DNS server.
dns_key_name
The name of the DNS TSIG key associated with the DNS server.
dns_key_value
The value of the TSIG key associated with the DNS server.
dns_key_proto
The encryption protocol of the TSIG key associated with the DNS server.
dns_hybrid
Internal use. Not documented.
dns_force_hybrid
Internal use. Not documented.
dns_cloud
Internal use. Not documented.
gss_keytab_id
The database identifier (ID) of the DNS GSS-TSIG keytab.
gss_enabled
The GSS-TSIG status of the DNS server. 1 indicates that GSS-TSIG is enabled on the
server.
reverse_proxy_conf
The URL of the HTTP(S) reverse proxy server that forwards client queries to the DNS server,
if you configured one.
515
DNS Server
stat_enabled
Internal use. Not documented.
stat_period
Internal use. Not documented.
stat_niceness
Internal use. Not documented.
stat_time
Internal use. Not documented.
dnsblast_enabled
The status of the service DNS Guardian, either enabled (1) or disabled (0).
dnsblast_status
The status of the Guardian server, either OK (1), Stopped (2), Invalid Credentials (4) or
Timeout (5).
dnssec_validation
The DNSSEC resolution status of the DNS server. yes indicates it is enabled.
dnsgslb_supported
The license GSLB activation status. 1 indicates your license includes GSLB and your appliance
supports it.
dnsguardian_supported
The license Guardian activation status. 1 indicates your license includes Guardian and your
appliance supports its latest features.
dnsguardian_gui_management_supported
Internal use. Not documented.
dns_vpc_list
The list of cloud networks configured on the DNS private server, separated by a comma:
• For an Azure server, it returns the list of virtual networks.
• For an Amazon Route 53 server, it returns the list of Virtual Private Cloud (VPC).
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
516
DNS Server
dns_class_parameters
The class parameters applied to the DNS server and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dns_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dns_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
dns_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
517
DNS Server
Name
dns_server_count — Count the number of DNS servers
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
518
DNS Server
Name
dns_smart_member_add — Add a DNS server to a smart architecture
Description
This service allows to manage a DNS server from a smart architecture. A call can only add one
existing DNS server to an existing DNS smart architecture.
Once added to a smart architecture, a server configuration must be managed from the architecture.
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
vdns_id
The database identifier (ID) of the DNS smart architecture, a unique numeric key value
automatically incremented when you add a DNS smart architecture. Use the ID to specify in
which smart architecture you add the DNS server.
vdns_name
The name of the DNS smart architecture in which you add the DNS server.
dns_id
The database identifier (ID) of the DNS server, a unique numeric key value automatically
incremented when you add a DNS server. Use the ID to specify the DNS server of your
choice.
dns_name
The name of the DNS server.
hostaddr
The IP address of the DNS server.
519
DNS Server
dns_role
The role of the DNS server within the smart architecture. Note that EfficientIP, EfficientIP
package and Microsoft servers can assume any role; BIND/Unbound hybrid servers can only
be defined as master or slave; Generic servers can only be defined as master; Amazon Route
53 and Azure servers can only be defined as master or pseudo-master.
dns_role_id
The database identifier (ID) of the dns_role of the DNS server within the smart architecture.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
520
DNS Server
Name
dns_smart_member_delete — Remove a DNS server from a smart architecture
Description
This service allows to stop managing a DNS server from a smart architecture. A call can only
remove one DNS server from a DNS smart architecture.
Once removed from a smart architecture, a server configuration can be managed directly.
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
vdns_id
The database identifier (ID) of the DNS smart architecture, a unique numeric key value
automatically incremented when you add a DNS smart architecture. Use the ID to specify in
which smart architecture you add the DNS server.
vdns_name
The name of the DNS smart architecture in which you add the DNS server.
dns_id
The database identifier (ID) of the DNS server, a unique numeric key value automatically
incremented when you add a DNS server. Use the ID to specify the DNS server of your
choice.
dns_name
The name of the DNS server.
hostaddr
The IP address of the DNS server.
521
DNS Server
dns_role
The role of the DNS server within the smart architecture. Note that EfficientIP, EfficientIP
package and Microsoft servers can assume any role; BIND/Unbound hybrid servers can only
be defined as master or slave; Generic servers can only be defined as master; Amazon Route
53 and Azure servers can only be defined as master or pseudo-master.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
522
Chapter 34. DNS View
523
DNS View
Name
dns_view_add — Add/Edit a view
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the DNS server, a unique numeric key value automatically
incremented when you add a DNS server. Use the ID to specify the DNS server of your
choice.
dns_name
The name of the DNS server.
hostaddr
The IP address of the DNS server.
dns_addr
Deprecated, replaced by hostaddr.
dnsview_order
The level of the DNS view, where 0 represents the highest level in the views hierarchy. The
parameters dnsview_match_client and dnsview_match_to of each view in a server are
reviewed following this order.
524
DNS View
dnsview_name
The name of the DNS view, each DNS view must have a unique name.
dnsview_match_clients
The ACL values associated with the match clients configuration of the DNS view, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dnsview_match_to
The ACL values associated with the match destination configuration of the DNS view, as
follows: <value1>;<value2>;... . Values may include IP and network addresses, the name of
TSIG keys and ACLs, preceded by ! if the access is denied.
dnsview_allow_transfer
The ACL values associated with the allow-transfer configuration of the DNS view, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dnsview_allow_query
The ACL values associated with the allow-query configuration of the DNS view, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dnsview_allow_recursion
The ACL values associated with the allow-recursion configuration of the DNS view, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dnsview_recursion
The recursion status of the DNS view:
525
DNS View
dnsview_id
The database identifier (ID) of the DNS view, a unique numeric key value automatically incre-
mented when you add a DNS view. Use the ID to specify which DNS view to edit.
dnsview_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
dnsview_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
526
DNS View
dnsview_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
527
DNS View
param_value
The value of the DNS option set on the view.
ret_oid
The database identifier (ID) of the object you added or edited.
528
DNS View
Name
dns_view_list — List the views
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dnsview_order
The level of the DNS view, where 0 represents the highest level in the views hierarchy. The
parameters dnsview_match_client and dnsview_match_to of each view in a server are
reviewed following this order.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
529
DNS View
dnsview_recursion
The recursion status of the DNS view:
dnsview_allow_recursion
The ACL values associated with the allow-recursion configuration of the DNS view, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dnsview_allow_query
The ACL values associated with the allow-query configuration of the DNS view, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dnsview_allow_transfer
The ACL values associated with the allow-transfer configuration of the DNS view, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dnsview_key_name
The name of the DNS TSIG key associated with the DNS view.
dns_id
The database identifier (ID) of the DNS server the object belongs to.
dns_type
The type of the DNS server the object belongs to.
dns_cloud
Internal use. Not documented.
dns_name
The name of the DNS server the object belongs to.
vdns_parent_id
The database identifier (ID) of the DNS smart architecture managing the DNS server the
object belongs to. 0 indicates that the server the object belongs to is not managed by a smart
architecture or is a smart architecture itself.
dnsview_name
The name of the DNS view.
530
DNS View
dnsview_match_clients
The ACL values associated with the match clients configuration of the DNS view, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dnsview_match_to
The ACL values associated with the match destination configuration of the DNS view, as
follows: <value1>;<value2>;... . Values may include IP and network addresses, the name of
TSIG keys and ACLs, preceded by ! if the access is denied.
dnsview_id
The database identifier (ID) of the DNS view.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
dnsview_class_name
The name of the class applied to the DNS view, it can be preceded by the class directory.
dns_class_name
The name of the class applied to the DNS server the object belongs to, it can be preceded
by the class directory.
dns_comment
The description of the DNS server the object belongs to.
gss_keytab_id
The database identifier (ID) of the DNS GSS-TSIG keytab.
dns_version
The version details of the DNS server the object belongs to.
vdns_parent_name
The name of the DNS smart architecture managing the DNS server the object belongs to. #
indicates that the server the object belongs to is not managed by a smart architecture or is
a smart architecture itself.
ip_addr
The IP address of the DNS server the object belongs to, in hexadecimal format.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
531
DNS View
dnsview_class_parameters
The class parameters applied to the DNS view and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dnsview_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dnsview_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dnsview_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
dns_class_parameters
The class parameters applied to the DNS server the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
dns_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dns_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
532
DNS View
Name
dns_view_info — Display the properties of a view
Description
This service allows to display the properties of an object.
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
dnsview_id
The database identifier (ID) of the DNS view. Use the ID to specify the DNS view of your
choice.
Output Parameters
dnsview_order
The level of the DNS view, where 0 represents the highest level in the views hierarchy. The
parameters dnsview_match_client and dnsview_match_to of each view in a server are
reviewed following this order.
dnsview_recursion
The recursion status of the DNS view:
dnsview_allow_recursion
The ACL values associated with the allow-recursion configuration of the DNS view, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dnsview_allow_query
The ACL values associated with the allow-query configuration of the DNS view, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dnsview_allow_transfer
The ACL values associated with the allow-transfer configuration of the DNS view, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dnsview_key_name
The name of the DNS TSIG key associated with the DNS view.
533
DNS View
dns_id
The database identifier (ID) of the DNS server the object belongs to.
dns_type
The type of the DNS server the object belongs to.
dns_cloud
Internal use. Not documented.
dns_name
The name of the DNS server the object belongs to.
vdns_parent_id
The database identifier (ID) of the DNS smart architecture managing the DNS server the
object belongs to. 0 indicates that the server the object belongs to is not managed by a smart
architecture or is a smart architecture itself.
dnsview_name
The name of the DNS view.
dnsview_match_clients
The ACL values associated with the match clients configuration of the DNS view, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dnsview_match_to
The ACL values associated with the match destination configuration of the DNS view, as
follows: <value1>;<value2>;... . Values may include IP and network addresses, the name of
TSIG keys and ACLs, preceded by ! if the access is denied.
dnsview_id
The database identifier (ID) of the DNS view.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
dnsview_class_name
The name of the class applied to the DNS view, it can be preceded by the class directory.
dns_class_name
The name of the class applied to the DNS server the object belongs to, it can be preceded
by the class directory.
dns_comment
The description of the DNS server the object belongs to.
gss_keytab_id
The database identifier (ID) of the DNS GSS-TSIG keytab.
534
DNS View
dns_version
The version details of the DNS server the object belongs to.
vdns_parent_name
The name of the DNS smart architecture managing the DNS server the object belongs to. #
indicates that the server the object belongs to is not managed by a smart architecture or is
a smart architecture itself.
ip_addr
The IP address of the DNS server the object belongs to, in hexadecimal format.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
dnsview_class_parameters
The class parameters applied to the DNS view and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dnsview_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dnsview_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dnsview_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
dns_class_parameters
The class parameters applied to the DNS server the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
dns_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dns_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
535
DNS View
Name
dns_view_count — Count the number of views
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
536
DNS View
Name
group_dnsview_add — Add a view to a group resources
Description
This service allows to add an object to the resources of a group. You can only add one object to
a group resource per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
dns_id
The database identifier (ID) of the DNS server, a unique numeric key value automatically
incremented when you add a DNS server. Use the ID to specify the DNS server of your
choice.
dns_name
The name of the DNS server.
hostaddr
The IP address of the DNS server.
537
DNS View
dnsview_id
The database identifier (ID) of the DNS view. Use the ID to specify the DNS view of your
choice.
dnsview_name
The name of the DNS view.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the DNS option set on the view.
538
DNS View
Name
group_dnsview_delete — Remove a view from a group resources
Description
This service allows to remove an object from a group resources.You can only remove one object
from the resources of a group per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
dns_id
The database identifier (ID) of the DNS server, a unique numeric key value automatically
incremented when you add a DNS server. Use the ID to specify the DNS server of your
choice.
dns_name
The name of the DNS server.
hostaddr
The IP address of the DNS server.
539
DNS View
dnsview_id
The database identifier (ID) of the DNS view. Use the ID to specify the DNS view of your
choice.
dnsview_name
The name of the DNS view.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the DNS option set on the view.
540
DNS View
Name
dns_view_delete — Delete a view
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the DNS server, a unique numeric key value automatically
incremented when you add a DNS server. Use the ID to specify the DNS server of your
choice.
dns_name
The name of the DNS server.
hostaddr
The IP address of the DNS server.
dnsview_id
The database identifier (ID) of the DNS view. Use the ID to specify the DNS view of your
choice.
dnsview_name
The name of the DNS view.
541
DNS View
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the DNS option set on the view.
ret_oid
The database identifier (ID) of the object you added or edited.
542
DNS View
Name
dns_view_param_add — Add/Edit a DNS option on a view
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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
dnsview_id
The database identifier (ID) of the DNS view. Use the ID to specify the DNS view of your
choice.
param_key
The name of the DNS option you want to add, edit or remove from the view. You can only
set one option at a time.
• To add or edit an option: specify its name in the parameter param_key, as follows
param_key=<option-name>, and then specify its value in the parameter param_value.
• To remove an option, specify its name in the parameter param_key and leave the parameter
param_value empty.
To set several options, specify as many parameters (param_key and param_value) as you
need.
is_array
A way to determine is the DNS view option is an array (1).
param_value
The value of the DNS option specified in the input param_key.
• To add or edit an option value, specify its name in the parameter param_key and set its
value as follows: param_value=<option-value> .
543
DNS View
• To remove an option value, specify its name in the parameter param_key and leave
param_value empty: param_value= .
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the DNS option set on the view.
ret_oid
The database identifier (ID) of the object you added or edited.
544
DNS View
Name
dns_view_param_list — List the DNS options of a view
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
oid
The database identifier (ID) of the DNS option set on the view.
dnsview_id
The database identifier (ID) of the DNS view.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
545
DNS View
dns_name
The name of the DNS server the object belongs to.
dnsview_name
The name of the DNS view.
dns_id
The database identifier (ID) of the DNS server the object belongs to.
param_key
The name of the DNS option set on the view.
param_value
The value of the DNS option set on the view.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
read_only
Internal use. Not documented.
546
DNS View
Name
dns_view_param_info — Display the properties of a DNS option set on a view
Description
This service allows to display the properties of an object.
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
dnsview_id
The database identifier (ID) of the DNS view. Use the ID to specify the DNS view of your
choice.
Output Parameters
oid
The database identifier (ID) of the DNS option set on the view.
dnsview_id
The database identifier (ID) of the DNS view.
dns_name
The name of the DNS server the object belongs to.
dnsview_name
The name of the DNS view.
dns_id
The database identifier (ID) of the DNS server the object belongs to.
param_key
The name of the DNS option set on the view.
param_value
The value of the DNS option set on the view.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
547
DNS View
read_only
Internal use. Not documented.
548
DNS View
Name
dns_view_param_count — Count the number of DNS options of a view
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
549
DNS View
Name
dns_view_param_delete — Delete a DNS option from a view
Description
This service allows to delete an object. A call can only delete one object.
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
dnsview_id
The database identifier (ID) of the DNS view. Use the ID to specify the DNS view of your
choice.
param_key
The name of the DNS option that you want to remove from the view: param_key=<option-
name>.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the DNS option set on the view.
550
DNS View
ret_oid
The database identifier (ID) of the object you added or edited.
551
Chapter 35. DNS Zone
552
DNS Zone
Name
dns_zone_add — Add/Edit a zone
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the DNS server, a unique numeric key value automatically
incremented when you add a DNS server. Use the ID to specify the DNS server of your
choice.
dns_name
The name of the DNS server.
dnszone_site_id
The database identifier (ID) of the space associated with the DNS zone the record belongs
to.
dnszone_site_name
The name of the space associated with the DNS zone the record belongs to.
dnszone_space_name
Deprecated, replaced by dnszone_site_name.
553
DNS Zone
dnsview_id
The database identifier (ID) of the DNS view the object belongs to.
dnszone_id
The database identifier (ID) of the DNS zone, a unique numeric key value automatically in-
cremented when you add a DNS zone. Use the ID to specify which DNS zone to edit.
dnsview_name
The name of the DNS view the object belongs to.
hostaddr
The IP address of the DNS server.
zone
Deprecated, replaced by dnszone_name.
dnszone_name
The name of the DNS zone, each DNS zone must have a unique name. For hint zones
(dnszone_type: hint), you must specify . (dot) as dnszone_name.
zone_type
Deprecated, replaced by dnszone_type.
dnszone_type
The type of the DNS zone, either master, slave, forward, stub, hint or delegation-only.
Type Fixed value: master || slave || hint || stub || for- Maximum length N/A
ward || delegation-only
Default value N/A Can be edited Yes
master_addr
Deprecated, replaced by dnszone_masters.
dnszone_masters
For slave DNS zones, the IP address of the DNS server and, if relevant, the name of the
DNS view that contain the master DNS zone, as follows: <ip_addr>; or <ip_addr> key
<dnsview_name>; .
554
DNS Zone
forwarders_addr
Deprecated, replaced by dnszone_forwarders.
dnszone_forwarders
The IP address(es) of the forwarder(s) associated with the DNS zone. It lists the DNS servers
to which any unknown query on this zone should be sent, as follows: <ip_address1>;<ip_ad-
dress2>;... .
forward
Deprecated, replaced by dnszone_forward.
dnszone_forward
The forwarding mode of the DNS zone.
Type Fixed value: none || first || only || default Maximum length N/A
Default value Can be edited Yes
allow_transfer
Deprecated, replaced by dnszone_allow_transfer.
dnszone_allow_transfer
The ACL values associated with the allow-transfer configuration of the DNS zone, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
allow_query
Deprecated, replaced by dnszone_allow_query.
dnszone_allow_query
The ACL values associated with the allow-query configuration of the DNS zone, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
555
DNS Zone
allow_update
Deprecated, replaced by dnszone_allow_update.
dnszone_allow_update
The ACL values associated with the allow-update configuration of the DNS zone, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
also_notify
Deprecated, replaced by dnszone_also_notify.
dnszone_also_notify
The IP address and port of the DNS server managing the smart architecture the DNS zone
belongs to. If the parameter dnszone_notify is set to yes or explicit, the server specified is
instantly notified of any slave zones updates.
notify
Deprecated, replaced by dnszone_notify.
dnszone_notify
The notify status of the DNS zone.
The notify message is not sent to the server itself or to the primary server defined in the SOA
record of the zone.
dnszone_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
dnszone_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
556
DNS Zone
dnszone_ad_integrated
The AD integrated status of the DNS zone. Set it to 1 to indicate that the DNS zone belongs
to an Active Directory integrated Microsoft Windows DNS server.
dnszone_is_rpz
The RPZ status of the DNS zone. Set it to 1 to indicate that the DNS zone is a Response
Policy Zone.
dnszone_response_policy
The response policy of the DNS zone.
You can only add RPZ zones on EfficientIP or BIND DNS servers.
dnszone_rpz_log
The RPZ logging status, if dnszone_is_rpz is set to 1 or yes. It allows to log all the operations
triggered by the RPZ rules of the zone.
row_enabled
The object activation status.
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
• If set to 2, the object is unmanaged, disabled or both depending on the context.
557
DNS Zone
use_update_policy
The update policy status of the DNS zone. Set it to 1 to indicate that the DNS zone uses a
specific GSS-TSIG/update-policy. You can only configure the zone update policy if the
parameter gss_enabled is set to 1.
dnszone_order
The level of the DNS RPZ zone, where 0 represents the highest level in the views hierarchy.
The RPZ rules of each zone are reviewed following this order. For non-RPZ zones, that have
their parameter dnszone_is_rpz set to 0, you do not need to set this parameter.
ddns_scavenging
The DDNS scavenging status of the zone. Set it to 1 to enable the scavenging and automat-
ically delete the stale resource records dynamically added via GSS-TSIG. DDNS scavenging
is only effective if the parameters use_update_policy and gss_enabled are set to 1, and
the rule 416 is enabled in the GUI.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
dnszone_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
558
DNS Zone
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the DNS option set on the zone.
ret_oid
The database identifier (ID) of the object you added or edited.
559
DNS Zone
Example
In the example below, we call the service dns_zone_add with Ruby (NET::Http) to add a Master
zone named mydomain.tld in a DNS server that does not contain views.
url = URI("https://solid.intranet/rest/dns_zone_add?"+
"dnszone_name=mydomain.tld&dnszone_type=master&dns_id=19")
request = Net::HTTP::Post.new(url)
request["x-ipm-username"] = 'aXBtYWRtaW4='
request["x-ipm-password"] = 'YWRtaW4='
request["cache-control"] = 'no-cache'
response = http.request(request)
puts response.read_body
560
DNS Zone
Name
dns_zone_list — List the DNS options of a zone
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
num_keys
The number of keys associated with the zone. This number of keys includes all ZSK and
KSK.
ipmdns_protocol
Internal use. Not documented.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
561
DNS Zone
ipmdns_type
The engine type of the DNS server the DNS zone belongs to: named (BIND engine), nsd
(NSD engine) or unbound (Unbound engine).
dns_force_hybrid
Internal use. Not documented.
gss_enabled
The GSS-TSIG status of the DNS server the zone belongs to. 1 indicates that GSS-TSIG is
enabled on the server.
gss_keytab_id
The database identifier (ID) of the DNS GSS-TSIG keytab.
use_update_policy
The update policy status of the DNS zone. 1 indicates that the DNS zone uses a specific
GSS-TSIG/update-policy. The parameter gss_enabled must be set to 1.
dnszone_synching
The synchronization status of the DNS zone. 1 indicates that the zone is currently being
synchronized.
dns_state
The status of the DNS server the object belongs to.
vdns_parent_id
The database identifier (ID) of the DNS smart architecture managing the DNS server the
object belongs to. 0 indicates that the server the object belongs to is not managed by a smart
architecture or is a smart architecture itself.
562
DNS Zone
dnszone_allow_update
The ACL values associated with the allow-update configuration of the DNS zone, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dnszone_allow_query
The ACL values associated with the allow-query configuration of the DNS zone, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dnszone_allow_transfer
The ACL values associated with the allow-transfer configuration of the DNS zone, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dnszone_forwarders
The IP address(es) of the forwarder(s) associated with the DNS zone. It lists the DNS servers
to which any unknown query on this zone should be sent, as follows: <ip_address1>;<ip_ad-
dress2>;... .
dnszone_forward
The forwarding mode of the DNS zone.
The notify message is not sent to the server itself or to the primary server defined in the SOA
record of the zone.
dnszone_also_notify
The IP address and port of the DNS server managing the smart architecture the DNS zone
belongs to. If the parameter dnszone_notify is set to yes or explicit, the server specified is
instantly notified of any slave zones updates.
dnszone_name_utf
The name of the DNS zone in UTF-8 format.
dnszone_id
The database identifier (ID) of the DNS zone.
563
DNS Zone
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
dns_type
The type of the DNS server the object belongs to.
dns_cloud
Internal use. Not documented.
dnszone_ad_integrated
The AD integrated status of the DNS zone. 1 indicates that the DNS zone belongs to an
Active Directory integrated Microsoft Windows DNS server.
dnszone_sort_zone
Internal use. Not documented.
dns_id
The database identifier (ID) of the DNS server the object belongs to.
dns_name
The name of the DNS server the object belongs to.
dnszone_name
The name of the DNS zone.
dnszone_rev_sort_zone
Internal use. Not documented.
dnszone_is_rpz
The RPZ status of the DNS zone. 1 indicates that the DNS zone is a Response Policy Zone.
dnszone_rpz_log
The logging status of an RPZ zone.
dnszone_type
The type of the DNS zone, either master, slave, forward, stub, hint or delegation-only.
dnszone_masters
For slave DNS zones, the IP address of the DNS server and, if relevant, the name of the
DNS view that contain the master DNS zone, as follows: <ip_addr>; or <ip_addr> key
<dnsview_name>; .
dnszone_xfer_done
Internal use. Not documented.
564
DNS Zone
dnszone_is_reverse
A way to determine if the DNS zone provides reverse resolution (1) or direct/name resolution
(0),
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
dnszone_order
The level of the DNS zone, where 0 represents the highest level in the zones hierarchy. The
RPZ rules parameters of each zone are reviewed following this order. The zones with the
parameter dnszone_is_rpz set to 0 will always return 0 for the parameter dnszone_order.
dnszone_site_name
The name of the space associated with the DNS zone.
dnszone_site_id
The database identifier (ID) of the space associated with the DNS zone.
dnszone_class_name
The name of the class applied to the DNS zone, it can be preceded by the class directory.
ddns_scavenging
The DDNS scavenging status of the zone, either enabled (1) or disabled (0). DDNS scavenging
is only effective if the parameters use_update_policy and gss_enabled are set to 1, and
the rule 416 is enabled in the GUI.
dnsview_name
The name of the DNS view the object belongs to.
dnsview_id
The database identifier (ID) of the DNS view the object belongs to.
dnsview_class_name
The name of the class applied to the DNS view the object belongs to, it can be preceded by
the class directory.
dns_class_name
The name of the class applied to the DNS server the object belongs to, it can be preceded
by the class directory.
dns_comment
The description of the DNS server the object belongs to.
dns_version
The version details of the DNS server the object belongs to.
vdns_parent_name
The name of the DNS smart architecture managing the DNS server the object belongs to. #
indicates that the server the object belongs to is not managed by a smart architecture or is
a smart architecture itself.
ds
The DNSSEC delegation signer (DS) fingerprint key associated with the DNS zone, if it is
signed.
ip_addr
The IP address of the DNS server the object belongs to, in hexadecimal format.
565
DNS Zone
dns_vpc_list
The list of cloud networks configured on the DNS private server the zone belongs to, separated
by a comma:
• For an Azure server, it returns the list of virtual networks.
• For an Amazon Route 53 server, it returns the list of Virtual Private Cloud (VPC).
aws_delegation_set
The reusable delegation set ID configured on the Amazon Route 53 public server the zone
belongs to.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
dnszone_class_parameters
The class parameters applied to the DNS zone and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dnszone_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dnszone_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dnszone_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
dnsview_class_parameters
The class parameters applied to the DNS view the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
dnsview_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dnsview_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dns_class_parameters
The class parameters applied to the DNS server the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
566
DNS Zone
dns_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dns_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
Example
In the example below, we call the service dns_zone_list with Python (Requests) using the clause
WHERE to retrieve the list of non-RPZ zones that contain .com in their name and belong to a
DNS server currently operational and the clause ORDERBY to sort them by zone name.
url = "https://solid.intranet/rest/dns_zone_list"
headers = {
'x-ipm-username': "aXBtYWRtaW4=",
'x-ipm-password': "YWRtaW4=",
'cache-control': "no-cache"
}
print(response.text)
567
DNS Zone
Name
dns_zone_info — Display the properties of a zone
Description
This service allows to display the properties of an object.
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 database identifier (ID) of the DNS zone, a unique numeric key value automatically in-
cremented when you add a DNS zone. Use the ID to specify the DNS zone of your choice.
Output Parameters
num_keys
The number of keys associated with the zone. This number of keys includes all ZSK and
KSK.
ipmdns_protocol
Internal use. Not documented.
ipmdns_type
The engine type of the DNS server the DNS zone belongs to: named (BIND engine), nsd
(NSD engine) or unbound (Unbound engine).
dns_force_hybrid
Internal use. Not documented.
gss_enabled
The GSS-TSIG status of the DNS server the zone belongs to. 1 indicates that GSS-TSIG is
enabled on the server.
gss_keytab_id
The database identifier (ID) of the DNS GSS-TSIG keytab.
use_update_policy
The update policy status of the DNS zone. 1 indicates that the DNS zone uses a specific
GSS-TSIG/update-policy. The parameter gss_enabled must be set to 1.
dnszone_synching
The synchronization status of the DNS zone. 1 indicates that the zone is currently being
synchronized.
dns_state
The status of the DNS server the object belongs to.
568
DNS Zone
vdns_parent_id
The database identifier (ID) of the DNS smart architecture managing the DNS server the
object belongs to. 0 indicates that the server the object belongs to is not managed by a smart
architecture or is a smart architecture itself.
dnszone_allow_update
The ACL values associated with the allow-update configuration of the DNS zone, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dnszone_allow_query
The ACL values associated with the allow-query configuration of the DNS zone, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dnszone_allow_transfer
The ACL values associated with the allow-transfer configuration of the DNS zone, as follows:
<value1>;<value2>;... . Values may include IP and network addresses, the name of TSIG
keys and ACLs, preceded by ! if the access is denied.
dnszone_forwarders
The IP address(es) of the forwarder(s) associated with the DNS zone. It lists the DNS servers
to which any unknown query on this zone should be sent, as follows: <ip_address1>;<ip_ad-
dress2>;... .
dnszone_forward
The forwarding mode of the DNS zone.
569
DNS Zone
Status Description
only The zone only forwards the queries to the forwarder(s). Required by some reverse
forward zones (e.g., in the case of private addresses).
The notify message is not sent to the server itself or to the primary server defined in the SOA
record of the zone.
dnszone_also_notify
The IP address and port of the DNS server managing the smart architecture the DNS zone
belongs to. If the parameter dnszone_notify is set to yes or explicit, the server specified is
instantly notified of any slave zones updates.
dnszone_name_utf
The name of the DNS zone in UTF-8 format.
dnszone_id
The database identifier (ID) of the DNS zone.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
dns_type
The type of the DNS server the object belongs to.
dns_cloud
Internal use. Not documented.
570
DNS Zone
dnszone_ad_integrated
The AD integrated status of the DNS zone. 1 indicates that the DNS zone belongs to an
Active Directory integrated Microsoft Windows DNS server.
dnszone_sort_zone
Internal use. Not documented.
dns_id
The database identifier (ID) of the DNS server the object belongs to.
dns_name
The name of the DNS server the object belongs to.
dnszone_name
The name of the DNS zone.
dnszone_rev_sort_zone
Internal use. Not documented.
dnszone_is_rpz
The RPZ status of the DNS zone. 1 indicates that the DNS zone is a Response Policy Zone.
dnszone_rpz_log
The logging status of an RPZ zone.
dnszone_type
The type of the DNS zone, either master, slave, forward, stub, hint or delegation-only.
dnszone_masters
For slave DNS zones, the IP address of the DNS server and, if relevant, the name of the
DNS view that contain the master DNS zone, as follows: <ip_addr>; or <ip_addr> key
<dnsview_name>; .
dnszone_xfer_done
Internal use. Not documented.
dnszone_is_reverse
A way to determine if the DNS zone provides reverse resolution (1) or direct/name resolution
(0),
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
dnszone_order
The level of the DNS zone, where 0 represents the highest level in the zones hierarchy. The
RPZ rules parameters of each zone are reviewed following this order. The zones with the
parameter dnszone_is_rpz set to 0 will always return 0 for the parameter dnszone_order.
dnszone_site_name
The name of the space associated with the DNS zone.
dnszone_site_id
The database identifier (ID) of the space associated with the DNS zone.
dnszone_class_name
The name of the class applied to the DNS zone, it can be preceded by the class directory.
ddns_scavenging
The DDNS scavenging status of the zone, either enabled (1) or disabled (0). DDNS scavenging
is only effective if the parameters use_update_policy and gss_enabled are set to 1, and
the rule 416 is enabled in the GUI.
571
DNS Zone
dnsview_name
The name of the DNS view the object belongs to.
dnsview_id
The database identifier (ID) of the DNS view the object belongs to.
dnsview_class_name
The name of the class applied to the DNS view the object belongs to, it can be preceded by
the class directory.
dns_class_name
The name of the class applied to the DNS server the object belongs to, it can be preceded
by the class directory.
dns_comment
The description of the DNS server the object belongs to.
dns_version
The version details of the DNS server the object belongs to.
vdns_parent_name
The name of the DNS smart architecture managing the DNS server the object belongs to. #
indicates that the server the object belongs to is not managed by a smart architecture or is
a smart architecture itself.
ds
The DNSSEC delegation signer (DS) fingerprint key associated with the DNS zone, if it is
signed.
ip_addr
The IP address of the DNS server the object belongs to, in hexadecimal format.
dns_vpc_list
The list of cloud networks configured on the DNS private server the zone belongs to, separated
by a comma:
• For an Azure server, it returns the list of virtual networks.
• For an Amazon Route 53 server, it returns the list of Virtual Private Cloud (VPC).
aws_delegation_set
The reusable delegation set ID configured on the Amazon Route 53 public server the zone
belongs to.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
572
DNS Zone
dnszone_class_parameters
The class parameters applied to the DNS zone and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
dnszone_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dnszone_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dnszone_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
dnsview_class_parameters
The class parameters applied to the DNS view the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
dnsview_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dnsview_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dns_class_parameters
The class parameters applied to the DNS server the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
dns_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dns_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-para-
meter2>=<inheritance>&... .
573
DNS Zone
Name
dns_zone_count — Count the number of zones
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
574
DNS Zone
Name
dns_zone_groupby — Group zones by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
575
DNS Zone
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
576
DNS Zone
Name
dns_zone_groupby_count — Count the number of zones grouped by parameter(s)
Description
This service allows to display the total number of results of the service *_groupby.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
577
DNS Zone
Name
group_dnszone_add — Add a zone to a group resources
Description
This service allows to add an object to the resources of a group. You can only add one object to
a group resource per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
dns_id
The database identifier (ID) of the DNS server, a unique numeric key value automatically
incremented when you add a DNS server. Use the ID to specify the DNS server of your
choice.
dns_name
The name of the DNS server.
hostaddr
The IP address of the DNS server.
578
DNS Zone
dnsview_id
The database identifier (ID) of the DNS view the object belongs to.
dnsview_name
The name of the DNS view the object belongs to.
dnszone_id
The database identifier (ID) of the DNS zone, a unique numeric key value automatically in-
cremented when you add a DNS zone. Use the ID to specify the DNS zone of your choice.
dnszone_name
The name of the DNS zone the object belongs to.
zone
Deprecated, replaced by dnszone_name.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
579
DNS Zone
580
DNS Zone
Name
group_dnszone_delete — Remove a zone from a group resources
Description
This service allows to remove an object from a group resources.You can only remove one object
from the resources of a group per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
dns_id
The database identifier (ID) of the DNS server, a unique numeric key value automatically
incremented when you add a DNS server. Use the ID to specify the DNS server of your
choice.
dns_name
The name of the DNS server.
hostaddr
The IP address of the DNS server.
581
DNS Zone
dnsview_id
The database identifier (ID) of the DNS view the object belongs to.
dnsview_name
The name of the DNS view the object belongs to.
dnszone_id
The database identifier (ID) of the DNS zone, a unique numeric key value automatically in-
cremented when you add a DNS zone. Use the ID to specify the DNS zone of your choice.
dnszone_name
The name of the DNS zone the object belongs to.
zone
Deprecated, replaced by dnszone_name.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
582
DNS Zone
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the DNS option set on the zone.
583
DNS Zone
Name
dns_zone_delete — Delete a zone
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the DNS server, a unique numeric key value automatically
incremented when you add a DNS server. Use the ID to specify the DNS server of your
choice.
dns_name
The name of the DNS server.
hostaddr
The IP address of the DNS server.
dnsview_id
The database identifier (ID) of the DNS view the object belongs to.
dnsview_name
The name of the DNS view the object belongs to.
584
DNS Zone
dnszone_id
The database identifier (ID) of the DNS zone, a unique numeric key value automatically in-
cremented when you add a DNS zone. Use the ID to specify the DNS zone of your choice.
dnszone_name
The name of the DNS zone the object belongs to.
zone
Deprecated, replaced by dnszone_name.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the DNS option set on the zone.
ret_oid
The database identifier (ID) of the object you added or edited.
585
DNS Zone
Name
dns_zone_param_add — Add/Edit a DNS option on a zone
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the DNS zone, a unique numeric key value automatically in-
cremented when you add a DNS zone. Use the ID to specify the DNS zone of your choice.
param_key
The name of the DNS option you want to add, edit or remove from the zone. You can only
set one option at a time.
• To add or edit an option: specify its name in the parameter param_key, as follows
param_key=<option-name>, and then specify its value in the parameter param_value.
• To remove an option, specify its name in the parameter param_key and leave the parameter
param_value empty.
To set several options, specify as many parameters (param_key and param_value) as you
need.
is_array
A way to determine is the DNS zone option is an array (1).
param_value
The value of the DNS option specified in the input param_key.
• To add or edit an option value, specify its name in the parameter param_key and set its
value as follows: param_value=<option-value> .
586
DNS Zone
• To remove an option value, specify its name in the parameter param_key and leave
param_value empty: param_value= .
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the DNS option set on the zone.
ret_oid
The database identifier (ID) of the object you added or edited.
587
DNS Zone
Name
dns_zone_param_list — List the DNS options of a zone
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
oid
The database identifier (ID) of the DNS option set on the zone.
dnszone_id
The database identifier (ID) of the DNS zone.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
588
DNS Zone
dns_name
The name of the DNS server the object belongs to.
dnszone_name
The name of the DNS zone.
dns_id
The database identifier (ID) of the DNS server the object belongs to.
param_key
The name of the DNS option set on the zone.
param_value
The value of the DNS option set on the zone.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
read_only
Internal use. Not documented.
589
DNS Zone
Name
dns_zone_param_info — Display the properties of a DNS option set on a zone
Description
This service allows to display the properties of an object.
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 database identifier (ID) of the DNS zone, a unique numeric key value automatically in-
cremented when you add a DNS zone. Use the ID to specify the DNS zone of your choice.
Output Parameters
oid
The database identifier (ID) of the DNS option set on the zone.
dnszone_id
The database identifier (ID) of the DNS zone.
dns_name
The name of the DNS server the object belongs to.
dnszone_name
The name of the DNS zone.
dns_id
The database identifier (ID) of the DNS server the object belongs to.
param_key
The name of the DNS option set on the zone.
param_value
The value of the DNS option set on the zone.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
590
DNS Zone
read_only
Internal use. Not documented.
591
DNS Zone
Name
dns_zone_param_count — Count the number of DNS options of a zone
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
592
DNS Zone
Name
dns_zone_param_delete — Delete a DNS option from a zone
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the DNS zone, a unique numeric key value automatically in-
cremented when you add a DNS zone. Use the ID to specify the DNS zone of your choice.
dns_id
The database identifier (ID) of the DNS server, a unique numeric key value automatically
incremented when you add a DNS server. Use the ID to specify the DNS server of your
choice.
param_key
The name of the DNS option that you want to remove from the zone: param_key=<option-
name>.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
593
DNS Zone
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the DNS option set on the zone.
ret_oid
The database identifier (ID) of the object you added or edited.
594
Chapter 36. DNS Resource Record
595
DNS Resource Record
Name
dns_rr_add — Add/Edit a resource record
Description
This service allows to add a resource record or edit an existing one.
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.
596
DNS Resource Record
597
DNS Resource Record
Input Parameters
rr_id
The database identifier (ID) of the DNS resource record, a unique numeric key value auto-
matically incremented when you add a DNS RR. Use the ID to specify which record to edit.
dns_id
The database identifier (ID) of the DNS server, a unique numeric key value automatically
incremented when you add a DNS server. Use the ID to specify the DNS server of your
choice.
hostaddr
The IP address of the DNS server.
dns_name
The name of the DNS server.
dnszone_id
The database identifier (ID) of the DNS zone, a unique numeric key value automatically in-
cremented when you add a DNS zone. Use the ID to specify the DNS zone of your choice.
zone
Deprecated, replaced by dnszone_name.
598
DNS Resource Record
dnszone_name
The name of the DNS zone the object belongs to.
dnszone_site_id
The database identifier (ID) of the space associated with the DNS zone the record belongs
to.
dnsview_id
The database identifier (ID) of the DNS view, a unique numeric key value automatically incre-
mented when you add a DNS view. Use the ID to specify the DNS view of your choice.
dnsview_name
The name of the DNS view.
rr_glue
The shortname of the DNS resource record.
serial_type
The syntax format to use for the DNS resource record serial number. By default, rfc1912 is
used (YYYYMMDDnn) but you can also specify the unix_timestamp format.
rr_name
The full name of the DNS resource record. Specify it as value, it can either follow the format
<rr-name>.<existing-zone-name>.<extension> or be . (a dot).
rr_ttl
The time to live of the DNS resource record, in seconds.
599
DNS Resource Record
rr_type
The type of the DNS resource record.
Note that the parameter is not case sensitive, you could specify A or a.
600
DNS Resource Record
rr_value1
Deprecated, replaced by value1.
value1
The first or only value required for the DNS resource record, as detailed in the service de-
scription.
rr_value2
Deprecated, replaced by value2.
value2
The second value of the DNS resource record, depending on its type, as detailed in the service
description.
rr_value3
Deprecated, replaced by value3.
value3
The third value of the DNS resource record, depending on its type, as detailed in the service
description.
rr_value4
Deprecated, replaced by value4.
value4
The fourth value of the DNS resource record, depending on its type, as detailed in the service
description.
rr_value5
Deprecated, replaced by value5.
value5
The fifth value of the DNS resource record, depending on its type, as detailed in the service
description.
601
DNS Resource Record
rr_value6
Deprecated, replaced by value6.
value6
The sixth value of the DNS resource record, depending on its type, as detailed in the service
description.
rr_value7
Deprecated, replaced by value7.
value7
The seventh value of the DNS resource record, depending on its type, as detailed in the
service description.
check_value
A way to check the values of the DNS resource record before upon addition (1) in order to
create a record with the same name but with different values.
rr_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
rr_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
602
DNS Resource Record
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
rr_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
603
DNS Resource Record
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
Example
In the example below, we call the service dns_rr_add with PHP (cURL) to add an A record in
the zone mydomain.tld.
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://solid.intranet/rest/dns_rr_add?".
"rr_name=www.mydomain.tld&rr_type=A&value1=192.168.0.153&dns_id=19",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache",
"x-ipm-password: YWRtaW4=",
"x-ipm-username: aXBtYWRtaW4="
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
604
DNS Resource Record
Name
dns_rr_list — List the resource records
Description
This service allows to list the resource records.
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.
605
DNS Resource Record
606
DNS Resource Record
Input Parameters
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
rr_all_value
The concatenated values of the DNS resource record, as follows: <value1>, <value2>,
<value3>, <value4>, <value5>, <value6>, <value7>.
dnszone_sort_zone
Internal use. Not documented.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
607
DNS Resource Record
dnszone_is_rpz
The RPZ status of the DNS zone the resource record belongs to. 1 indicates that the DNS
zone the record belongs to is a Response Policy Zone.
dnszone_type
The type of the DNS zone the object belongs to, either master, slave, forward, stub, hint or
delegation-only.
rr_full_name
The full name of the DNS resource record.
rr_full_name_utf
The name of the DNS resource record in UTF-8 format.
rr_name_ip_addr
Internal use. Not documented.
rr_name_ip4_addr
Internal use. Not documented.
rr_value_ip_addr
Internal use. Not documented.
rr_value_ip4_addr
Internal use. Not documented.
rr_glue
The shortname of the DNS resource record.
rr_type
The type of the DNS resource record.
608
DNS Resource Record
ttl
The time to live of the DNS resource record, in seconds.
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
rr_class_name
The name of the class applied to the resource record, it can be preceded by the class directory.
value1
The first or only value required for the DNS resource record, as detailed in the service de-
scription.
value2
The second value of the DNS resource record, depending on its type, as detailed in the service
description.
value3
The third value of the DNS resource record, depending on its type, as detailed in the service
description.
value4
The fourth value of the DNS resource record, depending on its type, as detailed in the service
description.
value5
The fifth value of the DNS resource record, depending on its type, as detailed in the service
description.
value6
The sixth value of the DNS resource record, depending on its type, as detailed in the service
description.
value7
The seventh value of the DNS resource record, depending on its type, as detailed in the
service description.
dnszone_id
The database identifier (ID) of the DNS zone the object belongs to.
rr_id
The database identifier (ID) of the DNS resource record.
dns_id
The database identifier (ID) of the DNS server the object belongs to.
dnszone_name_utf
The name of the DNS zone the resource record belongs to, in UTF-8 format.
609
DNS Resource Record
dnszone_name
The name of the DNS zone the object belongs to.
dns_name
The name of the DNS server the object belongs to.
dns_type
The type of the DNS server the object belongs to.
dns_cloud
Internal use. Not documented.
vdns_parent_id
The database identifier (ID) of the DNS smart architecture managing the DNS server the
object belongs to. 0 indicates that the server the object belongs to is not managed by a smart
architecture or is a smart architecture itself.
dnsview_name
The name of the DNS view the object belongs to.
dnsview_class_name
The name of the class applied to the DNS view the object belongs to, it can be preceded by
the class directory.
dnsview_id
The database identifier (ID) of the DNS view the object belongs to.
dnszone_site_name
The name of the space associated with the DNS zone the RR belongs to.
dnszone_is_reverse
A way to determine if the DNS zone the resource record belongs to provides reverse resolution
(1) or direct/name resolution (0),
dnszone_masters
For resource records in slave DNS zones, the IP address of the DNS server and, if relevant,
the name of the DNS view that contain the master DNS zone, as follows: <ip_addr>; or
<ip_addr> key <dnsview_name>; .
vdns_parent_name
The name of the DNS smart architecture managing the DNS server the object belongs to. #
indicates that the server the object belongs to is not managed by a smart architecture or is
a smart architecture itself.
dnszone_forwarders
The IP address(es) of the forwarder(s) associated with the DNS zone the resource record
belongs to. It lists the DNS servers to which any unknown query on this zone should be sent,
as follows: <ip_address1>;<ip_address2>;... .
610
DNS Resource Record
dns_class_name
The name of the class applied to the DNS server the object belongs to, it can be preceded
by the class directory.
dnszone_class_name
The name of the class applied to the DNS zone the object belongs to, it can be preceded by
the class directory.
dns_version
The version details of the DNS server the object belongs to.
dns_comment
The description of the DNS server the object belongs to.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
rr_auth_gsstsig
A way to determine if the record was authenticated via dynamic update (GSS-TSIG) 1, or
not 0.
rr_last_update_time
Internal use. Not documented.
rr_last_update_days
The number of days since the record was last updated.
dnsview_class_parameters
The class parameters applied to the DNS view the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
dnsview_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dnsview_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
611
DNS Resource Record
dnsview_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
rr_class_parameters
The class parameters applied to the resource record, encoded in URL format: <class-para-
meter1>=<value1>&<class-parameter2>=<value2>&... .
rr_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
rr_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-paramet-
er2>=<inheritance>&... .
rr_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
Example
In the example below, we call the service dns_rr_list with Python (Requests) and the clause
WHERE to list only NS records.
url = "https://solid.intranet/rest/dns_rr_list"
querystring = {"WHERE/rr_type":"NS"}
headers = {
'x-ipm-username': "aXBtYWRtaW4=",
'x-ipm-password': "YWRtaW4=",
'cache-control': "no-cache"
}
print(response.text)
612
DNS Resource Record
Name
dns_rr_info — Display the properties of a resource record
Description
This service allows to display the properties of a resource record.
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.
613
DNS Resource Record
614
DNS Resource Record
Input Parameters
rr_id
The database identifier (ID) of the DNS resource record, a unique numeric key value auto-
matically incremented when you add a DNS RR. Use the ID to specify the DNS RR of your
choice.
Output Parameters
rr_all_value
The concatenated values of the DNS resource record, as follows: <value1>, <value2>,
<value3>, <value4>, <value5>, <value6>, <value7>.
dnszone_sort_zone
Internal use. Not documented.
dnszone_is_rpz
The RPZ status of the DNS zone the resource record belongs to. 1 indicates that the DNS
zone the record belongs to is a Response Policy Zone.
dnszone_type
The type of the DNS zone the object belongs to, either master, slave, forward, stub, hint or
delegation-only.
rr_full_name
The full name of the DNS resource record.
rr_full_name_utf
The name of the DNS resource record in UTF-8 format.
rr_name_ip_addr
Internal use. Not documented.
rr_name_ip4_addr
Internal use. Not documented.
rr_value_ip_addr
Internal use. Not documented.
rr_value_ip4_addr
Internal use. Not documented.
rr_glue
The shortname of the DNS resource record.
615
DNS Resource Record
rr_type
The type of the DNS resource record.
ttl
The time to live of the DNS resource record, in seconds.
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
rr_class_name
The name of the class applied to the resource record, it can be preceded by the class directory.
value1
The first or only value required for the DNS resource record, as detailed in the service de-
scription.
value2
The second value of the DNS resource record, depending on its type, as detailed in the service
description.
616
DNS Resource Record
value3
The third value of the DNS resource record, depending on its type, as detailed in the service
description.
value4
The fourth value of the DNS resource record, depending on its type, as detailed in the service
description.
value5
The fifth value of the DNS resource record, depending on its type, as detailed in the service
description.
value6
The sixth value of the DNS resource record, depending on its type, as detailed in the service
description.
value7
The seventh value of the DNS resource record, depending on its type, as detailed in the
service description.
dnszone_id
The database identifier (ID) of the DNS zone the object belongs to.
rr_id
The database identifier (ID) of the DNS resource record.
dns_id
The database identifier (ID) of the DNS server the object belongs to.
dnszone_name_utf
The name of the DNS zone the resource record belongs to, in UTF-8 format.
dnszone_name
The name of the DNS zone the object belongs to.
dns_name
The name of the DNS server the object belongs to.
dns_type
The type of the DNS server the object belongs to.
dns_cloud
Internal use. Not documented.
vdns_parent_id
The database identifier (ID) of the DNS smart architecture managing the DNS server the
object belongs to. 0 indicates that the server the object belongs to is not managed by a smart
architecture or is a smart architecture itself.
dnsview_name
The name of the DNS view the object belongs to.
617
DNS Resource Record
dnsview_class_name
The name of the class applied to the DNS view the object belongs to, it can be preceded by
the class directory.
dnsview_id
The database identifier (ID) of the DNS view the object belongs to.
dnszone_site_name
The name of the space associated with the DNS zone the RR belongs to.
dnszone_is_reverse
A way to determine if the DNS zone the resource record belongs to provides reverse resolution
(1) or direct/name resolution (0),
dnszone_masters
For resource records in slave DNS zones, the IP address of the DNS server and, if relevant,
the name of the DNS view that contain the master DNS zone, as follows: <ip_addr>; or
<ip_addr> key <dnsview_name>; .
vdns_parent_name
The name of the DNS smart architecture managing the DNS server the object belongs to. #
indicates that the server the object belongs to is not managed by a smart architecture or is
a smart architecture itself.
dnszone_forwarders
The IP address(es) of the forwarder(s) associated with the DNS zone the resource record
belongs to. It lists the DNS servers to which any unknown query on this zone should be sent,
as follows: <ip_address1>;<ip_address2>;... .
dns_class_name
The name of the class applied to the DNS server the object belongs to, it can be preceded
by the class directory.
dnszone_class_name
The name of the class applied to the DNS zone the object belongs to, it can be preceded by
the class directory.
dns_version
The version details of the DNS server the object belongs to.
dns_comment
The description of the DNS server the object belongs to.
delayed_create_time
The delay of creation status. 1 indicates that the object is not created yet.
delayed_delete_time
The delay of deletion status. 1 indicates that the object is not deleted yet.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
618
DNS Resource Record
rr_auth_gsstsig
A way to determine if the record was authenticated via dynamic update (GSS-TSIG) 1, or
not 0.
rr_last_update_time
Internal use. Not documented.
rr_last_update_days
The number of days since the record was last updated.
dnsview_class_parameters
The class parameters applied to the DNS view the object belongs to and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
dnsview_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
dnsview_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
dnsview_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
rr_class_parameters
The class parameters applied to the resource record, encoded in URL format: <class-para-
meter1>=<value1>&<class-parameter2>=<value2>&... .
rr_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
rr_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-paramet-
er2>=<inheritance>&... .
rr_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
Example
In the example below, we call the service dns_rr_info with Ruby (NET::Http) to display the
properties a resource record.
619
DNS Resource Record
url = URI("https://solid.intranet/rest/dns_rr_info?rr_id=204")
request = Net::HTTP::Get.new(url)
request["x-ipm-username"] = 'aXBtYWRtaW4='
request["x-ipm-password"] = 'YWRtaW4='
request["cache-control"] = 'no-cache'
response = http.request(request)
puts response.read_body
620
DNS Resource Record
Name
dns_rr_count — Count the number of resource records
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
621
DNS Resource Record
Name
dns_rr_groupby — Group resource records by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
622
DNS Resource Record
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
623
DNS Resource Record
Name
dns_rr_groupby_count — Count the number of resource records grouped by para-
meter(s)
Description
This service allows to display the total number of results of the service *_groupby.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
624
DNS Resource Record
Name
dns_rr_delete — Delete a resource record
Description
This service allows to delete an object. A call can only delete one object.
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
The database identifier (ID) of the DNS resource record, a unique numeric key value auto-
matically incremented when you add a DNS RR. Use the ID to specify the DNS RR of your
choice.
dns_id
The database identifier (ID) of the DNS server, a unique numeric key value automatically
incremented when you add a DNS server. Use the ID to specify the DNS server of your
choice.
hostaddr
The IP address of the DNS server.
dns_name
The name of the DNS server.
dnszone_id
The database identifier (ID) of the DNS zone, a unique numeric key value automatically in-
cremented when you add a DNS zone. Use the ID to specify the DNS zone of your choice.
625
DNS Resource Record
zone
Deprecated, replaced by dnszone_name.
dnszone_name
The name of the DNS zone the object belongs to.
dnsview_id
The database identifier (ID) of the DNS view, a unique numeric key value automatically incre-
mented when you add a DNS view. Use the ID to specify the DNS view of your choice.
dnsview_name
The name of the DNS view.
rr_name
The name of the DNS resource record.
rr_ttl
Deprecated, replaced by ttl.
rr_type
The type of the DNS resource record.
626
DNS Resource Record
Note that the parameter is not case sensitive, you could specify A or a.
rr_value1
The first or only value required for the DNS resource record, as detailed in the service de-
scription
rr_value2
The second value of the DNS resource record, depending on its type, as detailed in the service
description
rr_value3
The third value of the DNS resource record, depending on its type, as detailed in the service
description
627
DNS Resource Record
rr_value4
The fourth value of the DNS resource record, depending on its type, as detailed in the service
description
rr_value5
The fifth value of the DNS resource record, depending on its type, as detailed in the service
description
rr_value6
The sixth value of the DNS resource record, depending on its type, as detailed in the service
description
rr_value7
The seventh value of the DNS resource record, depending on its type, as detailed in the
service description
dnszone_site_id
The database identifier (ID) of the space associated with the DNS zone the record belongs
to.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
628
DNS Resource Record
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
Example
In the example below, we call the service dns_rr_delete with PHP (cURL) to delete a record
from the database.
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://solid.intranet/rest/dns_rr_delete?rr_id=247",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache",
"x-ipm-password: YWRtaW4=",
"x-ipm-username: aXBtYWRtaW4="
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
629
Chapter 37. DNS ACL
630
DNS ACL
Name
dns_acl_add — Add/Edit a DNS ACL
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the DNS server, a unique numeric key value automatically
incremented when you add a DNS server. Use the ID to specify the DNS server of your
choice.
dns_name
The name of the DNS server.
hostaddr
The IP address of the DNS server.
dns_addr
Deprecated, replaced by hostaddr.
dnsacl_name
The name of the DNS ACL, each DNS ACL must have a unique name.
acl_name
Deprecated, replaced by dnsacl_name.
631
DNS ACL
dnsacl_value
The values of the DNS ACL in order of priority, as follows: <value_1>;<value_2>... .
acl_value
Deprecated, replaced by dnsacl_value.
dnsacl_id
The database identifier (ID) of the DNS ACL, a unique numeric key value automatically incre-
mented when you add a DNS ACL. Use the ID to specify which DNS ACL to edit.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
632
DNS ACL
ret_oid
The database identifier (ID) of the object you added or edited.
633
DNS ACL
Name
dns_acl_list — List the DNS ACLs
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dnsacl_name
The name of the DNS ACL.
dnsacl_value
The values of the DNS ACL in order of priority, as follows: <value_1>;<value_2>... .
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
634
DNS ACL
dnsacl_id
The database identifier (ID) of the DNS ACL.
dns_id
The database identifier (ID) of the DNS server the object belongs to.
635
DNS ACL
Name
dns_acl_info — Display the properties of a DNS ACL
Description
This service allows to display the properties of an object.
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
dnsacl_id
The database identifier (ID) of the DNS ACL, a unique numeric key value automatically incre-
mented when you add a DNS ACL. Use the ID to specify the DNS ACL of your choice.
Output Parameters
dnsacl_name
The name of the DNS ACL.
dnsacl_value
The values of the DNS ACL in order of priority, as follows: <value_1>;<value_2>... .
dnsacl_id
The database identifier (ID) of the DNS ACL.
dns_id
The database identifier (ID) of the DNS server the object belongs to.
636
DNS ACL
Name
dns_acl_count — Count the number of DNS ACLs
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
637
DNS ACL
Name
dns_acl_delete — Delete a DNS ACL
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the DNS server, a unique numeric key value automatically
incremented when you add a DNS server. Use the ID to specify the DNS server of your
choice.
dns_name
The name of the DNS server.
hostaddr
The IP address of the DNS server.
dnsacl_id
The database identifier (ID) of the DNS ACL, a unique numeric key value automatically incre-
mented when you add a DNS ACL. Use the ID to specify the DNS ACL of your choice.
dnsacl_name
The name of the DNS ACL.
638
DNS ACL
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
639
Chapter 38. TSIG Key
640
TSIG Key
Name
dns_key_add — Add/Edit a TSIG key
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the DNS server, a unique numeric key value automatically
incremented when you add a DNS server. Use the ID to specify the DNS server of your
choice.
dns_name
The name of the DNS server.
hostaddr
The IP address of the DNS server.
dns_addr
Deprecated, replaced by hostaddr.
dnskey_name
The name of the DNS TSIG key, each DNS TSIG key must have a unique name.
dnskey_proto
The encryption protocol of the TSIG key.
641
TSIG Key
dnskey_value
The value of the TSIG key.
dnsview_name
The name of the DNS view.
dnsview_id
The database identifier (ID) of the DNS view, a unique numeric key value automatically incre-
mented when you add a DNS view. Use the ID to specify the DNS view of your choice.
dnskey_id
The database identifier (ID) of the DNS TSIG key, a unique numeric key value automatically
incremented when you add a DNS TSIG key. Use the ID to specify which DNS TSIG key to
edit.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
642
TSIG Key
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
643
TSIG Key
Name
dns_key_list — List the DNS keys
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dns_id
The database identifier (ID) of the DNS server the object belongs to.
dns_name
The name of the DNS server the object belongs to.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
644
TSIG Key
dns_type
The type of the DNS server the object belongs to.
vdns_parent_id
The database identifier (ID) of the DNS smart architecture managing the DNS server the
object belongs to. 0 indicates that the server the object belongs to is not managed by a smart
architecture or is a smart architecture itself.
dnskey_id
The database identifier (ID) of the DNS TSIG key.
dnskey_name
The name of the DNS TSIG key.
dnskey_value
The value of the TSIG key.
dnskey_proto
The encryption protocol of the TSIG key.
dnsview_name
The name of the DNS view associated with the DNS TSIG key.
dnsview_id
The database identifier (ID) of the DNS view associated with the DNS TSIG key.
645
TSIG Key
Name
dns_key_info — Display the properties of a TSIG key
Description
This service allows to display the properties of an object.
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
dnskey_id
The database identifier (ID) of the DNS TSIG key, a unique numeric key value automatically
incremented when you add a DNS TSIG key. Use the ID to specify the DNS TSIG key of
your choice.
Output Parameters
dns_id
The database identifier (ID) of the DNS server the object belongs to.
dns_name
The name of the DNS server the object belongs to.
dns_type
The type of the DNS server the object belongs to.
vdns_parent_id
The database identifier (ID) of the DNS smart architecture managing the DNS server the
object belongs to. 0 indicates that the server the object belongs to is not managed by a smart
architecture or is a smart architecture itself.
dnskey_id
The database identifier (ID) of the DNS TSIG key.
dnskey_name
The name of the DNS TSIG key.
dnskey_value
The value of the TSIG key.
646
TSIG Key
dnskey_proto
The encryption protocol of the TSIG key.
dnsview_name
The name of the DNS view associated with the DNS TSIG key.
dnsview_id
The database identifier (ID) of the DNS view associated with the DNS TSIG key.
647
TSIG Key
Name
dns_key_count — Count the number of TSIG keys
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
648
TSIG Key
Name
dns_key_delete — Delete a TSIG key
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the DNS server, a unique numeric key value automatically
incremented when you add a DNS server. Use the ID to specify the DNS server of your
choice.
dns_name
The name of the DNS server.
hostaddr
The IP address of the DNS server.
dnskey_id
The database identifier (ID) of the DNS TSIG key, a unique numeric key value automatically
incremented when you add a DNS TSIG key. Use the ID to specify the DNS TSIG key of
your choice.
dnskey_name
The name of the DNS TSIG key.
649
TSIG Key
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
650
Chapter 39. DNSSEC
651
DNSSEC
Name
dnssec_zone_keys_list — List the DNSSEC keys of a zone
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
dns_name
The name of the DNS server the object belongs to.
dns_id
The database identifier (ID) of the DNS server the object belongs to.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
652
DNSSEC
dnszone_id
The database identifier (ID) of the DNS zone the object belongs to.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
obj_type
The type of the DNSSEC key, either zsk or ksk or anchor.
encryption_data
The private part of the DNSSEC key data.
encryption_bits
The number of bits over which the DNSSEC key is encrypted.
validity
The value of the DNSSEC key validity period, in days.
start_date
The time at which the DNSSEC key starts being valid, in decimal UNIX date format.
encryption_data_public
The public part of the DNSSEC key data.
obj_name
The name of the DNSSEC key, specified as follows : <a><b>.+<c>+<d> , where:
a. is either Z for ZSK or K for KSK keys.
b. is the <dnszone_name>.
c. is the key algorithm.
d. is the key tag.
• a can be either Z for ZSK or K for KSK keys.
• b is the <dnszone_name>.
• c is the key algorithm.
• d is the key tag.
ds
The delegation signer(s) (DS) associated with the zone, as follows: [<dnszone_name>. IN
DS <key_algorithm> <key_tag> <algorithm_key> <digest_type> <digest>] [<dnszone_name>.
IN DS <key_algorithm> <key_tag> <algorithm_key> <digest_type> <digest>] ...
dlv
Internal use. Not documented.
module
The name of the signature module. By default, it is set to dnssec.
dnszone_name
The name of the DNS zone the object belongs to.
encryption_type
The type of encryption to used for the DNSSEC key, either rsasha256, rsasha512,
nsec3rsasha1 or nsec3dsa.
653
DNSSEC
Name
dnssec_zone_keys_info — Display the properties of a DNSSEC ZSK, KSK or Trust
Anchor
Description
This service allows to display the properties of an object.
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 database identifier (ID) of the DNS zone, a unique numeric key value automatically in-
cremented when you add a DNS zone. Use the ID to specify the DNS zone of your choice.
Output Parameters
dns_name
The name of the DNS server the object belongs to.
dns_id
The database identifier (ID) of the DNS server the object belongs to.
dnszone_id
The database identifier (ID) of the DNS zone the object belongs to.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
obj_type
The type of the DNSSEC key, either zsk or ksk or anchor.
encryption_data
The private part of the DNSSEC key data.
encryption_bits
The number of bits over which the DNSSEC key is encrypted.
validity
The value of the DNSSEC key validity period, in days.
start_date
The time at which the DNSSEC key starts being valid, in decimal UNIX date format.
encryption_data_public
The public part of the DNSSEC key data.
654
DNSSEC
obj_name
The name of the DNSSEC key, specified as follows : <a><b>.+<c>+<d> , where:
a. is either Z for ZSK or K for KSK keys.
b. is the <dnszone_name>.
c. is the key algorithm.
d. is the key tag.
• a can be either Z for ZSK or K for KSK keys.
• b is the <dnszone_name>.
• c is the key algorithm.
• d is the key tag.
ds
The delegation signer(s) (DS) associated with the zone, as follows: [<dnszone_name>. IN
DS <key_algorithm> <key_tag> <algorithm_key> <digest_type> <digest>] [<dnszone_name>.
IN DS <key_algorithm> <key_tag> <algorithm_key> <digest_type> <digest>] ...
dlv
Internal use. Not documented.
module
The name of the signature module. By default, it is set to dnssec.
dnszone_name
The name of the DNS zone the object belongs to.
encryption_type
The type of encryption to used for the DNSSEC key, either rsasha256, rsasha512,
nsec3rsasha1 or nsec3dsa.
655
DNSSEC
Name
dnssec_enable_sign_zone — Sign a zone with DNSSEC
Description
This service allows to specify a zone and sign it with DNSSEC, only zones belonging to a smart
architecture or an EfficientIP DNS server can be signed. Once a zone is signed, the server it
belongs to becomes authoritative and every transaction with the zone must be handled via
DNSSEC.
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
zsk_keyring_ids
Internal use. Not documented.
ksk_keyring_ids
Internal use. Not documented.
zsk_encryption_type
The type of encryption to use for the ZSK public and private keys generation, either rsasha256,
rsasha512, nsec3rsasha1 or nsec3dsa
zsk_encryption_bits
The number of bits used to generate the ZSK:
• For RSASHA encryption, set it between 512 and 4096 bits. The value should be a multiple
of 64.
• For DSA encryption, you can set from 512 to 1024 bits. The value should be a multiple of
64.
656
DNSSEC
zsk_validity
The value of the ZSK validity period. Use the parameter zsk_validity_unit to indicate the
corresponding time unit.
zsk_validity_unit
The time unit of the ZSK validity period, either day, month, year or, with no need to indicate
the zsk_validity value, infinity.
Type Fixed value: day || month || year || infinity Maximum length N/A
Default value N/A Can be edited Yes
ksk_encryption_type
The type of encryption to use for the KSK public and private keys generation, either rsasha256,
rsasha512, nsec3rsasha1 or nsec3dsa
ksk_encryption_bits
The number of bits over which the KSK keys should be encrypted:
• For RSASHA*, you can set from 512 to 4096 bits.
• For DSA, you can set from 512 to 1024 bits and a modulus of 64.
ksk_validity
The value of the KSK validity period. Use the parameter ksk_validity_unit to indicate the
corresponding time unit.
ksk_validity_unit
The time unit of the KSK validity period, either day, month, year or, with no need to indicate
the ksk_validity value, infinity.
Type Fixed value: day || month || year || infinity Maximum length N/A
Default value N/A Can be edited Yes
alert_snmp_params_oid
Internal use. Not documented.
657
DNSSEC
alert_released_snmp_trap_oid
Internal use. Not documented.
alert_snmp_params_community
Internal use. Not documented.
alert_snmp_params_dest
Internal use. Not documented.
alert_snmp_params_version
Internal use. Not documented.
alert_trap_snmp
Internal use. Not documented.
alert_additional_mail
Internal use. Not documented.
alert_send_mail
Internal use. Not documented.
alert_group_mail
Internal use. Not documented.
dnszone_name
The name of the DNS zone the object belongs to.
658
DNSSEC
dns_name
The name of the DNS server.
dns_id
The database identifier (ID) of the DNS server, a unique numeric key value automatically
incremented when you add a DNS server. Use the ID to specify the DNS server of your
choice.
dns_hostaddr
The IP address of the DNS server the zone you want to sign belongs to.
dnszone_id
The database identifier (ID) of the DNS zone, a unique numeric key value automatically in-
cremented when you add a DNS zone. Use the ID to specify the DNS zone of your choice.
source_mail_registry
Internal use. Not documented.
source_mail_addr
Internal use. Not documented.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
659
DNSSEC
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
param_value
The value of the input parameter(s) that caused the error during the service execution.
param_name
Internal use. Not documented.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
660
Part V. Application Services
Table of Contents
40. Application .............................................................................................................. 663
app_application_add ............................................................................................. 664
app_application_list ............................................................................................... 667
app_application_info ............................................................................................. 670
app_application_count ........................................................................................... 672
app_application_groupby ....................................................................................... 673
app_application_groupby_count ............................................................................. 675
app_application_delete .......................................................................................... 676
41. Pool ........................................................................................................................ 678
app_pool_add ....................................................................................................... 679
app_pool_list ........................................................................................................ 682
app_pool_info ....................................................................................................... 685
app_pool_count .................................................................................................... 687
app_pool_groupby ................................................................................................ 688
app_pool_groupby_count ...................................................................................... 690
app_pool_delete ................................................................................................... 691
42. Node ....................................................................................................................... 693
app_node_add ...................................................................................................... 694
app_node_list ....................................................................................................... 697
app_node_info ...................................................................................................... 700
app_node_count ................................................................................................... 702
app_node_groupby ............................................................................................... 703
app_node_groupby_count ..................................................................................... 705
app_node_delete .................................................................................................. 706
662
Chapter 40. Application
663
Application
Name
app_application_add — Add/Edit an application
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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
appapplication_id
The database identifier (ID) of the application, a unique numeric key value automatically in-
cremented when you add an application. Use the ID to specify the application of your choice.
name
The name of the application.
fqdn
The Fully Qualified Domain Name (FQDN) of the application.
gslbserver_list
The name of all the GSLB servers associated with the application. You can specify one or
more names.
appapplication_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
664
Application
appapplication_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
appapplication_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
665
Application
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
666
Application
Name
app_application_list — List the applications
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
tree_level
The database level of the server associated with the application. 0 indicates the server is
managed on its own, 1 indicates it is managed by a smart architecture.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
667
Application
tree_path
The database path toward the server associated with the application, as follows: <server-
name>#. If the physical server is managed through a smart architecture, the path looks as
follows: <smart-architecture-name>##<server-name>.
dns_type
The type of DNS server associated with the application. It is only returned for deployed ap-
plications.
appapplication_id
The database identifier (ID) of the application.
appapplication_gslbserver_name
The name of the GSLB server associated with the application. It is only returned for deployed
applications.
appapplication_name
The name of the application.
appapplication_fqdn
The FQDN of the application.
appapplication_gslbserver_id
The database identifier (ID) of the GSLB server associated with the application. It is only re-
turned for deployed applications.
parent_application_id
The database identifier (ID) of the application. It is only returned for deployed applications.
parent_application_name
The name of the application. It is only returned for deployed applications.
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
appapplication_gslbserver_status
The status of the GSLB server associated with the application, either OK (1), GSLB Stopped
(2), GSLB Invalid Credentials (4) or GSLB Timeout (5). It is only returned for deployed applic-
ations.
appapplication_total_nodes
The number of nodes of the application.
appapplication_inactive_nodes
The number of nodes of the application that are Inactive (down).
appapplication_gslbserver_list
The name of all the GSLB servers associated with the application. It lists the name of each
server separated by a comma.
appapplication_class_name
The name of the class applied to the object.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
668
Application
appapplication_class_parameters
The class parameters applied to the application and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
appapplication_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
appapplication_class_parameters: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... .
appapplication_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
669
Application
Name
app_application_info — Display the properties of an application
Description
This service allows to display the properties of an object.
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
appapplication_id
The database identifier (ID) of the application, a unique numeric key value automatically in-
cremented when you add an application. Use the ID to specify the application of your choice.
Output Parameters
tree_level
The database level of the server associated with the application. 0 indicates the server is
managed on its own, 1 indicates it is managed by a smart architecture.
tree_path
The database path toward the server associated with the application, as follows: <server-
name>#. If the physical server is managed through a smart architecture, the path looks as
follows: <smart-architecture-name>##<server-name>.
dns_type
The type of DNS server associated with the application. It is only returned for deployed ap-
plications.
appapplication_id
The database identifier (ID) of the application.
appapplication_gslbserver_name
The name of the GSLB server associated with the application. It is only returned for deployed
applications.
appapplication_name
The name of the application.
appapplication_fqdn
The FQDN of the application.
appapplication_gslbserver_id
The database identifier (ID) of the GSLB server associated with the application. It is only re-
turned for deployed applications.
parent_application_id
The database identifier (ID) of the application. It is only returned for deployed applications.
parent_application_name
The name of the application. It is only returned for deployed applications.
670
Application
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
appapplication_gslbserver_status
The status of the GSLB server associated with the application, either OK (1), GSLB Stopped
(2), GSLB Invalid Credentials (4) or GSLB Timeout (5). It is only returned for deployed applic-
ations.
appapplication_total_nodes
The number of nodes of the application.
appapplication_inactive_nodes
The number of nodes of the application that are Inactive (down).
appapplication_gslbserver_list
The name of all the GSLB servers associated with the application. It lists the name of each
server separated by a comma.
appapplication_class_name
The name of the class applied to the object.
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
appapplication_class_parameters
The class parameters applied to the application and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
appapplication_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
appapplication_class_parameters: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... .
appapplication_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
671
Application
Name
app_application_count — Count the number of applications
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
672
Application
Name
app_application_groupby — Group applications by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
673
Application
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
674
Application
Name
app_application_groupby_count — Count the number of applications grouped
by parameter(s)
Description
This service allows to return the number of objects.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
675
Application
Name
app_application_delete — Delete an application
Description
This service allows to delete an object. A call can only delete one object.
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
appapplication_id
The database identifier (ID) of the application, a unique numeric key value automatically in-
cremented when you add an application. Use the ID to specify the application of your choice.
name
The name of the application.
fqdn
The Fully Qualified Domain Name (FQDN) of the application.
gslbserver_id
The database identifier (ID) of the GSLB server associated with the application, a unique
identifier automatically incremented when you add the server. Use it to identify the GSLB
server of your choice.
gslbserver_name
The name of the GSLB server associated with the application.
676
Application
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
677
Chapter 41. Pool
678
Pool
Name
app_pool_add — Add/Edit a pool
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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
apppool_id
The database identifier (ID) of the pool, a unique numeric key value automatically incremented
when you add a pool. Use the ID to specify the pool of your choice.
appapplication_id
The database identifier (ID) of the application the object belongs to.
appapplication_name
The name of the application the object belongs to.
appapplication_fqdn
The Fully Qualified Domain Name (FQDN) of the application the object belongs to.
appapplication_gslbserver_id
The database identifier (ID) of the GSLB server associated with the application, a unique
identifier automatically incremented when you add the server. Use it to identify the GSLB
server of your choice.
679
Pool
name
The name of the pool.
type
The type of the pool.
lb_mode
The load-balancing mode of the pool.
best_active_nodes
The maximum number of active nodes with the lowest latency that must answer the queries
made to the application FQDN. You only need to set it if you set the lb_mode to latency.
affinity_state
The session affinity activation status.
affinity_session_time
The session duration, in seconds. You only need to set it if the parameter affinity_state is
set to 1.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
680
Pool
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
681
Pool
Name
app_pool_list — List the pools
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
tree_level
The database level of the server associated with the application the object belongs to. 0 in-
dicates the server is managed on its own, 1 indicates it is managed by a smart architecture.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
682
Pool
tree_path
The database path toward the server associated with the application the object belongs to,
as follows: <server-name>#. If the physical server is managed through a smart architecture,
the path looks as follows: <smart-architecture-name>##<server-name>.
dns_type
The type of DNS server associated with the application the object belongs to. It is only returned
for deployed applications.
appapplication_gslbserver_name
The name of the GSLB server associated with the application the object belongs to. It is only
returned for deployed applications.
appapplication_id
The database identifier (ID) of the application the object belongs to.
appapplication_gslbserver_id
The database identifier (ID) of the GSLB server associated with the application the object
belongs to. It is only returned for deployed applications.
appapplication_name
The name of the application the object belongs to.
appapplication_fqdn
The FQDN of the application the object belongs to.
parent_application_id
The database identifier (ID) of the application the object belongs to. It is only returned for
deployed applications.
apppool_id
The database identifier (ID) of the pool.
apppool_name
The name of the pool.
apppool_type
The type of the pool, ipv4 or ipv6.
apppool_weight
Not documented. Internal use.
apppool_lb_mode
The load-balancing mode of the pool, either weighted, round-robin or latency.
translated_apppool_lb_mode
The load-balancing mode of the pool, as displayed in the GUI.
apppool_best_active_nodes
The maximum number of active nodes with the lowest latency that must answer the queries
made to the application FQDN. It is only returned if the parameter apppool_lb_mode is set
to latency.
apppool_affinity_state
The session affinity activation status.
apppool_affinity_session_time
The session duration, in seconds. It is only returned if the parameter affinity_state is set to
1.
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
683
Pool
apppool_total_nodes
The number of nodes of the pool.
apppool_inactive_nodes
The number nodes of the pool that are Inactive (down).
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
684
Pool
Name
app_pool_info — Display the properties of a pool
Description
This service allows to display the properties of an object.
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
apppool_id
The database identifier (ID) of the pool, a unique numeric key value automatically incremented
when you add a pool. Use the ID to specify the pool of your choice.
Output Parameters
tree_level
The database level of the server associated with the application the object belongs to. 0 in-
dicates the server is managed on its own, 1 indicates it is managed by a smart architecture.
tree_path
The database path toward the server associated with the application the object belongs to,
as follows: <server-name>#. If the physical server is managed through a smart architecture,
the path looks as follows: <smart-architecture-name>##<server-name>.
dns_type
The type of DNS server associated with the application the object belongs to. It is only returned
for deployed applications.
appapplication_gslbserver_name
The name of the GSLB server associated with the application the object belongs to. It is only
returned for deployed applications.
appapplication_id
The database identifier (ID) of the application the object belongs to.
appapplication_gslbserver_id
The database identifier (ID) of the GSLB server associated with the application the object
belongs to. It is only returned for deployed applications.
appapplication_name
The name of the application the object belongs to.
appapplication_fqdn
The FQDN of the application the object belongs to.
parent_application_id
The database identifier (ID) of the application the object belongs to. It is only returned for
deployed applications.
apppool_id
The database identifier (ID) of the pool.
685
Pool
apppool_name
The name of the pool.
apppool_type
The type of the pool, ipv4 or ipv6.
apppool_weight
Not documented. Internal use.
apppool_lb_mode
The load-balancing mode of the pool, either weighted, round-robin or latency.
translated_apppool_lb_mode
The load-balancing mode of the pool, as displayed in the GUI.
apppool_best_active_nodes
The maximum number of active nodes with the lowest latency that must answer the queries
made to the application FQDN. It is only returned if the parameter apppool_lb_mode is set
to latency.
apppool_affinity_state
The session affinity activation status.
apppool_affinity_session_time
The session duration, in seconds. It is only returned if the parameter affinity_state is set to
1.
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
apppool_total_nodes
The number of nodes of the pool.
apppool_inactive_nodes
The number nodes of the pool that are Inactive (down).
multistatus
The Multi-status information is displayed as follows: <number-of-instances>@<message-
number>@<multi-status-severity>@<module>. The different severity levels are:
686
Pool
Name
app_pool_count — Count the number of pools
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
687
Pool
Name
app_pool_groupby — Group pools by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
688
Pool
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
689
Pool
Name
app_pool_groupby_count — Count the number of pools grouped by parameter(s)
Description
This service allows to return the number of objects.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
690
Pool
Name
app_pool_delete — Delete a pool
Description
This service allows to delete an object. A call can only delete one object.
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
apppool_id
The database identifier (ID) of the pool, a unique numeric key value automatically incremented
when you add a pool. Use the ID to specify the pool of your choice.
name
The name of the pool.
appapplication_id
The database identifier (ID) of the application the object belongs to.
appapplication_name
The name of the application the object belongs to.
appapplication_fqdn
The Fully Qualified Domain Name (FQDN) of the application the object belongs to.
appapplication_gslbserver_id
The database identifier (ID) of the GSLB server associated with the application, a unique
identifier automatically incremented when you add the server. Use it to identify the GSLB
server of your choice.
691
Pool
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
692
Chapter 42. Node
693
Node
Name
app_node_add — Add/Edit a node
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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
appnode_id
The database identifier (ID) of the node, a unique numeric key value automatically incremented
when you add a node. Use the ID to specify the node of your choice.
appapplication_id
The database identifier (ID) of the application the object belongs to.
appapplication_name
The name of the application the object belongs to.
appapplication_fqdn
The Fully Qualified Domain Name (FQDN) of the application the object belongs to.
appapplication_gslbserver_id
The database identifier (ID) of the GSLB server associated with the application, a unique
identifier automatically incremented when you add the server. Use it to identify the GSLB
server of your choice.
694
Node
apppool_id
The database identifier (ID) of the pool, a unique numeric key value automatically incremented
when you add a pool. Use the ID to specify the pool of your choice.
apppool_name
The name of the pool.
name
The name of the node.
hostaddr
The IPv4 or IPv6 address of the node.
weight
The weight of the node, it sets which node is used first within the pool. It must be an integer
between 0 and 255, where 0 sets a node as backup.
admin_status
The administrative status of the node, managed (1) or unmanaged (0).
status
Internal use. Not documented.
apphealthcheck_name
The type of health check of the node.
695
Node
Type Fixed value: ok || ping || tcp || http || custom Maximum length N/A
Default value N/A Can be edited Yes
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
696
Node
Name
app_node_list — List the nodes
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
tree_level
The database level of the server associated with the application the object belongs to. 0 in-
dicates the server is managed on its own, 1 indicates it is managed by a smart architecture.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
697
Node
tree_path
The database path toward the server associated with the application the object belongs to,
as follows: <server-name>#. If the physical server is managed through a smart architecture,
the path looks as follows: <smart-architecture-name>##<server-name>.
dns_type
The type of DNS server associated with the application the object belongs to. It is only returned
for deployed applications.
appapplication_gslbserver_name
The name of the GSLB server associated with the application the object belongs to. It is only
returned for deployed applications.
appapplication_gslbserver_id
The database identifier (ID) of the GSLB server associated with the application the object
belongs to. It is only returned for deployed applications.
appapplication_id
The database identifier (ID) of the application the object belongs to.
appapplication_name
The name of the application the object belongs to.
appapplication_fqdn
The FQDN of the application the object belongs to.
parent_application_id
The database identifier (ID) of the application the object belongs to. It is only returned for
deployed applications.
apppool_id
The database identifier (ID) of the pool.
apppool_name
The name of the pool.
apppool_lb_mode
The load-balancing mode of the pool the object belongs to, either weighted, round-robin or
latency.
translated_apppool_lb_mode
The load-balancing mode of the pool the object belongs to, as displayed in the GUI.
appnode_id
The database identifier (ID) of the node.
appnode_name
The name of the node.
appnode_ip_addr
The IPv4 address of the node.
appnode_ip6_addr
The IPv6 address of the node.
appnode_weight
The weight of the node, an integer between 0 and 255. 0 indicates a backup node.
admin_status
The administrative status of the node. 1 indicates the node is managed. 0 indicates that is
unmanaged and ignored.
appnode_status
The operational status of the node:
698
Node
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
apphealthcheck_name
The type of health check configured for the node.
translated_apphealthcheck_name
The health check type, as displayed in the GUI.
apphealthcheck_id
The database identifier (ID) of the health check configured for the node.
apphealthcheck_freq
The frequency to which the health check configured for the node is performed, in seconds.
apphealthcheck_failover
The number of times, between 1 and 10, before the parameter appnode_status is set to 0
(inactive) due to the health check result. By default, it is set to 3.
apphealthcheck_failback
The number of times, between 1 and 10, before the parameter appnode_status is set to 1
(active) due to the health check result. By default, it is set to 3.
apphealthcheck_timeout
The number of seconds, between 1 and 10, before the health check times out if the node is
not responding.
apphealthcheck_params
The rest of the health check parameters configured, when relevant.
699
Node
Name
app_node_info — Display the properties of a node
Description
This service allows to display the properties of an object.
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
appnode_id
The database identifier (ID) of the node, a unique numeric key value automatically incremented
when you add a node. Use the ID to specify the node of your choice.
Output Parameters
tree_level
The database level of the server associated with the application the object belongs to. 0 in-
dicates the server is managed on its own, 1 indicates it is managed by a smart architecture.
tree_path
The database path toward the server associated with the application the object belongs to,
as follows: <server-name>#. If the physical server is managed through a smart architecture,
the path looks as follows: <smart-architecture-name>##<server-name>.
dns_type
The type of DNS server associated with the application the object belongs to. It is only returned
for deployed applications.
appapplication_gslbserver_name
The name of the GSLB server associated with the application the object belongs to. It is only
returned for deployed applications.
appapplication_gslbserver_id
The database identifier (ID) of the GSLB server associated with the application the object
belongs to. It is only returned for deployed applications.
appapplication_id
The database identifier (ID) of the application the object belongs to.
appapplication_name
The name of the application the object belongs to.
appapplication_fqdn
The FQDN of the application the object belongs to.
parent_application_id
The database identifier (ID) of the application the object belongs to. It is only returned for
deployed applications.
apppool_id
The database identifier (ID) of the pool.
700
Node
apppool_name
The name of the pool.
apppool_lb_mode
The load-balancing mode of the pool the object belongs to, either weighted, round-robin or
latency.
translated_apppool_lb_mode
The load-balancing mode of the pool the object belongs to, as displayed in the GUI.
appnode_id
The database identifier (ID) of the node.
appnode_name
The name of the node.
appnode_ip_addr
The IPv4 address of the node.
appnode_ip6_addr
The IPv6 address of the node.
appnode_weight
The weight of the node, an integer between 0 and 255. 0 indicates a backup node.
admin_status
The administrative status of the node. 1 indicates the node is managed. 0 indicates that is
unmanaged and ignored.
appnode_status
The operational status of the node:
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
apphealthcheck_name
The type of health check configured for the node.
translated_apphealthcheck_name
The health check type, as displayed in the GUI.
apphealthcheck_id
The database identifier (ID) of the health check configured for the node.
apphealthcheck_freq
The frequency to which the health check configured for the node is performed, in seconds.
apphealthcheck_failover
The number of times, between 1 and 10, before the parameter appnode_status is set to 0
(inactive) due to the health check result. By default, it is set to 3.
apphealthcheck_failback
The number of times, between 1 and 10, before the parameter appnode_status is set to 1
(active) due to the health check result. By default, it is set to 3.
apphealthcheck_timeout
The number of seconds, between 1 and 10, before the health check times out if the node is
not responding.
apphealthcheck_params
The rest of the health check parameters configured, when relevant.
701
Node
Name
app_node_count — Count the number of nodes
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
702
Node
Name
app_node_groupby — Group nodes by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
703
Node
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
704
Node
Name
app_node_groupby_count — Count the number of node grouped by parameter(s)
Description
This service allows to return the number of objects.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
705
Node
Name
app_node_delete — Delete a node
Description
This service allows to delete an object. A call can only delete one object.
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
appnode_id
The database identifier (ID) of the node, a unique numeric key value automatically incremented
when you add a node. Use the ID to specify the node of your choice.
name
The name of the node.
apppool_id
The database identifier (ID) of the pool, a unique numeric key value automatically incremented
when you add a pool. Use the ID to specify the pool of your choice.
apppool_name
The name of the pool.
appapplication_id
The database identifier (ID) of the application the object belongs to.
appapplication_name
The name of the application the object belongs to.
706
Node
appapplication_fqdn
The Fully Qualified Domain Name (FQDN) of the application the object belongs to.
appapplication_gslbserver_id
The database identifier (ID) of the GSLB server associated with the application, a unique
identifier automatically incremented when you add the server. Use it to identify the GSLB
server of your choice.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
707
Part VI. Guardian Services
Table of Contents
43. Policy ...................................................................................................................... 710
guardian_policy_add ............................................................................................. 711
guardian_policy_list ............................................................................................... 713
guardian_policy_info ............................................................................................. 715
guardian_policy_count ........................................................................................... 716
guardian_policy_groupby ....................................................................................... 717
guardian_policy_groupby_count ............................................................................. 719
guardian_policy_delete .......................................................................................... 720
709
Chapter 43. Policy
710
Policy
Name
guardian_policy_add — Add/Edit a policy
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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
guardianpolicy_id
The database identifier (ID) of the policy, a unique identifier automatically incremented when
you add the policy. Use it to identify the policy of your choice.
name
The name of the policy.
description
The description of the policy.
dns_list
The name of all the Guardian servers associated with the policy. You can specify one or
more names.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
711
Policy
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
712
Policy
Name
guardian_policy_list — List the policies
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
guardianpolicy_id
The database identifier (ID) of the policy.
guardianpolicy_name
The name of the policy.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
713
Policy
guardianpolicy_description
The description of the policy.
guardianpolicy_readonly
The read only status of the policy. If set to 1, the policy cannot be edited.
dns_id
The database identifier (ID) of the Guardian server associated with the policy. It is only returned
for deployed policies.
dns_name
The name of the Guardian server associated with the policy. It is only returned for deployed
policies.
parent_guardianpolicy_id
The database identifier (ID) of the policy. It is only returned for deployed policies.
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
714
Policy
Name
guardian_policy_info — Display the properties of a policy
Description
This service allows to display the properties of an object.
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
guardianpolicy_id
The database identifier (ID) of the policy, a unique identifier automatically incremented when
you add the policy. Use it to identify the policy of your choice.
Output Parameters
guardianpolicy_id
The database identifier (ID) of the policy.
guardianpolicy_name
The name of the policy.
guardianpolicy_description
The description of the policy.
guardianpolicy_readonly
The read only status of the policy. If set to 1, the policy cannot be edited.
dns_id
The database identifier (ID) of the Guardian server associated with the policy. It is only returned
for deployed policies.
dns_name
The name of the Guardian server associated with the policy. It is only returned for deployed
policies.
parent_guardianpolicy_id
The database identifier (ID) of the policy. It is only returned for deployed policies.
delayed_time
The delay of creation/deletion status. 1 indicates that the object is not created/deleted yet.
715
Policy
Name
guardian_policy_count — Count the number of policies
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
716
Policy
Name
guardian_policy_groupby — Group nodes by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
717
Policy
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
718
Policy
Name
guardian_policy_groupby_count — Count the number of policies grouped by
parameter(s)
Description
This service allows to return the number of objects.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
719
Policy
Name
guardian_policy_delete — Delete a policy
Description
This service allows to delete an object. A call can only delete one object.
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
guardianpolicy_id
The database identifier (ID) of the policy, a unique identifier automatically incremented when
you add the policy. Use it to identify the policy of your choice.
name
The name of the policy.
dns_id
The database identifier (ID) of the Guardian server associated with the policy, a unique
identifier automatically incremented when you add the server. Use it to identify the Guardian
server of your choice.
dns_name
The name of the Guardian server associated with the policy.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
720
Policy
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
721
Part VII. NetChange Services
Table of Contents
44. Network Device ....................................................................................................... 724
iplocator_netdev_add ............................................................................................ 725
iplnetdev_list ......................................................................................................... 729
iplnetdev_info ........................................................................................................ 733
iplnetdev_count ..................................................................................................... 737
iplnetdev_groupby ................................................................................................. 738
iplnetdev_groupby_count ....................................................................................... 740
group_iplnetdev_add ............................................................................................. 741
group_iplnetdev_delete ......................................................................................... 743
iplocator_netdev_delete ......................................................................................... 745
45. IPv4 Route .............................................................................................................. 747
iplnetdevroute_list ................................................................................................. 748
iplnetdevroute_info ................................................................................................ 752
iplnetdevroute_count ............................................................................................. 756
iplnetdevroute_groupby ......................................................................................... 757
iplnetdevroute_groupby_count ............................................................................... 759
46. IPv6 Route .............................................................................................................. 760
iplnetdevroute6_list ............................................................................................... 761
iplnetdevroute6_info .............................................................................................. 765
iplnetdevroute6_count ........................................................................................... 769
iplnetdevroute6_groupby ....................................................................................... 770
iplnetdevroute6_groupby_count ............................................................................. 772
47. NetChange VLAN .................................................................................................... 773
iplnetdevvlan_list ................................................................................................... 774
iplnetdevvlan_count ............................................................................................... 776
iplnetdevvlan_groupby ........................................................................................... 777
48. Port ......................................................................................................................... 779
iplocator_port_add ................................................................................................ 780
iplport_list ............................................................................................................. 784
iplport_info ............................................................................................................ 790
iplport_count ......................................................................................................... 795
49. NetChange IPv4 Address ......................................................................................... 796
iplnetdevaddr_list .................................................................................................. 797
iplnetdevaddr_info ................................................................................................. 799
iplnetdevaddr_count .............................................................................................. 801
iplnetdevaddr_groupby .......................................................................................... 802
iplnetdevaddr_groupby_count ................................................................................ 804
50. NetChange IPv6 Address ......................................................................................... 805
iplnetdevaddr6_list ................................................................................................ 806
iplnetdevaddr6_info ............................................................................................... 808
iplnetdevaddr6_count ............................................................................................ 810
iplnetdevaddr6_groupby ........................................................................................ 811
iplnetdevaddr6_groupby_count .............................................................................. 813
51. Discovered Item ....................................................................................................... 814
ipldev_list ............................................................................................................. 815
ipldev_count ......................................................................................................... 819
ipldev_groupby ...................................................................................................... 820
ipldev_groupby_count ............................................................................................ 822
ipldev_log_count ................................................................................................... 823
ipldev_log_list ....................................................................................................... 824
723
Chapter 44. Network Device
724
Network Device
Name
iplocator_netdev_add — Edit a NetChange network device
Description
This service allows to edit existing objects, specified using an existing identifier. A call can only
edit one object.
The value of all the parameters specified in input edits the corresponding objects.
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
iplnetdev_id
The database identifier (ID) of the NetChange network device, a unique numeric key value
automatically incremented when you add a NetChange network device. Use the ID to specify
which device to edit.
hostaddr
The IP address of the NetChange network device.
iplnetdev_addr
Deprecated, replaced by hostaddr.
iplnetdev_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
iplnetdev_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
725
Network Device
iplnetdev_dot1x
The 802.1X authentication status of the NetChange network device, either enabled 1 or dis-
abled 2.
rancid_sync
A way to enable (1) or disable (0) the configuration versioning on the NetChange network
device you are adding.
rancid_id
The database identifier (ID) of the configuration you want to associate with the NetChange
network device.
iplnetdev_refresh_parameters
A way to configure a scheduled refresh of the database of the NetChange network device
you are adding. The refresh frequency must be specified following the format
<minute>:<hour>:<date-of-the-month>:<month>:<day-of-the-week> where:
• <minute> accepts values between 00 and 59.
• <hour> accepts values between 00 and 12.
• <date-of-the-month> accepts values between 1 and 31.
• <month> accepts values between 1 and 12, where 1 is January, etc.
• <day-of-the-week> accepts values between 1 and 7, where 1 is Monday, etc.
All periods must be specified and separated by : . Each period also accepts a valid regex
pattern for datetime. Note that .* indicates any value of a period and allows, for instance, to
set a refresh once a year on December 21st at 0h00 with 00:00:21:12:.* .
iplnetdev_refresh_rancid_parameters
A way to configure a scheduled refresh of the configuration versioning of the NetChange
network device you are adding. The refresh frequency must be specified following the format
<minute>:<hour>:<date-of-the-month>:<month>:<day-of-the-week> where:
• <minute> accepts values between 00 and 59.
• <hour> accepts values between 00 and 12.
• <date-of-the-month> accepts values between 1 and 31.
• <month> accepts values between 1 and 12, where 1 is January, etc.
• <day-of-the-week> accepts values between 1 and 7, where 1 is Monday, etc.
All periods must be specified and separated by : . Each period also accepts a valid regex
pattern for datetime. Note that .* indicates any value of a period and allows, for instance, to
set a refresh once a week on Monday at 2h30 with 30:02:.*:.*:1.
726
Network Device
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
iplnetdev_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
727
Network Device
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
728
Network Device
Name
iplnetdev_list — List the NetChange network devices
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
site_name
The name of the space associated with the NetChange network device.
ip_id
Internal use. Not documented.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
729
Network Device
site_id
The database identifier (ID) of the space associated with the NetChange network device.
iplnetdev_ip_addr
The IP address of the NetChange network device.
iplnetdev_hostaddr
The human readable version of the parameter iplnetdev_ip_addr.
iplnetdev_mac
The MAC address of the NetChange network device.
iplnetdev_stack_id
The stack identifier (ID) of the NetChange network device.
iplnetdev_nb_stack
The total number of stacks of the NetChange network device.
iplnetdev_name
The name of the NetChange network device.
iplnetdev_synching
The synchronization status of the NetChange network device. 1 indicates that the device is
currently being synchronized.
iplnetdev_uptime
The uptime of the NetChange network device, in seconds.
iplnetdev_sysname
The name associated with the NetChange network device for SNMP monitoring.
iplnetdev_syscontact
The contact associated with the NetChange network device for SNMP monitoring.
iplnetdev_type
The product name of the NetChange network device.
iplnetdev_vendor
The vendor name of the NetChange network device.
iplnetdev_descr
The description and operating system of the NetChange network device.
iplnetdev_vlanid
Internal use. Not documented.
iplnetdev_updatetime
The last time the NetChange network device has been refreshed, in decimal UNIX date
format.
iplnetdev_analysistime
The time that was required to refresh the NetChange network device, in seconds.
iplnetdev_status
The status of the NetChange network device, either OK (1), in timeout (2) or misconfigured
(3).
iplnetdev_nbports
The total number of ports the NetChange network device contains.
iplnetdev_nbusedports
The number of ports on the NetChange network device that are currently active.
iplnetdev_sysoid
The OID associated with the NetChange network device for SNMP monitoring.
730
Network Device
iplnetdev_finished
Internal use. Not documented.
iplnetdev_refresh_parameters
The scheduled database refresh frequency configured of the NetChange network device.
iplnetdev_refresh_rancid_parameters
The scheduled configuration versioning refresh frequency of the NetChange network device.
iplnetdev_serial
The serial number of the NetChange network device.
iplnetdev_slot_serial
The slot number and slot serial number of used slots on the NetChange network device, as
follows: <slot-number>:<slot-serial-number>.This parameter only provides information for
used slots, empty slots are not listed.
iplnetdev_syslocation
The physical location associated with the NetChange network device for SNMP monitoring.
iplnetdev_class_name
The name of the class applied to the NetChange network device, it can be preceded by the
class directory.
snmp_id
Internal use. Not documented.
iplnetdev_version
The version details of the NetChange network device.
iplnetdev_id
The database identifier (ID) of the NetChange network device.
iplnetdev_nbfreeports
The number of ports on the NetChange network device that are not currently active.
iplnetdev_percusedports
The percentage of ports on the NetChange network device that are currently active.
iplnetdevip_ip_addr_list
The list of IPv4 and/or IPv6 addresses configured for the interfaces of the NetChange network
device.The addresses are returned in hexadecimal format as follows: <ip_address_1>,<ip_ad-
dress_2>,etc. For more details, refer to the chapters NetChange IPv4 Address and NetChange
IPv6 Address.
supported_mibs
The list of MIBs supported by the NetChange network device.
iplnetdev_dot1x
The 802.1X authentication status of the NetChange network device, either unsupported (0),
enabled (1) or disabled (2).
iplnetdev_port_security
The port-security status of the NetChange network device, either unsupported (0), enabled
(1) or disabled (2).
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
731
Network Device
732
Network Device
Name
iplnetdev_info — Display the properties of a NetChange network device
Description
This service allows to display the properties of an object.
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
iplnetdev_id
The database identifier (ID) of the NetChange network device, a unique numeric key value
automatically incremented when you add a NetChange network device. Use the ID to specify
the device of your choice.
Output Parameters
site_name
The name of the space associated with the NetChange network device.
ip_id
Internal use. Not documented.
site_id
The database identifier (ID) of the space associated with the NetChange network device.
iplnetdev_ip_addr
The IP address of the NetChange network device.
iplnetdev_hostaddr
The human readable version of the parameter iplnetdev_ip_addr.
iplnetdev_mac
The MAC address of the NetChange network device.
iplnetdev_stack_id
The stack identifier (ID) of the NetChange network device.
iplnetdev_nb_stack
The total number of stacks of the NetChange network device.
iplnetdev_name
The name of the NetChange network device.
iplnetdev_synching
The synchronization status of the NetChange network device. 1 indicates that the device is
currently being synchronized.
iplnetdev_uptime
The uptime of the NetChange network device, in seconds.
iplnetdev_sysname
The name associated with the NetChange network device for SNMP monitoring.
733
Network Device
iplnetdev_syscontact
The contact associated with the NetChange network device for SNMP monitoring.
iplnetdev_type
The product name of the NetChange network device.
iplnetdev_vendor
The vendor name of the NetChange network device.
iplnetdev_descr
The description and operating system of the NetChange network device.
iplnetdev_vlanid
Internal use. Not documented.
iplnetdev_updatetime
The last time the NetChange network device has been refreshed, in decimal UNIX date
format.
iplnetdev_analysistime
The time that was required to refresh the NetChange network device, in seconds.
iplnetdev_status
The status of the NetChange network device, either OK (1), in timeout (2) or misconfigured
(3).
iplnetdev_nbports
The total number of ports the NetChange network device contains.
iplnetdev_nbusedports
The number of ports on the NetChange network device that are currently active.
iplnetdev_sysoid
The OID associated with the NetChange network device for SNMP monitoring.
iplnetdev_finished
Internal use. Not documented.
iplnetdev_refresh_parameters
The scheduled database refresh frequency configured of the NetChange network device.
iplnetdev_refresh_rancid_parameters
The scheduled configuration versioning refresh frequency of the NetChange network device.
iplnetdev_serial
The serial number of the NetChange network device.
iplnetdev_slot_serial
The slot number and slot serial number of used slots on the NetChange network device, as
follows: <slot-number>:<slot-serial-number>.This parameter only provides information for
used slots, empty slots are not listed.
iplnetdev_syslocation
The physical location associated with the NetChange network device for SNMP monitoring.
iplnetdev_class_name
The name of the class applied to the NetChange network device, it can be preceded by the
class directory.
snmp_id
Internal use. Not documented.
iplnetdev_version
The version details of the NetChange network device.
734
Network Device
iplnetdev_id
The database identifier (ID) of the NetChange network device.
iplnetdev_nbfreeports
The number of ports on the NetChange network device that are not currently active.
iplnetdev_percusedports
The percentage of ports on the NetChange network device that are currently active.
iplnetdevip_ip_addr_list
The list of IPv4 and/or IPv6 addresses configured for the interfaces of the NetChange network
device.The addresses are returned in hexadecimal format as follows: <ip_address_1>,<ip_ad-
dress_2>,etc. For more details, refer to the chapters NetChange IPv4 Address and NetChange
IPv6 Address.
supported_mibs
The list of MIBs supported by the NetChange network device.
iplnetdev_dot1x
The 802.1X authentication status of the NetChange network device, either unsupported (0),
enabled (1) or disabled (2).
iplnetdev_port_security
The port-security status of the NetChange network device, either unsupported (0), enabled
(1) or disabled (2).
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
iplnetdev_snmp_profile
The SNMP version used on the NetChange network device.
iplnetdev_rancid_id
The database identifier (ID) of the configuration associated with the NetChange network
device.
iplnetdev_rancid_profile
The connection profile currently associated with the NetChange network device.
iplnetdev_rancid_revision
The revision number of the configuration associated with the NetChange network device.
iplnetdev_rancid_revision_id
The database identifier (ID) of the revision of the configuration associated with the NetChange
network device.
iplnetdev_rancid_time
The time of the last edition of the NetChange network device configuration, in decimal UNIX
date format.
iplnetdev_rancid_first_time
The time of creation of the NetChange network device configuration, in decimal UNIX date
format.
735
Network Device
iplnetdev_rancid_nochange_time
The time during which the NetChange network device configuration remained unchanged
before the last configuration check, in seconds.
iplnetdev_rancid_check_time
The date of the last configuration check, in timestamp format.
iplnetdev_rancid_sync
The configuration versioning status of the NetChange network device, either unsupported
(-1), enabled (0), disabled (1) or error (2).
iplnetdev_class_parameters
The class parameters applied to the NetChange network device and their value: <class-
parameter1>=<value1>&<class-parameter2>=<value2>&... .
iplnetdev_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
iplnetdev_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
iplnetdev_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
736
Network Device
Name
iplnetdev_count — Count the number of NetChange network devices
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
737
Network Device
Name
iplnetdev_groupby — Group NetChange network devices by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
738
Network Device
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
739
Network Device
Name
iplnetdev_groupby_count — Count the number of NetChange network devices
grouped by parameter(s)
Description
This service allows to display the total number of results of the service *_groupby.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
740
Network Device
Name
group_iplnetdev_add — Add a NetChange network device to a group resources
Description
This service allows to add an object to the resources of a group. You can only add one object to
a group resource per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
iplnetdev_id
The database identifier (ID) of the NetChange network device, a unique numeric key value
automatically incremented when you add a NetChange network device. Use the ID to specify
the device of your choice.
hostaddr
The IP address of the NetChange network device.
iplnetdev_addr
Deprecated, replaced by hostaddr.
site_id
The database identifier (ID) of the space associated with the NetChange network device.
Use the ID to specify the space of your choice.
741
Network Device
site_name
The name of the space associated with the NetChange network device.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
742
Network Device
Name
group_iplnetdev_delete — Remove a NetChange network device from a group re-
sources
Description
This service allows to remove an object from a group resources.You can only remove one object
from the resources of a group per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
iplnetdev_id
The database identifier (ID) of the NetChange network device, a unique numeric key value
automatically incremented when you add a NetChange network device. Use the ID to specify
the device of your choice.
hostaddr
The IP address of the NetChange network device.
iplnetdev_addr
Deprecated, replaced by hostaddr.
site_id
The database identifier (ID) of the space associated with the NetChange network device.
Use the ID to specify the space of your choice.
743
Network Device
site_name
The name of the space associated with the NetChange network device.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
744
Network Device
Name
iplocator_netdev_delete — Delete a NetChange network device
Description
This service allows to delete an object. A call can only delete one object.
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
iplnetdev_id
The database identifier (ID) of the NetChange network device, a unique numeric key value
automatically incremented when you add a NetChange network device. Use the ID to specify
the device of your choice.
hostaddr
The IP address of the NetChange network device.
iplnetdev_addr
Deprecated, replaced by hostaddr.
site_id
The database identifier (ID) of the space associated with the NetChange network device.
Use the ID to specify the space of your choice.
site_name
The name of the space associated with the NetChange network device.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
745
Network Device
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
746
Chapter 45. IPv4 Route
747
IPv4 Route
Name
iplnetdevroute_list — List the IPv4 routes
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
site_name
Internal use. Not documented.
ip_id
Internal use. Not documented.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
748
IPv4 Route
site_id
Internal use. Not documented.
iplnetdev_ip_addr
The IP address of the NetChange network device the object belongs to.
iplnetdev_stack_id
The stack identifier (ID) of the NetChange network device the object belongs to.
iplnetdev_nb_stack
The total number of stacks of the NetChange network device the object belongs to.
iplnetdev_name
The name of the NetChange network device the object belongs to.
iplnetdev_synching
The synchronization status of the NetChange network device the object belongs to. 1 indicates
that the device is currently being synchronized.
iplnetdev_uptime
The uptime of the NetChange network device the object belongs to, in seconds.
iplnetdev_sysname
The name associated with the NetChange network device the object belongs to for SNMP
monitoring.
iplnetdev_syscontact
The contact associated with the NetChange network device the object belongs to for SNMP
monitoring.
iplnetdev_type
The product name of the NetChange network device the object belongs to.
iplnetdev_vendor
The vendor name of the NetChange network device the object belongs to.
iplnetdev_descr
The description and operating system of the NetChange network device the object belongs
to.
iplnetdev_vlanid
Internal use. Not documented.
iplnetdev_updatetime
The last time the NetChange network device the object belongs to has been refreshed, in
decimal UNIX date format.
iplnetdev_analysistime
The time that was required to refresh the NetChange network device the object belongs to,
in seconds.
iplnetdev_status
The status of the NetChange network device the object belongs to, either OK (1), in timeout
(2) or misconfigured (3).
iplnetdev_nbports
The total number of ports the NetChange network device the object belongs to contains.
iplnetdev_nbusedports
The number of ports on the NetChange network device the object belongs to that are currently
active.
749
IPv4 Route
iplnetdev_sysoid
The OID associated with the NetChange network device the object belongs to for SNMP
monitoring.
iplnetdev_finished
Internal use. Not documented.
iplnetdev_refresh_parameters
The scheduled database refresh frequency configured on the NetChange network device
the object belongs to.
iplnetdev_refresh_rancid_parameters
The configuration versioning refresh frequency on the NetChange network device the object
belongs to.
iplnetdev_serial
The serial number of the NetChange network device the object belongs to.
iplnetdev_syslocation
The physical location associated with the NetChange network device the object belongs to
for SNMP monitoring.
iplnetdev_class_name
The name of the class applied to the NetChange network device the object belongs to, it can
be preceded by the class directory.
iplnetdev_class_parameters
The class parameters applied to the NetChange network device the object belongs to and
their value: <class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
snmp_id
Internal use. Not documented.
iplnetdev_version
The version details of the NetChange network device the object belongs to.
iplnetdev_id
The database identifier (ID) of the NetChange network device the object belongs to.
iplnetdev_nbfreeports
The number of ports on the NetChange network device the object belongs to that are not
currently active.
iplnetdev_percusedports
The percentage of ports on the NetChange network device the object belongs to that are
currently active.
iplnetdevroute_id
The database identifier (ID) of the IPv4 route.
iplnetdevroute_ip_addr
The IPv4 address of the route.
iplnetdevroute_prefix
The prefix size of the IPv4 route.
iplnetdevroute_nexthop
The next router to reach the destination within the VRF.
iplnetdevroute_type
The type of route:
• other indicates that the routing is not working, we do not know why.
• invalid or reject indicates that the route is invalidated or discarding traffic.
750
IPv4 Route
• local or direct indicates that the route originates from a local interface.
• remote indicates that the route has a remote destination.
• blackhole indicates that the route is discarding traffic silently.
iplnetdevroute_proto
The protocol via which the route was found.
iplvrf_name
The name of the VRF, as set on the network device the object belongs to.
iplvrf_rd
The Route Distinguisher of iplvrf_name. A unique 64-bits identifier, that can be composed
of IP addresses or AS Numbers, that differentiates every set of routes on each VRF.
iplnetdevip_ip_addr_list
The list of IPv4 and/or IPv6 addresses configured for the interfaces of the NetChange network
device the object belongs to. The addresses are returned in hexadecimal format as follows:
<ip_address_1>,<ip_address_2>,etc. For more details, refer to the chapters NetChange IPv4
Address and NetChange IPv6 Address.
751
IPv4 Route
Name
iplnetdevroute_info — Display the properties of an IPv4 route
Description
This service allows to display the properties of an object.
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
iplnetdevroute_id
The database identifier (ID) of the IPv4 route, a unique identifier automatically incremented
when the route was discovered on the device. Use it to identify the route of your choice.
Output Parameters
site_name
Internal use. Not documented.
ip_id
Internal use. Not documented.
site_id
Internal use. Not documented.
iplnetdev_ip_addr
The IP address of the NetChange network device the object belongs to.
iplnetdev_stack_id
The stack identifier (ID) of the NetChange network device the object belongs to.
iplnetdev_nb_stack
The total number of stacks of the NetChange network device the object belongs to.
iplnetdev_name
The name of the NetChange network device the object belongs to.
iplnetdev_synching
The synchronization status of the NetChange network device the object belongs to. 1 indicates
that the device is currently being synchronized.
iplnetdev_uptime
The uptime of the NetChange network device the object belongs to, in seconds.
iplnetdev_sysname
The name associated with the NetChange network device the object belongs to for SNMP
monitoring.
iplnetdev_syscontact
The contact associated with the NetChange network device the object belongs to for SNMP
monitoring.
752
IPv4 Route
iplnetdev_type
The product name of the NetChange network device the object belongs to.
iplnetdev_vendor
The vendor name of the NetChange network device the object belongs to.
iplnetdev_descr
The description and operating system of the NetChange network device the object belongs
to.
iplnetdev_vlanid
Internal use. Not documented.
iplnetdev_updatetime
The last time the NetChange network device the object belongs to has been refreshed, in
decimal UNIX date format.
iplnetdev_analysistime
The time that was required to refresh the NetChange network device the object belongs to,
in seconds.
iplnetdev_status
The status of the NetChange network device the object belongs to, either OK (1), in timeout
(2) or misconfigured (3).
iplnetdev_nbports
The total number of ports the NetChange network device the object belongs to contains.
iplnetdev_nbusedports
The number of ports on the NetChange network device the object belongs to that are currently
active.
iplnetdev_sysoid
The OID associated with the NetChange network device the object belongs to for SNMP
monitoring.
iplnetdev_finished
Internal use. Not documented.
iplnetdev_refresh_parameters
The scheduled database refresh frequency configured on the NetChange network device
the object belongs to.
iplnetdev_refresh_rancid_parameters
The configuration versioning refresh frequency on the NetChange network device the object
belongs to.
iplnetdev_serial
The serial number of the NetChange network device the object belongs to.
iplnetdev_syslocation
The physical location associated with the NetChange network device the object belongs to
for SNMP monitoring.
iplnetdev_class_name
The name of the class applied to the NetChange network device the object belongs to, it can
be preceded by the class directory.
iplnetdev_class_parameters
The class parameters applied to the NetChange network device the object belongs to and
their value: <class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
753
IPv4 Route
snmp_id
Internal use. Not documented.
iplnetdev_version
The version details of the NetChange network device the object belongs to.
iplnetdev_id
The database identifier (ID) of the NetChange network device the object belongs to.
iplnetdev_nbfreeports
The number of ports on the NetChange network device the object belongs to that are not
currently active.
iplnetdev_percusedports
The percentage of ports on the NetChange network device the object belongs to that are
currently active.
iplnetdevroute_id
The database identifier (ID) of the IPv4 route.
iplnetdevroute_ip_addr
The IPv4 address of the route.
iplnetdevroute_prefix
The prefix size of the IPv4 route.
iplnetdevroute_nexthop
The next router to reach the destination within the VRF.
iplnetdevroute_type
The type of route:
• other indicates that the routing is not working, we do not know why.
• invalid or reject indicates that the route is invalidated or discarding traffic.
• local or direct indicates that the route originates from a local interface.
• remote indicates that the route has a remote destination.
• blackhole indicates that the route is discarding traffic silently.
iplnetdevroute_proto
The protocol via which the route was found.
754
IPv4 Route
Value Description
bgp Border Gateway Protocol.
idpr InterDomain Policy Routing.
ciscoEigrp Cisco Enhanced Interior Gateway Routing Protocol.
dvmrp Distance Vector Multicast Routing Protocol.
rpl Routing Protocol for LLNs [RFC-ietf-roll-rpl-19].
dhcp Dynamic Host Configuration Protocol [RFC2132].
ttdp Train Topology Discovery Protocol [IEC 61375-2-5].
iplvrf_name
The name of the VRF, as set on the network device the object belongs to.
iplvrf_rd
The Route Distinguisher of iplvrf_name. A unique 64-bits identifier, that can be composed
of IP addresses or AS Numbers, that differentiates every set of routes on each VRF.
iplnetdevip_ip_addr_list
The list of IPv4 and/or IPv6 addresses configured for the interfaces of the NetChange network
device the object belongs to. The addresses are returned in hexadecimal format as follows:
<ip_address_1>,<ip_address_2>,etc. For more details, refer to the chapters NetChange IPv4
Address and NetChange IPv6 Address.
755
IPv4 Route
Name
iplnetdevroute_count — Count the number of IPv4 routes
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
756
IPv4 Route
Name
iplnetdevroute_groupby — Group IPv4 routes by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
757
IPv4 Route
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
758
IPv4 Route
Name
iplnetdevroute_groupby_count — Count the number of IPv4 routes grouped by
parameter(s)
Description
This service allows to return the number of objects.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
759
Chapter 46. IPv6 Route
760
IPv6 Route
Name
iplnetdevroute6_list — List the IPv6 routes
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
site_name
Internal use. Not documented.
ip_id
Internal use. Not documented.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
761
IPv6 Route
site_id
Internal use. Not documented.
iplnetdev_ip_addr
The IP address of the NetChange network device the object belongs to.
iplnetdev_stack_id
The stack identifier (ID) of the NetChange network device the object belongs to.
iplnetdev_nb_stack
The total number of stacks of the NetChange network device the object belongs to.
iplnetdev_name
The name of the NetChange network device the object belongs to.
iplnetdev_synching
The synchronization status of the NetChange network device the object belongs to. 1 indicates
that the device is currently being synchronized.
iplnetdev_uptime
The uptime of the NetChange network device the object belongs to, in seconds.
iplnetdev_sysname
The name associated with the NetChange network device the object belongs to for SNMP
monitoring.
iplnetdev_syscontact
The contact associated with the NetChange network device the object belongs to for SNMP
monitoring.
iplnetdev_type
The product name of the NetChange network device the object belongs to.
iplnetdev_vendor
The vendor name of the NetChange network device the object belongs to.
iplnetdev_descr
The description and operating system of the NetChange network device the object belongs
to.
iplnetdev_vlanid
Internal use. Not documented.
iplnetdev_updatetime
The last time the NetChange network device the object belongs to has been refreshed, in
decimal UNIX date format.
iplnetdev_analysistime
The time that was required to refresh the NetChange network device the object belongs to,
in seconds.
iplnetdev_status
The status of the NetChange network device the object belongs to, either OK (1), in timeout
(2) or misconfigured (3).
iplnetdev_nbports
The total number of ports the NetChange network device the object belongs to contains.
iplnetdev_nbusedports
The number of ports on the NetChange network device the object belongs to that are currently
active.
762
IPv6 Route
iplnetdev_sysoid
The OID associated with the NetChange network device the object belongs to for SNMP
monitoring.
iplnetdev_finished
Internal use. Not documented.
iplnetdev_refresh_parameters
The scheduled database refresh frequency configured on the NetChange network device
the object belongs to.
iplnetdev_refresh_rancid_parameters
The configuration versioning refresh frequency on the NetChange network device the object
belongs to.
iplnetdev_serial
The serial number of the NetChange network device the object belongs to.
iplnetdev_syslocation
The physical location associated with the NetChange network device the object belongs to
for SNMP monitoring.
iplnetdev_class_name
The name of the class applied to the NetChange network device the object belongs to, it can
be preceded by the class directory.
iplnetdev_class_parameters
The class parameters applied to the NetChange network device the object belongs to and
their value: <class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
snmp_id
Internal use. Not documented.
iplnetdev_version
The version details of the NetChange network device the object belongs to.
iplnetdev_id
The database identifier (ID) of the NetChange network device the object belongs to.
iplnetdev_nbfreeports
The number of ports on the NetChange network device the object belongs to that are not
currently active.
iplnetdev_percusedports
The percentage of ports on the NetChange network device the object belongs to that are
currently active.
iplnetdevroute6_id
The database identifier (ID) of the IPv6 route.
iplnetdevroute6_ip6_addr
The IPv6 address of the route.
iplnetdevroute6_prefix
The prefix size of the IPv6 route.
iplnetdevroute6_nexthop
The next router to reach the destination within the VRF.
iplnetdevroute6_type
The type of route:
• other indicates that the routing is not working, we do not know why.
• invalid or reject indicates that the route is invalidated or discarding traffic.
763
IPv6 Route
• local or direct indicates that the route originates from a local interface.
• remote indicates that the route has a remote destination.
• blackhole indicates that the route is discarding traffic silently.
iplnetdevroute6_proto
The protocol via which the route was found.
iplvrf_name
The name of the VRF, as set on the network device the object belongs to.
iplvrf_rd
The Route Distinguisher of iplvrf_name. A unique 64-bits identifier, that can be composed
of IP addresses or AS Numbers, that differentiates every set of routes on each VRF.
iplnetdevip_ip_addr_list
The list of IPv4 and/or IPv6 addresses configured for the interfaces of the NetChange network
device the object belongs to. The addresses are returned in hexadecimal format as follows:
<ip_address_1>,<ip_address_2>,etc. For more details, refer to the chapters NetChange IPv4
Address and NetChange IPv6 Address.
764
IPv6 Route
Name
iplnetdevroute6_info — Display the properties of an IPv6 route
Description
This service allows to display the properties of an object.
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
iplnetdevroute6_id
The database identifier (ID) of the IPv6 route, a unique identifier automatically incremented
when the route was discovered on the device. Use it to identify the route of your choice.
Output Parameters
site_name
Internal use. Not documented.
ip_id
Internal use. Not documented.
site_id
Internal use. Not documented.
iplnetdev_ip_addr
The IP address of the NetChange network device the object belongs to.
iplnetdev_stack_id
The stack identifier (ID) of the NetChange network device the object belongs to.
iplnetdev_nb_stack
The total number of stacks of the NetChange network device the object belongs to.
iplnetdev_name
The name of the NetChange network device the object belongs to.
iplnetdev_synching
The synchronization status of the NetChange network device the object belongs to. 1 indicates
that the device is currently being synchronized.
iplnetdev_uptime
The uptime of the NetChange network device the object belongs to, in seconds.
iplnetdev_sysname
The name associated with the NetChange network device the object belongs to for SNMP
monitoring.
iplnetdev_syscontact
The contact associated with the NetChange network device the object belongs to for SNMP
monitoring.
765
IPv6 Route
iplnetdev_type
The product name of the NetChange network device the object belongs to.
iplnetdev_vendor
The vendor name of the NetChange network device the object belongs to.
iplnetdev_descr
The description and operating system of the NetChange network device the object belongs
to.
iplnetdev_vlanid
Internal use. Not documented.
iplnetdev_updatetime
The last time the NetChange network device the object belongs to has been refreshed, in
decimal UNIX date format.
iplnetdev_analysistime
The time that was required to refresh the NetChange network device the object belongs to,
in seconds.
iplnetdev_status
The status of the NetChange network device the object belongs to, either OK (1), in timeout
(2) or misconfigured (3).
iplnetdev_nbports
The total number of ports the NetChange network device the object belongs to contains.
iplnetdev_nbusedports
The number of ports on the NetChange network device the object belongs to that are currently
active.
iplnetdev_sysoid
The OID associated with the NetChange network device the object belongs to for SNMP
monitoring.
iplnetdev_finished
Internal use. Not documented.
iplnetdev_refresh_parameters
The scheduled database refresh frequency configured on the NetChange network device
the object belongs to.
iplnetdev_refresh_rancid_parameters
The configuration versioning refresh frequency on the NetChange network device the object
belongs to.
iplnetdev_serial
The serial number of the NetChange network device the object belongs to.
iplnetdev_syslocation
The physical location associated with the NetChange network device the object belongs to
for SNMP monitoring.
iplnetdev_class_name
The name of the class applied to the NetChange network device the object belongs to, it can
be preceded by the class directory.
iplnetdev_class_parameters
The class parameters applied to the NetChange network device the object belongs to and
their value: <class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
766
IPv6 Route
snmp_id
Internal use. Not documented.
iplnetdev_version
The version details of the NetChange network device the object belongs to.
iplnetdev_id
The database identifier (ID) of the NetChange network device the object belongs to.
iplnetdev_nbfreeports
The number of ports on the NetChange network device the object belongs to that are not
currently active.
iplnetdev_percusedports
The percentage of ports on the NetChange network device the object belongs to that are
currently active.
iplnetdevroute6_id
The database identifier (ID) of the IPv6 route.
iplnetdevroute6_ip6_addr
The IPv6 address of the route.
iplnetdevroute6_prefix
The prefix size of the IPv6 route.
iplnetdevroute6_nexthop
The next router to reach the destination within the VRF.
iplnetdevroute6_type
The type of route:
• other indicates that the routing is not working, we do not know why.
• invalid or reject indicates that the route is invalidated or discarding traffic.
• local or direct indicates that the route originates from a local interface.
• remote indicates that the route has a remote destination.
• blackhole indicates that the route is discarding traffic silently.
iplnetdevroute6_proto
The protocol via which the route was found.
767
IPv6 Route
Value Description
bgp Border Gateway Protocol.
idpr InterDomain Policy Routing.
ciscoEigrp Cisco Enhanced Interior Gateway Routing Protocol.
dvmrp Distance Vector Multicast Routing Protocol.
rpl Routing Protocol for LLNs [RFC-ietf-roll-rpl-19].
dhcp Dynamic Host Configuration Protocol [RFC2132].
ttdp Train Topology Discovery Protocol [IEC 61375-2-5].
iplvrf_name
The name of the VRF, as set on the network device the object belongs to.
iplvrf_rd
The Route Distinguisher of iplvrf_name. A unique 64-bits identifier, that can be composed
of IP addresses or AS Numbers, that differentiates every set of routes on each VRF.
iplnetdevip_ip_addr_list
The list of IPv4 and/or IPv6 addresses configured for the interfaces of the NetChange network
device the object belongs to. The addresses are returned in hexadecimal format as follows:
<ip_address_1>,<ip_address_2>,etc. For more details, refer to the chapters NetChange IPv4
Address and NetChange IPv6 Address.
768
IPv6 Route
Name
iplnetdevroute6_count — Count the number of IPv6 routes
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
769
IPv6 Route
Name
iplnetdevroute6_groupby — Group IPv6 routes by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
770
IPv6 Route
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
771
IPv6 Route
Name
iplnetdevroute6_groupby_count — Count the number of IPv6 routes grouped
by parameter(s)
Description
This service allows to return the number of objects.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
772
Chapter 47. NetChange VLAN
773
NetChange VLAN
Name
iplnetdevvlan_list — List the NetChange VLANs
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
iplnetdevvlan_id
The database identifier (ID) of the NetChange VLAN, a unique numeric key value automatically
incremented when you add a NetChange VLAN.
iplnetdev_id
The database identifier (ID) of the NetChange network device the object belongs to.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
774
NetChange VLAN
iplnetdevvlan_number
The VLAN identifier (ID) of the NetChange VLAN.
iplnetdevvlan_name
The name of the NetChange VLAN.
iplnetdevvlan_status
The status of the NetChange VLAN, either OK (1), inactive (2) or dynamic (3).
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
iplnetdev_name
The name of the NetChange network device the object belongs to.
iplnetdev_class_name
The name of the class applied to the NetChange network device the object belongs to, it can
be preceded by the class directory.
iplnetdev_nbports
The total number of ports the NetChange network device the object belongs to contains.
iplnetdev_type
The product name of the NetChange network device the object belongs to.
iplnetdev_vendor
The vendor name of the NetChange network device the object belongs to.
iplnetdev_syscontact
The contact associated with the NetChange network device the object belongs to for SNMP
monitoring.
iplnetdev_serial
The serial number of the NetChange network device the object belongs to.
iplnetdev_status
The status of the NetChange network device the object belongs to, either OK (1), in timeout
(2) or misconfigured (3).
iplnetdev_syslocation
The physical location associated with the NetChange network device the object belongs to
for SNMP monitoring.
vlan_port_name_list
The name of the ports associated with the NetChange VLAN, as follows: <iplport_name>,
<iplport_name>, ... .
vlan_access_port_name_list
The list of ports associated with the NetChange VLAN set with the mode Access.
775
NetChange VLAN
Name
iplnetdevvlan_count — Count the number of NetChange VLANs
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
776
NetChange VLAN
Name
iplnetdevvlan_groupby — Group NetChange VLANs by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
777
NetChange VLAN
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
778
Chapter 48. Port
779
Port
Name
iplocator_port_add — Edit a port
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the port, a unique numeric key value automatically incremented
when you add a port. Use the ID to specify which port to edit.
iplport_ifoperstatus
The operational status of the port, you can set it to enabled or disabled.
iplport_description
The description of the port.
iplport_ifcfgspeed
The configured speed of the NetChange port, in bits per seconds (bps). Set it to -1 to indicate
that the speed is automatically configured (auto).
iplport_cfg_duplex
The configured duplex mode of the NetChange port, either automatic (auto) half-duplex (half)
or full-duplex (full).
780
Port
iplport_dot1x
The 802.1X authentication status of the NetChange port, either unsupported (0), enabled (1)
or disabled (2).
iplport_port_security
The port-security mode of the NetChange port, either unsupported (0), disabled (1), FirstN
(2), configureSpecific (4), 8021xAuthorized (5) or LimitedContinuous (6).
iplport_port_security_max_mac
The maximum number of MAC addresses allowed to access the port.The port-security mode
must be enabled.
iplport_port_security_action
The port-security action of the NetChange port. Possible values can be:
• For HP devices: disable (1), sendTrap (2) or sendTrapAndDisablePort (3).
• For Cisco devices: shutdown (4), dropNotify (5) or drop (6).
• For Juniper devices: none (1), drop (2), alarm (3) or shutdown (4).
iplport_vlan_tagging
The VLAN tagging status of the NetChange port. Set it to 1 to enable VLAN tagging.
iplport_untagged_vlan
The list of the VLAN identifier (ID) of the untagged NetChange VLANs associated with the
NetChange port, as follows: <vlan_id>, <vlan_id>... .
iplport_tagged_vlans
The list of the VLAN identifier (ID) of the tagged NetChange VLANs associated with the
NetChange port, as follows: <vlan_id>, <vlan_id>... .
781
Port
iplport_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
iplport_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
iplport_interco_mode
The interconnection status of the NetChange port. 1 indicates that interconnection is enabled.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
iplport_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
782
Port
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
783
Port
Name
iplport_list — List the ports
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
port_vlan_number_list
The list of the VLAN identifier (ID) of all the NetChange VLANs associated with the NetChange
port, as follows: <vlan_id>, <vlan_id>... .
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
784
Port
port_vlan_name_list
The list of the name of all the NetChange VLANs associated with the NetChange port, as
follows: <vlan_id>, <vlan_id>... .
tagged_vlan_list
The list of the VLAN identifier (ID) of the tagged NetChange VLANs associated with the
NetChange port, as follows: <vlan_id>, <vlan_id>... .
iplport_oper_dot1x
The operating 802.1X authentication status of the NetChange port, either unsupported (0),
enabled (1) or disabled (2).
iplport_port_security
The port-security mode of the NetChange port, either unsupported (0), disabled (1), FirstN
(2), configureSpecific (4), 8021xAuthorized (5) or LimitedContinuous (6).
iplport_dot1x
The configured 802.1X authentication status of the NetChange port, either unsupported (0),
enabled (1) or disabled (2).
iplnetdev_id
The database identifier (ID) of the NetChange network device the object belongs to.
iplport_ifnumber
The interface number of the NetChange port, as follows: <slot_number>.<port_number>, or
<port_number> only when the slot number is 0.
iplport_name
The name of the port.
iplport_description
The description of the port.
iplport_ifname
The internal monitoring name of the port.
iplport_iftype
The type of the NetChange port.
iplport_ifdescr
The internal monitoring description of the NetChange port.
iplport_ifaddress
Internal use. Not documented.
iplport_ifvlan
Internal use. Not documented.
iplport_untagged_vlan
The list of the VLAN identifier (ID) of the untagged NetChange VLANs associated with the
NetChange port, as follows: <vlan_id>, <vlan_id>... .
iplport_vlan_tagging
The VLAN tagging status of the NetChange port, either trunk (1), access (2), auto (4), mixed
(6) or tagged (7).
iplport_trunk_status
The VLAN trunking status of the NetChange port, either N/A (0), Trunk/Tagged (1), or Ac-
cess/Untagged (2).
iplport_ifspeed_max
The maximum speed of the NetChange port, in bits per seconds (bps). 0 indicates that the
port is not active.
785
Port
iplport_ifvendor
The vendor name of the NetChange port.
iplport_ifoperspeed
The operating speed of the NetChange port, in bits per seconds (bps). 0 indicates that the
port is not active.
iplport_ifcfgspeed
The configured speed of the NetChange port, in bits per seconds (bps). -1 indicates that the
speed is automatically configured (auto).
iplport_ifoperstatus
The operational status of the port:
iplport_duplex
The operating duplex mode of the NetChange port, either automatic (auto) half-duplex (half)
or full-duplex (full).
iplport_cfg_duplex
The configured duplex mode of the NetChange port, either automatic (auto) half-duplex (half)
or full-duplex (full).
iplport_defaultmau
Internal use. Not documented.
iplport_mautypelist
Internal use. Not documented.
iplport_modulenumber
Internal use. Not documented.
iplport_slotnumber
The slot number of the port.
iplport_portnumber
The number of the port.
iplport_dot1d
Internal use. Not documented.
iplport_port_security_max_mac
The maximum number of MAC addresses allowed to access the port. the port-security mode
must be enabled.
iplport_port_security_action
The port-security action of the NetChange port. Possible values can be:
• For HP devices: disable (1), sendTrap (2) or sendTrapAndDisablePort (3).
786
Port
787
Port
snmp_id
Internal use. Not documented.
iplnetdev_ip_addr
The IP address of the NetChange network device the object belongs to.
iplnetdev_site_id
The database identifier (ID) of the space associated with the NetChange network device the
object belongs to.
iplnetdev_stack_id
The stack identifier (ID) of the NetChange network device the object belongs to.
iplnetdev_vendor
The vendor name of the NetChange network device the object belongs to.
iplnetdev_name
The name of the NetChange network device the object belongs to.
iplnetdev_type
The product name of the NetChange network device the object belongs to.
iplnetdev_serial
The serial number of the NetChange network device the object belongs to.
iplnetdev_syscontact
The contact associated with the NetChange network device the object belongs to for SNMP
monitoring.
iplnetdev_nbports
The total number of ports the NetChange network device the object belongs to contains.
iplnetdev_status
The status of the NetChange network device the object belongs to, either OK (1), in timeout
(2) or misconfigured (3).
iplnetdev_class_name
The name of the class applied to the NetChange network device the object belongs to, it can
be preceded by the class directory.
iplnetdev_dot1x
The 802.1X authentication status of the NetChange network device the port belongs to, either
unsupported (0), enabled (1) or disabled (2).
iplnetdev_syslocation
The physical location associated with the NetChange network device the object belongs to
for SNMP monitoring.
iplnetdev_port_security
The port-security status of the NetChange network device the port belongs to, either unsup-
ported (0), enabled (1) or disabled (2).
iplnetdevvlan_name
The name of the NetChange VLAN the object belongs to.
iplnetdevvlan_number
The VLAN identifier (ID) of the NetChange VLAN the port belongs to.
iplport_class_parameters
The class parameters applied to the port and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
788
Port
iplport_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
iplport_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
iplport_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
iplnetdev_class_parameters
The class parameters applied to the NetChange network device the object belongs to and
their value: <class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
iplnetdev_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
iplnetdev_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
789
Port
Name
iplport_info — Display the properties of a port
Description
This service allows to display the properties of an object.
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 database identifier (ID) of the port, a unique numeric key value automatically incremented
when you add a port. Use the ID to specify the port of your choice.
Output Parameters
port_vlan_number_list
The list of the VLAN identifier (ID) of all the NetChange VLANs associated with the NetChange
port, as follows: <vlan_id>, <vlan_id>... .
port_vlan_name_list
The list of the name of all the NetChange VLANs associated with the NetChange port, as
follows: <vlan_id>, <vlan_id>... .
tagged_vlan_list
The list of the VLAN identifier (ID) of the tagged NetChange VLANs associated with the
NetChange port, as follows: <vlan_id>, <vlan_id>... .
iplport_oper_dot1x
The operating 802.1X authentication status of the NetChange port, either unsupported (0),
enabled (1) or disabled (2).
iplport_port_security
The port-security mode of the NetChange port, either unsupported (0), disabled (1), FirstN
(2), configureSpecific (4), 8021xAuthorized (5) or LimitedContinuous (6).
iplport_dot1x
The configured 802.1X authentication status of the NetChange port, either unsupported (0),
enabled (1) or disabled (2).
iplnetdev_id
The database identifier (ID) of the NetChange network device the object belongs to.
iplport_ifnumber
The interface number of the NetChange port, as follows: <slot_number>.<port_number>, or
<port_number> only when the slot number is 0.
iplport_name
The name of the port.
iplport_description
The description of the port.
790
Port
iplport_ifname
The internal monitoring name of the port.
iplport_iftype
The type of the NetChange port.
iplport_ifdescr
The internal monitoring description of the NetChange port.
iplport_ifaddress
Internal use. Not documented.
iplport_ifvlan
Internal use. Not documented.
iplport_untagged_vlan
The list of the VLAN identifier (ID) of the untagged NetChange VLANs associated with the
NetChange port, as follows: <vlan_id>, <vlan_id>... .
iplport_vlan_tagging
The VLAN tagging status of the NetChange port, either trunk (1), access (2), auto (4), mixed
(6) or tagged (7).
iplport_trunk_status
The VLAN trunking status of the NetChange port, either N/A (0), Trunk/Tagged (1), or Ac-
cess/Untagged (2).
iplport_ifspeed_max
The maximum speed of the NetChange port, in bits per seconds (bps). 0 indicates that the
port is not active.
iplport_ifvendor
The vendor name of the NetChange port.
iplport_ifoperspeed
The operating speed of the NetChange port, in bits per seconds (bps). 0 indicates that the
port is not active.
iplport_ifcfgspeed
The configured speed of the NetChange port, in bits per seconds (bps). -1 indicates that the
speed is automatically configured (auto).
iplport_ifoperstatus
The operational status of the port:
iplport_duplex
The operating duplex mode of the NetChange port, either automatic (auto) half-duplex (half)
or full-duplex (full).
791
Port
iplport_cfg_duplex
The configured duplex mode of the NetChange port, either automatic (auto) half-duplex (half)
or full-duplex (full).
iplport_defaultmau
Internal use. Not documented.
iplport_mautypelist
Internal use. Not documented.
iplport_modulenumber
Internal use. Not documented.
iplport_slotnumber
The slot number of the port.
iplport_portnumber
The number of the port.
iplport_dot1d
Internal use. Not documented.
iplport_port_security_max_mac
The maximum number of MAC addresses allowed to access the port. the port-security mode
must be enabled.
iplport_port_security_action
The port-security action of the NetChange port. Possible values can be:
• For HP devices: disable (1), sendTrap (2) or sendTrapAndDisablePort (3).
• For Cisco devices: shutdown (4), dropNotify (5) or drop (6).
• For Juniper devices: none (1), drop (2), alarm (3) or shutdown (4).
iplport_interco
The interconnection status of the NetChange port. 1 indicates that interconnection is enabled.
The interconnection status can be forced if the parameter iplport_staticinterco is set to 1.
iplport_dev_count
The number of discovered items associated with the NetChange port.
iplport_staticinterco
The forced interconnection status of the NetChange port. 1 indicates that the interconnection
status returned in the parameter iplport_interco is forced.
iplport_analysis
Internal use. Not documented.
iplport_display
Internal use. Not documented.
iplport_secure
Internal use. Not documented.
iplport_neighbour
Internal use. Not documented.
iplport_class_name
The name of the class applied to the port, it can be preceded by the class directory.
iplport_status_time
The last time the port status has changed to Active, in decimal UNIX date format.
iplport_is_aggregated
The aggregation status of the port. 1 indicates that the port is aggregated.
792
Port
aggregated_iplport_id
The database identifier (ID) of the aggregated port associated with the port.
iplport_poe
The port power over ethernet status. 1 indicates that the port provides POE.
iplport_poe_pwr_max
The maximum power over ethernet of the NetChange port, in watts.
iplport_poe_pwr_allocated
The power over ethernet allocated to the NetChange port, in watts.
in_bw_1h
The size of the incoming bandwidth of the NetChange port during the last hour, in bps.
out_bw_1h
The size of the outgoing bandwidth of the NetChange port during the last hour, in bps.
in_errors_1h
The size of the incoming traffic in error of the NetChange port during the last hour, in bps.
out_errors_1h
The size of the outgoing traffic in error of the NetChange port during the last hour, in bps.
aggregated_port_name
The name of the aggregated port associated with the port.
iplport_id
The database identifier (ID) of the port.
snmp_id
Internal use. Not documented.
iplnetdev_ip_addr
The IP address of the NetChange network device the object belongs to.
iplnetdev_site_id
The database identifier (ID) of the space associated with the NetChange network device the
object belongs to.
iplnetdev_stack_id
The stack identifier (ID) of the NetChange network device the object belongs to.
iplnetdev_vendor
The vendor name of the NetChange network device the object belongs to.
iplnetdev_name
The name of the NetChange network device the object belongs to.
iplnetdev_type
The product name of the NetChange network device the object belongs to.
iplnetdev_serial
The serial number of the NetChange network device the object belongs to.
iplnetdev_syscontact
The contact associated with the NetChange network device the object belongs to for SNMP
monitoring.
iplnetdev_nbports
The total number of ports the NetChange network device the object belongs to contains.
iplnetdev_status
The status of the NetChange network device the object belongs to, either OK (1), in timeout
(2) or misconfigured (3).
793
Port
iplnetdev_class_name
The name of the class applied to the NetChange network device the object belongs to, it can
be preceded by the class directory.
iplnetdev_dot1x
The 802.1X authentication status of the NetChange network device the port belongs to, either
unsupported (0), enabled (1) or disabled (2).
iplnetdev_syslocation
The physical location associated with the NetChange network device the object belongs to
for SNMP monitoring.
iplnetdev_port_security
The port-security status of the NetChange network device the port belongs to, either unsup-
ported (0), enabled (1) or disabled (2).
iplnetdevvlan_name
The name of the NetChange VLAN the object belongs to.
iplnetdevvlan_number
The VLAN identifier (ID) of the NetChange VLAN the port belongs to.
iplport_class_parameters
The class parameters applied to the port and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
iplport_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
iplport_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
iplport_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
iplnetdev_class_parameters
The class parameters applied to the NetChange network device the object belongs to and
their value: <class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
iplnetdev_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
iplnetdev_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
794
Port
Name
iplport_count — Count the number of ports
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
795
Chapter 49. NetChange IPv4 Address
796
NetChange IPv4 Address
Name
iplnetdevaddr_list — List the NetChange IPv4 Addresses
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
iplnetdevaddr_id
The database identifier (ID) of the IPv4 address configured for the interface of the network
device.
iplnetdev_id
The database identifier (ID) of the NetChange network device the object belongs to.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
797
NetChange IPv4 Address
iplnetdevip_ip_addr
The IPv4 address of the interface configured on the device, in hexadecimal format.
iplnetdevip_ip_mask
The address of the network the IP address belongs to, in CIDR format.
iplnetdevip_ip_addrtype
The IP address protocol version, IPv4 (4) or IPv6 (6).
iplnetdevip_ip_status
The status of the IP address of the interface configured on the device, either active (1) or
inactive (0).
iplnetdev_name
The name of the NetChange network device the object belongs to.
iplport_id
The database identifier (ID) of the port the object belongs to.
iplnetdevip_name
The name of the IP address of the interface configured on the device.
iplnetdevip_vlan
The ID of the VLAN the IP address belongs to, as set on the network device.
iplnetdevip_vrfname
The name of the VRF, as set on the network device.
iplnetdevip_vrfrd
The Route Distinguisher of iplnetdevip_vrfname. A unique 64-bits identifier, that can be
composed of IP addresses or AS Numbers, that differentiates every set of routes on each
VRF.
798
NetChange IPv4 Address
Name
iplnetdevaddr_info — Display the properties of a NetChange IPv4 Address
Description
This service allows to display the properties of an object.
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
iplnetdevaddr_id
The database identifier (ID) of the IPv4 address configured for the interface of the network
device, a unique identifier automatically incremented when the interface was discovered on
the device. Use it to identify the IP address of your choice.
Output Parameters
iplnetdevaddr_id
The database identifier (ID) of the IPv4 address configured for the interface of the network
device.
iplnetdev_id
The database identifier (ID) of the NetChange network device the object belongs to.
iplnetdevip_ip_addr
The IPv4 address of the interface configured on the device, in hexadecimal format.
iplnetdevip_ip_mask
The address of the network the IP address belongs to, in CIDR format.
iplnetdevip_ip_addrtype
The IP address protocol version, IPv4 (4) or IPv6 (6).
iplnetdevip_ip_status
The status of the IP address of the interface configured on the device, either active (1) or
inactive (0).
iplnetdev_name
The name of the NetChange network device the object belongs to.
iplport_id
The database identifier (ID) of the port the object belongs to.
iplnetdevip_name
The name of the IP address of the interface configured on the device.
iplnetdevip_vlan
The ID of the VLAN the IP address belongs to, as set on the network device.
iplnetdevip_vrfname
The name of the VRF, as set on the network device.
799
NetChange IPv4 Address
iplnetdevip_vrfrd
The Route Distinguisher of iplnetdevip_vrfname. A unique 64-bits identifier, that can be
composed of IP addresses or AS Numbers, that differentiates every set of routes on each
VRF.
800
NetChange IPv4 Address
Name
iplnetdevaddr_count — Count the number of NetChange IPv4 Addresses
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
801
NetChange IPv4 Address
Name
iplnetdevaddr_groupby — Group NetChange IPv4 Addresses by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
802
NetChange IPv4 Address
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
803
NetChange IPv4 Address
Name
iplnetdevaddr_groupby_count — Count the number of NetChange IPv4 Addresses
grouped by parameter(s)
Description
This service allows to return the number of objects.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
804
Chapter 50. NetChange IPv6 Address
805
NetChange IPv6 Address
Name
iplnetdevaddr6_list — List the NetChange IPv6 Addresses
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
iplnetdevaddr_id
The database identifier (ID) of the IPv6 address configured for the interface of the network
device.
iplnetdev_id
The database identifier (ID) of the NetChange network device the object belongs to.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
806
NetChange IPv6 Address
iplnetdevip_ip_addr
The IPv6 address of the interface configured on the device, in hexadecimal format.
iplnetdevip_ip_mask
The address of the network the IP address belongs to, in CIDR format.
iplnetdevip_ip_addrtype
The IP address protocol version, IPv4 (4) or IPv6 (6).
iplnetdevip_ip_status
The status of the IP address of the interface configured on the device, either active (1) or
inactive (0).
iplnetdev_name
The name of the NetChange network device the object belongs to.
iplport_id
The database identifier (ID) of the port the object belongs to.
iplnetdevip_name
The name of the IP address of the interface configured on the device.
iplnetdevip_vlan
The ID of the VLAN the IP address belongs to, as set on the network device.
iplnetdevip_vrfname
The name of the VRF, as set on the network device.
iplnetdevip_vrfrd
The Route Distinguisher of iplnetdevip_vrfname. A unique 64-bits identifier, that can be
composed of IP addresses or AS Numbers, that differentiates every set of routes on each
VRF.
807
NetChange IPv6 Address
Name
iplnetdevaddr6_info — Display the properties of a NetChange IPv6 Address
Description
This service allows to display the properties of an object.
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
iplnetdevaddr_id
The database identifier (ID) of the IPv6 address configured for the interface of the network
device, a unique identifier automatically incremented when the interface was discovered on
the device. Use it to identify the IP address of your choice.
Output Parameters
iplnetdevaddr_id
The database identifier (ID) of the IPv6 address configured for the interface of the network
device.
iplnetdev_id
The database identifier (ID) of the NetChange network device the object belongs to.
iplnetdevip_ip_addr
The IPv6 address of the interface configured on the device, in hexadecimal format.
iplnetdevip_ip_mask
The address of the network the IP address belongs to, in CIDR format.
iplnetdevip_ip_addrtype
The IP address protocol version, IPv4 (4) or IPv6 (6).
iplnetdevip_ip_status
The status of the IP address of the interface configured on the device, either active (1) or
inactive (0).
iplnetdev_name
The name of the NetChange network device the object belongs to.
iplport_id
The database identifier (ID) of the port the object belongs to.
iplnetdevip_name
The name of the IP address of the interface configured on the device.
iplnetdevip_vlan
The ID of the VLAN the IP address belongs to, as set on the network device.
iplnetdevip_vrfname
The name of the VRF, as set on the network device.
808
NetChange IPv6 Address
iplnetdevip_vrfrd
The Route Distinguisher of iplnetdevip_vrfname. A unique 64-bits identifier, that can be
composed of IP addresses or AS Numbers, that differentiates every set of routes on each
VRF.
809
NetChange IPv6 Address
Name
iplnetdevaddr6_count — Count the number of NetChange IPv6 Addresses
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
810
NetChange IPv6 Address
Name
iplnetdevaddr6_groupby — Group the NetChange IPv6 Addresses by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
811
NetChange IPv6 Address
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
812
NetChange IPv6 Address
Name
iplnetdevaddr6_groupby_count — Count the number of NetChange IPv6 Ad-
dresses grouped by parameter(s)
Description
This service allows to return the number of objects.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
813
Chapter 51. Discovered Item
814
Discovered Item
Name
ipldev_list — List the discovered items
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
ipldev_id
The database identifier (ID) of the discovered item.
iplport_id
The database identifier (ID) of the port the object belongs to.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
815
Discovered Item
ipldev_mac
The MAC address associated with the discovered item.
ipldev_vlan
The VLAN identifier (ID) of the NetChange VLAN associated with the discovered item.
ipldev_time
The time at which the item has been discovered, in decimal UNIX date format.
ipldev_end_time
The last time the item has been seen, in decimal UNIX date format.
ipldev_first_seen
The time and date, in decimal format, when the MAC address of the discovered item was
seen for the first time on a port, VLAN or network device.
iplport_dev_count
The number of discovered items associated with the same NetChange port.
iplport_name
The name of the port the object belongs to.
iplport_ifnumber
The interface number of the NetChange port associated with the discovered item, as follows:
<slot_number>.<port_number>, or <port_number> only when the slot number is 0.
iplport_description
The description of the port the object belongs to.
iplport_slotnumber
The slot number of the port the discovered item is connected to.
iplport_portnumber
The number of the port the discovered item is connected to.
iplport_secure
Internal use. Not documented.
iplport_poe
The port power over ethernet status of the NetChange port associated with the discovered
item. 1 indicates that the port associated with the discovered item provides POE.
iplport_class_name
The name of the class applied to the port the object belongs to, it can be preceded by the
class directory.
iplport_interco
The interconnection status of the NetChange port associated with the discovered item. 1 in-
dicates that interconnection is enabled. The interconnection status can be forced if the
parameter iplport_staticinterco is set to 1.
iplport_staticinterco
The forced interconnection status of the NetChange port associated with the discovered item.
1 indicates that the interconnection status returned in the parameter iplport_interco is forced.
iplport_duplex
The operating duplex mode of the NetChange port associated with the discovered item, either
automatic (auto) half-duplex (half) or full-duplex (full).
iplport_iftype
The type of the NetChange port.
iplport_ifoperstatus
The operational status of the port the discovered item is connected to:
816
Discovered Item
iplnetdev_id
The database identifier (ID) of the NetChange network device the object belongs to.
iplnetdev_ip_addr
The IP address of the NetChange network device the object belongs to.
iplnetdev_hostaddr
The human readable version of the parameter iplnetdev_ip_addr.
iplnetdev_name
The name of the NetChange network device the object belongs to.
iplnetdev_serial
The serial number of the NetChange network device the object belongs to.
iplnetdev_vendor
The vendor name of the NetChange network device the object belongs to.
iplnetdev_stack_id
The stack identifier (ID) of the NetChange network device the object belongs to.
iplnetdev_type
The product name of the NetChange network device the object belongs to.
iplnetdev_nbports
The total number of ports the NetChange network device the object belongs to contains.
iplnetdev_syslocation
The physical location associated with the NetChange network device the object belongs to
for SNMP monitoring.
iplnetdev_syscontact
The contact associated with the NetChange network device the object belongs to for SNMP
monitoring.
mac_vendor
The vendor details of the discovered item.
iplnetdevvlan_name
The name of the NetChange VLAN the object belongs to.
iplnetdevvlan_status
The status of the NetChange VLAN associated with the discovered item, either OK (1), inactive
(2) or dynamic (3).
hostiface_id
The database identifier (ID) of the Device Manager interface associated with the discovered
item.
817
Discovered Item
hostiface_name
The name of the Device Manager interface associated with the discovered item.
hostdev_id
The database identifier (ID) of the Device Manager device associated with the discovered
item.
hostdev_name
The name of the Device Manager device associated with the discovered item.
iplvrf_id
The database identifier (ID) of the VRF that the discovered item belongs to.
iplvrf_name
The name of the VRF, as set on the network device the object belongs to.
iplvrf_rd
The Route Distinguisher of iplvrf_name. A unique 64-bits identifier, that can be composed
of IP addresses or AS Numbers, that differentiates every set of routes on each VRF.
iplip_ip_addr
The IPv4 address of the discovered item, in hexadecimal format.
iplip_hostaddr
The human readable version of the parameter iplip_ip_addr.
iplip_ip6_addr
The IPv6 address of the discovered item, in hexadecimal format.
iplip6_hostaddr
The human readable version of the parameter iplip6_ip6_addr.
iplip_source
The source of the discovered item, either ARP (1), DHCP lease (2), DHCP static (3) or IPAM
(4), in this discovery order of priority.
iplip_dns_name
The name of the discovered item as automatically retrieved by NetChange if it is declared in
an A or PTR record in one of your DNS servers.
818
Discovered Item
Name
ipldev_count — Count the number of discovered items
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
819
Discovered Item
Name
ipldev_groupby — Group discovered items by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
820
Discovered Item
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
821
Discovered Item
Name
ipldev_groupby_count — Count the number of discovered items grouped by paramet-
er(s)
Description
This service allows to display the total number of results of the service *_groupby.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
822
Discovered Item
Name
ipldev_log_count — Count the number of discovered items of a NetChange network
device
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
823
Discovered Item
Name
ipldev_log_list — List the discovered items of a NetChange network device
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
ipldev_id
The database identifier (ID) of the discovered item.
ipldev_time
The time at which the item has been discovered, in decimal UNIX date format.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
824
Discovered Item
ipldev_end_time
The last time the item has been seen, in decimal UNIX date format.
histo_state
Internal use. Not documented.
iplport_ifnumber
The interface number of the NetChange port associated with the discovered item, as follows:
<slot_number>.<port_number>, or <port_number> only when the slot number is 0.
iplport_name
The name of the port the object belongs to.
iplport_portnumber
The number of the port the discovered item is connected to.
iplport_slotnumber
The slot number of the port the discovered item is connected to.
ipldev_mac
The MAC address associated with the discovered item.
ipldev_vlan
The VLAN identifier (ID) of the NetChange VLAN associated with the discovered item.
delete_time
Internal use. Not documented.
iplip_ip_addr
The IPv4 address of the discovered item, in hexadecimal format.
iplip_ip6_addr
The IPv6 address of the discovered item, in hexadecimal format.
iplip_source
The source of the discovered item, either ARP (1), DHCP lease (2), DHCP static (3) or IPAM
(4), in this discovery order of priority.
iplip_dns_name
The name of the discovered item as automatically retrieved by NetChange if it is declared in
an A or PTR record in one of your DNS servers.
iplnetdev_name
The name of the NetChange network device the object belongs to.
iplnetdev_ip_addr
The IP address of the NetChange network device the object belongs to.
iplnetdev_stack_id
The stack identifier (ID) of the NetChange network device the object belongs to.
iplnetdev_type
The product name of the NetChange network device the object belongs to.
iplnetdev_site_id
The database identifier (ID) of the space associated with the NetChange network device the
object belongs to.
mac_vendor
The vendor details of the discovered item.
iplnetdevvlan_name
The name of the NetChange VLAN the object belongs to.
825
Discovered Item
iplvrf_name
The name of the VRF, as set on the network device the object belongs to.
iplvrf_rd
The Route Distinguisher of iplvrf_name. A unique 64-bits identifier, that can be composed
of IP addresses or AS Numbers, that differentiates every set of routes on each VRF.
iplport_interco
The interconnection status of the NetChange port associated with the discovered item. 1 in-
dicates that interconnection is enabled. The interconnection status can be forced if the
parameter iplport_staticinterco is set to 1.
iplport_staticinterco
The forced interconnection status of the NetChange port associated with the discovered item.
1 indicates that the interconnection status returned in the parameter iplport_interco is forced.
826
Part VIII. Workflow Services
Table of Contents
52. Request .................................................................................................................. 829
workflow_request_add ........................................................................................... 830
request_incoming_list ............................................................................................ 835
request_incoming_info ........................................................................................... 838
request_incoming_count ........................................................................................ 841
request_incoming_groupby .................................................................................... 842
request_incoming_groupby_count .......................................................................... 844
request_outgoing_list ............................................................................................ 845
request_outgoing_info ........................................................................................... 848
request_outgoing_count ........................................................................................ 851
request_outgoing_groupby .................................................................................... 852
request_outgoing_groupby_count .......................................................................... 854
828
Chapter 52. Request
829
Request
Name
workflow_request_add — Add a request
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the Workflow request, a unique numeric key value automatically
incremented when you add a request. Use the ID to specify which request to edit.
request_name
The name of the request, each request must have a unique name.
request_object_type
The object of the request: dnszone for a DNS zone, block for an IPv4 block-type network,
subnet for an IPv4 terminal subnet-type network, pool for an IPv4 pool or ip for an IPv4 ad-
dress.
request_object_id
The database identifier (ID) of the object of the request.
request_object_name
The name of the object of the request.
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, the parameter is automatically set to group.
830
Request
• Set it to group to assign it to a specific group of users, identified with the parameter re-
quest_target_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 re-
quest_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 re-
quest_target_id.
request_target_name
The name of the resource associated with the parameter request_target_type.
• If you set the parameter request_target_type to DNS server, you can specify the name
of a DNS server. Any group with the specified DNS server among its resource can execute
the request.
• If you set the parameter request_target_type to VLSM space, you can specify the name
of an IPAM space. Any group with the specified IPAM space among its resource can execute
the request.
request_target_id
The database identifier (ID) of the resource associated with the parameter request_tar-
get_type.
• If you set the parameter request_target_type to group, specify the identifier (ID) of the
group of users that will deal with your request.
• If you set the parameter request_target_type to DNS server, you can specify the database
identifier (ID) of a DNS server. Any group with the specified DNS server among its resource
can execute the request.
• If you set the parameter request_target_type to VLSM space, you can specify the database
identifier (ID) of an IPAM space. Any group with the specified IPAM space among its re-
source can execute the request.
request_source_type
The type of resource associated with the parameter request_source_name. It is useless to
set it when adding or editing a request, it is automatically set to group.
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 of the
specified group are used when executing the service. Besides, all the users of the specified
831
Request
group can edit the request. The group specified can be displayed in the GUI in the column
Source name.
request_source_id
This optional parameter allows to specify the database identifier (ID) of a group of users
when creating a Workflow request. It is useful if the requestor belongs to several groups.
The rights of the specified group are used when executing the service. This parameter serves
the same purpose as the parameter request_source_name.
request_admin_id
The database 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 returned and set with statuses that you or your administrator created.
request_action
The action required in the request. The accepted values are: New, Modify and Delete. They
allow to ask for the addition, edition or deletion of the object specified in the parameter re-
quest_object_type.
832
Request
request_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
request_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
request_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
833
Request
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
834
Request
Name
request_incoming_list — List the incoming requests
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
request_id
The database identifier (ID) of the Workflow request.
oid
Internal use. Not documented.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
835
Request
request_name
The name of the request.
request_object_type
The object of the request: dnszone for a DNS zone, block for an IPv4 block-type network,
subnet for an IPv4 terminal subnet-type network, pool for an IPv4 pool or ip for an IPv4 ad-
dress.
request_object_id
The database identifier (ID) of the object of the request.
request_object_name
The name of the object of the request.
request_target_type
The type of group that deals with the request. The accepted values are: group, DNS server
and VLSM space. If you did not set any value, the parameter is automatically set to group.
• When set to group, the request is assigned to a specific group of users, identified with the
parameter request_target_id.
• When set to DNS server, the request is assigned 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.
• When set to VLSM space, the request is assigned to any group of users that has among
its resources the IPAM space specified with the parameter request_target_name or the
parameter request_target_id.
request_target_name
The name of the resource associated with the parameter request_target_type, either a
group, a DNS server or a VLSM space.
request_target_id
The database identifier (ID) of the resource associated with the parameter request_tar-
get_type, either a group, a DNS server or a VLSM space.
request_source_type
The type of resource associated with the parameter request_source_name. It is always set
to group.
request_source_name
The name of the group the user that created the request belongs to.
request_source_id
The database identifier (ID) of the group the user that created the request belongs to.
request_action
The action required in the request, either New, Modify or Delete.
request_usr_id
The database identifier (ID) of the last user that handled the request.
request_usr_time
The last time a user handled the request, in decimal UNIX date format.
request_admin_id
The database identifier (ID) of the request manager, the user that deals with the request, it
is automatically set when the request manager deals with the request.
request_admin_time
The last time the user that created the request, i.e. the administrator of the request, handled
it, in decimal UNIX date format.
836
Request
request_status
The request status. By default, six statuses exist: accept, archive, cancel, finish, handle, new
and reject. This parameter can also be returned and set with statuses that you or your admin-
istrator created.
request_class_name
The name of the class applied to the request, it can be preceded by the class directory.
create_time
The time the request was added, in decimal UNIX date format.
modify_time
The last time the request was edited, by the requestor, a request manager or any other user
with sufficient rights, in decimal UNIX date format..
delete_time
The time the request was deleted, in decimal UNIX date format.
modif_tag
Internal use. Not documented.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
request_usr_login
The name of the last user that handled the request.
request_admin_login
The name of the user that created the request, i.e. the administrator of the request.
request_class_parameters
The class parameters applied to the request and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
request_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
request_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
request_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
837
Request
Name
request_incoming_info — Display the properties of an incoming request
Description
This service allows to display the properties of an object.
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 database identifier (ID) of the Workflow request, a unique numeric key value automatically
incremented when you add a request. Use the ID to specify the request of your choice.
Output Parameters
request_id
The database identifier (ID) of the Workflow request.
oid
Internal use. Not documented.
request_name
The name of the request.
request_object_type
The object of the request: dnszone for a DNS zone, block for an IPv4 block-type network,
subnet for an IPv4 terminal subnet-type network, pool for an IPv4 pool or ip for an IPv4 ad-
dress.
request_object_id
The database identifier (ID) of the object of the request.
request_object_name
The name of the object of the request.
request_target_type
The type of group that deals with the request. The accepted values are: group, DNS server
and VLSM space. If you did not set any value, the parameter is automatically set to group.
• When set to group, the request is assigned to a specific group of users, identified with the
parameter request_target_id.
• When set to DNS server, the request is assigned 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.
• When set to VLSM space, the request is assigned to any group of users that has among
its resources the IPAM space specified with the parameter request_target_name or the
parameter request_target_id.
838
Request
request_target_name
The name of the resource associated with the parameter request_target_type, either a
group, a DNS server or a VLSM space.
request_target_id
The database identifier (ID) of the resource associated with the parameter request_tar-
get_type, either a group, a DNS server or a VLSM space.
request_source_type
The type of resource associated with the parameter request_source_name. It is always set
to group.
request_source_name
The name of the group the user that created the request belongs to.
request_source_id
The database identifier (ID) of the group the user that created the request belongs to.
request_action
The action required in the request, either New, Modify or Delete.
request_usr_id
The database identifier (ID) of the last user that handled the request.
request_usr_time
The last time a user handled the request, in decimal UNIX date format.
request_admin_id
The database identifier (ID) of the request manager, the user that deals with the request, it
is automatically set when the request manager deals with the request.
request_admin_time
The last time the user that created the request, i.e. the administrator of the request, handled
it, in decimal UNIX date format.
request_status
The request status. By default, six statuses exist: accept, archive, cancel, finish, handle, new
and reject. This parameter can also be returned and set with statuses that you or your admin-
istrator created.
request_class_name
The name of the class applied to the request, it can be preceded by the class directory.
create_time
The time the request was added, in decimal UNIX date format.
modify_time
The last time the request was edited, by the requestor, a request manager or any other user
with sufficient rights, in decimal UNIX date format..
delete_time
The time the request was deleted, in decimal UNIX date format.
modif_tag
Internal use. Not documented.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
839
Request
840
Request
Name
request_incoming_count — Count the number of incoming requests
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
841
Request
Name
request_incoming_groupby — Group incoming requests by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
842
Request
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
843
Request
Name
request_incoming_groupby_count — Count the number of incoming requests
grouped by parameter(s)
Description
This service allows to display the total number of results of the service *_groupby.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
844
Request
Name
request_outgoing_list — List the outgoing requests
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
request_id
The database identifier (ID) of the Workflow request.
oid
Internal use. Not documented.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
845
Request
request_name
The name of the request.
request_object_type
The object of the request: dnszone for a DNS zone, block for an IPv4 block-type network,
subnet for an IPv4 terminal subnet-type network, pool for an IPv4 pool or ip for an IPv4 ad-
dress.
request_object_id
The database identifier (ID) of the object of the request.
request_object_name
The name of the object of the request.
request_target_type
The type of group that deals with the request. The accepted values are: group, DNS server
and VLSM space. If you did not set any value, the parameter is automatically set to group.
• When set to group, the request is assigned to a specific group of users, identified with the
parameter request_target_id.
• When set to DNS server, the request is assigned 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.
• When set to VLSM space, the request is assigned to any group of users that has among
its resources the IPAM space specified with the parameter request_target_name or the
parameter request_target_id.
request_target_name
The name of the resource associated with the parameter request_target_type, either a
group, a DNS server or a VLSM space.
request_target_id
The database identifier (ID) of the resource associated with the parameter request_tar-
get_type, either a group, a DNS server or a VLSM space.
request_source_type
The type of resource associated with the parameter request_source_name. It is always set
to group.
request_source_name
The name of the group the user that created the request belongs to.
request_source_id
The database identifier (ID) of the group the user that created the request belongs to.
request_action
The action required in the request, either New, Modify or Delete.
request_usr_id
The database identifier (ID) of the last user that handled the request.
request_usr_time
The last time a user handled the request, in decimal UNIX date format.
request_admin_id
The database identifier (ID) of the request manager, the user that deals with the request, it
is automatically set when the request manager deals with the request.
request_admin_time
The last time the user that created the request, i.e. the administrator of the request, handled
it, in decimal UNIX date format.
846
Request
request_status
The request status. By default, six statuses exist: accept, archive, cancel, finish, handle, new
and reject. This parameter can also be returned and set with statuses that you or your admin-
istrator created.
request_class_name
The name of the class applied to the request, it can be preceded by the class directory.
create_time
The time the request was added, in decimal UNIX date format.
modify_time
The last time the request was edited, by the requestor, a request manager or any other user
with sufficient rights, in decimal UNIX date format..
delete_time
The time the request was deleted, in decimal UNIX date format.
modif_tag
Internal use. Not documented.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
request_usr_login
The name of the last user that handled the request.
request_admin_login
The name of the user that created the request, i.e. the administrator of the request.
request_class_parameters
The class parameters applied to the request and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
request_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
request_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
request_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
847
Request
Name
request_outgoing_info — Display the properties of an outgoing request
Description
This service allows to display the properties of an object.
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 database identifier (ID) of the Workflow request, a unique numeric key value automatically
incremented when you add a request. Use the ID to specify the request of your choice.
Output Parameters
request_id
The database identifier (ID) of the Workflow request.
oid
Internal use. Not documented.
request_name
The name of the request.
request_object_type
The object of the request: dnszone for a DNS zone, block for an IPv4 block-type network,
subnet for an IPv4 terminal subnet-type network, pool for an IPv4 pool or ip for an IPv4 ad-
dress.
request_object_id
The database identifier (ID) of the object of the request.
request_object_name
The name of the object of the request.
request_target_type
The type of group that deals with the request. The accepted values are: group, DNS server
and VLSM space. If you did not set any value, the parameter is automatically set to group.
• When set to group, the request is assigned to a specific group of users, identified with the
parameter request_target_id.
• When set to DNS server, the request is assigned 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.
• When set to VLSM space, the request is assigned to any group of users that has among
its resources the IPAM space specified with the parameter request_target_name or the
parameter request_target_id.
848
Request
request_target_name
The name of the resource associated with the parameter request_target_type, either a
group, a DNS server or a VLSM space.
request_target_id
The database identifier (ID) of the resource associated with the parameter request_tar-
get_type, either a group, a DNS server or a VLSM space.
request_source_type
The type of resource associated with the parameter request_source_name. It is always set
to group.
request_source_name
The name of the group the user that created the request belongs to.
request_source_id
The database identifier (ID) of the group the user that created the request belongs to.
request_action
The action required in the request, either New, Modify or Delete.
request_usr_id
The database identifier (ID) of the last user that handled the request.
request_usr_time
The last time a user handled the request, in decimal UNIX date format.
request_admin_id
The database identifier (ID) of the request manager, the user that deals with the request, it
is automatically set when the request manager deals with the request.
request_admin_time
The last time the user that created the request, i.e. the administrator of the request, handled
it, in decimal UNIX date format.
request_status
The request status. By default, six statuses exist: accept, archive, cancel, finish, handle, new
and reject. This parameter can also be returned and set with statuses that you or your admin-
istrator created.
request_class_name
The name of the class applied to the request, it can be preceded by the class directory.
create_time
The time the request was added, in decimal UNIX date format.
modify_time
The last time the request was edited, by the requestor, a request manager or any other user
with sufficient rights, in decimal UNIX date format..
delete_time
The time the request was deleted, in decimal UNIX date format.
modif_tag
Internal use. Not documented.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
849
Request
850
Request
Name
request_outgoing_count — Count the number of outgoing requests
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
851
Request
Name
request_outgoing_groupby — Group outgoing requests by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
852
Request
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
853
Request
Name
request_outgoing_groupby_count — Count the number of outgoing requests
grouped by parameter(s)
Description
This service allows to display the total number of results of the service *_groupby.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
854
Part IX. Device Manager Services
Table of Contents
53. Device Manager Device ........................................................................................... 857
hostdev_add ......................................................................................................... 858
hostdev_list .......................................................................................................... 862
hostdev_info ......................................................................................................... 865
hostdev_count ...................................................................................................... 867
hostdev_groupby ................................................................................................... 868
hostdev_groupby_count ......................................................................................... 870
hostdev_delete ..................................................................................................... 871
54. Port and Interface .................................................................................................... 873
hostiface_add ....................................................................................................... 874
hostiface_list ......................................................................................................... 878
hostiface_info ........................................................................................................ 881
hostiface_count ..................................................................................................... 884
hostiface_groupby ................................................................................................. 885
hostiface_groupby_count ....................................................................................... 887
link_hostiface_add ................................................................................................ 888
link_hostiface_list .................................................................................................. 891
link_hostiface_count .............................................................................................. 893
link_hostiface_delete ............................................................................................. 894
hostiface_delete .................................................................................................... 896
856
Chapter 53. Device Manager Device
857
Device Manager Device
Name
hostdev_add — Add a Device Manager device
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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
hostdev_id
The database identifier (ID) of the Device Manager device, a unique numeric key value
automatically incremented when you add a device. Use the ID to specify which device to
edit.
hostdev_name
The name of the Device Manager device, each device must have a unique name.
hostdev_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
hostdev_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
858
Device Manager Device
hostdev_site_id
The database identifier (ID) of a space you want to associate with the Device Manager device.
hostdev_ip_addr
The IP address you want to associate with the Device Manager device, in hexadecimal format.
hostdev_addr
The IP address you want to associate with the Device Manager device, in decimal format.
iplnetdev_id
The database identifier (ID) of a NetChange network device you want to associate with the
Device Manager device.
row_enabled
The object activation status.
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
• If set to 2, the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
859
Device Manager Device
hostdev_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
860
Device Manager Device
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
861
Device Manager Device
Name
hostdev_list — List the Device Manager devices
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
hostdev_id
The database identifier (ID) of the Device Manager device.
hostdev_name
The name of the Device Manager device.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
862
Device Manager Device
hostdev_class_name
The name of the class applied to the device, it can be preceded by the class directory.
iplnetdev_id
The database identifier (ID) of the NetChange network device associated with the Device
Manager device.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
iplnetdev_name
The name of the NetChange network device associated with the Device Manager device.
hostdev_ip_addr
The IP address associated with the Device Manager device.
hostdev_ip_formated
The human readable version of the parameter hostdev_ip_addr.
hostdev_site_id
The database identifier (ID) of the space associated with the Device Manager device.
hostdev_site_name
The name of the space associated with the Device Manager device.
port_total
The total number of ports on the Device Manager device.
port_used
The number of ports on the Device Manager device that are currently active.
port_used_percent
The percentage of ports on the Device Manager device that are currently active.
port_free
The number of ports on the Device Manager device that are currently free.
iface_total
The total number of interfaces on the Device Manager device.
iface_used
The number of interfaces on the Device Manager device that are currently active.
iface_used_percent
The percentage of interfaces on the Device Manager device that are currently active.
iface_free
The number of interfaces on the Device Manager device that are currently free.
hostdev_class_parameters
The class parameters applied to the device and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
hostdev_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
hostdev_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
863
Device Manager Device
hostdev_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
864
Device Manager Device
Name
hostdev_info — Display the properties of a Device Manager device
Description
This service allows to display the properties of an object.
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
hostdev_id
The database identifier (ID) of the Device Manager device, a unique numeric key value
automatically incremented when you add a device. Use the ID to specify the device of your
choice.
Output Parameters
hostdev_id
The database identifier (ID) of the Device Manager device.
hostdev_name
The name of the Device Manager device.
hostdev_class_name
The name of the class applied to the device, it can be preceded by the class directory.
iplnetdev_id
The database identifier (ID) of the NetChange network device associated with the Device
Manager device.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
iplnetdev_name
The name of the NetChange network device associated with the Device Manager device.
hostdev_ip_addr
The IP address associated with the Device Manager device.
hostdev_ip_formated
The human readable version of the parameter hostdev_ip_addr.
hostdev_site_id
The database identifier (ID) of the space associated with the Device Manager device.
865
Device Manager Device
hostdev_site_name
The name of the space associated with the Device Manager device.
port_total
The total number of ports on the Device Manager device.
port_used
The number of ports on the Device Manager device that are currently active.
port_used_percent
The percentage of ports on the Device Manager device that are currently active.
port_free
The number of ports on the Device Manager device that are currently free.
iface_total
The total number of interfaces on the Device Manager device.
iface_used
The number of interfaces on the Device Manager device that are currently active.
iface_used_percent
The percentage of interfaces on the Device Manager device that are currently active.
iface_free
The number of interfaces on the Device Manager device that are currently free.
hostdev_class_parameters
The class parameters applied to the device and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
hostdev_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
hostdev_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
hostdev_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
866
Device Manager Device
Name
hostdev_count — Count the number of Device Manager devices
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
867
Device Manager Device
Name
hostdev_groupby — Group Device Manager devices by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
868
Device Manager Device
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
869
Device Manager Device
Name
hostdev_groupby_count — Count the number of Device Manager devices grouped
by parameter(s)
Description
This service allows to display the total number of results of the service *_groupby.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
870
Device Manager Device
Name
hostdev_delete — Delete a Device Manager device
Description
This service allows to delete an object. A call can only delete one object.
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
hostdev_id
The database identifier (ID) of the Device Manager device, a unique numeric key value
automatically incremented when you add a device. Use the ID to specify the device of your
choice.
hostdev_name
The name of the Device Manager device.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
871
Device Manager Device
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
872
Chapter 54. Port and Interface
873
Port and Interface
Name
hostiface_add — Add a Device Manager port or interface
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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
hostiface_id
The database identifier (ID) of the Device Manager port or interface, a unique numeric key
value automatically incremented when you add a port or interface. Use the ID to specify
which port or interface to edit.
hostdev_id
The database identifier (ID) of the Device Manager device, a unique numeric key value
automatically incremented when you add a device. Use the ID to specify the device of your
choice.
hostdev_name
The name of the Device Manager device.
hostiface_name
The name of the Device Manager port or interface, each port or interface must have a unique
name.
hostiface_type
A way to indicate if the object is either a port or an interface.
874
Port and Interface
hostiface_mac
The MAC address you want to associate with the Device Manager port or interface.
hostiface_addr
The IP addresses you want to associate with the Device Manager port or interface, as follows
<ip4_list>,<ip6_list>.
site_id
The database identifier (ID) of a space you want to associate with the Device Manager port
or interface.
ip4_list
The list of IPv4 addresses you want to associate to the Device Manager port or interface, in
hexadecimal format, as follows: <ip_address>, <ip_address>,...
ip6_list
The list of IPv6 addresses you want to associate to the Device Manager port or interface, in
hexadecimal format, as follows: <ip_address>, <ip_address>,...
iplport_id
The database identifier (ID) of a NetChange port you want to associate with the Device
Manager port or interface.
hostiface_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
875
Port and Interface
hostiface_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
row_enabled
The object activation status.
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
• If set to 2, the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
hostiface_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
876
Port and Interface
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
877
Port and Interface
Name
hostiface_list — List the Device Manager ports & interfaces
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
hostdev_id
The database identifier (ID) of the Device Manager device the object belongs to.
hostdev_name
The name of the Device Manager device.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
878
Port and Interface
hostdev_class_name
The name of the class applied to the device the object belongs to, it can be preceded by the
class directory.
iplnetdev_id
The database identifier (ID) of the NetChange network device associated with the Device
Manager device the object belongs to.
hostiface_id
The database identifier (ID) of the Device Manager port or interface.
hostiface_name
The name of the Device Manager port or interface.
hostiface_type
A way to indicate if the object is either a port or an interface.
hostiface_class_name
The name of the class applied to the port or interface, it can be preceded by the class directory.
pear_iface_id
The database identifier (ID) of the Device Manager port or interface linked with hostiface_id.
pear_ipl_iface_id
The database identifier (ID) of the NetChange port linked with hostiface_id.
iplport_id
The database identifier (ID) of the NetChange port associated with the Device Manager port
or interface.
custom_db_data_id
The database identifier (ID) of the Custom Database entry associated with the Device Manager
port or interface.
hostiface_mac
The MAC address associated with the Device Manager port or interface.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
add_time
The time at which the Device Manager port or interface has been added, in decimal UNIX
date format.
modify_time
The last time the Device Manager port or interface data was reconciled, in decimal UNIX
date format.
vendor_key
Internal use. Not documented.
vendor_mac
The vendor details of the client associated with the Device Manager port or interface.
iplnetdev_name
The name of the NetChange network device associated with the Device Manager device the
object belongs to.
879
Port and Interface
iplnetdev_enabled
The activation status of the NetChange network device associated with the DM port or inter-
face.
• If set to 1, the NetChange network device is enabled and managed.
• If set to 2, the NetChange network device is unmanaged, disabled or both depending on
the context.
iplport_name
The name of the NetChange port associated with the DM port or interface.
iplport_enabled
The activation status of the NetChange port associated with the DM port or interface.
• If set to 1, the NetChange port is enabled and managed.
• If set to 2, the NetChange port is unmanaged, disabled or both depending on the context.
hostiface_ip_addr
The IP address associated with the Device Manager port or interface.
hostiface_ip_formated
The human readable version of the parameter hostiface_ip_addr.
hostiface_site_id
The database identifier (ID) of the space associated with the Device Manager port or interface.
hostiface_site_name
The name of the space associated with the Device Manager port or interface.
hostiface_manual_link
The DM device and port or interface to which the object is manually linked, as follows:
<hostdev_name> ( <hostiface_name> )
hostiface_auto_link
The DM device and port or interface to which the object is automatically linked, as follows:
<hostdev_name> ( <hostiface_name> )
nb_ip
The number of IP addresses associated with the Device Manager port or interface.
hostiface_class_parameters
The class parameters applied to the port or interface and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
hostiface_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
hostiface_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
hostiface_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
hostdev_class_parameters
The class parameters applied to the Device Manager device the object belongs to and their
value: <class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
hostdev_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
hostdev_class_parameters: <classparam1>=<inheritance>,<propaga-
tion>&<classparam2>=<inheritance>,<propagation>&... .
880
Port and Interface
Name
hostiface_info — Display the properties of a Device Manager port or interface
Description
This service allows to display the properties of an object.
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
hostiface_id
The database identifier (ID) of the Device Manager port or interface, a unique numeric key
value automatically incremented when you add a port or interface. Use the ID to specify the
port or interface of your choice.
Output Parameters
hostdev_id
The database identifier (ID) of the Device Manager device the object belongs to.
hostdev_name
The name of the Device Manager device.
hostdev_class_name
The name of the class applied to the device the object belongs to, it can be preceded by the
class directory.
iplnetdev_id
The database identifier (ID) of the NetChange network device associated with the Device
Manager device the object belongs to.
hostiface_id
The database identifier (ID) of the Device Manager port or interface.
hostiface_name
The name of the Device Manager port or interface.
hostiface_type
A way to indicate if the object is either a port or an interface.
hostiface_class_name
The name of the class applied to the port or interface, it can be preceded by the class directory.
pear_iface_id
The database identifier (ID) of the Device Manager port or interface linked with hostiface_id.
pear_ipl_iface_id
The database identifier (ID) of the NetChange port linked with hostiface_id.
iplport_id
The database identifier (ID) of the NetChange port associated with the Device Manager port
or interface.
881
Port and Interface
custom_db_data_id
The database identifier (ID) of the Custom Database entry associated with the Device Manager
port or interface.
hostiface_mac
The MAC address associated with the Device Manager port or interface.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
add_time
The time at which the Device Manager port or interface has been added, in decimal UNIX
date format.
modify_time
The last time the Device Manager port or interface data was reconciled, in decimal UNIX
date format.
vendor_key
Internal use. Not documented.
vendor_mac
The vendor details of the client associated with the Device Manager port or interface.
iplnetdev_name
The name of the NetChange network device associated with the Device Manager device the
object belongs to.
iplnetdev_enabled
The activation status of the NetChange network device associated with the DM port or inter-
face.
• If set to 1, the NetChange network device is enabled and managed.
• If set to 2, the NetChange network device is unmanaged, disabled or both depending on
the context.
iplport_name
The name of the NetChange port associated with the DM port or interface.
iplport_enabled
The activation status of the NetChange port associated with the DM port or interface.
• If set to 1, the NetChange port is enabled and managed.
• If set to 2, the NetChange port is unmanaged, disabled or both depending on the context.
hostiface_ip_addr
The IP address associated with the Device Manager port or interface.
hostiface_ip_formated
The human readable version of the parameter hostiface_ip_addr.
hostiface_site_id
The database identifier (ID) of the space associated with the Device Manager port or interface.
hostiface_site_name
The name of the space associated with the Device Manager port or interface.
882
Port and Interface
hostiface_manual_link
The DM device and port or interface to which the object is manually linked, as follows:
<hostdev_name> ( <hostiface_name> )
hostiface_auto_link
The DM device and port or interface to which the object is automatically linked, as follows:
<hostdev_name> ( <hostiface_name> )
nb_ip
The number of IP addresses associated with the Device Manager port or interface.
hostiface_class_parameters
The class parameters applied to the port or interface and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
hostiface_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
hostiface_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
hostiface_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
hostdev_class_parameters
The class parameters applied to the Device Manager device the object belongs to and their
value: <class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
hostdev_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
hostdev_class_parameters: <classparam1>=<inheritance>,<propaga-
tion>&<classparam2>=<inheritance>,<propagation>&... .
883
Port and Interface
Name
hostiface_count — Count the number Device Manager ports & interfaces
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
884
Port and Interface
Name
hostiface_groupby — Group Device Manager ports and interfaces by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
885
Port and Interface
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
886
Port and Interface
Name
hostiface_groupby_count — Count the number of Device Manager ports and inter-
faces grouped by parameter(s)
Description
This service allows to display the total number of results of the service *_groupby.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
887
Port and Interface
Name
link_hostiface_add — Link two Device Manager devices using their ports and/or inter-
faces
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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
link_hostiface_id
The database identifier (ID) of the Device Manager port or interface link, a unique numeric
key value automatically incremented when you add a link between a device and a port or
interface. Use the ID to specify which port or interface link to edit.
hostiface1_id
The database identifier (ID) of the DM port or interface you want to link with hostiface2_id.
hostiface2_id
The database identifier (ID) of the DM port or interface you want to link with hostiface1_id.
hostiface1_name
The name of the DM port or interface you want to link with hostiface2_id.
hostiface2_name
The name of the DM port or interface you want to link with hostiface1_id.
888
Port and Interface
hostdev1_name
The name of the device to which belongs the DM port or interface you want to link with hos-
tiface2_id.
hostdev2_name
The name of the device to which belongs the DM port or interface you want to link with hos-
tiface1_id.
auto_link
A way to determine if the link between two Device Manager devices is set automatically (1)
or manually (0).
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
889
Port and Interface
890
Port and Interface
Name
link_hostiface_list — List Device Manager ports & interfaces
Description
This service allows to list the objects.
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
hostiface_id
The database identifier (ID) of the Device Manager port or interface, a unique numeric key
value automatically incremented when you add a port or interface. Use the ID to specify the
port or interface of your choice.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
891
Port and Interface
Output Parameters
link_hostiface_id
The database identifier (ID) of the Device Manager port or interface link. Use the ID to specify
the port or interface link of your choice.
hostiface_id
The database identifier (ID) of the Device Manager port or interface.
auto_link
A way to determine if the link between two Device Manager devices is set automatically (1)
or manually (0).
hostiface_name
The name of the Device Manager port or interface.
hostiface_type
A way to indicate if the object is either a port or an interface.
hostiface_mac
The MAC address associated with the Device Manager port or interface.
add_time
The time at which the Device Manager port or interface has been added, in decimal UNIX
date format.
hostdev_name
The name of the Device Manager device.
hostdev_id
The database identifier (ID) of the Device Manager device the object belongs to.
892
Port and Interface
Name
link_hostiface_count — Count the number of links between Device Manager devices
Description
This service allows to return the number of objects.
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
hostiface_id
The database identifier (ID) of the Device Manager port or interface, a unique numeric key
value automatically incremented when you add a port or interface. Use the ID to specify the
port or interface of your choice.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
893
Port and Interface
Name
link_hostiface_delete — Delete a link between two Device Manager devices
Description
This service allows to delete an object. A call can only delete one object.
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
link_hostiface_id
The database identifier (ID) of the Device Manager port or interface link, a unique numeric
key value automatically incremented when you add a link between a device and a port or
interface. Use the ID to specify the port or interface link of your choice.
hostiface1_id
The database identifier (ID) of the DM port or interface you want to unlink from hostiface2_id.
hostiface2_id
The database identifier (ID) of the DM port or interface you want to unlink from hostiface1_id.
hostiface1_name
The name of the DM port or interface you want to unlink from hostiface2_id.
hostiface2_name
The name of the DM port or interface you want to unlink from hostiface1_id.
894
Port and Interface
hostdev1_name
The name of the device to which belongs the DM port or interface you want to unlink from
hostiface2_id.
hostdev2_name
The name of the device to which belongs the DM port or interface you want to unlink from
hostiface1_id.
auto_link
A way to determine if the link between two Device Manager devices is set automatically (1)
or manually (0).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
895
Port and Interface
Name
hostiface_delete — Delete a Device Manager port or interface
Description
This service allows to delete an object. A call can only delete one object.
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
hostiface_id
The database identifier (ID) of the Device Manager port or interface, a unique numeric key
value automatically incremented when you add a port or interface. Use the ID to specify the
port or interface of your choice.
hostdev_id
The database identifier (ID) of the Device Manager device, a unique numeric key value
automatically incremented when you add a device. Use the ID to specify the device of your
choice.
hostdev_name
The name of the Device Manager device.
hostiface_name
The name of the Device Manager port or interface.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
896
Port and Interface
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
897
Part X. VLAN Manager Services
Table of Contents
55. VLAN Domain .......................................................................................................... 900
vlm_domain_add ................................................................................................... 901
vlmdomain_list ...................................................................................................... 904
vlmdomain_info ..................................................................................................... 906
vlmdomain_count .................................................................................................. 908
group_vlmdomain_add .......................................................................................... 909
group_vlmdomain_delete ....................................................................................... 911
vlm_domain_delete ............................................................................................... 913
56. VLAN Range ........................................................................................................... 915
vlm_range_add ..................................................................................................... 916
vlmrange_list ........................................................................................................ 920
vlmrange_info ....................................................................................................... 923
vlmrange_count .................................................................................................... 925
group_vlmrange_add ............................................................................................. 926
group_vlmrange_delete ......................................................................................... 928
vlm_range_delete ................................................................................................. 930
57. VLAN ...................................................................................................................... 932
vlm_vlan_add ....................................................................................................... 933
vlmvlan_list ........................................................................................................... 937
vlmvlan_info .......................................................................................................... 940
vlmvlan_count ....................................................................................................... 943
vlm_vlan_delete .................................................................................................... 944
899
Chapter 55. VLAN Domain
900
VLAN Domain
Name
vlm_domain_add — Add/Edit a VLAN domain
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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
vlmdomain_id
The database identifier (ID) of the VLAN domain, a unique numeric key value automatically
incremented when you add a VLAN domain. Use the ID to specify which VLAN domain to
edit.
vlmdomain_name
The name of the VLAN domain, each VLAN domain must have a unique name.
vlmdomain_description
The description of the VLAN domain.
vlmdomain_start_vlan_id
The VLAN identifier (ID) of a VLAN, a numeric value between 1 and 4094. Use the ID to
specify the first VLAN in the VLAN domain.
vlmdomain_end_vlan_id
The VLAN identifier (ID) of a VLAN, a numeric value between 1 and 4094. Use the ID to
specify the last VLAN in the VLAN domain.
901
VLAN Domain
support_vxlan
The type of virtual network used by the domain. Set it to 1 to use VXLAN or 0 to use VLAN.
vlmdomain_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
vlmdomain_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
vlmdomain_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
902
VLAN Domain
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
903
VLAN Domain
Name
vlmdomain_list — List the VLAN domains
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
vlmdomain_id
The database identifier (ID) of the VLAN domain.
vlmdomain_name
The name of the VLAN domain.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
904
VLAN Domain
vlmdomain_start_vlan_id
The VLAN identifier (ID) of the first VLAN in the VLAN domain.
vlmdomain_end_vlan_id
The VLAN identifier (ID) of the last VLAN in the VLAN domain.
vlmdomain_description
The description of the VLAN domain.
vlmdomain_class_name
The name of the class applied to the VLAN domain, it can be preceded by the class directory.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
support_vxlan
The type of virtual network used by the domain, VXLAN (1) or VLAN (0).
vlmdomain_class_parameters
The class parameters applied to the VLAN domain and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
vlmdomain_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
vlmdomain_class_parameters: <classparam1>=<inheritance>,<propaga-
tion>&<classparam2>=<inheritance>,<propagation>&... .
vlmdomain_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
905
VLAN Domain
Name
vlmdomain_info — Display the properties of a VLAN domain
Description
This service allows to display the properties of an object.
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
vlmdomain_id
The database identifier (ID) of the VLAN domain, a unique numeric key value automatically
incremented when you add a VLAN domain. Use the ID to specify the VLAN domain of your
choice.
Output Parameters
vlmdomain_id
The database identifier (ID) of the VLAN domain.
vlmdomain_name
The name of the VLAN domain.
vlmdomain_start_vlan_id
The VLAN identifier (ID) of the first VLAN in the VLAN domain.
vlmdomain_end_vlan_id
The VLAN identifier (ID) of the last VLAN in the VLAN domain.
vlmdomain_description
The description of the VLAN domain.
vlmdomain_class_name
The name of the class applied to the VLAN domain, it can be preceded by the class directory.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
support_vxlan
The type of virtual network used by the domain, VXLAN (1) or VLAN (0).
vlmdomain_class_parameters
The class parameters applied to the VLAN domain and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
906
VLAN Domain
vlmdomain_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
vlmdomain_class_parameters: <classparam1>=<inheritance>,<propaga-
tion>&<classparam2>=<inheritance>,<propagation>&... .
vlmdomain_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
907
VLAN Domain
Name
vlmdomain_count — Count the number of VLAN domains
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
908
VLAN Domain
Name
group_vlmdomain_add — Add a VLAN domain to a group resources
Description
This service allows to add an object to the resources of a group. You can only add one object to
a group resource per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
vlmdomain_id
The database identifier (ID) of the VLAN domain, a unique numeric key value automatically
incremented when you add a VLAN domain. Use the ID to specify the VLAN domain of your
choice.
vlmdomain_name
The name of the VLAN domain.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
909
VLAN Domain
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
910
VLAN Domain
Name
group_vlmdomain_delete — Remove a VLAN domain from a group resources
Description
This service allows to remove an object from a group resources.You can only remove one object
from the resources of a group per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
vlmdomain_id
The database identifier (ID) of the VLAN domain, a unique numeric key value automatically
incremented when you add a VLAN domain. Use the ID to specify the VLAN domain of your
choice.
vlmdomain_name
The name of the VLAN domain.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
911
VLAN Domain
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
912
VLAN Domain
Name
vlm_domain_delete — Delete a VLAN domain
Description
This service allows to delete an object. A call can only delete one object.
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
vlmdomain_id
The database identifier (ID) of the VLAN domain, a unique numeric key value automatically
incremented when you add a VLAN domain. Use the ID to specify the VLAN domain of your
choice.
vlmdomain_name
The name of the VLAN domain.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
913
VLAN Domain
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
914
Chapter 56. VLAN Range
915
VLAN Range
Name
vlm_range_add — Add/Edit a VLAN range
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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
vlmrange_id
The database identifier (ID) of the VLAN range, a unique numeric key value automatically
incremented when you add a VLAN range. Use the ID to specify which VLAN range to edit.
vlmrange_name
The name of the VLAN range, each VLAN range must have a unique name.
vlmdomain_id
The database identifier (ID) of the VLAN domain, a unique numeric key value automatically
incremented when you add a VLAN domain. Use the ID to specify the VLAN domain of your
choice.
vlmdomain_name
The name of the VLAN domain.
vlmrange_description
The description of the VLAN range.
916
VLAN Range
vlmrange_start_vlan_id
The VLAN identifier (ID) of an existing VLAN you want to set as the first VLAN in the VLAN
range.
vlmrange_end_vlan_id
The VLAN identifier (ID) of an existing VLAN you want to set as the last VLAN in the VLAN
range.
vlmrange_disable_overlapping
The overlapping restriction status of the VLAN range. Set it to 1 to prevent VLAN ID overlap-
ping in the range.
vlmrange_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
vlmrange_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
917
VLAN Range
vlmrange_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
918
VLAN Range
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
919
VLAN Range
Name
vlmrange_list — List the VLAN ranges
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
vlmdomain_id
The database identifier (ID) of the VLAN domain the object belongs to.
vlmrange_id
The database identifier (ID) of the VLAN range.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
920
VLAN Range
vlmdomain_name
The name of the VLAN domain the object belongs to.
vlmdomain_start_vlan_id
The VLAN identifier (ID) of the first VLAN in the VLAN domain the object belongs to.
vlmdomain_end_vlan_id
The VLAN identifier (ID) of the last VLAN in the VLAN domain the object belongs to.
vlmdomain_class_name
The name of the class applied to the VLAN domain the object belongs to, it can be preceded
by the class directory.
vlmdomain_description
The description of the VLAN domain the object belongs to.
support_vxlan
The type of virtual network used by the domain the range belongs to, VXLAN (1) or VLAN
(0).
vlmrange_name
The name of the VLAN range.
vlmrange_start_vlan_id
The VLAN identifier (ID) of the first VLAN in the VLAN range.
vlmrange_end_vlan_id
The VLAN identifier (ID) of the last VLAN in the VLAN range.
vlmrange_description
The description of the VLAN range.
vlmrange_disable_overlapping
The overlapping restriction status of the VLAN range. 1 indicates that when creating VLANs
in the range, their IDs should not overlap.
vlmrange_class_name
The name of the class applied to the VLAN range, it can be preceded by the class directory.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
vlmrange_class_parameters
The class parameters applied to the VLAN range and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
vlmrange_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
vlmrange_class_parameters: <classparam1>=<inheritance>,<propaga-
tion>&<classparam2>=<inheritance>,<propagation>&... .
vlmrange_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
921
VLAN Range
vlmdomain_class_parameters
The class parameters applied to the VLAN domain the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
vlmdomain_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
vlmdomain_class_parameters: <classparam1>=<inheritance>,<propaga-
tion>&<classparam2>=<inheritance>,<propagation>&... .
922
VLAN Range
Name
vlmrange_info — Display the properties of a VLAN range
Description
This service allows to display the properties of an object.
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
vlmrange_id
The database identifier (ID) of the VLAN range, a unique numeric key value automatically
incremented when you add a VLAN range. Use the ID to specify the VLAN range of your
choice.
Output Parameters
vlmdomain_id
The database identifier (ID) of the VLAN domain the object belongs to.
vlmrange_id
The database identifier (ID) of the VLAN range.
vlmdomain_name
The name of the VLAN domain the object belongs to.
vlmdomain_start_vlan_id
The VLAN identifier (ID) of the first VLAN in the VLAN domain the object belongs to.
vlmdomain_end_vlan_id
The VLAN identifier (ID) of the last VLAN in the VLAN domain the object belongs to.
vlmdomain_class_name
The name of the class applied to the VLAN domain the object belongs to, it can be preceded
by the class directory.
vlmdomain_description
The description of the VLAN domain the object belongs to.
support_vxlan
The type of virtual network used by the domain the range belongs to, VXLAN (1) or VLAN
(0).
vlmrange_name
The name of the VLAN range.
vlmrange_start_vlan_id
The VLAN identifier (ID) of the first VLAN in the VLAN range.
vlmrange_end_vlan_id
The VLAN identifier (ID) of the last VLAN in the VLAN range.
923
VLAN Range
vlmrange_description
The description of the VLAN range.
vlmrange_disable_overlapping
The overlapping restriction status of the VLAN range. 1 indicates that when creating VLANs
in the range, their IDs should not overlap.
vlmrange_class_name
The name of the class applied to the VLAN range, it can be preceded by the class directory.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
vlmrange_class_parameters
The class parameters applied to the VLAN range and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
vlmrange_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
vlmrange_class_parameters: <classparam1>=<inheritance>,<propaga-
tion>&<classparam2>=<inheritance>,<propagation>&... .
vlmrange_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
vlmdomain_class_parameters
The class parameters applied to the VLAN domain the object belongs to and their value:
<class-parameter1>=<value1>&<class-parameter2>=<value2>&... .
vlmdomain_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
vlmdomain_class_parameters: <classparam1>=<inheritance>,<propaga-
tion>&<classparam2>=<inheritance>,<propagation>&... .
924
VLAN Range
Name
vlmrange_count — Count the number of VLAN ranges
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
925
VLAN Range
Name
group_vlmrange_add — Add a VLAN range to a group resources
Description
This service allows to add an object to the resources of a group. You can only add one object to
a group resource per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
vlmdomain_id
The database identifier (ID) of the VLAN domain, a unique numeric key value automatically
incremented when you add a VLAN domain. Use the ID to specify the VLAN domain of your
choice.
vlmdomain_name
The name of the VLAN domain.
vlmrange_id
The database identifier (ID) of the VLAN range, a unique numeric key value automatically
incremented when you add a VLAN range. Use the ID to specify the VLAN range of your
choice.
926
VLAN Range
vlmrange_name
The name of the VLAN range.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
927
VLAN Range
Name
group_vlmrange_delete — Remove a VLAN range from a group resources
Description
This service allows to remove an object from a group resources.You can only remove one object
from the resources of a group per call.
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 database identifier (ID) of the group of users which resources you are editing, a unique
numeric key value automatically incremented when you add a group of users. Use the ID to
specify the group of your choice.
grp_name
The name of the group of users.
vlmdomain_id
The database identifier (ID) of the VLAN domain, a unique numeric key value automatically
incremented when you add a VLAN domain. Use the ID to specify the VLAN domain of your
choice.
vlmdomain_name
The name of the VLAN domain.
vlmrange_id
The database identifier (ID) of the VLAN range, a unique numeric key value automatically
incremented when you add a VLAN range. Use the ID to specify the VLAN range of your
choice.
928
VLAN Range
vlmrange_name
The name of the VLAN range.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
929
VLAN Range
Name
vlm_range_delete — Delete a VLAN range
Description
This service allows to delete an object. A call can only delete one object.
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
vlmdomain_id
The database identifier (ID) of the VLAN domain, a unique numeric key value automatically
incremented when you add a VLAN domain. Use the ID to specify the VLAN domain of your
choice.
vlmdomain_name
The name of the VLAN domain.
vlmrange_id
The database identifier (ID) of the VLAN range, a unique numeric key value automatically
incremented when you add a VLAN range. Use the ID to specify the VLAN range of your
choice.
vlmrange_name
The name of the VLAN range.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
930
VLAN Range
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
931
Chapter 57. VLAN
932
VLAN
Name
vlm_vlan_add — Add/Edit a VLAN
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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
vlmdomain_id
The database identifier (ID) of the VLAN domain, a unique numeric key value automatically
incremented when you add a VLAN domain. Use the ID to specify the VLAN domain of your
choice.
vlmdomain_name
The name of the VLAN domain.
vlmrange_id
The database identifier (ID) of the VLAN range, a unique numeric key value automatically
incremented when you add a VLAN range. Use the ID to specify the VLAN range of your
choice.
vlmrange_name
The name of the VLAN range.
vlmvlan_id
The database identifier (ID) of the VLAN, a unique numeric key value automatically incremen-
ted when you add a VLAN. Use the ID to specify which VLAN to edit.
933
VLAN
vlmvlan_vlan_id
The VLAN identifier (ID) of the VLAN, a unique numeric key value within a VLAN domain.
Use the ID to specify which VLAN to edit.
vlmvlan_name
The name of the VLAN, each VLAN must have a unique name.
vlmvlan_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
vlmvlan_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
934
VLAN
vlmvlan_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
935
VLAN
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
936
VLAN
Name
vlmvlan_list — List the VLANs
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
type
The type of the VLAN (free or used).
vlmdomain_id
The database identifier (ID) of the VLAN domain the object belongs to.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
937
VLAN
vlmdomain_name
The name of the VLAN domain the object belongs to.
vlmdomain_start_vlan_id
The VLAN identifier (ID) of the first VLAN in the VLAN domain the object belongs to.
vlmdomain_end_vlan_id
The VLAN identifier (ID) of the last VLAN in the VLAN domain the object belongs to.
vlmdomain_class_name
The name of the class applied to the VLAN domain the object belongs to, it can be preceded
by the class directory.
vlmdomain_description
The description of the VLAN domain the object belongs to.
support_vxlan
The type of virtual network used by the domain the VLAN belongs to, VXLAN (1) or VLAN
(0).
vlmrange_name
The name of the VLAN range the object belongs to.
vlmrange_id
The database identifier (ID) of the VLAN range the object belongs to.
vlmrange_row_enabled
Internal use. Not documented.
vlmrange_start_vlan_id
The VLAN identifier (ID) of the first VLAN in the VLAN range the object belongs to.
vlmrange_end_vlan_id
The VLAN identifier (ID) of the last VLAN in the VLAN range the object belongs to.
vlmrange_class_name
The name of the class applied to the VLAN range the object belongs to, it can be preceded
by the class directory.
vlmrange_description
The description of the VLAN range the object belongs to.
vlmvlan_id
The database identifier (ID) of the VLAN.
vlmvlan_name
The name of the VLAN.
vlmvlan_vlan_id
The VLAN identifier (ID) of the VLAN.
vlmvlan_class_name
The name of the class applied to the object.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
938
VLAN
free_start_vlan_id
For free VLAN IDs (type free), it returns the first VLAN of the range of VLANs that are not
assigned yet. The last VLAN in that range is returned in the parameter free_end_vlan_id.
free_end_vlan_id
For free VLAN IDs (type free), it returns the last VLAN of a range of VLANs that are not as-
signed yet. The first VLAN in that range is returned in the parameter free_start_vlan_id.
vlmvlan_class_parameters
The class parameters of the VLAN.
vlmvlan_class_parameters_properties
The inheritance property and propagation property of the parameters returned by
vlmvlan_class_parameters.
vlmvlan_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
vlmrange_class_parameters
The class parameters of the range the VLAN belongs to.
vlmrange_class_parameters_properties
The inheritance property and propagation property of the parameters returned by vlm-
range_class_parameters.
vlmdomain_class_parameters
The class parameters of the domain the VLAN belongs to.
vlmdomain_class_parameters_properties
The inheritance property and propagation property of the parameters returned by vlmdo-
main_class_parameters.
939
VLAN
Name
vlmvlan_info — Display the properties of a VLAN
Description
This service allows to display the properties of an object.
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
vlmvlan_id
The database identifier (ID) of the VLAN, a unique numeric key value automatically incremen-
ted when you add a VLAN. Use the ID to specify the VLAN of your choice.
Output Parameters
type
The type of the VLAN (free or used).
vlmdomain_id
The database identifier (ID) of the VLAN domain the object belongs to.
vlmdomain_name
The name of the VLAN domain the object belongs to.
vlmdomain_start_vlan_id
The VLAN identifier (ID) of the first VLAN in the VLAN domain the object belongs to.
vlmdomain_end_vlan_id
The VLAN identifier (ID) of the last VLAN in the VLAN domain the object belongs to.
vlmdomain_class_name
The name of the class applied to the VLAN domain the object belongs to, it can be preceded
by the class directory.
vlmdomain_description
The description of the VLAN domain the object belongs to.
support_vxlan
The type of virtual network used by the domain the VLAN belongs to, VXLAN (1) or VLAN
(0).
vlmrange_name
The name of the VLAN range the object belongs to.
vlmrange_id
The database identifier (ID) of the VLAN range the object belongs to.
vlmrange_row_enabled
Internal use. Not documented.
vlmrange_start_vlan_id
The VLAN identifier (ID) of the first VLAN in the VLAN range the object belongs to.
940
VLAN
vlmrange_end_vlan_id
The VLAN identifier (ID) of the last VLAN in the VLAN range the object belongs to.
vlmrange_class_name
The name of the class applied to the VLAN range the object belongs to, it can be preceded
by the class directory.
vlmrange_description
The description of the VLAN range the object belongs to.
vlmvlan_id
The database identifier (ID) of the VLAN.
vlmvlan_name
The name of the VLAN.
vlmvlan_vlan_id
The VLAN identifier (ID) of the VLAN.
vlmvlan_class_name
The name of the class applied to the object.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
free_start_vlan_id
For free VLAN IDs (type free), it returns the first VLAN of the range of VLANs that are not
assigned yet. The last VLAN in that range is returned in the parameter free_end_vlan_id.
free_end_vlan_id
For free VLAN IDs (type free), it returns the last VLAN of a range of VLANs that are not as-
signed yet. The first VLAN in that range is returned in the parameter free_start_vlan_id.
vlmvlan_class_parameters
The class parameters of the VLAN.
vlmvlan_class_parameters_properties
The inheritance property and propagation property of the parameters returned by
vlmvlan_class_parameters.
vlmvlan_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
vlmrange_class_parameters
The class parameters of the range the VLAN belongs to.
vlmrange_class_parameters_properties
The inheritance property and propagation property of the parameters returned by vlm-
range_class_parameters.
vlmdomain_class_parameters
The class parameters of the domain the VLAN belongs to.
941
VLAN
vlmdomain_class_parameters_properties
The inheritance property and propagation property of the parameters returned by vlmdo-
main_class_parameters.
942
VLAN
Name
vlmvlan_count — Count the number of VLANs
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
943
VLAN
Name
vlm_vlan_delete — Delete a VLAN
Description
This service allows to delete an object. A call can only delete one object.
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
vlmdomain_id
The database identifier (ID) of the VLAN domain, a unique numeric key value automatically
incremented when you add a VLAN domain. Use the ID to specify the VLAN domain of your
choice.
vlmdomain_name
The name of the VLAN domain.
vlmrange_id
The database identifier (ID) of the VLAN range, a unique numeric key value automatically
incremented when you add a VLAN range. Use the ID to specify the VLAN range of your
choice.
vlmrange_name
The name of the VLAN range.
vlmvlan_id
The database identifier (ID) of the VLAN, a unique numeric key value automatically incremen-
ted when you add a VLAN. Use the ID to specify the VLAN of your choice.
944
VLAN
vlmvlan_vlan_id
The VLAN identifier (ID) of the VLAN, a unique numeric key value within a VLAN domain.
Use the ID to specify the VLAN of your choice.
vlmvlan_name
The name of the VLAN.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
945
Part XI. VRF Services
Table of Contents
58. VRF ........................................................................................................................ 948
vrf_vrfobject_add .................................................................................................. 949
vrfobject_list .......................................................................................................... 952
vrfobject_info ........................................................................................................ 954
vrfobject_count ..................................................................................................... 956
vrf_vrfobject_delete ............................................................................................... 957
59. VRF Route Target .................................................................................................... 959
vrf_linkvrfimportexport_add .................................................................................... 960
link_vrfimportexport_list ......................................................................................... 963
vrf_linkvrfimportexport_delete ................................................................................ 965
947
Chapter 58. VRF
948
VRF
Name
vrf_vrfobject_add — Add a VRF
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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
vrfobject_name
The name of the VRF, each VRF must have a unique name.
vrfobject_rd_id
The Route Distinguisher (RD) Identifier (ID) of the VRF. Following RFC 4364, the RD ID
format must respect one of three types:
vrfobject_comment
The description of the VRF.
949
VRF
vrfobject_id
The database identifier (ID) of the VRF, a unique numeric key value automatically incremented
when you add a VRF. Use the ID to specify which VRF to edit.
vrfobject_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
vrfobject_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
vrfobject_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
950
VRF
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
951
VRF
Name
vrfobject_list — List the VRFs
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
vrfobject_id
The database identifier (ID) of the VRF.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
952
VRF
vrfobject_rd_id
The Route Distinguisher (RD) Identifier (ID) of the VRF. It can be of type 0 (<integer between
0 and 65535>:<integer between 0 and 4294967296>), 1 (<IPv4 address>:<integer between
0 and 65535>) or 2 (<integer between 0 and 4294967296>:<integer between 0 and 65535>).
vrfobject_name
The name of the VRF.
vrfobject_comment
The description of the VRF.
vrfobject_class_name
The name of the class applied to the VRF, it can be preceded by the class directory.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
vrfobject_class_parameters
The class parameters applied to the VRF and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
vrfobject_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
vrfobject_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
vrfobject_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
953
VRF
Name
vrfobject_info — Display the properties of a VRF
Description
This service allows to display the properties of an object.
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
vrfobject_id
The database identifier (ID) of the VRF, a unique numeric key value automatically incremented
when you add a VRF. Use the ID to specify the VRF of your choice.
Output Parameters
vrfobject_id
The database identifier (ID) of the VRF.
vrfobject_rd_id
The Route Distinguisher (RD) Identifier (ID) of the VRF. It can be of type 0 (<integer between
0 and 65535>:<integer between 0 and 4294967296>), 1 (<IPv4 address>:<integer between
0 and 65535>) or 2 (<integer between 0 and 4294967296>:<integer between 0 and 65535>).
vrfobject_name
The name of the VRF.
vrfobject_comment
The description of the VRF.
vrfobject_class_name
The name of the class applied to the VRF, it can be preceded by the class directory.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
vrfobject_class_parameters
The class parameters applied to the VRF and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
vrfobject_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
vrfobject_class_parameters: <class-parameter1>=<inheritance>,<propagation>&<class-
parameter2>=<inheritance>&... .
954
VRF
vrfobject_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
955
VRF
Name
vrfobject_count — Count the VRFs
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
956
VRF
Name
vrf_vrfobject_delete — Delete a VRF
Description
This service allows to delete an object. A call can only delete one object.
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
vrfobject_name
The name of the VRF of your choice.
vrfobject_id
The database identifier (ID) of the VRF, a unique numeric key value automatically incremented
when you add a VRF. Use the ID to specify the VRF of your choice.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
957
VRF
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
958
Chapter 59. VRF Route Target
959
VRF Route Target
Name
vrf_linkvrfimportexport_add — Add a VRF Route Target
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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
src_id
The database identifier (ID) of the VRF used as the source for the Route Target, a unique
numeric key value automatically incremented when you add a VRF. Use the ID to specify
the VRF of your choice.
src_name
The name of the VRF used as the source for the Route Target.
src_rd_id
The Route Distinguisher (RD) identifier (ID) of the VRF used as the source for the Route
Target.
dest_id
The database identifier (ID) of the VRF used as the target for the Route Target, a unique
numeric key value automatically incremented when you add a VRF. Use the ID to specify
the VRF of your choice.
960
VRF Route Target
dest_name
The name of the VRF used as the target for the Route Target.
dest_rd_id
The Route Distinguisher (RD) identifier (ID) of the VRF used as the target for the Route
Target.
is_import
A way to determine if the target VRF retrieves the routes of the source VRF (1) or not (0).
is_export
A way to determine if the source VRF sends its routes to the target VRF (1) or not (0).
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
961
VRF Route Target
962
VRF Route Target
Name
link_vrfimportexport_list — List the VRF Route Targets
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
link_vrfimportexport_id
The database identifier of the VRF Route Target. It is composed of the database identifiers
of the target and source VRF it links as follows: <target-VRF-ID>_<source-VRF-ID> .
row_enabled
The object activation status:
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
963
VRF Route Target
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
is_import
A way to determine if the target VRF retrieves the routes of the source VRF (1) or not (0).
is_export
A way to determine if the source VRF sends its routes to the target VRF (1) or not (0).
dest_id
The database identifier of the target VRF.
dest_rd_id
The Route Distinguisher (RD) Identifier (ID) of the target VRF.
dest_name
The name of the target VRF.
src_id
The database identifier of the source VRF.
src_rd_id
The Route Distinguisher (RD) Identifier (ID) of the source VRF.
src_name
The name of the source VRF.
964
VRF Route Target
Name
vrf_linkvrfimportexport_delete — Delete a VRF Route Target
Description
This service allows to delete an object. A call can only delete one object.
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
dest_id
The database identifier (ID) of the VRF used as the target for the Route Target, a unique
numeric key value automatically incremented when you add a VRF. Use the ID to specify
the VRF of your choice.
src_id
The database identifier (ID) of the VRF used as the source for the Route Target, a unique
numeric key value automatically incremented when you add a VRF. Use the ID to specify
the VRF of your choice.
dest_name
Deprecated, replaced by 128.
src_name
Deprecated, replaced by 128.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
965
VRF Route Target
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
966
Part XII. Administration Services
Table of Contents
60. Services Management ............................................................................................. 969
service_list ........................................................................................................... 970
group_service_add ................................................................................................ 972
group_service_delete ............................................................................................ 974
61. Group ..................................................................................................................... 976
group_add ............................................................................................................ 977
group_list .............................................................................................................. 981
group_info ............................................................................................................ 983
group_count ......................................................................................................... 985
group_delete ......................................................................................................... 986
maintainer_group_list ............................................................................................ 987
62. User ........................................................................................................................ 988
user_add .............................................................................................................. 989
user_info .............................................................................................................. 994
user_service_list ................................................................................................... 996
group_service_list ................................................................................................. 998
group_user_add .................................................................................................. 1000
group_user_delete .............................................................................................. 1002
user_delete ......................................................................................................... 1004
63. Custom Data ......................................................................................................... 1006
custom_db_data_add .......................................................................................... 1007
custom_db_data_list ............................................................................................ 1010
custom_db_data_info .......................................................................................... 1013
custom_db_data_count ....................................................................................... 1015
custom_db_data_groupby .................................................................................... 1016
custom_db_data_groupby_count .......................................................................... 1018
custom_db_data_delete ....................................................................................... 1019
968
Chapter 60. Services Management
969
Services Management
Name
service_list — List the services
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
service_name
The name of the service.
service_comment
The description of the service.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
970
Services Management
service_default
The service default assignment. 1 indicates that 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. 0 indicates that the administrators must grant the users access to the service if they
want to execute it. This only applies to services that can be added as group resource.
service_show
The service visibility in the GUI. 1 indicates that the service is listed among the services of
the properties page of a group of users. 0 indicates that the service is not visible in the GUI.
For instance, all the <*_count> services are set to 0 as the number of items is visible on all
the listing pages.
module_name
The name of the module the service applies to, either IPAM (ip), DHCP (dhcp) DNS (dns),
Application (app), Guardian (guardian), NetChange (iplocator), Workflow (workflow), Device
Manager (host), VLAN Manager (vlm), VRF (vrf), SPX (SPX), Administration (system), Report
(report) or Rights & Delegation (access).
service_usage
The service type, either service, macro or internal. No user can execute or grant access to
the internal services as they are internal to SOLIDserver and run on their own when needed.
service_has_help
The service help command availability. 1 indicates that you can use the command <ser-
vice_name> help to get the list of input and output parameters. 0 indicates that the help
command is unavailable for the service.
971
Services Management
Name
group_service_add — Add a service to a group resources/Grant a group access to a
service
Description
This service allows to add an object to the resources of a group. You can only add one object to
a group resource per call.
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 database identifier (ID) of a group of users, a unique numeric key value automatically
incremented when you add a group of users. Use the ID to specify the group of your choice.
grp_name
The name of the group of users.
service_id
The database identifier (ID) of the service. Use the ID to specify the service of your choice.
service_name
The name of the service.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
972
Services Management
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
973
Services Management
Name
group_service_delete — Remove a service from a group resources/Deny a group
access to a service
Description
This service allows to remove an object from a group resources.You can only remove one object
from the resources of a group per call.
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 database identifier (ID) of a group of users, a unique numeric key value automatically
incremented when you add a group of users. Use the ID to specify the group of your choice.
grp_name
The name of the group of users.
service_id
The database identifier (ID) of the service. Use the ID to specify the service of your choice.
service_name
The name of the service.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
974
Services Management
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
975
Chapter 61. Group
976
Group
Name
group_add — Add/Edit a group of users
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the group of users, a unique numeric key value automatically
incremented when you add a group of users. Use the ID to specify which group of users to
edit.
grp_name
The name of the group of users.
grp_description
The description of the group of users.
grp_category
A way to determine if the group of the user running the service is the admin group (System).
src_grp_id
The database identifier (ID) of an existing group of users you want to copy the rights from.
977
Group
src_grp_name
The name of an existing group of users you want to copy the rights from.
parent_grp_id
The database identifier (ID) of an existing group of users you want to set as the parent of the
group of users you are adding/editing.
parent_grp_name
The name of an existing group of users you want to set as the parent of the group of users
you are adding/editing.
grp_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
grp_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
enabled
Deprecated, replaced by row_enabled.
row_enabled
The object activation status.
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
• If set to 2, the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
978
Group
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
grp_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
979
Group
980
Group
Name
group_list — List the groups a user belongs to
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
grp_id
The database identifier (ID) of a group of users.
grp_name
The name of the group of users.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
981
Group
grp_category
A way to determine if the group of the user running the service is the admin group (System).
grp_description
The description of the group of users.
grp_class_name
The name of the class applied to the group, it can be preceded by the class directory.
parent_grp_id
The database identifier (ID) of the parent group of users. 0 indicates that group of users has
no parent group.
grp_parent_id_path
The path toward the parent group within the database: <parent-group-name>#<group-
ID>#<group-name>#<group-ID>. If the group has no parent, it returns <group-name>#<group-
ID>.
grp_level
The level of the group of users, where 0 represents the highest level in the users hierarchy
grp_tmp_level
Internal use. Not documented.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
• 2 indicates the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
grp_class_parameters
The class parameters applied to the group and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
grp_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
grp_class_parameters: <classparam1>=<inheritance>,<propagation>&<classparam2>=<in-
heritance>,<propagation>&... .
grp_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
parent_grp_class_parameters
The class parameters applied to the parent group and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
parent_grp_class_parameters_properties
The inheritance and/or propagation properties of the class parameters returned in the para-
meter parent_grp_class_parameters: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>.
982
Group
Name
group_info — Display the properties of a group a user belongs to
Description
This service allows to display the properties of an object.
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 database identifier (ID) of a group of users, a unique numeric key value automatically
incremented when you add a group of users. Use the ID to specify the group of your choice.
Output Parameters
grp_id
The database identifier (ID) of a group of users.
grp_name
The name of the group of users.
grp_category
A way to determine if the group of the user running the service is the admin group (System).
grp_description
The description of the group of users.
grp_class_name
The name of the class applied to the group, it can be preceded by the class directory.
parent_grp_id
The database identifier (ID) of the parent group of users. 0 indicates that group of users has
no parent group.
grp_parent_id_path
The path toward the parent group within the database: <parent-group-name>#<group-
ID>#<group-name>#<group-ID>. If the group has no parent, it returns <group-name>#<group-
ID>.
grp_level
The level of the group of users, where 0 represents the highest level in the users hierarchy
grp_tmp_level
Internal use. Not documented.
row_enabled
The object activation status:
• 0 indicates the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• 1 indicates the object is enabled and managed.
983
Group
984
Group
Name
group_count — Count the number of groups the user belongs to
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
985
Group
Name
group_delete — Delete a group of users
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of a group of users, a unique numeric key value automatically
incremented when you add a group of users. Use the ID to specify the group of your choice.
grp_name
The name of the group of users.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
986
Group
Name
maintainer_group_list — List the groups of users used as Maintainer
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
grp_id
The database identifier (ID) of a group of users.
grp_name
The name of the group of users.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
987
Chapter 62. User
988
User
Name
user_add — Add/Edit a user
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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 database identifier (ID) of the user, a unique numeric key value automatically incremented
when you add a user. Use the ID to specify which user to edit.
login
Deprecated, replaced by usr_login.
usr_login
The login of the user. A local user and a remote user cannot share the same login account.
This login cannot be an email address.
description
Deprecated, replaced by usr_description.
usr_description
The description of the user.
fname
Deprecated, replaced by usr_fname.
usr_fname
The first name of the user.
989
User
lname
Deprecated, replaced by usr_lname.
usr_lname
The last name of the user.
email
Deprecated, replaced by usr_email.
usr_email
The email address of the user.
type
Deprecated, replaced by usr_type.
usr_type
The type of the user, either local or remote.
Type Fixed value: local || passwd || pam || rule Maximum length N/A
Default value local Can be edited Yes
path
Deprecated, replaced by usr_path.
usr_path
A way to redirect the user your are adding/editing toward the web page of your choice when
they log in. Specify the URL of your choice.
password
Deprecated, replaced by usr_password.
usr_password
The password of the user.
www_settings
Deprecated, replaced by usr_www_settings.
usr_www_settings
The URL toward which the user should be directed after being authenticated, in URL format.
990
User
maintainer_grp_id
The database identifier (ID) of an existing group of users you want to set as the maintainer
of the user you are adding/editing. Members of the maintainer group are allowed to edit the
user information and classes. By default, the maintainer group is the admin group.
maintainer_grp_name
The name of an existing group of users you want to set as the maintainer of the user you are
adding/editing. Members of the maintainer group are allowed to edit the user information and
classes. By default, the maintainer group is the admin group.
usr_class_name
The name of the class to apply to the object you are adding, editing or looking for. You must
specify the class file directory, e.g. my_directory/my_class.class .You cannot use the classes
global and default, they are reserved by the system.
usr_class_parameters
The class parameters to apply to the object you are adding/editing. Specify one or several
class parameters and their value, both encoded in URL format: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
enabled
Deprecated, replaced by row_enabled.
row_enabled
The object activation status.
• If set to 0, the object is present in the database but ignored, i.e. it cannot be managed,
counted or listed. This status is applied on objects deleted from the GUI.
• If set to 1, the object is enabled and managed.
• If set to 2, the object is unmanaged, disabled or both depending on the context.
By default, row_enabled is set to 1 when an object is created.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
991
User
class_parameters_to_delete
A list of all the class parameters that you want to delete. The class parameters must be en-
coded in URL format and separated by a &: <class-parameter1>&<class-parameter2>&... .
Any parameter not specified is still applied to the object with its current inheritance and
propagation property configuration.
usr_class_parameters_properties
The object class parameters inheritance property and propagation property, both encoded
in URL format. These properties are ignored if the class parameters you specify are not in-
cluded in the input parameter <object>_class_parameters.
Specify the class parameters name and the value of their inheritance property and/or
propagation property, both encoded in URL format. The parameters specified must be sep-
arated by a & and the properties by a comma: <class-parameter1>=<inheritance>,<propaga-
tion>&<class-parameter2>=<inheritance>&... . If the inheritance or propagation property is
not specified, its default value - set, propagate - is used.
The inheritance property can be set to:
• inherited: the object inherits the value of the class parameter from its container, it might
inherit it from from several levels above.
• set: the value of the class parameter is set from the object level, no matter the value of
this class parameter on higher levels.
• inherited_or_set: the value of the class parameter is either inherited from the container if
they both have the class parameter configured with the same value or set if this class
parameter was not defined on the container or had a different value.
The propagation property can be set to:
• restrict: the value of the class parameter is only used at this level.
• propagate: the value of the class parameter is propagated to the lower level(s).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
992
User
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
Example
In the example below, we call the service user_add with PHP (cURL) to add a new SOLIDserver
user. In our case, this user has to log in with the credentials sdsuser as login and theirpassword
as password, and we specified an email address: [email protected] .
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://solid.intranet/rest/user_add?".
"usr_login=sdsuser&usr_email=sdsuser%40mydomain.tld&usr_password=theirpassword",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache",
"x-ipm-password: YWRtaW4=",
"x-ipm-username: aXBtYWRtaW4="
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
993
User
Name
user_info — Display the properties of the user running the service
Description
This service allows to display the properties of an object.
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.
Output Parameters
usr_id
The database identifier (ID) of the user.
usr_login
The login of the user.
usr_type
The type of the user, either local or remote.
usr_path
The URL the user is redirected to when they log in. If empty, there is no redirection.
usr_description
The description of the user.
usr_fname
The first name of the user.
usr_lname
The last name of the user.
usr_email
The email address of the user.
usr_www_settings
The URL toward which the user should be directed after being authenticated, in URL format.
usr_class_name
The name of the class applied to the user, it can be preceded by the class directory.
maintainer_grp_id
The database identifier (ID) of the user maintainer group.
maintainer_grp_name
The name of the user maintainer group.
usr_class_parameters
The class parameters applied to the user and their value: <class-paramet-
er1>=<value1>&<class-parameter2>=<value2>&... .
usr_class_parameters_properties
The inheritance property and/or propagation property of the class parameters returned by
usr_class_parameters: <classparam1>=<inheritance>,<propagation>&<classparam2>=<in-
heritance>,<propagation>&... .
usr_class_parameters_inheritance_source
The container(s) from which the object inherits its class parameters. The parameters are
separated by a & and followed by the type and ID of the container, separated by a comma:
994
User
<class-parameter1>=real_<container-type>,<container-ID>&<class-parameter2>=real_<con-
tainer-type>,<container-ID>&... .
995
User
Name
user_service_list — List the services a user can execute
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
module_name
The name of the module the service applies to, either IPAM (ip), DHCP (dhcp) DNS (dns),
Application (app), Guardian (guardian), NetChange (iplocator), Workflow (workflow), Device
Manager (host), VLAN Manager (vlm), VRF (vrf), SPX (SPX), Administration (system), Report
(report) or Rights & Delegation (access).
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
996
User
service_name
The name of the service.
link_active
The service activation status. 1 indicates the service is active.
997
User
Name
group_service_list — List the services a user can execute according to the groups they
belong to
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
grp_name
The name of the group the user belongs to.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
998
User
module_name
The name of the module the service applies to, either IPAM (ip), DHCP (dhcp) DNS (dns),
Application (app), Guardian (guardian), NetChange (iplocator), Workflow (workflow), Device
Manager (host), VLAN Manager (vlm), VRF (vrf), SPX (SPX), Administration (system), Report
(report) or Rights & Delegation (access).
service_name
The name of the service.
link_active
The service activation status. 1 indicates the service is active.
999
User
Name
group_user_add — Add a user to a group resources
Description
This service allows to add an object to the resources of a group. You can only add one object to
a group resource per call.
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 database identifier (ID) of a group of users, a unique numeric key value automatically
incremented when you add a group of users. Use the ID to specify the group of your choice.
grp_name
The name of the group of users.
usr_id
The database identifier (ID) of the user, a unique numeric key value automatically incremented
when you add a user. Use the ID to specify the user of your choice.
login
Deprecated, replaced by usr_login.
usr_login
The login of the user.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
1000
User
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
Example
In the example below, we call the service group_user_add with Python (Requests) to add a
user as resource to a group of users. The user sdsuser will benefit from the objects and rights
that the group of users regular is configured with.
url = "https://solid.intranet/rest/group_user_add"
querystring = {"grp_name":"regular","usr_login":"sdsuser"}
headers = {
'x-ipm-username': "aXBtYWRtaW4=",
'x-ipm-password': "YWRtaW4=",
'cache-control': "no-cache"
}
print(response.text)
1001
User
Name
group_user_delete — Remove a user from a group resources
Description
This service allows to remove an object from a group resources.You can only remove one object
from the resources of a group per call.
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 database identifier (ID) of a group of users, a unique numeric key value automatically
incremented when you add a group of users. Use the ID to specify the group of your choice.
grp_name
The name of the group of users.
usr_id
The database identifier (ID) of the user, a unique numeric key value automatically incremented
when you add a user. Use the ID to specify the user of your choice.
login
Deprecated, replaced by usr_login.
usr_login
The login of the user.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
1002
User
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
Example
In the example below, we call the service group_user_delete with PHP (cURL) to remove a
user from the resources of a group of users. When the service is executed, the user sdsuser can
no longer manage the object or perform the services granted to the group regular.
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL =>
"https://solid.intranet/rest/group_user_delete?grp_name=regular&usr_login=sdsuser",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache",
"x-ipm-password: YWRtaW4=",
"x-ipm-username: aXBtYWRtaW4="
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
1003
User
Name
user_delete — Delete a user
Description
This service allows to delete an object. A call can only delete one object.
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 database identifier (ID) of the user, a unique numeric key value automatically incremented
when you add a user. Use the ID to specify the user of your choice.
login
Deprecated, replaced by usr_login.
usr_login
The login of the user.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
1004
User
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
1005
Chapter 63. Custom Data
1006
Custom Data
Name
custom_db_data_add — Add/Edit a custom database entry
Description
This service allows to add objects or edit existing ones. A call can only add or edit one object.
• If no identifier is specified, a new object is created.
• If an existing identifier is specified, the value of all the parameters specified in input edits the
corresponding objects.
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_data_id
The database identifier (ID) of the custom database entry, a unique numeric key value
automatically incremented when you add a custom database entry. Use the ID to specify
which custom database entry to edit.
custom_db_name_id
The database identifier (ID) of the custom database, a unique numeric key value automatically
incremented when you add a custom database. Use the ID to specify the custom database
of your choice.
custom_db_name
The name of the custom database.
value1
One of the 10 values you can associate with the custom database entry specified in the
parameter custom_db_data_id.
1007
Custom Data
value2
One of the 10 values you can associate with the custom database entry specified in the
parameter custom_db_data_id.
value3
One of the 10 values you can associate with the custom database entry specified in the
parameter custom_db_data_id.
value4
One of the 10 values you can associate with the custom database entry specified in the
parameter custom_db_data_id.
value5
One of the 10 values you can associate with the custom database entry specified in the
parameter custom_db_data_id.
value6
One of the 10 values you can associate with the custom database entry specified in the
parameter custom_db_data_id.
value7
One of the 10 values you can associate with the custom database entry specified in the
parameter custom_db_data_id.
value8
One of the 10 values you can associate with the custom database entry specified in the
parameter custom_db_data_id.
value9
One of the 10 values you can associate with the custom database entry specified in the
parameter custom_db_data_id.
1008
Custom Data
value10
One of the 10 values you can associate with the custom database entry specified in the
parameter custom_db_data_id.
add_flag
A way to overload your current operation. Flag the object you are adding/editing if you do
not want to edit an existing object that matches your input parameters (new_only) or if you
want to edit an existing object but not create a new one (edit_only).
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
1009
Custom Data
Name
custom_db_data_list — List the custom database entries
Description
This service allows to list the objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
custom_db_data_id
The database identifier (ID) of the custom database entry.
custom_db_name_id
The database identifier (ID) of the custom database.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
1010
Custom Data
value1
One of the 10 values associated with the custom database entry returned by the parameter
custom_db_data_id.
value2
One of the 10 values associated with the custom database entry returned by the parameter
custom_db_data_id.
value3
One of the 10 values associated with the custom database entry returned by the parameter
custom_db_data_id.
value4
One of the 10 values associated with the custom database entry returned by the parameter
custom_db_data_id.
value5
One of the 10 values associated with the custom database entry returned by the parameter
custom_db_data_id.
value6
One of the 10 values associated with the custom database entry returned by the parameter
custom_db_data_id.
value7
One of the 10 values associated with the custom database entry returned by the parameter
custom_db_data_id.
value8
One of the 10 values associated with the custom database entry returned by the parameter
custom_db_data_id.
value9
One of the 10 values associated with the custom database entry returned by the parameter
custom_db_data_id.
value10
One of the 10 values associated with the custom database entry returned by the parameter
custom_db_data_id.
descr
The description of the custom database.
name
The name of the custom database.
type
The type of the custom data, either it belongs to the custom DB Vendor available by default
(system) or it belongs to a custom DB you created (read-only).
read_only
The read-only status of the custom database. 1 indicates that the custom database cannot
be edited.
label1
The label to be displayed for the parameter value1.
label2
The label to be displayed for the parameter value2.
label3
The label to be displayed for the parameter value3.
1011
Custom Data
label4
The label to be displayed for the parameter value4.
label5
The label to be displayed for the parameter value5.
label6
The label to be displayed for the parameter value6.
label7
The label to be displayed for the parameter value7.
label8
The label to be displayed for the parameter value8.
label9
The label to be displayed for the parameter value9.
label10
The label to be displayed for the parameter value10.
Example
In the example below, we call the service custom_db_data_list with PowerShell to display the
service help. Everything included before the variable $headers allows to skip the SSL certificate
checks, if you are using a self-signed certificate.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Ssl3,
[Net.SecurityProtocolType]::Tls, [Net.SecurityProtocolType]::Tls11,
[Net.SecurityProtocolType]::Tls12
1012
Custom Data
Name
custom_db_data_info — Display the properties of a custom database
Description
This service allows to display the properties of an object.
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_data_id
The database identifier (ID) of the custom database entry, a unique numeric key value
automatically incremented when you add a custom database entry. Use the ID to specify the
custom database entry of your choice.
Output Parameters
custom_db_data_id
The database identifier (ID) of the custom database entry.
custom_db_name_id
The database identifier (ID) of the custom database.
value1
One of the 10 values associated with the custom database entry returned by the parameter
custom_db_data_id.
value2
One of the 10 values associated with the custom database entry returned by the parameter
custom_db_data_id.
value3
One of the 10 values associated with the custom database entry returned by the parameter
custom_db_data_id.
value4
One of the 10 values associated with the custom database entry returned by the parameter
custom_db_data_id.
value5
One of the 10 values associated with the custom database entry returned by the parameter
custom_db_data_id.
value6
One of the 10 values associated with the custom database entry returned by the parameter
custom_db_data_id.
value7
One of the 10 values associated with the custom database entry returned by the parameter
custom_db_data_id.
1013
Custom Data
value8
One of the 10 values associated with the custom database entry returned by the parameter
custom_db_data_id.
value9
One of the 10 values associated with the custom database entry returned by the parameter
custom_db_data_id.
value10
One of the 10 values associated with the custom database entry returned by the parameter
custom_db_data_id.
descr
The description of the custom database.
name
The name of the custom database.
type
The type of the custom data, either it belongs to the custom DB Vendor available by default
(system) or it belongs to a custom DB you created (read-only).
read_only
Internal use. Not documented.
label1
The label to be displayed for the parameter value1.
label2
The label to be displayed for the parameter value2.
label3
The label to be displayed for the parameter value3.
label4
The label to be displayed for the parameter value4.
label5
The label to be displayed for the parameter value5.
label6
The label to be displayed for the parameter value6.
label7
The label to be displayed for the parameter value7.
label8
The label to be displayed for the parameter value8.
label9
The label to be displayed for the parameter value9.
label10
The label to be displayed for the parameter value10.
1014
Custom Data
Name
custom_db_data_count — Count the number of custom database entries
Description
This service allows to return the number of objects.
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
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
1015
Custom Data
Name
custom_db_data_groupby — Group custom databases by parameter(s)
Description
This service, like the SQL statement GROUPBY, allows to gather objects using the columns, i.e.
the parameters, specified in input. Unlike other services, the result is not a list of objects but an
aggregated result.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
ORDERBY
A clause that allows to sort the result. You can include any output parameter of the service
in this clause, except class parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
1016
Custom Data
To sort the result using class parameters, you must tag them first. For more details, refer to
the section Including Tagged Class Parameters in the Clause ORDERBY.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as follows: <parameter>='<value>'. The clause must be encoded in URL
format.
You can add the optional keyword ASC (ascending) or DESC (descending) after each
parameter. If not specified, ASC is used by default. The order of the parameters specified is
set using their value's name or ordinal number. Each parameter value is compared from one
row to the next. If all the parameters of the rows are equal, they are returned in an implement-
ation-dependent order.
offset
The number of rows to skip in the service output.
The input parameter offset must be specified in lowercase.
limit
The maximum number of results to be returned. Depending on the user resources and the
database content, it can return less results than the value you have specified.
The input parameter limit must be specified in lowercase.
Output Parameters
Your parameters
Any parameter specified in the input statement SELECT is returned.
1017
Custom Data
Name
custom_db_data_groupby_count — Count the number of custom databases
grouped by parameter(s)
Description
This service allows to display the total number of results of the service *_groupby.
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
SELECT
A statement that allows to specify which column(s), i.e. parameter, is returned by the service.
To decide which parameter aggregates the objects returned, use the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows: SE-
LECT=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Each parameter can be associated with an SQL aggregation function: count, max, min, sum
or avg. The aggregation function syntax is the following: SELECT=<aggr.-
funct.>(<param1>),<aggr.-funct.>(<param2>) where the brackets are required.
If no aggregation function is used, the parameter(s) specified in the statement SELECT must
also be specified in the statement GROUPBY.
WHERE
A clause that allows to filter the result. You can include any output parameter of the service
*_list of the object in this clause, except class parameters.
1
To filter the result using class parameters, you must tag them first . For more details, refer
to the section Including Tagged Class Parameters in the Clause WHERE.
The parameters and their value must be specified following the operators and syntax of the
SQL standard, as in the following examples : <parameter>='<value>' or <parameter> IS NOT
NULL. The clause must be encoded in URL format.
GROUPBY
A statement that allows to aggregate the objects returned using the parameter(s) of your
choice. Any parameter specified in the statement SELECT without aggregation function must
be specified in the statement GROUPBY.
The statement can contain any output parameter of the service *_list, except class parameters.
If you specify several parameters they must be separated by a comma as follows:
GROUPBY=<param1>,<param2>,... . The clause must be encoded in URL format.
To include class parameters in the statement, you must tag them first. For more details, refer
to the section Including Tagged Class Parameters in the Statements SELECT and GROUPBY.
Output Parameters
total
The total number of objects matching your input parameters.
1
It is no longer possible to use the structure <object-name>_class_parameters like <value> directly in the clause WHERE.
1018
Custom Data
Name
custom_db_data_delete — Delete a custom database entry
Description
This service allows to delete an object. A call can only delete one object.
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_data_id
The database identifier (ID) of the custom database entry, a unique numeric key value
automatically incremented when you add a custom database entry. Use the ID to specify the
custom database entry of your choice.
custom_db_name_id
The database identifier (ID) of the custom database, a unique numeric key value automatically
incremented when you add a custom database. Use the ID to specify the custom database
of your choice.
validate_warnings
A way to bypass (accept) any enabled rule that would return warning messages. If the service
returns an error message, you cannot bypass the enabled rules.
Output Parameters
errno
The status returned by the service after its execution. A successful operation returns 0. If the
operation fails it returns another number, detailed in the appendix Return Codes.
errmsg
The message matching the errno returned.
severity
The level of severity of the errno returned:
• Error: the service cannot be executed.
• Warning: the service execution can continue but an issue might have occurred.
• Notice: the service execution succeeded.
1019
Custom Data
parameters
The input parameter(s) that caused an issue during the service execution.
param_format
The format that should have been used for the input parameter(s).
param_value
The value of the input parameter(s) that caused the error during the service execution.
ret_oid
The database identifier (ID) of the object you added or edited.
1020
Appendix A. IPAM Cheat Sheet
1021
Appendix B. IPAM Workflow Sample
1022
Appendix C. DHCP Options
This appendix describes all the DHCP options that you can configure at server, group, scope
range and static level.
They are described following their Option category in the GUI configuration wizard:
• Most Used Options.
• Basic.
• Server Parameters.
• Lease Information.
• WINS/NetBIOS.
• Host IP.
• Interface.
• Servers.
• BootP Compatible.
• DHCP Packet Fields.
• Microsoft DHCP Client.
• NetWare Client.
• NIS/NISplus.
• Miscellaneous.
• Vendor Nwip.
• Vendor MSFT Options.
1023
DHCP Options
Basic
Table C.2. Basic DHCP options
Name Code Value type Description
auto-configure 116 boolean Allows to ask whether, and be notified if, auto-
configuration should be disabled on the local
subnet.
For more details, refer to the RFC2563 available
on IETF website at
https://tools.ietf.org/html/rfc2563.
broadcast-address 28 IP address Specifies the broadcast address for the interface
subnet.
host-name 12 text (name) Client host name.
allow-booting N/A boolean Allows to decide whether or not to respond to
queries from a particular client. It must be set in
a host declaration.
By default, booting is allowed. If you disable it
for a particular client, that client cannot to get an
address from the DHCP server.
allow-bootp N/A boolean Allows to decide whether or not to respond to
bootp queries. By default, bootp queries are al-
lowed.
authoritative N/A boolean Allocation and checking of IP addresses accord-
ing to the network segment where the DHCP
client is connected.
ping-timeout N/A duration in seconds Maximum timeout answer for a ping from the
DHCP server.
site-option-space N/A text (name) Allows to specify from which option space the
site-local options are taken. The site-local op-
tions are the ones with an option code between
224 and 254.
use-host-decl-names N/A boolean If set to Yes, the name provided for the host
declaration will be supplied to the client as its
hostname.
vendor-option-space N/A boolean Determines from what option space vendor op-
tions are taken. Please refer to option 43
(vendor-encapsulate-options).
subnet-mask 1 IP address The subnet mask of the connected interface.
Server Parameters
All server parameter related DHCP options must be preceded by the name of the server they
apply to as follows: <server-name>.<option>
1024
DHCP Options
Lease Information
These options concern the technical mechanisms on the client side of SOLIDserver DHCP protocol.
1025
DHCP Options
WINS/NetBIOS
Table C.5. WINS/NetBIOS options
Name Code Value type Description
netbios-dd-server 45 list of IP addresses List of NetBIOS datagram distribution servers
(NBDD), defined by RFC1001 and RFC1002.
These servers are sorted by order of preference.
netbios-name-servers 44 list of IP addresses List of WINS servers or of Net-BIOS name
servers (NBMS). These servers are sorted by
order of preference.
For more details, refer to RFC1001 available on
IETF website at https://tools.ietf.org/html/rfc1001
and to RFC1002 at
https://tools.ietf.org/html/rfc1002.
netbios-node-type 46 number Type of NetBIOS knot described in RFC1001
and RFC1002. The value is represented by a
numerical code: 1 for B-node, 2 for P-node, 4
for M-node, 8 for H-node.
netbios-scope 47 text (name) Netbios-scope name value of NetBIOS scope
specified in RFC1001 and RFC1002.
Host IP
Table C.6. Host IP options
Name Code Value type Description
default-ip-ttl 23 duration in seconds Default lifetime that the client must use to send
a datagram on the network. Valid values
between 1 and 255.
ip-forwarding 19 boolean Allows to enable or disable IP forwarding, accord-
ingly the client should configure its IP layer for
packets forwarding.
For more details, refer to RFC1533 available on
IETF website at https://tools.ietf.org/html/rfc1533.
max-dgram-reassembly 22 number Maximum size of datagram which the client must
prepare to assemble.
non-local-source-routing 20 boolean Allow the source-routing forwarding if the next-
hop is on a different physical interface from that
crossed by the datagram.
For more details, refer to RFC1122 available on
IETF website at https://tools.ietf.org/html/rfc1122.
path-mtu-aging-timeout 24 second Aging time for the Path MTU Discovery defined
for the client.
For more details, refer to RFC1191 available on
IETF website at https://tools.ietf.org/html/rfc1191.
path-mtu-plateau-table 25 list of numbers List of MTU sizes for the PMTU RFC1191. MTU
sizes are prioritized by the order and do not have
to be lower than 68.
policy-filter 21 2 IP addresses Specifies the filtering policy for the non-local-
source-routing. These filters are defined by a list
of destination and netmask IP address couplets
which specify the destination of entering routes.
Any "routedsource" datagram not figuring in the
list of filters is destroyed.
1026
DHCP Options
Interface
Table C.7. Interface options
Name Code Value type Description
all-subnets-local 27 boolean Specifies if the IP interface must demand that
all subnets with which it communicates use the
same MTU as that used by the physical inter-
face.
arp-cache-timeout 35 duration in seconds The timeout in seconds for ARP cache entries.
auto-configure 116 boolean Allows to ask whether, and be notified if, auto-
configuration should be disabled on the local
subnet.
For more details, refer to the RFC2563 available
on IETF website at
https://tools.ietf.org/html/rfc2563.
broadcast-address 28 IP address Specifies the broadcast address for the inter-
face's subnet.
classless-static-route 121 list of IP addresses Allows to use the routers used by the IP protocol
to set up a packet transmission path between
two IP hosts (one source and one destination
host) through the router IP address, listed in the
routing table.
This option obsoletes the Static Route option
(option 33).
For more details, refer to the RFC3442 available
on IETF website at
https://tools.ietf.org/html/rfc3442.
default-tcp-ttl 37 duration in seconds Specifies the default TTL that the client should
use when sending TCP segments.
ieee802-3-encapsulation 36 boolean Specifies if the client must use Ethernet Version
2 encapsulation or IEEE 802.3 on its interface
if it is ethernet.
interface-mtu 26 number Size of MTU to use for this interface, it should
be at least 68 bytes.
mask-supplier 30 boolean Specifies if the interface must declare its net-
mask during an ICMP echo.
perform-mask-discovery 29 boolean Specifies if, for this interface, the client should
attempt an ICMP discovery to find its net-mask.
Note that using this parameter is not recommen-
ded, as the first response received is taken into
account and may be incorrect.
router-discovery 31 boolean Specifies if, for this interface, the client should
solicit routers by the "Router Discovery" mech-
anism.
For more details, refer to the RFC1256 available
on IETF website at
https://tools.ietf.org/html/rfc1256.
1027
DHCP Options
Servers
Table C.8. Server options
Name Code Value type Description
cookie-servers 8 list of IP addresses Lists the cookie servers available for this client.
These servers are listed by order of preference.
For more details, refer to the RFC865 available
on IETF website at
https://tools.ietf.org/html/rfc865.
finger-server 73 list of IP addresses List of Finger servers. These servers are sorted
by order of preference.
font-servers 48 list of IP addresses Lists the system-X Windows font servers avail-
able for this client. These servers are sorted by
order of preference.
ien116-name-servers 5 list of IP addresses IEN 116 name servers list for this client. These
servers must be sorted by preference order.
impress-servers 10 list of IP addresses Lists the Imagen Impress servers available for
this client. These servers are listed by order of
preference.
irc-server 74 list of IP addresses List of Internet Relay Chat server.
log-servers 7 list of IP addresses Lists the UDP log servers (MIT-LCS syslog),
available for this client. These servers are listed
by order of preference.
lpr-servers 9 list of IP addresses Lists the printer servers available for this client.
These servers are listed by order of preference.
For more details, refer to the RFC1179 available
on IETF website at
https://tools.ietf.org/html/rfc1179.
mobile-ip-home-agent 68 list of IP addresses List the mobile IP home agent.
1028
DHCP Options
BootP Compatible
Table C.9. BOOTP compatibility options
Name Code Value type Description
boot-size 13 number Length in block of 512 bytes of the boot image
file for this client.
bootfile-name 67 number Name of the boot file to use when the File field
is used to carry options.
cookie-servers 8 list of IP addresses List the Cookie servers available. These servers
are sorted by order of preference.
For more details, refer to the RFC865 available
on IETF website at
https://tools.ietf.org/html/rfc865.
domain-name-servers 6 list of IP addresses Lists the domain name servers (DNS), available
for this client. These servers are listed by order
of preference.
1029
DHCP Options
1030
DHCP Options
1031
DHCP Options
NetWare Client
Table C.12. NetWare client options
Name Code Value type Description
nds-context 87 text Specifies the initial NDS context the client should
use.
nds-servers 85 IP address Specifies one or more NDS servers for the client
to contact for access to the NDS database.
Servers should be listed in order of preference.
nds-tree-name 86 name Specifies the initial NDS context the client should
use.
nwip-domain 62 name Allows to convey the NetWare/IP domain name
used by the NetWare/IP product.
autoretries 8 provided by the Specifies a list of Quote of the Day servers
vendor available to the client. The servers should be
listed in order of preference.
autoretry-secs 9 provided by the Specifies a list of LPR servers available to the
vendor client. The servers should be listed in order of
preference.
nearest-nwip-server 7 provided by the Specifies a list of MIT-LCS UDP servers avail-
vendor able to the client. The servers should be listed
in order of preference.
nsq-broadcast 5 provided by the Specifies a list of Name servers available to the
vendor client. The servers should be listed in order of
preference.
nwip-1-1 10 provided by the Specifies a list of Imagen Impress servers
vendor available to the client. The servers should be
listed in order of preference.
preferred-dss 6 provided by the Specifies a list of DNS servers available to the
vendor client. The servers should be listed in order of
preference.
primary-dss 11 provided by the Specifies a list of RLP servers available to the
vendor client. The servers should be listed in order of
preference.
Slp-directory-agent 78 address IP Specifies the location of one or more SLP Direct-
ory Agents.
Slp-service-scope 79 scope Indicates the scopes that a SLP Agent is con-
figured to use.
1032
DHCP Options
NIS/NISplus
Table C.13. NIS/NISplus options
Name Code Value type Description
nis-domain 40 name Specifies the name of the client's NIS domain.
The domain is formatted as a character string
consisting of characters from the NVT ASCII
character set.
nis-servers 41 list of IP addresses Lists the IP of NIS servers available for the client.
The servers can be sorted by order of prefer-
ence.
nisplus-domain 64 name Specifies the name of the client's NIS+ domain.
The domain is formatted as a character string
consisting of characters from the NVT ASCII
character set.
nisplus-servers 65 list of IP addresses Specifies a list of IP addresses indicating NIS+
servers available to the client. Servers should
be listed in order of preference.
Miscellaneous
Table C.14. Miscellaneous DHCP options
Name Code Value type Description
Avaya-96xxx 242 ascii string Private use options - Useful for Avaya 96xxx
(Refer to vendor documentation)
Mitel-DSCP-Priority 133 unsigned integer Allows to set the IEEE 802.1D/P Layer 2 Priority,
between 1 and 6 useful for Mitel IP phones. For more details, refer
to vendor documentation.
Mitel-IP-PHONE 130 ascii string Allows to set a discrimination string, useful for
Mitel IP phones. For more details, refer to vendor
documentation.
Mitel-RTC-Controller 129 IP address Allows to set the IP address of the call server,
useful for Mitel IP phones. For more details, refer
to vendor documentation.
Mitel-TFTP-Server 128 IP address Allows to set the IP address of the TFTP server,
useful for Mitel IP phones. For more details, refer
to vendor documentation.
Mitel-VLAN-ID 132 unsigned integer Allows to set the VLAN ID, useful for Mitel IP
between 1 and 4094 phones. For more details, refer to vendor docu-
mentation.
default-url 114 ascii string Specifies the default URL to present in a web
browser.
For more details, refer to the RFC3679 available
on IETF website at
https://tools.ietf.org/html/rfc3679.
dhcp-max-message-size 57 unsigned integer Used by a DHCP client or server to specify the
maximum size of DHCP message it is willing to
accept. The minimum legal value is 576 bytes.
For more details, refer to the RFC2132 available
on IETF website at
https://tools.ietf.org/html/rfc2132.
dhcp-message 56 ascii string Used by a DHCP server to send an error mes-
sage to a message DHCPNAK to a client in the
event of a failure. The option can be used by the
1033
DHCP Options
1034
DHCP Options
Vendor Nwip
All NetWare/IP Domain Name options below apply to servers, so when configuring these options,
make sure to list all the servers in order of preference. For more details, refer to the RFC2242
available on IETF website at https://tools.ietf.org/html/rfc2242.
1035
DHCP Options
Vendor MSFT
Table C.16. Vendor MSFT options
Name Code Value type Description
default-routers-ttl 3 list of IP addresses A list of 32 bit IP addresses for routers on the
client's subnet. The routers should be listed in
order of preference.
disable-netbios 1 provided by the The subnet mask for the network segment to
vendor which the client is connected.
release-on-shutdown 2 provided by the The offset of the client's subnet in seconds from
vendor Coordinated Universal Time (UTC).
1036
Appendix D. Return Codes
This section contains the API (Application Programming Interface) return codes for SOLIDserver.
For each return code, the following information is provided:
Code
This number corresponds to the number returned by each web service.
Level
Indicates the level that generated the return code. The possible severity codes and their
meanings include:
• Error: the web service processing cannot continue.
• Warning: the web service processing can continue, but problems might develop later. You
should be cautious.
• Notice: the web service processing can continue, but an issue has been detected.
Description
Explains the circumstances under which this return code might be generated.
1037
Return Codes
1038
Return Codes
1039
Return Codes
1040
Return Codes
1041
Return Codes
1042
Return Codes
1043
Return Codes
1044
Return Codes
1045
Return Codes
1046
Return Codes
1047
Return Codes
1048
Return Codes
1049
Return Codes
1050
Return Codes
1051
Return Codes
1052
Return Codes
1053
Return Codes
1054
Return Codes
1055
Return Codes
1056
Return Codes
1057
Return Codes
1058
Return Codes
1059
Return Codes
1060
Return Codes
1061
Return Codes
1062
Return Codes
1063
Return Codes
1064
Return Codes
1065
Return Codes
1066
Return Codes
1067
Return Codes
1068
Return Codes
1069
Return Codes
1070
Return Codes
1071
Return Codes
1072
Return Codes
1073
Return Codes
1074
Return Codes
1075
Return Codes
1076
Return Codes
1077