routeros.QueueTree
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as routeros from "@pulumi/routeros";
const test = new routeros.QueueTree("test", {
maxLimit: "10M",
packetMarks: ["pmark-server"],
parent: "global",
});
import pulumi
import pulumi_routeros as routeros
test = routeros.QueueTree("test",
max_limit="10M",
packet_marks=["pmark-server"],
parent="global")
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 {
_, err := routeros.NewQueueTree(ctx, "test", &routeros.QueueTreeArgs{
MaxLimit: pulumi.String("10M"),
PacketMarks: pulumi.StringArray{
pulumi.String("pmark-server"),
},
Parent: pulumi.String("global"),
})
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 test = new Routeros.QueueTree("test", new()
{
MaxLimit = "10M",
PacketMarks = new[]
{
"pmark-server",
},
Parent = "global",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.routeros.QueueTree;
import com.pulumi.routeros.QueueTreeArgs;
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 test = new QueueTree("test", QueueTreeArgs.builder()
.maxLimit("10M")
.packetMarks("pmark-server")
.parent("global")
.build());
}
}
resources:
test:
type: routeros:QueueTree
properties:
maxLimit: 10M
packetMarks:
- pmark-server
parent: global
Create QueueTree Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new QueueTree(name: string, args: QueueTreeArgs, opts?: CustomResourceOptions);
@overload
def QueueTree(resource_name: str,
args: QueueTreeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def QueueTree(resource_name: str,
opts: Optional[ResourceOptions] = None,
parent: Optional[str] = None,
disabled: Optional[bool] = None,
max_limit: Optional[str] = None,
bucket_size: Optional[str] = None,
burst_limit: Optional[str] = None,
burst_threshold: Optional[str] = None,
burst_time: Optional[str] = None,
___skip_: Optional[str] = None,
comment: Optional[str] = None,
limit_at: Optional[str] = None,
___id_: Optional[float] = None,
name: Optional[str] = None,
packet_marks: Optional[Sequence[str]] = None,
___path_: Optional[str] = None,
priority: Optional[float] = None,
queue: Optional[str] = None,
queue_tree_id: Optional[str] = None)
func NewQueueTree(ctx *Context, name string, args QueueTreeArgs, opts ...ResourceOption) (*QueueTree, error)
public QueueTree(string name, QueueTreeArgs args, CustomResourceOptions? opts = null)
public QueueTree(String name, QueueTreeArgs args)
public QueueTree(String name, QueueTreeArgs args, CustomResourceOptions options)
type: routeros:QueueTree
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 QueueTreeArgs
- 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 QueueTreeArgs
- 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 QueueTreeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args QueueTreeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args QueueTreeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
QueueTree 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 QueueTree resource accepts the following input properties:
- Parent string
- Assigns this queue as a child queue for selected target. Target queue can be HTB queue or any other previously created queue.
- Bucket
Size string - Burst
Limit string - Maximal data rate which can be reached while the burst is active.
- Burst
Threshold string - When average data rate is below this value - burst is allowed, as soon as average data rate reach this value - burst is denied (basically this is burst on/off switch). For optimal burst behavior this value should above
limit-at
value and belowmax-limit
value. - Burst
Time string - Period of time, in seconds, over which the average data rate is calculated. This is NOT the time of actual burst.
- Comment string
- Disabled bool
- Limit
At string - Normal data rate that is guaranteed to a target.
- Max
Limit string - Maximal data rate that is allowed for a target to reach.
- Name string
- Queue tree name.
- Packet
Marks List<string> - Allows to use marked packets from
/ip firewall mangle
. Take look at this packet flow diagram. You need to make sure that packets are marked before the simple queues (before global-in HTB queue). - Priority double
- Prioritize one child queue over other child queue. Does not work on parent queues (if queue has at least one child). One is the highest, eight is the lowest priority. Child queue with higher priority will have chance to reach its
max-limit
before child with lower priority. Priority have nothing to do with bursts. - Queue string
- Choose the type of the queue.
- Queue
Tree stringId - The ID of this resource.
- ___
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.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- Parent string
- Assigns this queue as a child queue for selected target. Target queue can be HTB queue or any other previously created queue.
- Bucket
Size string - Burst
Limit string - Maximal data rate which can be reached while the burst is active.
- Burst
Threshold string - When average data rate is below this value - burst is allowed, as soon as average data rate reach this value - burst is denied (basically this is burst on/off switch). For optimal burst behavior this value should above
limit-at
value and belowmax-limit
value. - Burst
Time string - Period of time, in seconds, over which the average data rate is calculated. This is NOT the time of actual burst.
- Comment string
- Disabled bool
- Limit
At string - Normal data rate that is guaranteed to a target.
- Max
Limit string - Maximal data rate that is allowed for a target to reach.
- Name string
- Queue tree name.
- Packet
Marks []string - Allows to use marked packets from
/ip firewall mangle
. Take look at this packet flow diagram. You need to make sure that packets are marked before the simple queues (before global-in HTB queue). - Priority float64
- Prioritize one child queue over other child queue. Does not work on parent queues (if queue has at least one child). One is the highest, eight is the lowest priority. Child queue with higher priority will have chance to reach its
max-limit
before child with lower priority. Priority have nothing to do with bursts. - Queue string
- Choose the type of the queue.
- Queue
Tree stringId - The ID of this resource.
- ___
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.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- parent String
- Assigns this queue as a child queue for selected target. Target queue can be HTB queue or any other previously created queue.
- ___
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.
- ___
skip_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- bucket
Size String - burst
Limit String - Maximal data rate which can be reached while the burst is active.
- burst
Threshold String - When average data rate is below this value - burst is allowed, as soon as average data rate reach this value - burst is denied (basically this is burst on/off switch). For optimal burst behavior this value should above
limit-at
value and belowmax-limit
value. - burst
Time String - Period of time, in seconds, over which the average data rate is calculated. This is NOT the time of actual burst.
- comment String
- disabled Boolean
- limit
At String - Normal data rate that is guaranteed to a target.
- max
Limit String - Maximal data rate that is allowed for a target to reach.
- name String
- Queue tree name.
- packet
Marks List<String> - Allows to use marked packets from
/ip firewall mangle
. Take look at this packet flow diagram. You need to make sure that packets are marked before the simple queues (before global-in HTB queue). - priority Double
- Prioritize one child queue over other child queue. Does not work on parent queues (if queue has at least one child). One is the highest, eight is the lowest priority. Child queue with higher priority will have chance to reach its
max-limit
before child with lower priority. Priority have nothing to do with bursts. - queue String
- Choose the type of the queue.
- queue
Tree StringId - The ID of this resource.
- parent string
- Assigns this queue as a child queue for selected target. Target queue can be HTB queue or any other previously created queue.
- ___
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.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- bucket
Size string - burst
Limit string - Maximal data rate which can be reached while the burst is active.
- burst
Threshold string - When average data rate is below this value - burst is allowed, as soon as average data rate reach this value - burst is denied (basically this is burst on/off switch). For optimal burst behavior this value should above
limit-at
value and belowmax-limit
value. - burst
Time string - Period of time, in seconds, over which the average data rate is calculated. This is NOT the time of actual burst.
- comment string
- disabled boolean
- limit
At string - Normal data rate that is guaranteed to a target.
- max
Limit string - Maximal data rate that is allowed for a target to reach.
- name string
- Queue tree name.
- packet
Marks string[] - Allows to use marked packets from
/ip firewall mangle
. Take look at this packet flow diagram. You need to make sure that packets are marked before the simple queues (before global-in HTB queue). - priority number
- Prioritize one child queue over other child queue. Does not work on parent queues (if queue has at least one child). One is the highest, eight is the lowest priority. Child queue with higher priority will have chance to reach its
max-limit
before child with lower priority. Priority have nothing to do with bursts. - queue string
- Choose the type of the queue.
- queue
Tree stringId - The ID of this resource.
- parent str
- Assigns this queue as a child queue for selected target. Target queue can be HTB queue or any other previously created queue.
- ___
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.
- ___
skip_ str - A set of transformations for field names. This is an internal service field, setting a value is not required.
- bucket_
size str - burst_
limit str - Maximal data rate which can be reached while the burst is active.
- burst_
threshold str - When average data rate is below this value - burst is allowed, as soon as average data rate reach this value - burst is denied (basically this is burst on/off switch). For optimal burst behavior this value should above
limit-at
value and belowmax-limit
value. - burst_
time str - Period of time, in seconds, over which the average data rate is calculated. This is NOT the time of actual burst.
- comment str
- disabled bool
- limit_
at str - Normal data rate that is guaranteed to a target.
- max_
limit str - Maximal data rate that is allowed for a target to reach.
- name str
- Queue tree name.
- packet_
marks Sequence[str] - Allows to use marked packets from
/ip firewall mangle
. Take look at this packet flow diagram. You need to make sure that packets are marked before the simple queues (before global-in HTB queue). - priority float
- Prioritize one child queue over other child queue. Does not work on parent queues (if queue has at least one child). One is the highest, eight is the lowest priority. Child queue with higher priority will have chance to reach its
max-limit
before child with lower priority. Priority have nothing to do with bursts. - queue str
- Choose the type of the queue.
- queue_
tree_ strid - The ID of this resource.
- parent String
- Assigns this queue as a child queue for selected target. Target queue can be HTB queue or any other previously created queue.
- ___
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.
- ___
skip_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- bucket
Size String - burst
Limit String - Maximal data rate which can be reached while the burst is active.
- burst
Threshold String - When average data rate is below this value - burst is allowed, as soon as average data rate reach this value - burst is denied (basically this is burst on/off switch). For optimal burst behavior this value should above
limit-at
value and belowmax-limit
value. - burst
Time String - Period of time, in seconds, over which the average data rate is calculated. This is NOT the time of actual burst.
- comment String
- disabled Boolean
- limit
At String - Normal data rate that is guaranteed to a target.
- max
Limit String - Maximal data rate that is allowed for a target to reach.
- name String
- Queue tree name.
- packet
Marks List<String> - Allows to use marked packets from
/ip firewall mangle
. Take look at this packet flow diagram. You need to make sure that packets are marked before the simple queues (before global-in HTB queue). - priority Number
- Prioritize one child queue over other child queue. Does not work on parent queues (if queue has at least one child). One is the highest, eight is the lowest priority. Child queue with higher priority will have chance to reach its
max-limit
before child with lower priority. Priority have nothing to do with bursts. - queue String
- Choose the type of the queue.
- queue
Tree StringId - The ID of this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the QueueTree resource produces the following output properties:
Look up Existing QueueTree Resource
Get an existing QueueTree 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?: QueueTreeState, opts?: CustomResourceOptions): QueueTree
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
___skip_: Optional[str] = None,
bucket_size: Optional[str] = None,
burst_limit: Optional[str] = None,
burst_threshold: Optional[str] = None,
burst_time: Optional[str] = None,
comment: Optional[str] = None,
disabled: Optional[bool] = None,
dynamic: Optional[bool] = None,
invalid: Optional[bool] = None,
limit_at: Optional[str] = None,
max_limit: Optional[str] = None,
name: Optional[str] = None,
packet_marks: Optional[Sequence[str]] = None,
parent: Optional[str] = None,
priority: Optional[float] = None,
queue: Optional[str] = None,
queue_tree_id: Optional[str] = None) -> QueueTree
func GetQueueTree(ctx *Context, name string, id IDInput, state *QueueTreeState, opts ...ResourceOption) (*QueueTree, error)
public static QueueTree Get(string name, Input<string> id, QueueTreeState? state, CustomResourceOptions? opts = null)
public static QueueTree get(String name, Output<String> id, QueueTreeState state, CustomResourceOptions options)
resources: _: type: routeros:QueueTree 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.
- Bucket
Size string - Burst
Limit string - Maximal data rate which can be reached while the burst is active.
- Burst
Threshold string - When average data rate is below this value - burst is allowed, as soon as average data rate reach this value - burst is denied (basically this is burst on/off switch). For optimal burst behavior this value should above
limit-at
value and belowmax-limit
value. - Burst
Time string - Period of time, in seconds, over which the average data rate is calculated. This is NOT the time of actual burst.
- Comment string
- Disabled bool
- Dynamic bool
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- Invalid bool
- Limit
At string - Normal data rate that is guaranteed to a target.
- Max
Limit string - Maximal data rate that is allowed for a target to reach.
- Name string
- Queue tree name.
- Packet
Marks List<string> - Allows to use marked packets from
/ip firewall mangle
. Take look at this packet flow diagram. You need to make sure that packets are marked before the simple queues (before global-in HTB queue). - Parent string
- Assigns this queue as a child queue for selected target. Target queue can be HTB queue or any other previously created queue.
- Priority double
- Prioritize one child queue over other child queue. Does not work on parent queues (if queue has at least one child). One is the highest, eight is the lowest priority. Child queue with higher priority will have chance to reach its
max-limit
before child with lower priority. Priority have nothing to do with bursts. - Queue string
- Choose the type of the queue.
- Queue
Tree stringId - The ID of this resource.
- ___
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.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- Bucket
Size string - Burst
Limit string - Maximal data rate which can be reached while the burst is active.
- Burst
Threshold string - When average data rate is below this value - burst is allowed, as soon as average data rate reach this value - burst is denied (basically this is burst on/off switch). For optimal burst behavior this value should above
limit-at
value and belowmax-limit
value. - Burst
Time string - Period of time, in seconds, over which the average data rate is calculated. This is NOT the time of actual burst.
- Comment string
- Disabled bool
- Dynamic bool
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- Invalid bool
- Limit
At string - Normal data rate that is guaranteed to a target.
- Max
Limit string - Maximal data rate that is allowed for a target to reach.
- Name string
- Queue tree name.
- Packet
Marks []string - Allows to use marked packets from
/ip firewall mangle
. Take look at this packet flow diagram. You need to make sure that packets are marked before the simple queues (before global-in HTB queue). - Parent string
- Assigns this queue as a child queue for selected target. Target queue can be HTB queue or any other previously created queue.
- Priority float64
- Prioritize one child queue over other child queue. Does not work on parent queues (if queue has at least one child). One is the highest, eight is the lowest priority. Child queue with higher priority will have chance to reach its
max-limit
before child with lower priority. Priority have nothing to do with bursts. - Queue string
- Choose the type of the queue.
- Queue
Tree stringId - The ID of this resource.
- ___
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.
- ___
skip_ string - A set of transformations for field names. 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.
- ___
skip_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- bucket
Size String - burst
Limit String - Maximal data rate which can be reached while the burst is active.
- burst
Threshold String - When average data rate is below this value - burst is allowed, as soon as average data rate reach this value - burst is denied (basically this is burst on/off switch). For optimal burst behavior this value should above
limit-at
value and belowmax-limit
value. - burst
Time String - Period of time, in seconds, over which the average data rate is calculated. This is NOT the time of actual burst.
- comment String
- disabled Boolean
- dynamic Boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- invalid Boolean
- limit
At String - Normal data rate that is guaranteed to a target.
- max
Limit String - Maximal data rate that is allowed for a target to reach.
- name String
- Queue tree name.
- packet
Marks List<String> - Allows to use marked packets from
/ip firewall mangle
. Take look at this packet flow diagram. You need to make sure that packets are marked before the simple queues (before global-in HTB queue). - parent String
- Assigns this queue as a child queue for selected target. Target queue can be HTB queue or any other previously created queue.
- priority Double
- Prioritize one child queue over other child queue. Does not work on parent queues (if queue has at least one child). One is the highest, eight is the lowest priority. Child queue with higher priority will have chance to reach its
max-limit
before child with lower priority. Priority have nothing to do with bursts. - queue String
- Choose the type of the queue.
- queue
Tree StringId - The ID of this resource.
- ___
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.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- bucket
Size string - burst
Limit string - Maximal data rate which can be reached while the burst is active.
- burst
Threshold string - When average data rate is below this value - burst is allowed, as soon as average data rate reach this value - burst is denied (basically this is burst on/off switch). For optimal burst behavior this value should above
limit-at
value and belowmax-limit
value. - burst
Time string - Period of time, in seconds, over which the average data rate is calculated. This is NOT the time of actual burst.
- comment string
- disabled boolean
- dynamic boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- invalid boolean
- limit
At string - Normal data rate that is guaranteed to a target.
- max
Limit string - Maximal data rate that is allowed for a target to reach.
- name string
- Queue tree name.
- packet
Marks string[] - Allows to use marked packets from
/ip firewall mangle
. Take look at this packet flow diagram. You need to make sure that packets are marked before the simple queues (before global-in HTB queue). - parent string
- Assigns this queue as a child queue for selected target. Target queue can be HTB queue or any other previously created queue.
- priority number
- Prioritize one child queue over other child queue. Does not work on parent queues (if queue has at least one child). One is the highest, eight is the lowest priority. Child queue with higher priority will have chance to reach its
max-limit
before child with lower priority. Priority have nothing to do with bursts. - queue string
- Choose the type of the queue.
- queue
Tree stringId - The ID of this resource.
- ___
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.
- ___
skip_ str - A set of transformations for field names. This is an internal service field, setting a value is not required.
- bucket_
size str - burst_
limit str - Maximal data rate which can be reached while the burst is active.
- burst_
threshold str - When average data rate is below this value - burst is allowed, as soon as average data rate reach this value - burst is denied (basically this is burst on/off switch). For optimal burst behavior this value should above
limit-at
value and belowmax-limit
value. - burst_
time str - Period of time, in seconds, over which the average data rate is calculated. This is NOT the time of actual burst.
- comment str
- disabled bool
- dynamic bool
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- invalid bool
- limit_
at str - Normal data rate that is guaranteed to a target.
- max_
limit str - Maximal data rate that is allowed for a target to reach.
- name str
- Queue tree name.
- packet_
marks Sequence[str] - Allows to use marked packets from
/ip firewall mangle
. Take look at this packet flow diagram. You need to make sure that packets are marked before the simple queues (before global-in HTB queue). - parent str
- Assigns this queue as a child queue for selected target. Target queue can be HTB queue or any other previously created queue.
- priority float
- Prioritize one child queue over other child queue. Does not work on parent queues (if queue has at least one child). One is the highest, eight is the lowest priority. Child queue with higher priority will have chance to reach its
max-limit
before child with lower priority. Priority have nothing to do with bursts. - queue str
- Choose the type of the queue.
- queue_
tree_ strid - The ID of this resource.
- ___
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.
- ___
skip_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- bucket
Size String - burst
Limit String - Maximal data rate which can be reached while the burst is active.
- burst
Threshold String - When average data rate is below this value - burst is allowed, as soon as average data rate reach this value - burst is denied (basically this is burst on/off switch). For optimal burst behavior this value should above
limit-at
value and belowmax-limit
value. - burst
Time String - Period of time, in seconds, over which the average data rate is calculated. This is NOT the time of actual burst.
- comment String
- disabled Boolean
- dynamic Boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- invalid Boolean
- limit
At String - Normal data rate that is guaranteed to a target.
- max
Limit String - Maximal data rate that is allowed for a target to reach.
- name String
- Queue tree name.
- packet
Marks List<String> - Allows to use marked packets from
/ip firewall mangle
. Take look at this packet flow diagram. You need to make sure that packets are marked before the simple queues (before global-in HTB queue). - parent String
- Assigns this queue as a child queue for selected target. Target queue can be HTB queue or any other previously created queue.
- priority Number
- Prioritize one child queue over other child queue. Does not work on parent queues (if queue has at least one child). One is the highest, eight is the lowest priority. Child queue with higher priority will have chance to reach its
max-limit
before child with lower priority. Priority have nothing to do with bursts. - queue String
- Choose the type of the queue.
- queue
Tree StringId - The ID of this resource.
Import
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/queue/tree get [print show-ids]]
$ pulumi import routeros:index/queueTree:QueueTree test *1000000
#Or you can import a resource using one of its attributes
$ pulumi import routeros:index/queueTree:QueueTree test "name=server"
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.