routeros.CapsmanDatapath
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as routeros from "@pulumi/routeros";
const testDatapath = new routeros.CapsmanDatapath("testDatapath", {
arp: "local-proxy-arp",
bridge: "bridge",
bridgeCost: 100,
bridgeHorizon: 200,
clientToClientForwarding: true,
comment: "test_datapath",
interfaceList: "static",
l2mtu: 1450,
localForwarding: true,
mtu: 1500,
vlanId: 101,
vlanMode: "no-tag",
});
import pulumi
import pulumi_routeros as routeros
test_datapath = routeros.CapsmanDatapath("testDatapath",
arp="local-proxy-arp",
bridge="bridge",
bridge_cost=100,
bridge_horizon=200,
client_to_client_forwarding=True,
comment="test_datapath",
interface_list="static",
l2mtu=1450,
local_forwarding=True,
mtu=1500,
vlan_id=101,
vlan_mode="no-tag")
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.NewCapsmanDatapath(ctx, "testDatapath", &routeros.CapsmanDatapathArgs{
Arp: pulumi.String("local-proxy-arp"),
Bridge: pulumi.String("bridge"),
BridgeCost: pulumi.Float64(100),
BridgeHorizon: pulumi.Float64(200),
ClientToClientForwarding: pulumi.Bool(true),
Comment: pulumi.String("test_datapath"),
InterfaceList: pulumi.String("static"),
L2mtu: pulumi.Float64(1450),
LocalForwarding: pulumi.Bool(true),
Mtu: pulumi.Float64(1500),
VlanId: pulumi.Float64(101),
VlanMode: pulumi.String("no-tag"),
})
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 testDatapath = new Routeros.CapsmanDatapath("testDatapath", new()
{
Arp = "local-proxy-arp",
Bridge = "bridge",
BridgeCost = 100,
BridgeHorizon = 200,
ClientToClientForwarding = true,
Comment = "test_datapath",
InterfaceList = "static",
L2mtu = 1450,
LocalForwarding = true,
Mtu = 1500,
VlanId = 101,
VlanMode = "no-tag",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.routeros.CapsmanDatapath;
import com.pulumi.routeros.CapsmanDatapathArgs;
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 testDatapath = new CapsmanDatapath("testDatapath", CapsmanDatapathArgs.builder()
.arp("local-proxy-arp")
.bridge("bridge")
.bridgeCost(100)
.bridgeHorizon(200)
.clientToClientForwarding(true)
.comment("test_datapath")
.interfaceList("static")
.l2mtu(1450)
.localForwarding(true)
.mtu(1500)
.vlanId(101)
.vlanMode("no-tag")
.build());
}
}
resources:
testDatapath:
type: routeros:CapsmanDatapath
properties:
arp: local-proxy-arp
bridge: bridge
bridgeCost: 100
bridgeHorizon: 200
clientToClientForwarding: true
comment: test_datapath
interfaceList: static
l2mtu: 1450
localForwarding: true
mtu: 1500
vlanId: 101
vlanMode: no-tag
Create CapsmanDatapath Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CapsmanDatapath(name: string, args?: CapsmanDatapathArgs, opts?: CustomResourceOptions);
@overload
def CapsmanDatapath(resource_name: str,
args: Optional[CapsmanDatapathArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def CapsmanDatapath(resource_name: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
arp: Optional[str] = None,
bridge: Optional[str] = None,
bridge_cost: Optional[float] = None,
bridge_horizon: Optional[float] = None,
capsman_datapath_id: Optional[str] = None,
client_to_client_forwarding: Optional[bool] = None,
comment: Optional[str] = None,
interface_list: Optional[str] = None,
l2mtu: Optional[float] = None,
local_forwarding: Optional[bool] = None,
mtu: Optional[float] = None,
name: Optional[str] = None,
openflow_switch: Optional[str] = None,
vlan_id: Optional[float] = None,
vlan_mode: Optional[str] = None)
func NewCapsmanDatapath(ctx *Context, name string, args *CapsmanDatapathArgs, opts ...ResourceOption) (*CapsmanDatapath, error)
public CapsmanDatapath(string name, CapsmanDatapathArgs? args = null, CustomResourceOptions? opts = null)
public CapsmanDatapath(String name, CapsmanDatapathArgs args)
public CapsmanDatapath(String name, CapsmanDatapathArgs args, CustomResourceOptions options)
type: routeros:CapsmanDatapath
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 CapsmanDatapathArgs
- 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 CapsmanDatapathArgs
- 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 CapsmanDatapathArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CapsmanDatapathArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CapsmanDatapathArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CapsmanDatapath 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 CapsmanDatapath resource accepts the following input properties:
- Arp string
- ARP mode. See docs for info.
- Bridge string
- Bridge to which particular interface should be automatically added as port. Required only when local-forwarding is not used.
- Bridge
Cost double - Bridge port cost to use when adding as bridge port.
- Bridge
Horizon double - Bridge horizon to use when adding as bridge port.
- Capsman
Datapath stringId - The ID of this resource.
- Client
To boolClient Forwarding - Controls if client-to-client forwarding between wireless clients connected to interface should be allowed, in local forwarding mode this function is performed by CAP, otherwise it is performed by CAPsMAN.
- Comment string
- Interface
List string - Interface list name.
- L2mtu double
- Layer2 MTU size.
- Local
Forwarding bool - Controls forwarding mode. If disabled, all L2 and L3 data will be forwarded to CAPsMAN, and further forwarding decisions will be made only then. See docs for info.
- Mtu double
- MTU size.
- Name string
- Openflow
Switch string - OpenFlow switch to add interface to, as port when enabled.
- Vlan
Id double - VLAN ID to assign to interface if vlan-mode enables use of VLAN tagging.
- Vlan
Mode string - VLAN tagging mode specifies if VLAN tag should be assigned to interface (causes all received data to get tagged with VLAN tag and allows interface to only send out data tagged with given tag)
- ___
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.
- Arp string
- ARP mode. See docs for info.
- Bridge string
- Bridge to which particular interface should be automatically added as port. Required only when local-forwarding is not used.
- Bridge
Cost float64 - Bridge port cost to use when adding as bridge port.
- Bridge
Horizon float64 - Bridge horizon to use when adding as bridge port.
- Capsman
Datapath stringId - The ID of this resource.
- Client
To boolClient Forwarding - Controls if client-to-client forwarding between wireless clients connected to interface should be allowed, in local forwarding mode this function is performed by CAP, otherwise it is performed by CAPsMAN.
- Comment string
- Interface
List string - Interface list name.
- L2mtu float64
- Layer2 MTU size.
- Local
Forwarding bool - Controls forwarding mode. If disabled, all L2 and L3 data will be forwarded to CAPsMAN, and further forwarding decisions will be made only then. See docs for info.
- Mtu float64
- MTU size.
- Name string
- Openflow
Switch string - OpenFlow switch to add interface to, as port when enabled.
- Vlan
Id float64 - VLAN ID to assign to interface if vlan-mode enables use of VLAN tagging.
- Vlan
Mode string - VLAN tagging mode specifies if VLAN tag should be assigned to interface (causes all received data to get tagged with VLAN tag and allows interface to only send out data tagged with given tag)
- ___
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.
- arp String
- ARP mode. See docs for info.
- bridge String
- Bridge to which particular interface should be automatically added as port. Required only when local-forwarding is not used.
- bridge
Cost Double - Bridge port cost to use when adding as bridge port.
- bridge
Horizon Double - Bridge horizon to use when adding as bridge port.
- capsman
Datapath StringId - The ID of this resource.
- client
To BooleanClient Forwarding - Controls if client-to-client forwarding between wireless clients connected to interface should be allowed, in local forwarding mode this function is performed by CAP, otherwise it is performed by CAPsMAN.
- comment String
- interface
List String - Interface list name.
- l2mtu Double
- Layer2 MTU size.
- local
Forwarding Boolean - Controls forwarding mode. If disabled, all L2 and L3 data will be forwarded to CAPsMAN, and further forwarding decisions will be made only then. See docs for info.
- mtu Double
- MTU size.
- name String
- openflow
Switch String - OpenFlow switch to add interface to, as port when enabled.
- vlan
Id Double - VLAN ID to assign to interface if vlan-mode enables use of VLAN tagging.
- vlan
Mode String - VLAN tagging mode specifies if VLAN tag should be assigned to interface (causes all received data to get tagged with VLAN tag and allows interface to only send out data tagged with given tag)
- ___
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.
- arp string
- ARP mode. See docs for info.
- bridge string
- Bridge to which particular interface should be automatically added as port. Required only when local-forwarding is not used.
- bridge
Cost number - Bridge port cost to use when adding as bridge port.
- bridge
Horizon number - Bridge horizon to use when adding as bridge port.
- capsman
Datapath stringId - The ID of this resource.
- client
To booleanClient Forwarding - Controls if client-to-client forwarding between wireless clients connected to interface should be allowed, in local forwarding mode this function is performed by CAP, otherwise it is performed by CAPsMAN.
- comment string
- interface
List string - Interface list name.
- l2mtu number
- Layer2 MTU size.
- local
Forwarding boolean - Controls forwarding mode. If disabled, all L2 and L3 data will be forwarded to CAPsMAN, and further forwarding decisions will be made only then. See docs for info.
- mtu number
- MTU size.
- name string
- openflow
Switch string - OpenFlow switch to add interface to, as port when enabled.
- vlan
Id number - VLAN ID to assign to interface if vlan-mode enables use of VLAN tagging.
- vlan
Mode string - VLAN tagging mode specifies if VLAN tag should be assigned to interface (causes all received data to get tagged with VLAN tag and allows interface to only send out data tagged with given tag)
- ___
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.
- arp str
- ARP mode. See docs for info.
- bridge str
- Bridge to which particular interface should be automatically added as port. Required only when local-forwarding is not used.
- bridge_
cost float - Bridge port cost to use when adding as bridge port.
- bridge_
horizon float - Bridge horizon to use when adding as bridge port.
- capsman_
datapath_ strid - The ID of this resource.
- client_
to_ boolclient_ forwarding - Controls if client-to-client forwarding between wireless clients connected to interface should be allowed, in local forwarding mode this function is performed by CAP, otherwise it is performed by CAPsMAN.
- comment str
- interface_
list str - Interface list name.
- l2mtu float
- Layer2 MTU size.
- local_
forwarding bool - Controls forwarding mode. If disabled, all L2 and L3 data will be forwarded to CAPsMAN, and further forwarding decisions will be made only then. See docs for info.
- mtu float
- MTU size.
- name str
- openflow_
switch str - OpenFlow switch to add interface to, as port when enabled.
- vlan_
id float - VLAN ID to assign to interface if vlan-mode enables use of VLAN tagging.
- vlan_
mode str - VLAN tagging mode specifies if VLAN tag should be assigned to interface (causes all received data to get tagged with VLAN tag and allows interface to only send out data tagged with given tag)
- ___
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.
- arp String
- ARP mode. See docs for info.
- bridge String
- Bridge to which particular interface should be automatically added as port. Required only when local-forwarding is not used.
- bridge
Cost Number - Bridge port cost to use when adding as bridge port.
- bridge
Horizon Number - Bridge horizon to use when adding as bridge port.
- capsman
Datapath StringId - The ID of this resource.
- client
To BooleanClient Forwarding - Controls if client-to-client forwarding between wireless clients connected to interface should be allowed, in local forwarding mode this function is performed by CAP, otherwise it is performed by CAPsMAN.
- comment String
- interface
List String - Interface list name.
- l2mtu Number
- Layer2 MTU size.
- local
Forwarding Boolean - Controls forwarding mode. If disabled, all L2 and L3 data will be forwarded to CAPsMAN, and further forwarding decisions will be made only then. See docs for info.
- mtu Number
- MTU size.
- name String
- openflow
Switch String - OpenFlow switch to add interface to, as port when enabled.
- vlan
Id Number - VLAN ID to assign to interface if vlan-mode enables use of VLAN tagging.
- vlan
Mode String - VLAN tagging mode specifies if VLAN tag should be assigned to interface (causes all received data to get tagged with VLAN tag and allows interface to only send out data tagged with given tag)
Outputs
All input properties are implicitly available as output properties. Additionally, the CapsmanDatapath resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CapsmanDatapath Resource
Get an existing CapsmanDatapath 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?: CapsmanDatapathState, opts?: CustomResourceOptions): CapsmanDatapath
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
arp: Optional[str] = None,
bridge: Optional[str] = None,
bridge_cost: Optional[float] = None,
bridge_horizon: Optional[float] = None,
capsman_datapath_id: Optional[str] = None,
client_to_client_forwarding: Optional[bool] = None,
comment: Optional[str] = None,
interface_list: Optional[str] = None,
l2mtu: Optional[float] = None,
local_forwarding: Optional[bool] = None,
mtu: Optional[float] = None,
name: Optional[str] = None,
openflow_switch: Optional[str] = None,
vlan_id: Optional[float] = None,
vlan_mode: Optional[str] = None) -> CapsmanDatapath
func GetCapsmanDatapath(ctx *Context, name string, id IDInput, state *CapsmanDatapathState, opts ...ResourceOption) (*CapsmanDatapath, error)
public static CapsmanDatapath Get(string name, Input<string> id, CapsmanDatapathState? state, CustomResourceOptions? opts = null)
public static CapsmanDatapath get(String name, Output<String> id, CapsmanDatapathState state, CustomResourceOptions options)
resources: _: type: routeros:CapsmanDatapath 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.
- Arp string
- ARP mode. See docs for info.
- Bridge string
- Bridge to which particular interface should be automatically added as port. Required only when local-forwarding is not used.
- Bridge
Cost double - Bridge port cost to use when adding as bridge port.
- Bridge
Horizon double - Bridge horizon to use when adding as bridge port.
- Capsman
Datapath stringId - The ID of this resource.
- Client
To boolClient Forwarding - Controls if client-to-client forwarding between wireless clients connected to interface should be allowed, in local forwarding mode this function is performed by CAP, otherwise it is performed by CAPsMAN.
- Comment string
- Interface
List string - Interface list name.
- L2mtu double
- Layer2 MTU size.
- Local
Forwarding bool - Controls forwarding mode. If disabled, all L2 and L3 data will be forwarded to CAPsMAN, and further forwarding decisions will be made only then. See docs for info.
- Mtu double
- MTU size.
- Name string
- Openflow
Switch string - OpenFlow switch to add interface to, as port when enabled.
- Vlan
Id double - VLAN ID to assign to interface if vlan-mode enables use of VLAN tagging.
- Vlan
Mode string - VLAN tagging mode specifies if VLAN tag should be assigned to interface (causes all received data to get tagged with VLAN tag and allows interface to only send out data tagged with given tag)
- ___
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.
- Arp string
- ARP mode. See docs for info.
- Bridge string
- Bridge to which particular interface should be automatically added as port. Required only when local-forwarding is not used.
- Bridge
Cost float64 - Bridge port cost to use when adding as bridge port.
- Bridge
Horizon float64 - Bridge horizon to use when adding as bridge port.
- Capsman
Datapath stringId - The ID of this resource.
- Client
To boolClient Forwarding - Controls if client-to-client forwarding between wireless clients connected to interface should be allowed, in local forwarding mode this function is performed by CAP, otherwise it is performed by CAPsMAN.
- Comment string
- Interface
List string - Interface list name.
- L2mtu float64
- Layer2 MTU size.
- Local
Forwarding bool - Controls forwarding mode. If disabled, all L2 and L3 data will be forwarded to CAPsMAN, and further forwarding decisions will be made only then. See docs for info.
- Mtu float64
- MTU size.
- Name string
- Openflow
Switch string - OpenFlow switch to add interface to, as port when enabled.
- Vlan
Id float64 - VLAN ID to assign to interface if vlan-mode enables use of VLAN tagging.
- Vlan
Mode string - VLAN tagging mode specifies if VLAN tag should be assigned to interface (causes all received data to get tagged with VLAN tag and allows interface to only send out data tagged with given tag)
- ___
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.
- arp String
- ARP mode. See docs for info.
- bridge String
- Bridge to which particular interface should be automatically added as port. Required only when local-forwarding is not used.
- bridge
Cost Double - Bridge port cost to use when adding as bridge port.
- bridge
Horizon Double - Bridge horizon to use when adding as bridge port.
- capsman
Datapath StringId - The ID of this resource.
- client
To BooleanClient Forwarding - Controls if client-to-client forwarding between wireless clients connected to interface should be allowed, in local forwarding mode this function is performed by CAP, otherwise it is performed by CAPsMAN.
- comment String
- interface
List String - Interface list name.
- l2mtu Double
- Layer2 MTU size.
- local
Forwarding Boolean - Controls forwarding mode. If disabled, all L2 and L3 data will be forwarded to CAPsMAN, and further forwarding decisions will be made only then. See docs for info.
- mtu Double
- MTU size.
- name String
- openflow
Switch String - OpenFlow switch to add interface to, as port when enabled.
- vlan
Id Double - VLAN ID to assign to interface if vlan-mode enables use of VLAN tagging.
- vlan
Mode String - VLAN tagging mode specifies if VLAN tag should be assigned to interface (causes all received data to get tagged with VLAN tag and allows interface to only send out data tagged with given tag)
- ___
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.
- arp string
- ARP mode. See docs for info.
- bridge string
- Bridge to which particular interface should be automatically added as port. Required only when local-forwarding is not used.
- bridge
Cost number - Bridge port cost to use when adding as bridge port.
- bridge
Horizon number - Bridge horizon to use when adding as bridge port.
- capsman
Datapath stringId - The ID of this resource.
- client
To booleanClient Forwarding - Controls if client-to-client forwarding between wireless clients connected to interface should be allowed, in local forwarding mode this function is performed by CAP, otherwise it is performed by CAPsMAN.
- comment string
- interface
List string - Interface list name.
- l2mtu number
- Layer2 MTU size.
- local
Forwarding boolean - Controls forwarding mode. If disabled, all L2 and L3 data will be forwarded to CAPsMAN, and further forwarding decisions will be made only then. See docs for info.
- mtu number
- MTU size.
- name string
- openflow
Switch string - OpenFlow switch to add interface to, as port when enabled.
- vlan
Id number - VLAN ID to assign to interface if vlan-mode enables use of VLAN tagging.
- vlan
Mode string - VLAN tagging mode specifies if VLAN tag should be assigned to interface (causes all received data to get tagged with VLAN tag and allows interface to only send out data tagged with given tag)
- ___
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.
- arp str
- ARP mode. See docs for info.
- bridge str
- Bridge to which particular interface should be automatically added as port. Required only when local-forwarding is not used.
- bridge_
cost float - Bridge port cost to use when adding as bridge port.
- bridge_
horizon float - Bridge horizon to use when adding as bridge port.
- capsman_
datapath_ strid - The ID of this resource.
- client_
to_ boolclient_ forwarding - Controls if client-to-client forwarding between wireless clients connected to interface should be allowed, in local forwarding mode this function is performed by CAP, otherwise it is performed by CAPsMAN.
- comment str
- interface_
list str - Interface list name.
- l2mtu float
- Layer2 MTU size.
- local_
forwarding bool - Controls forwarding mode. If disabled, all L2 and L3 data will be forwarded to CAPsMAN, and further forwarding decisions will be made only then. See docs for info.
- mtu float
- MTU size.
- name str
- openflow_
switch str - OpenFlow switch to add interface to, as port when enabled.
- vlan_
id float - VLAN ID to assign to interface if vlan-mode enables use of VLAN tagging.
- vlan_
mode str - VLAN tagging mode specifies if VLAN tag should be assigned to interface (causes all received data to get tagged with VLAN tag and allows interface to only send out data tagged with given tag)
- ___
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.
- arp String
- ARP mode. See docs for info.
- bridge String
- Bridge to which particular interface should be automatically added as port. Required only when local-forwarding is not used.
- bridge
Cost Number - Bridge port cost to use when adding as bridge port.
- bridge
Horizon Number - Bridge horizon to use when adding as bridge port.
- capsman
Datapath StringId - The ID of this resource.
- client
To BooleanClient Forwarding - Controls if client-to-client forwarding between wireless clients connected to interface should be allowed, in local forwarding mode this function is performed by CAP, otherwise it is performed by CAPsMAN.
- comment String
- interface
List String - Interface list name.
- l2mtu Number
- Layer2 MTU size.
- local
Forwarding Boolean - Controls forwarding mode. If disabled, all L2 and L3 data will be forwarded to CAPsMAN, and further forwarding decisions will be made only then. See docs for info.
- mtu Number
- MTU size.
- name String
- openflow
Switch String - OpenFlow switch to add interface to, as port when enabled.
- vlan
Id Number - VLAN ID to assign to interface if vlan-mode enables use of VLAN tagging.
- vlan
Mode String - VLAN tagging mode specifies if VLAN tag should be assigned to interface (causes all received data to get tagged with VLAN tag and allows interface to only send out data tagged with given tag)
Import
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/caps-man/datapath get [print show-ids]]
$ pulumi import routeros:index/capsmanDatapath:CapsmanDatapath test_datapath "*1"
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.