Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getBgpIpv4UnicastVrfNeighbor
This data source can read the BGP IPv4 Unicast VRF Neighbor configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() =>
{
var example = Iosxe.GetBgpIpv4UnicastVrfNeighbor.Invoke(new()
{
Asn = "65000",
Ip = "3.3.3.3",
Vrf = "VRF1",
});
});
package main
import (
"github.com/lbrlabs/pulumi-iosxe/sdk/go/iosxe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iosxe.LookupBgpIpv4UnicastVrfNeighbor(ctx, &iosxe.LookupBgpIpv4UnicastVrfNeighborArgs{
Asn: "65000",
Ip: "3.3.3.3",
Vrf: "VRF1",
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.iosxe.IosxeFunctions;
import com.pulumi.iosxe.inputs.GetBgpIpv4UnicastVrfNeighborArgs;
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 = IosxeFunctions.getBgpIpv4UnicastVrfNeighbor(GetBgpIpv4UnicastVrfNeighborArgs.builder()
.asn("65000")
.ip("3.3.3.3")
.vrf("VRF1")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getBgpIpv4UnicastVrfNeighbor({
asn: "65000",
ip: "3.3.3.3",
vrf: "VRF1",
});
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_bgp_ipv4_unicast_vrf_neighbor(asn="65000",
ip="3.3.3.3",
vrf="VRF1")
variables:
example:
fn::invoke:
Function: iosxe:getBgpIpv4UnicastVrfNeighbor
Arguments:
asn: '65000'
ip: 3.3.3.3
vrf: VRF1
Using getBgpIpv4UnicastVrfNeighbor
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 getBgpIpv4UnicastVrfNeighbor(args: GetBgpIpv4UnicastVrfNeighborArgs, opts?: InvokeOptions): Promise<GetBgpIpv4UnicastVrfNeighborResult>
function getBgpIpv4UnicastVrfNeighborOutput(args: GetBgpIpv4UnicastVrfNeighborOutputArgs, opts?: InvokeOptions): Output<GetBgpIpv4UnicastVrfNeighborResult>def get_bgp_ipv4_unicast_vrf_neighbor(asn: Optional[str] = None,
device: Optional[str] = None,
ip: Optional[str] = None,
vrf: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBgpIpv4UnicastVrfNeighborResult
def get_bgp_ipv4_unicast_vrf_neighbor_output(asn: Optional[pulumi.Input[str]] = None,
device: Optional[pulumi.Input[str]] = None,
ip: Optional[pulumi.Input[str]] = None,
vrf: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBgpIpv4UnicastVrfNeighborResult]func LookupBgpIpv4UnicastVrfNeighbor(ctx *Context, args *LookupBgpIpv4UnicastVrfNeighborArgs, opts ...InvokeOption) (*LookupBgpIpv4UnicastVrfNeighborResult, error)
func LookupBgpIpv4UnicastVrfNeighborOutput(ctx *Context, args *LookupBgpIpv4UnicastVrfNeighborOutputArgs, opts ...InvokeOption) LookupBgpIpv4UnicastVrfNeighborResultOutput> Note: This function is named LookupBgpIpv4UnicastVrfNeighbor in the Go SDK.
public static class GetBgpIpv4UnicastVrfNeighbor
{
public static Task<GetBgpIpv4UnicastVrfNeighborResult> InvokeAsync(GetBgpIpv4UnicastVrfNeighborArgs args, InvokeOptions? opts = null)
public static Output<GetBgpIpv4UnicastVrfNeighborResult> Invoke(GetBgpIpv4UnicastVrfNeighborInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBgpIpv4UnicastVrfNeighborResult> getBgpIpv4UnicastVrfNeighbor(GetBgpIpv4UnicastVrfNeighborArgs args, InvokeOptions options)
public static Output<GetBgpIpv4UnicastVrfNeighborResult> getBgpIpv4UnicastVrfNeighbor(GetBgpIpv4UnicastVrfNeighborArgs args, InvokeOptions options)
fn::invoke:
function: iosxe:index/getBgpIpv4UnicastVrfNeighbor:getBgpIpv4UnicastVrfNeighbor
arguments:
# arguments dictionaryThe following arguments are supported:
getBgpIpv4UnicastVrfNeighbor Result
The following output properties are available:
- Activate bool
- Enable the address family for this neighbor
- Asn string
- Cluster
Id string - Description string
- Neighbor specific description
- Disable
Connected boolCheck - one-hop away EBGP peer using loopback address
- Ebgp
Multihop bool - Allow EBGP neighbors not on directly connected networks. For single-hop ebgp peers, delete ebgp-multihop directly.
- Ebgp
Multihop intMax Hop - Fall
Over boolBfd Check Control Plane Failure - Retrieve control plane dependent failure info from BFD for BGP GR/NSR operation
- Fall
Over boolBfd Multi Hop - Force BFD multi-hop to detect failure
- Fall
Over boolBfd Single Hop - Force BFD single-hop to detect failure
- Fall
Over boolBfd Strict Mode - Enable BFD strict-mode
- Fall
Over stringDefault Route Map - Fall
Over stringMaximum Metric Route Map - Id string
- The path of the retrieved object.
- Ip string
- Local
As string - Local
As boolDual As - Accept either real AS or local AS from the ebgp peer
- Local
As boolNo Prepend - Do not prepend local-as to updates from ebgp peers
- Local
As boolReplace As - Replace real AS with local AS in the EBGP updates
- Log
Neighbor boolChanges Disable - disable
- Password string
- Password
Type int - Encryption type (0 to disable encryption, 7 for proprietary)
- Remote
As string - Specify a BGP peer-group remote-as
- Route
Maps List<Lbrlabs.Pulumi Package. Iosxe. Outputs. Get Bgp Ipv4Unicast Vrf Neighbor Route Map> - Apply route map to neighbor
- Route
Reflector boolClient - Configure a neighbor as Route Reflector client
- Send
Community string - Shutdown bool
- Administratively shut down this neighbor
- Timers
Holdtime int - Timers
Keepalive intInterval - Timers
Minimum intNeighbor Hold - Ttl
Security intHops - IP hops
- Update
Source stringLoopback - Loopback interface
- Version int
- Set the BGP version to match a neighbor
- Vrf string
- Device string
- A device name from the provider configuration.
- Activate bool
- Enable the address family for this neighbor
- Asn string
- Cluster
Id string - Description string
- Neighbor specific description
- Disable
Connected boolCheck - one-hop away EBGP peer using loopback address
- Ebgp
Multihop bool - Allow EBGP neighbors not on directly connected networks. For single-hop ebgp peers, delete ebgp-multihop directly.
- Ebgp
Multihop intMax Hop - Fall
Over boolBfd Check Control Plane Failure - Retrieve control plane dependent failure info from BFD for BGP GR/NSR operation
- Fall
Over boolBfd Multi Hop - Force BFD multi-hop to detect failure
- Fall
Over boolBfd Single Hop - Force BFD single-hop to detect failure
- Fall
Over boolBfd Strict Mode - Enable BFD strict-mode
- Fall
Over stringDefault Route Map - Fall
Over stringMaximum Metric Route Map - Id string
- The path of the retrieved object.
- Ip string
- Local
As string - Local
As boolDual As - Accept either real AS or local AS from the ebgp peer
- Local
As boolNo Prepend - Do not prepend local-as to updates from ebgp peers
- Local
As boolReplace As - Replace real AS with local AS in the EBGP updates
- Log
Neighbor boolChanges Disable - disable
- Password string
- Password
Type int - Encryption type (0 to disable encryption, 7 for proprietary)
- Remote
As string - Specify a BGP peer-group remote-as
- Route
Maps []GetBgp Ipv4Unicast Vrf Neighbor Route Map - Apply route map to neighbor
- Route
Reflector boolClient - Configure a neighbor as Route Reflector client
- Send
Community string - Shutdown bool
- Administratively shut down this neighbor
- Timers
Holdtime int - Timers
Keepalive intInterval - Timers
Minimum intNeighbor Hold - Ttl
Security intHops - IP hops
- Update
Source stringLoopback - Loopback interface
- Version int
- Set the BGP version to match a neighbor
- Vrf string
- Device string
- A device name from the provider configuration.
- activate Boolean
- Enable the address family for this neighbor
- asn String
- cluster
Id String - description String
- Neighbor specific description
- disable
Connected BooleanCheck - one-hop away EBGP peer using loopback address
- ebgp
Multihop Boolean - Allow EBGP neighbors not on directly connected networks. For single-hop ebgp peers, delete ebgp-multihop directly.
- ebgp
Multihop IntegerMax Hop - fall
Over BooleanBfd Check Control Plane Failure - Retrieve control plane dependent failure info from BFD for BGP GR/NSR operation
- fall
Over BooleanBfd Multi Hop - Force BFD multi-hop to detect failure
- fall
Over BooleanBfd Single Hop - Force BFD single-hop to detect failure
- fall
Over BooleanBfd Strict Mode - Enable BFD strict-mode
- fall
Over StringDefault Route Map - fall
Over StringMaximum Metric Route Map - id String
- The path of the retrieved object.
- ip String
- local
As String - local
As BooleanDual As - Accept either real AS or local AS from the ebgp peer
- local
As BooleanNo Prepend - Do not prepend local-as to updates from ebgp peers
- local
As BooleanReplace As - Replace real AS with local AS in the EBGP updates
- log
Neighbor BooleanChanges Disable - disable
- password String
- password
Type Integer - Encryption type (0 to disable encryption, 7 for proprietary)
- remote
As String - Specify a BGP peer-group remote-as
- route
Maps List<GetBgp Ipv4Unicast Vrf Neighbor Route Map> - Apply route map to neighbor
- route
Reflector BooleanClient - Configure a neighbor as Route Reflector client
- send
Community String - shutdown Boolean
- Administratively shut down this neighbor
- timers
Holdtime Integer - timers
Keepalive IntegerInterval - timers
Minimum IntegerNeighbor Hold - ttl
Security IntegerHops - IP hops
- update
Source StringLoopback - Loopback interface
- version Integer
- Set the BGP version to match a neighbor
- vrf String
- device String
- A device name from the provider configuration.
- activate boolean
- Enable the address family for this neighbor
- asn string
- cluster
Id string - description string
- Neighbor specific description
- disable
Connected booleanCheck - one-hop away EBGP peer using loopback address
- ebgp
Multihop boolean - Allow EBGP neighbors not on directly connected networks. For single-hop ebgp peers, delete ebgp-multihop directly.
- ebgp
Multihop numberMax Hop - fall
Over booleanBfd Check Control Plane Failure - Retrieve control plane dependent failure info from BFD for BGP GR/NSR operation
- fall
Over booleanBfd Multi Hop - Force BFD multi-hop to detect failure
- fall
Over booleanBfd Single Hop - Force BFD single-hop to detect failure
- fall
Over booleanBfd Strict Mode - Enable BFD strict-mode
- fall
Over stringDefault Route Map - fall
Over stringMaximum Metric Route Map - id string
- The path of the retrieved object.
- ip string
- local
As string - local
As booleanDual As - Accept either real AS or local AS from the ebgp peer
- local
As booleanNo Prepend - Do not prepend local-as to updates from ebgp peers
- local
As booleanReplace As - Replace real AS with local AS in the EBGP updates
- log
Neighbor booleanChanges Disable - disable
- password string
- password
Type number - Encryption type (0 to disable encryption, 7 for proprietary)
- remote
As string - Specify a BGP peer-group remote-as
- route
Maps GetBgp Ipv4Unicast Vrf Neighbor Route Map[] - Apply route map to neighbor
- route
Reflector booleanClient - Configure a neighbor as Route Reflector client
- send
Community string - shutdown boolean
- Administratively shut down this neighbor
- timers
Holdtime number - timers
Keepalive numberInterval - timers
Minimum numberNeighbor Hold - ttl
Security numberHops - IP hops
- update
Source stringLoopback - Loopback interface
- version number
- Set the BGP version to match a neighbor
- vrf string
- device string
- A device name from the provider configuration.
- activate bool
- Enable the address family for this neighbor
- asn str
- cluster_
id str - description str
- Neighbor specific description
- disable_
connected_ boolcheck - one-hop away EBGP peer using loopback address
- ebgp_
multihop bool - Allow EBGP neighbors not on directly connected networks. For single-hop ebgp peers, delete ebgp-multihop directly.
- ebgp_
multihop_ intmax_ hop - fall_
over_ boolbfd_ check_ control_ plane_ failure - Retrieve control plane dependent failure info from BFD for BGP GR/NSR operation
- fall_
over_ boolbfd_ multi_ hop - Force BFD multi-hop to detect failure
- fall_
over_ boolbfd_ single_ hop - Force BFD single-hop to detect failure
- fall_
over_ boolbfd_ strict_ mode - Enable BFD strict-mode
- fall_
over_ strdefault_ route_ map - fall_
over_ strmaximum_ metric_ route_ map - id str
- The path of the retrieved object.
- ip str
- local_
as str - local_
as_ booldual_ as - Accept either real AS or local AS from the ebgp peer
- local_
as_ boolno_ prepend - Do not prepend local-as to updates from ebgp peers
- local_
as_ boolreplace_ as - Replace real AS with local AS in the EBGP updates
- log_
neighbor_ boolchanges_ disable - disable
- password str
- password_
type int - Encryption type (0 to disable encryption, 7 for proprietary)
- remote_
as str - Specify a BGP peer-group remote-as
- route_
maps Sequence[GetBgp Ipv4Unicast Vrf Neighbor Route Map] - Apply route map to neighbor
- route_
reflector_ boolclient - Configure a neighbor as Route Reflector client
- send_
community str - shutdown bool
- Administratively shut down this neighbor
- timers_
holdtime int - timers_
keepalive_ intinterval - timers_
minimum_ intneighbor_ hold - ttl_
security_ inthops - IP hops
- update_
source_ strloopback - Loopback interface
- version int
- Set the BGP version to match a neighbor
- vrf str
- device str
- A device name from the provider configuration.
- activate Boolean
- Enable the address family for this neighbor
- asn String
- cluster
Id String - description String
- Neighbor specific description
- disable
Connected BooleanCheck - one-hop away EBGP peer using loopback address
- ebgp
Multihop Boolean - Allow EBGP neighbors not on directly connected networks. For single-hop ebgp peers, delete ebgp-multihop directly.
- ebgp
Multihop NumberMax Hop - fall
Over BooleanBfd Check Control Plane Failure - Retrieve control plane dependent failure info from BFD for BGP GR/NSR operation
- fall
Over BooleanBfd Multi Hop - Force BFD multi-hop to detect failure
- fall
Over BooleanBfd Single Hop - Force BFD single-hop to detect failure
- fall
Over BooleanBfd Strict Mode - Enable BFD strict-mode
- fall
Over StringDefault Route Map - fall
Over StringMaximum Metric Route Map - id String
- The path of the retrieved object.
- ip String
- local
As String - local
As BooleanDual As - Accept either real AS or local AS from the ebgp peer
- local
As BooleanNo Prepend - Do not prepend local-as to updates from ebgp peers
- local
As BooleanReplace As - Replace real AS with local AS in the EBGP updates
- log
Neighbor BooleanChanges Disable - disable
- password String
- password
Type Number - Encryption type (0 to disable encryption, 7 for proprietary)
- remote
As String - Specify a BGP peer-group remote-as
- route
Maps List<Property Map> - Apply route map to neighbor
- route
Reflector BooleanClient - Configure a neighbor as Route Reflector client
- send
Community String - shutdown Boolean
- Administratively shut down this neighbor
- timers
Holdtime Number - timers
Keepalive NumberInterval - timers
Minimum NumberNeighbor Hold - ttl
Security NumberHops - IP hops
- update
Source StringLoopback - Loopback interface
- version Number
- Set the BGP version to match a neighbor
- vrf String
- device String
- A device name from the provider configuration.
Supporting Types
GetBgpIpv4UnicastVrfNeighborRouteMap
- In
Out string - Route
Map stringName
- In
Out string - Route
Map stringName
- in
Out String - route
Map StringName
- in
Out string - route
Map stringName
- in_
out str - route_
map_ strname
- in
Out String - route
Map StringName
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
iosxeTerraform Provider.
