ipv6_bridged_subranges
Creates, updates, deletes, gets or lists an ipv6_bridged_subranges resource.
Overview​
| Name | ipv6_bridged_subranges |
| Type | Resource |
| Id | ovh.vrack.ipv6_bridged_subranges |
Fields​
The following fields are returned by SELECT queries:
- get
- list
successful operation
| Name | Datatype | Description |
|---|---|---|
bridged_subrange | string (ipv6-block) | subrange bridged into your vrack (example: 2001:41d0::/128) (wire: bridgedSubrange) |
gateway | string (ipv6) | Your gateway (example: 2001:41d0:1:1994::1) |
slaac | string | Slaac status (disabled, enabled) |
Bridged subrange within your IP v6 block
| Name | Datatype | Description |
|---|---|---|
bridged_subrange | string (ipv6-block) | subrange bridged into your vrack (example: 2001:41d0::/128) (wire: bridgedSubrange) |
gateway | string (ipv6) | Your gateway (example: 2001:41d0:1:1994::1) |
slaac | string | Slaac status (disabled, enabled) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | bridged_subrange, ipv_6, service_name | Get a bridged subrange. Returns the subrange, its gateway and whether SLAAC is enabled. | |
list | select | ipv_6, service_name | x_pagination_mode | List bridged subranges. Returns the subranges of the block bridged in the vRack. |
update | update | bridged_subrange, ipv_6, service_name | Update the SLAAC status. Enables or disables SLAAC on the bridged subrange. Returns the task that performs it. |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
bridged_subrange | string (ipv6-block) | subrange bridged into your vrack (wire: bridgedSubrange) |
ipv_6 | string (ipv6-block) | Your IP v6 block (wire: ipv6) |
service_name | string | The internal name of your vrack (wire: serviceName) |
x_pagination_mode | string | Sent as CachedObjectList-Pages by default so the list returns the full objects rather than their identifiers. (wire: X-Pagination-Mode) |
SELECT examples​
- get
- list
Get a bridged subrange. Returns the subrange, its gateway and whether SLAAC is enabled.
SELECT
bridged_subrange,
gateway,
slaac
FROM ovh.vrack.ipv6_bridged_subranges
WHERE bridged_subrange = '{{ bridged_subrange }}' -- required
AND ipv_6 = '{{ ipv_6 }}' -- required
AND service_name = '{{ service_name }}' -- required
;
List bridged subranges. Returns the subranges of the block bridged in the vRack.
SELECT
bridged_subrange,
gateway,
slaac
FROM ovh.vrack.ipv6_bridged_subranges
WHERE ipv_6 = '{{ ipv_6 }}' -- required
AND service_name = '{{ service_name }}' -- required
AND x_pagination_mode = '{{ x_pagination_mode }}'
;
UPDATE examples​
- update
Update the SLAAC status. Enables or disables SLAAC on the bridged subrange. Returns the task that performs it.
UPDATE ovh.vrack.ipv6_bridged_subranges
SET
slaac = '{{ slaac }}'
WHERE
bridged_subrange = '{{ bridged_subrange }}' --required
AND ipv_6 = '{{ ipv_6 }}' --required
AND service_name = '{{ service_name }}' --required
RETURNING
id,
order_id,
service_name,
function,
last_update,
status,
target_domain,
todo_date;