1. Packages
  2. Routeros Provider
  3. API Docs
  4. Ipv6DhcpServer
routeros 1.83.0 published on Wednesday, Apr 16, 2025 by terraform-routeros

routeros.Ipv6DhcpServer

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as routeros from "@pulumi/routeros";

const pool_0 = new routeros.Ipv6Pool("pool-0", {
    prefix: "2001:db8:40::/48",
    prefixLength: 64,
});
const test = new routeros.Ipv6DhcpServer("test", {
    addressPool: pool_0.name,
    "interface": "bridge",
    leaseTime: "1m",
    preference: 128,
});
Copy
import pulumi
import pulumi_routeros as routeros

pool_0 = routeros.Ipv6Pool("pool-0",
    prefix="2001:db8:40::/48",
    prefix_length=64)
test = routeros.Ipv6DhcpServer("test",
    address_pool=pool_0.name,
    interface="bridge",
    lease_time="1m",
    preference=128)
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/routeros/routeros"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		pool_0, err := routeros.NewIpv6Pool(ctx, "pool-0", &routeros.Ipv6PoolArgs{
			Prefix:       pulumi.String("2001:db8:40::/48"),
			PrefixLength: pulumi.Float64(64),
		})
		if err != nil {
			return err
		}
		_, err = routeros.NewIpv6DhcpServer(ctx, "test", &routeros.Ipv6DhcpServerArgs{
			AddressPool: pool_0.Name,
			Interface:   pulumi.String("bridge"),
			LeaseTime:   pulumi.String("1m"),
			Preference:  pulumi.Float64(128),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Routeros = Pulumi.Routeros;

return await Deployment.RunAsync(() => 
{
    var pool_0 = new Routeros.Ipv6Pool("pool-0", new()
    {
        Prefix = "2001:db8:40::/48",
        PrefixLength = 64,
    });

    var test = new Routeros.Ipv6DhcpServer("test", new()
    {
        AddressPool = pool_0.Name,
        Interface = "bridge",
        LeaseTime = "1m",
        Preference = 128,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.routeros.Ipv6Pool;
import com.pulumi.routeros.Ipv6PoolArgs;
import com.pulumi.routeros.Ipv6DhcpServer;
import com.pulumi.routeros.Ipv6DhcpServerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var pool_0 = new Ipv6Pool("pool-0", Ipv6PoolArgs.builder()
            .prefix("2001:db8:40::/48")
            .prefixLength(64)
            .build());

        var test = new Ipv6DhcpServer("test", Ipv6DhcpServerArgs.builder()
            .addressPool(pool_0.name())
            .interface_("bridge")
            .leaseTime("1m")
            .preference(128)
            .build());

    }
}
Copy
resources:
  pool-0:
    type: routeros:Ipv6Pool
    properties:
      prefix: 2001:db8:40::/48
      prefixLength: 64
  test:
    type: routeros:Ipv6DhcpServer
    properties:
      addressPool: ${["pool-0"].name}
      interface: bridge
      leaseTime: 1m
      preference: 128
Copy

Create Ipv6DhcpServer Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Ipv6DhcpServer(name: string, args: Ipv6DhcpServerArgs, opts?: CustomResourceOptions);
@overload
def Ipv6DhcpServer(resource_name: str,
                   args: Ipv6DhcpServerArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def Ipv6DhcpServer(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   address_pool: Optional[str] = None,
                   interface: Optional[str] = None,
                   insert_queue_before: Optional[str] = None,
                   ___path_: Optional[str] = None,
                   binding_script: Optional[str] = None,
                   comment: Optional[str] = None,
                   dhcp_options: Optional[Sequence[str]] = None,
                   disabled: Optional[bool] = None,
                   ___id_: Optional[float] = None,
                   allow_dual_stack_queue: Optional[bool] = None,
                   ipv6_dhcp_server_id: Optional[str] = None,
                   lease_time: Optional[str] = None,
                   name: Optional[str] = None,
                   parent_queue: Optional[str] = None,
                   preference: Optional[float] = None,
                   rapid_commit: Optional[bool] = None,
                   route_distance: Optional[float] = None,
                   use_radius: Optional[bool] = None)
func NewIpv6DhcpServer(ctx *Context, name string, args Ipv6DhcpServerArgs, opts ...ResourceOption) (*Ipv6DhcpServer, error)
public Ipv6DhcpServer(string name, Ipv6DhcpServerArgs args, CustomResourceOptions? opts = null)
public Ipv6DhcpServer(String name, Ipv6DhcpServerArgs args)
public Ipv6DhcpServer(String name, Ipv6DhcpServerArgs args, CustomResourceOptions options)
type: routeros:Ipv6DhcpServer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. Ipv6DhcpServerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. Ipv6DhcpServerArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. Ipv6DhcpServerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. Ipv6DhcpServerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. Ipv6DhcpServerArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Ipv6DhcpServer Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Ipv6DhcpServer resource accepts the following input properties:

AddressPool This property is required. string
IPv6 pool, from which to take IPv6 prefix for the clients.
Interface This property is required. string
The interface on which server will be running.
AllowDualStackQueue bool
Creates a single simple queue entry for both IPv4 and IPv6 addresses, and uses the MAC address and DUID for identification. Requires IPv6 DHCP Server to have this option enabled as well to work properly.
BindingScript string
A script that will be executed after binding is assigned or de-assigned. Internal global variables that can be used in the script: - bindingBound - set to 1 if bound, otherwise set to 0 - bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix.
Comment string
DhcpOptions List<string>
Add additional DHCP options from option list.
Disabled bool
InsertQueueBefore string
Specify where to place dynamic simple queue entries for static DCHP leases with a rate-limit parameter set.
Ipv6DhcpServerId string
LeaseTime string
The time that a client may use the assigned address. The client will try to renew this address after half of this time and will request a new address after the time limit expires.
Name string
Reference name.
ParentQueue string
A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
Preference double
RapidCommit bool
RouteDistance double
Distance of the route.
UseRadius bool
Whether to use RADIUS server.
___id_ double
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ string
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
AddressPool This property is required. string
IPv6 pool, from which to take IPv6 prefix for the clients.
Interface This property is required. string
The interface on which server will be running.
AllowDualStackQueue bool
Creates a single simple queue entry for both IPv4 and IPv6 addresses, and uses the MAC address and DUID for identification. Requires IPv6 DHCP Server to have this option enabled as well to work properly.
BindingScript string
A script that will be executed after binding is assigned or de-assigned. Internal global variables that can be used in the script: - bindingBound - set to 1 if bound, otherwise set to 0 - bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix.
Comment string
DhcpOptions []string
Add additional DHCP options from option list.
Disabled bool
InsertQueueBefore string
Specify where to place dynamic simple queue entries for static DCHP leases with a rate-limit parameter set.
Ipv6DhcpServerId string
LeaseTime string
The time that a client may use the assigned address. The client will try to renew this address after half of this time and will request a new address after the time limit expires.
Name string
Reference name.
ParentQueue string
A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
Preference float64
RapidCommit bool
RouteDistance float64
Distance of the route.
UseRadius bool
Whether to use RADIUS server.
___id_ float64
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ string
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
addressPool This property is required. String
IPv6 pool, from which to take IPv6 prefix for the clients.
interface_ This property is required. String
The interface on which server will be running.
___id_ Double
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ String
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
allowDualStackQueue Boolean
Creates a single simple queue entry for both IPv4 and IPv6 addresses, and uses the MAC address and DUID for identification. Requires IPv6 DHCP Server to have this option enabled as well to work properly.
bindingScript String
A script that will be executed after binding is assigned or de-assigned. Internal global variables that can be used in the script: - bindingBound - set to 1 if bound, otherwise set to 0 - bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix.
comment String
dhcpOptions List<String>
Add additional DHCP options from option list.
disabled Boolean
insertQueueBefore String
Specify where to place dynamic simple queue entries for static DCHP leases with a rate-limit parameter set.
ipv6DhcpServerId String
leaseTime String
The time that a client may use the assigned address. The client will try to renew this address after half of this time and will request a new address after the time limit expires.
name String
Reference name.
parentQueue String
A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
preference Double
rapidCommit Boolean
routeDistance Double
Distance of the route.
useRadius Boolean
Whether to use RADIUS server.
addressPool This property is required. string
IPv6 pool, from which to take IPv6 prefix for the clients.
interface This property is required. string
The interface on which server will be running.
___id_ number
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ string
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
allowDualStackQueue boolean
Creates a single simple queue entry for both IPv4 and IPv6 addresses, and uses the MAC address and DUID for identification. Requires IPv6 DHCP Server to have this option enabled as well to work properly.
bindingScript string
A script that will be executed after binding is assigned or de-assigned. Internal global variables that can be used in the script: - bindingBound - set to 1 if bound, otherwise set to 0 - bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix.
comment string
dhcpOptions string[]
Add additional DHCP options from option list.
disabled boolean
insertQueueBefore string
Specify where to place dynamic simple queue entries for static DCHP leases with a rate-limit parameter set.
ipv6DhcpServerId string
leaseTime string
The time that a client may use the assigned address. The client will try to renew this address after half of this time and will request a new address after the time limit expires.
name string
Reference name.
parentQueue string
A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
preference number
rapidCommit boolean
routeDistance number
Distance of the route.
useRadius boolean
Whether to use RADIUS server.
address_pool This property is required. str
IPv6 pool, from which to take IPv6 prefix for the clients.
interface This property is required. str
The interface on which server will be running.
___id_ float
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ str
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
allow_dual_stack_queue bool
Creates a single simple queue entry for both IPv4 and IPv6 addresses, and uses the MAC address and DUID for identification. Requires IPv6 DHCP Server to have this option enabled as well to work properly.
binding_script str
A script that will be executed after binding is assigned or de-assigned. Internal global variables that can be used in the script: - bindingBound - set to 1 if bound, otherwise set to 0 - bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix.
comment str
dhcp_options Sequence[str]
Add additional DHCP options from option list.
disabled bool
insert_queue_before str
Specify where to place dynamic simple queue entries for static DCHP leases with a rate-limit parameter set.
ipv6_dhcp_server_id str
lease_time str
The time that a client may use the assigned address. The client will try to renew this address after half of this time and will request a new address after the time limit expires.
name str
Reference name.
parent_queue str
A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
preference float
rapid_commit bool
route_distance float
Distance of the route.
use_radius bool
Whether to use RADIUS server.
addressPool This property is required. String
IPv6 pool, from which to take IPv6 prefix for the clients.
interface This property is required. String
The interface on which server will be running.
___id_ Number
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ String
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
allowDualStackQueue Boolean
Creates a single simple queue entry for both IPv4 and IPv6 addresses, and uses the MAC address and DUID for identification. Requires IPv6 DHCP Server to have this option enabled as well to work properly.
bindingScript String
A script that will be executed after binding is assigned or de-assigned. Internal global variables that can be used in the script: - bindingBound - set to 1 if bound, otherwise set to 0 - bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix.
comment String
dhcpOptions List<String>
Add additional DHCP options from option list.
disabled Boolean
insertQueueBefore String
Specify where to place dynamic simple queue entries for static DCHP leases with a rate-limit parameter set.
ipv6DhcpServerId String
leaseTime String
The time that a client may use the assigned address. The client will try to renew this address after half of this time and will request a new address after the time limit expires.
name String
Reference name.
parentQueue String
A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
preference Number
rapidCommit Boolean
routeDistance Number
Distance of the route.
useRadius Boolean
Whether to use RADIUS server.

Outputs

All input properties are implicitly available as output properties. Additionally, the Ipv6DhcpServer resource produces the following output properties:

Duid string
DUID value.
Dynamic bool
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
Id string
The provider-assigned unique ID for this managed resource.
Invalid bool
Duid string
DUID value.
Dynamic bool
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
Id string
The provider-assigned unique ID for this managed resource.
Invalid bool
duid String
DUID value.
dynamic Boolean
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
id String
The provider-assigned unique ID for this managed resource.
invalid Boolean
duid string
DUID value.
dynamic boolean
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
id string
The provider-assigned unique ID for this managed resource.
invalid boolean
duid str
DUID value.
dynamic bool
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
id str
The provider-assigned unique ID for this managed resource.
invalid bool
duid String
DUID value.
dynamic Boolean
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
id String
The provider-assigned unique ID for this managed resource.
invalid Boolean

Look up Existing Ipv6DhcpServer Resource

Get an existing Ipv6DhcpServer resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: Ipv6DhcpServerState, opts?: CustomResourceOptions): Ipv6DhcpServer
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        ___id_: Optional[float] = None,
        ___path_: Optional[str] = None,
        address_pool: Optional[str] = None,
        allow_dual_stack_queue: Optional[bool] = None,
        binding_script: Optional[str] = None,
        comment: Optional[str] = None,
        dhcp_options: Optional[Sequence[str]] = None,
        disabled: Optional[bool] = None,
        duid: Optional[str] = None,
        dynamic: Optional[bool] = None,
        insert_queue_before: Optional[str] = None,
        interface: Optional[str] = None,
        invalid: Optional[bool] = None,
        ipv6_dhcp_server_id: Optional[str] = None,
        lease_time: Optional[str] = None,
        name: Optional[str] = None,
        parent_queue: Optional[str] = None,
        preference: Optional[float] = None,
        rapid_commit: Optional[bool] = None,
        route_distance: Optional[float] = None,
        use_radius: Optional[bool] = None) -> Ipv6DhcpServer
func GetIpv6DhcpServer(ctx *Context, name string, id IDInput, state *Ipv6DhcpServerState, opts ...ResourceOption) (*Ipv6DhcpServer, error)
public static Ipv6DhcpServer Get(string name, Input<string> id, Ipv6DhcpServerState? state, CustomResourceOptions? opts = null)
public static Ipv6DhcpServer get(String name, Output<String> id, Ipv6DhcpServerState state, CustomResourceOptions options)
resources:  _:    type: routeros:Ipv6DhcpServer    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AddressPool string
IPv6 pool, from which to take IPv6 prefix for the clients.
AllowDualStackQueue bool
Creates a single simple queue entry for both IPv4 and IPv6 addresses, and uses the MAC address and DUID for identification. Requires IPv6 DHCP Server to have this option enabled as well to work properly.
BindingScript string
A script that will be executed after binding is assigned or de-assigned. Internal global variables that can be used in the script: - bindingBound - set to 1 if bound, otherwise set to 0 - bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix.
Comment string
DhcpOptions List<string>
Add additional DHCP options from option list.
Disabled bool
Duid string
DUID value.
Dynamic bool
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
InsertQueueBefore string
Specify where to place dynamic simple queue entries for static DCHP leases with a rate-limit parameter set.
Interface string
The interface on which server will be running.
Invalid bool
Ipv6DhcpServerId string
LeaseTime string
The time that a client may use the assigned address. The client will try to renew this address after half of this time and will request a new address after the time limit expires.
Name string
Reference name.
ParentQueue string
A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
Preference double
RapidCommit bool
RouteDistance double
Distance of the route.
UseRadius bool
Whether to use RADIUS server.
___id_ double
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ string
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
AddressPool string
IPv6 pool, from which to take IPv6 prefix for the clients.
AllowDualStackQueue bool
Creates a single simple queue entry for both IPv4 and IPv6 addresses, and uses the MAC address and DUID for identification. Requires IPv6 DHCP Server to have this option enabled as well to work properly.
BindingScript string
A script that will be executed after binding is assigned or de-assigned. Internal global variables that can be used in the script: - bindingBound - set to 1 if bound, otherwise set to 0 - bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix.
Comment string
DhcpOptions []string
Add additional DHCP options from option list.
Disabled bool
Duid string
DUID value.
Dynamic bool
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
InsertQueueBefore string
Specify where to place dynamic simple queue entries for static DCHP leases with a rate-limit parameter set.
Interface string
The interface on which server will be running.
Invalid bool
Ipv6DhcpServerId string
LeaseTime string
The time that a client may use the assigned address. The client will try to renew this address after half of this time and will request a new address after the time limit expires.
Name string
Reference name.
ParentQueue string
A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
Preference float64
RapidCommit bool
RouteDistance float64
Distance of the route.
UseRadius bool
Whether to use RADIUS server.
___id_ float64
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ string
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
___id_ Double
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ String
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
addressPool String
IPv6 pool, from which to take IPv6 prefix for the clients.
allowDualStackQueue Boolean
Creates a single simple queue entry for both IPv4 and IPv6 addresses, and uses the MAC address and DUID for identification. Requires IPv6 DHCP Server to have this option enabled as well to work properly.
bindingScript String
A script that will be executed after binding is assigned or de-assigned. Internal global variables that can be used in the script: - bindingBound - set to 1 if bound, otherwise set to 0 - bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix.
comment String
dhcpOptions List<String>
Add additional DHCP options from option list.
disabled Boolean
duid String
DUID value.
dynamic Boolean
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
insertQueueBefore String
Specify where to place dynamic simple queue entries for static DCHP leases with a rate-limit parameter set.
interface_ String
The interface on which server will be running.
invalid Boolean
ipv6DhcpServerId String
leaseTime String
The time that a client may use the assigned address. The client will try to renew this address after half of this time and will request a new address after the time limit expires.
name String
Reference name.
parentQueue String
A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
preference Double
rapidCommit Boolean
routeDistance Double
Distance of the route.
useRadius Boolean
Whether to use RADIUS server.
___id_ number
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ string
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
addressPool string
IPv6 pool, from which to take IPv6 prefix for the clients.
allowDualStackQueue boolean
Creates a single simple queue entry for both IPv4 and IPv6 addresses, and uses the MAC address and DUID for identification. Requires IPv6 DHCP Server to have this option enabled as well to work properly.
bindingScript string
A script that will be executed after binding is assigned or de-assigned. Internal global variables that can be used in the script: - bindingBound - set to 1 if bound, otherwise set to 0 - bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix.
comment string
dhcpOptions string[]
Add additional DHCP options from option list.
disabled boolean
duid string
DUID value.
dynamic boolean
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
insertQueueBefore string
Specify where to place dynamic simple queue entries for static DCHP leases with a rate-limit parameter set.
interface string
The interface on which server will be running.
invalid boolean
ipv6DhcpServerId string
leaseTime string
The time that a client may use the assigned address. The client will try to renew this address after half of this time and will request a new address after the time limit expires.
name string
Reference name.
parentQueue string
A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
preference number
rapidCommit boolean
routeDistance number
Distance of the route.
useRadius boolean
Whether to use RADIUS server.
___id_ float
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ str
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
address_pool str
IPv6 pool, from which to take IPv6 prefix for the clients.
allow_dual_stack_queue bool
Creates a single simple queue entry for both IPv4 and IPv6 addresses, and uses the MAC address and DUID for identification. Requires IPv6 DHCP Server to have this option enabled as well to work properly.
binding_script str
A script that will be executed after binding is assigned or de-assigned. Internal global variables that can be used in the script: - bindingBound - set to 1 if bound, otherwise set to 0 - bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix.
comment str
dhcp_options Sequence[str]
Add additional DHCP options from option list.
disabled bool
duid str
DUID value.
dynamic bool
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
insert_queue_before str
Specify where to place dynamic simple queue entries for static DCHP leases with a rate-limit parameter set.
interface str
The interface on which server will be running.
invalid bool
ipv6_dhcp_server_id str
lease_time str
The time that a client may use the assigned address. The client will try to renew this address after half of this time and will request a new address after the time limit expires.
name str
Reference name.
parent_queue str
A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
preference float
rapid_commit bool
route_distance float
Distance of the route.
use_radius bool
Whether to use RADIUS server.
___id_ Number
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ String
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
addressPool String
IPv6 pool, from which to take IPv6 prefix for the clients.
allowDualStackQueue Boolean
Creates a single simple queue entry for both IPv4 and IPv6 addresses, and uses the MAC address and DUID for identification. Requires IPv6 DHCP Server to have this option enabled as well to work properly.
bindingScript String
A script that will be executed after binding is assigned or de-assigned. Internal global variables that can be used in the script: - bindingBound - set to 1 if bound, otherwise set to 0 - bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix.
comment String
dhcpOptions List<String>
Add additional DHCP options from option list.
disabled Boolean
duid String
DUID value.
dynamic Boolean
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
insertQueueBefore String
Specify where to place dynamic simple queue entries for static DCHP leases with a rate-limit parameter set.
interface String
The interface on which server will be running.
invalid Boolean
ipv6DhcpServerId String
leaseTime String
The time that a client may use the assigned address. The client will try to renew this address after half of this time and will request a new address after the time limit expires.
name String
Reference name.
parentQueue String
A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
preference Number
rapidCommit Boolean
routeDistance Number
Distance of the route.
useRadius Boolean
Whether to use RADIUS server.

Import

#The ID can be found via API or the terminal

#The command for the terminal is -> :put [/ipv6/dhcp/server get [print show-ids]]

$ pulumi import routeros:index/ipv6DhcpServer:Ipv6DhcpServer test *3
Copy

#Or you can import a resource using one of its attributes

$ pulumi import routeros:index/ipv6DhcpServer:Ipv6DhcpServer test "name=test-dhcpv6"
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
routeros terraform-routeros/terraform-provider-routeros
License
Notes
This Pulumi package is based on the routeros Terraform Provider.