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,
});
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)
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
})
}
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,
});
});
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());
}
}
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
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 string
- The unique name of the resource.
- args Ipv6DhcpServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args Ipv6DhcpServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args Ipv6DhcpServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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:
- Address
Pool string - IPv6 pool, from which to take IPv6 prefix for the clients.
- Interface string
- The interface on which server will be running.
- Allow
Dual boolStack Queue - 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 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 to1
if bound, otherwise set to0
- bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix. - Comment string
- Dhcp
Options List<string> - Add additional DHCP options from option list.
- Disabled bool
- Insert
Queue stringBefore - Specify where to place dynamic simple queue entries for static DCHP leases with a rate-limit parameter set.
- Ipv6Dhcp
Server stringId - Lease
Time 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.
- Parent
Queue string - A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
- Preference double
- Rapid
Commit bool - Route
Distance double - Distance of the route.
- Use
Radius 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.
- Address
Pool string - IPv6 pool, from which to take IPv6 prefix for the clients.
- Interface string
- The interface on which server will be running.
- Allow
Dual boolStack Queue - 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 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 to1
if bound, otherwise set to0
- bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix. - Comment string
- Dhcp
Options []string - Add additional DHCP options from option list.
- Disabled bool
- Insert
Queue stringBefore - Specify where to place dynamic simple queue entries for static DCHP leases with a rate-limit parameter set.
- Ipv6Dhcp
Server stringId - Lease
Time 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.
- Parent
Queue string - A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
- Preference float64
- Rapid
Commit bool - Route
Distance float64 - Distance of the route.
- Use
Radius 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.
- address
Pool String - IPv6 pool, from which to take IPv6 prefix for the clients.
- interface_ 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.
- allow
Dual BooleanStack Queue - 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 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 to1
if bound, otherwise set to0
- bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix. - comment String
- dhcp
Options List<String> - Add additional DHCP options from option list.
- disabled Boolean
- insert
Queue StringBefore - Specify where to place dynamic simple queue entries for static DCHP leases with a rate-limit parameter set.
- ipv6Dhcp
Server StringId - lease
Time 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.
- parent
Queue String - A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
- preference Double
- rapid
Commit Boolean - route
Distance Double - Distance of the route.
- use
Radius Boolean - Whether to use RADIUS server.
- address
Pool string - IPv6 pool, from which to take IPv6 prefix for the clients.
- interface 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.
- allow
Dual booleanStack Queue - 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 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 to1
if bound, otherwise set to0
- bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix. - comment string
- dhcp
Options string[] - Add additional DHCP options from option list.
- disabled boolean
- insert
Queue stringBefore - Specify where to place dynamic simple queue entries for static DCHP leases with a rate-limit parameter set.
- ipv6Dhcp
Server stringId - lease
Time 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.
- parent
Queue string - A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
- preference number
- rapid
Commit boolean - route
Distance number - Distance of the route.
- use
Radius boolean - Whether to use RADIUS server.
- address_
pool str - IPv6 pool, from which to take IPv6 prefix for the clients.
- interface 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_ boolstack_ queue - 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 to1
if bound, otherwise set to0
- 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_ strbefore - Specify where to place dynamic simple queue entries for static DCHP leases with a rate-limit parameter set.
- ipv6_
dhcp_ strserver_ id - 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.
- address
Pool String - IPv6 pool, from which to take IPv6 prefix for the clients.
- interface 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.
- allow
Dual BooleanStack Queue - 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 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 to1
if bound, otherwise set to0
- bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix. - comment String
- dhcp
Options List<String> - Add additional DHCP options from option list.
- disabled Boolean
- insert
Queue StringBefore - Specify where to place dynamic simple queue entries for static DCHP leases with a rate-limit parameter set.
- ipv6Dhcp
Server StringId - lease
Time 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.
- parent
Queue String - A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
- preference Number
- rapid
Commit Boolean - route
Distance Number - Distance of the route.
- use
Radius 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:
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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Address
Pool string - IPv6 pool, from which to take IPv6 prefix for the clients.
- Allow
Dual boolStack Queue - 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 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 to1
if bound, otherwise set to0
- bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix. - Comment string
- Dhcp
Options 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.
- Insert
Queue stringBefore - 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
- Ipv6Dhcp
Server stringId - Lease
Time 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.
- Parent
Queue string - A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
- Preference double
- Rapid
Commit bool - Route
Distance double - Distance of the route.
- Use
Radius 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.
- Address
Pool string - IPv6 pool, from which to take IPv6 prefix for the clients.
- Allow
Dual boolStack Queue - 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 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 to1
if bound, otherwise set to0
- bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix. - Comment string
- Dhcp
Options []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.
- Insert
Queue stringBefore - 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
- Ipv6Dhcp
Server stringId - Lease
Time 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.
- Parent
Queue string - A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
- Preference float64
- Rapid
Commit bool - Route
Distance float64 - Distance of the route.
- Use
Radius 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.
- address
Pool String - IPv6 pool, from which to take IPv6 prefix for the clients.
- allow
Dual BooleanStack Queue - 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 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 to1
if bound, otherwise set to0
- bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix. - comment String
- dhcp
Options 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.
- insert
Queue StringBefore - 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
- ipv6Dhcp
Server StringId - lease
Time 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.
- parent
Queue String - A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
- preference Double
- rapid
Commit Boolean - route
Distance Double - Distance of the route.
- use
Radius 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.
- address
Pool string - IPv6 pool, from which to take IPv6 prefix for the clients.
- allow
Dual booleanStack Queue - 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 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 to1
if bound, otherwise set to0
- bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix. - comment string
- dhcp
Options 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.
- insert
Queue stringBefore - 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
- ipv6Dhcp
Server stringId - lease
Time 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.
- parent
Queue string - A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
- preference number
- rapid
Commit boolean - route
Distance number - Distance of the route.
- use
Radius 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_ boolstack_ queue - 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 to1
if bound, otherwise set to0
- 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_ strbefore - 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_ strserver_ id - 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.
- address
Pool String - IPv6 pool, from which to take IPv6 prefix for the clients.
- allow
Dual BooleanStack Queue - 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 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 to1
if bound, otherwise set to0
- bindingServerName - dhcp server name - bindingDUID - DUID - bindingAddress - active address - bindingPrefix - active prefix. - comment String
- dhcp
Options 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.
- insert
Queue StringBefore - 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
- ipv6Dhcp
Server StringId - lease
Time 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.
- parent
Queue String - A dynamically created queue for this lease will be configured as a child queue of the specified parent queue.
- preference Number
- rapid
Commit Boolean - route
Distance Number - Distance of the route.
- use
Radius 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
#Or you can import a resource using one of its attributes
$ pulumi import routeros:index/ipv6DhcpServer:Ipv6DhcpServer test "name=test-dhcpv6"
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.