Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi
sdwan.getCiscoOmpFeatureTemplate
Explore with Pulumi AI
This data source can read the Cisco OMP feature template.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = sdwan.getCiscoOmpFeatureTemplate({
id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.get_cisco_omp_feature_template(id="f6b2c44c-693c-4763-b010-895aa3d236bd")
package main
import (
"github.com/pulumi/pulumi-sdwan/sdk/go/sdwan"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sdwan.LookupCiscoOmpFeatureTemplate(ctx, &sdwan.LookupCiscoOmpFeatureTemplateArgs{
Id: pulumi.StringRef("f6b2c44c-693c-4763-b010-895aa3d236bd"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sdwan = Pulumi.Sdwan;
return await Deployment.RunAsync(() =>
{
var example = Sdwan.GetCiscoOmpFeatureTemplate.Invoke(new()
{
Id = "f6b2c44c-693c-4763-b010-895aa3d236bd",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sdwan.SdwanFunctions;
import com.pulumi.sdwan.inputs.GetCiscoOmpFeatureTemplateArgs;
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) {
final var example = SdwanFunctions.getCiscoOmpFeatureTemplate(GetCiscoOmpFeatureTemplateArgs.builder()
.id("f6b2c44c-693c-4763-b010-895aa3d236bd")
.build());
}
}
variables:
example:
fn::invoke:
Function: sdwan:getCiscoOmpFeatureTemplate
Arguments:
id: f6b2c44c-693c-4763-b010-895aa3d236bd
Using getCiscoOmpFeatureTemplate
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCiscoOmpFeatureTemplate(args: GetCiscoOmpFeatureTemplateArgs, opts?: InvokeOptions): Promise<GetCiscoOmpFeatureTemplateResult>
function getCiscoOmpFeatureTemplateOutput(args: GetCiscoOmpFeatureTemplateOutputArgs, opts?: InvokeOptions): Output<GetCiscoOmpFeatureTemplateResult>
def get_cisco_omp_feature_template(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCiscoOmpFeatureTemplateResult
def get_cisco_omp_feature_template_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCiscoOmpFeatureTemplateResult]
func LookupCiscoOmpFeatureTemplate(ctx *Context, args *LookupCiscoOmpFeatureTemplateArgs, opts ...InvokeOption) (*LookupCiscoOmpFeatureTemplateResult, error)
func LookupCiscoOmpFeatureTemplateOutput(ctx *Context, args *LookupCiscoOmpFeatureTemplateOutputArgs, opts ...InvokeOption) LookupCiscoOmpFeatureTemplateResultOutput
> Note: This function is named LookupCiscoOmpFeatureTemplate
in the Go SDK.
public static class GetCiscoOmpFeatureTemplate
{
public static Task<GetCiscoOmpFeatureTemplateResult> InvokeAsync(GetCiscoOmpFeatureTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetCiscoOmpFeatureTemplateResult> Invoke(GetCiscoOmpFeatureTemplateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCiscoOmpFeatureTemplateResult> getCiscoOmpFeatureTemplate(GetCiscoOmpFeatureTemplateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: sdwan:index/getCiscoOmpFeatureTemplate:getCiscoOmpFeatureTemplate
arguments:
# arguments dictionary
The following arguments are supported:
getCiscoOmpFeatureTemplate Result
The following output properties are available:
- Advertise
Ipv4Routes List<GetCisco Omp Feature Template Advertise Ipv4Route> - Advertise locally learned routes to OMP
- Advertise
Ipv6Routes List<GetCisco Omp Feature Template Advertise Ipv6Route> - Advertise locally learned routes to OMP
- Advertisement
Interval int - Set the time between OMP Update packets
- Advertisement
Interval stringVariable - Variable name
- Description string
- The description of the feature template
- Device
Types List<string> - List of supported device types
- Ecmp
Limit int - Set maximum number of OMP paths to install in vEdge route table
- Ecmp
Limit stringVariable - Variable name
- Eor
Timer int - End of RIB timer \n\n seconds
- Eor
Timer stringVariable - Variable name
- Graceful
Restart bool - Enable or disable OMP graceful restart
- Graceful
Restart intTimer - Set the OMP graceful restart timer
- Graceful
Restart stringTimer Variable - Variable name
- Graceful
Restart stringVariable - Variable name
- Holdtime int
- Set how long to wait before closing OMP peer connection
- Holdtime
Variable string - Variable name
- Id string
- The id of the feature template
- Ignore
Region boolPath Length - Ignore Region-Path Length During Best-Path Algorithm
- Ignore
Region stringPath Length Variable - Variable name
- Name string
- The name of the feature template
- Omp
Admin intDistance Ipv4 - omp-admin-distance-ipv4
- Omp
Admin stringDistance Ipv4Variable - Variable name
- Omp
Admin intDistance Ipv6 - omp-admin-distance-ipv6
- Omp
Admin stringDistance Ipv6Variable - Variable name
- Overlay
As int - Set Overlay AS number \n\n or \n\n
- Overlay
As stringVariable - Variable name
- Send
Path intLimit - Set number of TLOC routes advertised between vSmart and vEdge
- Send
Path stringLimit Variable - Variable name
- Shutdown bool
- Enable or disable OMP
- Shutdown
Variable string - Variable name
- Template
Type string - The template type
- Transport
Gateway string - Transport gateway path computation
- Transport
Gateway stringVariable - Variable name
- Version int
- The version of the feature template
- Advertise
Ipv4Routes []GetCisco Omp Feature Template Advertise Ipv4Route - Advertise locally learned routes to OMP
- Advertise
Ipv6Routes []GetCisco Omp Feature Template Advertise Ipv6Route - Advertise locally learned routes to OMP
- Advertisement
Interval int - Set the time between OMP Update packets
- Advertisement
Interval stringVariable - Variable name
- Description string
- The description of the feature template
- Device
Types []string - List of supported device types
- Ecmp
Limit int - Set maximum number of OMP paths to install in vEdge route table
- Ecmp
Limit stringVariable - Variable name
- Eor
Timer int - End of RIB timer \n\n seconds
- Eor
Timer stringVariable - Variable name
- Graceful
Restart bool - Enable or disable OMP graceful restart
- Graceful
Restart intTimer - Set the OMP graceful restart timer
- Graceful
Restart stringTimer Variable - Variable name
- Graceful
Restart stringVariable - Variable name
- Holdtime int
- Set how long to wait before closing OMP peer connection
- Holdtime
Variable string - Variable name
- Id string
- The id of the feature template
- Ignore
Region boolPath Length - Ignore Region-Path Length During Best-Path Algorithm
- Ignore
Region stringPath Length Variable - Variable name
- Name string
- The name of the feature template
- Omp
Admin intDistance Ipv4 - omp-admin-distance-ipv4
- Omp
Admin stringDistance Ipv4Variable - Variable name
- Omp
Admin intDistance Ipv6 - omp-admin-distance-ipv6
- Omp
Admin stringDistance Ipv6Variable - Variable name
- Overlay
As int - Set Overlay AS number \n\n or \n\n
- Overlay
As stringVariable - Variable name
- Send
Path intLimit - Set number of TLOC routes advertised between vSmart and vEdge
- Send
Path stringLimit Variable - Variable name
- Shutdown bool
- Enable or disable OMP
- Shutdown
Variable string - Variable name
- Template
Type string - The template type
- Transport
Gateway string - Transport gateway path computation
- Transport
Gateway stringVariable - Variable name
- Version int
- The version of the feature template
- advertise
Ipv4Routes List<GetCisco Omp Feature Template Advertise Ipv4Route> - Advertise locally learned routes to OMP
- advertise
Ipv6Routes List<GetCisco Omp Feature Template Advertise Ipv6Route> - Advertise locally learned routes to OMP
- advertisement
Interval Integer - Set the time between OMP Update packets
- advertisement
Interval StringVariable - Variable name
- description String
- The description of the feature template
- device
Types List<String> - List of supported device types
- ecmp
Limit Integer - Set maximum number of OMP paths to install in vEdge route table
- ecmp
Limit StringVariable - Variable name
- eor
Timer Integer - End of RIB timer \n\n seconds
- eor
Timer StringVariable - Variable name
- graceful
Restart Boolean - Enable or disable OMP graceful restart
- graceful
Restart IntegerTimer - Set the OMP graceful restart timer
- graceful
Restart StringTimer Variable - Variable name
- graceful
Restart StringVariable - Variable name
- holdtime Integer
- Set how long to wait before closing OMP peer connection
- holdtime
Variable String - Variable name
- id String
- The id of the feature template
- ignore
Region BooleanPath Length - Ignore Region-Path Length During Best-Path Algorithm
- ignore
Region StringPath Length Variable - Variable name
- name String
- The name of the feature template
- omp
Admin IntegerDistance Ipv4 - omp-admin-distance-ipv4
- omp
Admin StringDistance Ipv4Variable - Variable name
- omp
Admin IntegerDistance Ipv6 - omp-admin-distance-ipv6
- omp
Admin StringDistance Ipv6Variable - Variable name
- overlay
As Integer - Set Overlay AS number \n\n or \n\n
- overlay
As StringVariable - Variable name
- send
Path IntegerLimit - Set number of TLOC routes advertised between vSmart and vEdge
- send
Path StringLimit Variable - Variable name
- shutdown Boolean
- Enable or disable OMP
- shutdown
Variable String - Variable name
- template
Type String - The template type
- transport
Gateway String - Transport gateway path computation
- transport
Gateway StringVariable - Variable name
- version Integer
- The version of the feature template
- advertise
Ipv4Routes GetCisco Omp Feature Template Advertise Ipv4Route[] - Advertise locally learned routes to OMP
- advertise
Ipv6Routes GetCisco Omp Feature Template Advertise Ipv6Route[] - Advertise locally learned routes to OMP
- advertisement
Interval number - Set the time between OMP Update packets
- advertisement
Interval stringVariable - Variable name
- description string
- The description of the feature template
- device
Types string[] - List of supported device types
- ecmp
Limit number - Set maximum number of OMP paths to install in vEdge route table
- ecmp
Limit stringVariable - Variable name
- eor
Timer number - End of RIB timer \n\n seconds
- eor
Timer stringVariable - Variable name
- graceful
Restart boolean - Enable or disable OMP graceful restart
- graceful
Restart numberTimer - Set the OMP graceful restart timer
- graceful
Restart stringTimer Variable - Variable name
- graceful
Restart stringVariable - Variable name
- holdtime number
- Set how long to wait before closing OMP peer connection
- holdtime
Variable string - Variable name
- id string
- The id of the feature template
- ignore
Region booleanPath Length - Ignore Region-Path Length During Best-Path Algorithm
- ignore
Region stringPath Length Variable - Variable name
- name string
- The name of the feature template
- omp
Admin numberDistance Ipv4 - omp-admin-distance-ipv4
- omp
Admin stringDistance Ipv4Variable - Variable name
- omp
Admin numberDistance Ipv6 - omp-admin-distance-ipv6
- omp
Admin stringDistance Ipv6Variable - Variable name
- overlay
As number - Set Overlay AS number \n\n or \n\n
- overlay
As stringVariable - Variable name
- send
Path numberLimit - Set number of TLOC routes advertised between vSmart and vEdge
- send
Path stringLimit Variable - Variable name
- shutdown boolean
- Enable or disable OMP
- shutdown
Variable string - Variable name
- template
Type string - The template type
- transport
Gateway string - Transport gateway path computation
- transport
Gateway stringVariable - Variable name
- version number
- The version of the feature template
- advertise_
ipv4_ Sequence[Getroutes Cisco Omp Feature Template Advertise Ipv4Route] - Advertise locally learned routes to OMP
- advertise_
ipv6_ Sequence[Getroutes Cisco Omp Feature Template Advertise Ipv6Route] - Advertise locally learned routes to OMP
- advertisement_
interval int - Set the time between OMP Update packets
- advertisement_
interval_ strvariable - Variable name
- description str
- The description of the feature template
- device_
types Sequence[str] - List of supported device types
- ecmp_
limit int - Set maximum number of OMP paths to install in vEdge route table
- ecmp_
limit_ strvariable - Variable name
- eor_
timer int - End of RIB timer \n\n seconds
- eor_
timer_ strvariable - Variable name
- graceful_
restart bool - Enable or disable OMP graceful restart
- graceful_
restart_ inttimer - Set the OMP graceful restart timer
- graceful_
restart_ strtimer_ variable - Variable name
- graceful_
restart_ strvariable - Variable name
- holdtime int
- Set how long to wait before closing OMP peer connection
- holdtime_
variable str - Variable name
- id str
- The id of the feature template
- ignore_
region_ boolpath_ length - Ignore Region-Path Length During Best-Path Algorithm
- ignore_
region_ strpath_ length_ variable - Variable name
- name str
- The name of the feature template
- omp_
admin_ intdistance_ ipv4 - omp-admin-distance-ipv4
- omp_
admin_ strdistance_ ipv4_ variable - Variable name
- omp_
admin_ intdistance_ ipv6 - omp-admin-distance-ipv6
- omp_
admin_ strdistance_ ipv6_ variable - Variable name
- overlay_
as int - Set Overlay AS number \n\n or \n\n
- overlay_
as_ strvariable - Variable name
- send_
path_ intlimit - Set number of TLOC routes advertised between vSmart and vEdge
- send_
path_ strlimit_ variable - Variable name
- shutdown bool
- Enable or disable OMP
- shutdown_
variable str - Variable name
- template_
type str - The template type
- transport_
gateway str - Transport gateway path computation
- transport_
gateway_ strvariable - Variable name
- version int
- The version of the feature template
- advertise
Ipv4Routes List<Property Map> - Advertise locally learned routes to OMP
- advertise
Ipv6Routes List<Property Map> - Advertise locally learned routes to OMP
- advertisement
Interval Number - Set the time between OMP Update packets
- advertisement
Interval StringVariable - Variable name
- description String
- The description of the feature template
- device
Types List<String> - List of supported device types
- ecmp
Limit Number - Set maximum number of OMP paths to install in vEdge route table
- ecmp
Limit StringVariable - Variable name
- eor
Timer Number - End of RIB timer \n\n seconds
- eor
Timer StringVariable - Variable name
- graceful
Restart Boolean - Enable or disable OMP graceful restart
- graceful
Restart NumberTimer - Set the OMP graceful restart timer
- graceful
Restart StringTimer Variable - Variable name
- graceful
Restart StringVariable - Variable name
- holdtime Number
- Set how long to wait before closing OMP peer connection
- holdtime
Variable String - Variable name
- id String
- The id of the feature template
- ignore
Region BooleanPath Length - Ignore Region-Path Length During Best-Path Algorithm
- ignore
Region StringPath Length Variable - Variable name
- name String
- The name of the feature template
- omp
Admin NumberDistance Ipv4 - omp-admin-distance-ipv4
- omp
Admin StringDistance Ipv4Variable - Variable name
- omp
Admin NumberDistance Ipv6 - omp-admin-distance-ipv6
- omp
Admin StringDistance Ipv6Variable - Variable name
- overlay
As Number - Set Overlay AS number \n\n or \n\n
- overlay
As StringVariable - Variable name
- send
Path NumberLimit - Set number of TLOC routes advertised between vSmart and vEdge
- send
Path StringLimit Variable - Variable name
- shutdown Boolean
- Enable or disable OMP
- shutdown
Variable String - Variable name
- template
Type String - The template type
- transport
Gateway String - Transport gateway path computation
- transport
Gateway StringVariable - Variable name
- version Number
- The version of the feature template
Supporting Types
GetCiscoOmpFeatureTemplateAdvertiseIpv4Route
- Advertise
External stringOspf - Advertise OSPF external routes
- Advertise
External stringOspf Variable - Variable name
- Optional bool
- Indicates if list item is considered optional.
- Protocol string
- Set routes to advertise
- Advertise
External stringOspf - Advertise OSPF external routes
- Advertise
External stringOspf Variable - Variable name
- Optional bool
- Indicates if list item is considered optional.
- Protocol string
- Set routes to advertise
- advertise
External StringOspf - Advertise OSPF external routes
- advertise
External StringOspf Variable - Variable name
- optional Boolean
- Indicates if list item is considered optional.
- protocol String
- Set routes to advertise
- advertise
External stringOspf - Advertise OSPF external routes
- advertise
External stringOspf Variable - Variable name
- optional boolean
- Indicates if list item is considered optional.
- protocol string
- Set routes to advertise
- advertise_
external_ strospf - Advertise OSPF external routes
- advertise_
external_ strospf_ variable - Variable name
- optional bool
- Indicates if list item is considered optional.
- protocol str
- Set routes to advertise
- advertise
External StringOspf - Advertise OSPF external routes
- advertise
External StringOspf Variable - Variable name
- optional Boolean
- Indicates if list item is considered optional.
- protocol String
- Set routes to advertise
GetCiscoOmpFeatureTemplateAdvertiseIpv6Route
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sdwan
Terraform Provider.