import * as pulumi from "@pulumi/pulumi"; /** * This resource can manage the BGP Neighbor configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as iosxe from "@lbrlabs/pulumi-iosxe"; * * const example = new iosxe.BgpNeighbor("example", { * asn: "65000", * clusterId: "1234", * description: "BGP Neighbor Description", * disableConnectedCheck: false, * fallOverBfdCheckControlPlaneFailure: true, * fallOverBfdSingleHop: true, * fallOverBfdStrictMode: true, * fallOverDefaultEnable: false, * fallOverDefaultRouteMap: "RMAP", * fallOverMaximumMetricRouteMap: "RMAP", * ip: "3.3.3.3", * logNeighborChanges: true, * password: "test1234", * passwordType: 1, * remoteAs: "65000", * shutdown: false, * timersHoldtime: 866, * timersKeepaliveInterval: 655, * timersMinimumNeighborHold: 222, * updateSourceLoopback: "100", * version: 4, * }); * ``` * * ## Import * * ```sh * $ pulumi import iosxe:index/bgpNeighbor:BgpNeighbor example "Cisco-IOS-XE-native:native/router/Cisco-IOS-XE-bgp:bgp=65000/neighbor=3.3.3.3" * ``` */ export declare class BgpNeighbor extends pulumi.CustomResource { /** * Get an existing BgpNeighbor resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: BgpNeighborState, opts?: pulumi.CustomResourceOptions): BgpNeighbor; /** * Returns true if the given object is an instance of BgpNeighbor. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is BgpNeighbor; readonly asn: pulumi.Output; readonly clusterId: pulumi.Output; /** * Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being * managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. * Default value is `all`. - Choices: `all`, `attributes` */ readonly deleteMode: pulumi.Output; /** * Neighbor specific description */ readonly description: pulumi.Output; /** * A device name from the provider configuration. */ readonly device: pulumi.Output; /** * one-hop away EBGP peer using loopback address */ readonly disableConnectedCheck: pulumi.Output; /** * Allow EBGP neighbors not on directly connected networks. For single-hop ebgp peers, delete ebgp-multihop directly. */ readonly ebgpMultihop: pulumi.Output; /** * - Range: `2`-`255` */ readonly ebgpMultihopMaxHop: pulumi.Output; /** * Retrieve control plane dependent failure info from BFD for BGP GR/NSR operation */ readonly fallOverBfdCheckControlPlaneFailure: pulumi.Output; /** * Force BFD multi-hop to detect failure */ readonly fallOverBfdMultiHop: pulumi.Output; /** * Force BFD single-hop to detect failure */ readonly fallOverBfdSingleHop: pulumi.Output; /** * Enable BFD strict-mode */ readonly fallOverBfdStrictMode: pulumi.Output; readonly fallOverDefaultEnable: pulumi.Output; readonly fallOverDefaultRouteMap: pulumi.Output; readonly fallOverMaximumMetricRouteMap: pulumi.Output; readonly ip: pulumi.Output; readonly localAs: pulumi.Output; /** * Accept either real AS or local AS from the ebgp peer */ readonly localAsDualAs: pulumi.Output; /** * Do not prepend local-as to updates from ebgp peers */ readonly localAsNoPrepend: pulumi.Output; /** * Replace real AS with local AS in the EBGP updates */ readonly localAsReplaceAs: pulumi.Output; /** * Log neighbor up/down and reset reason */ readonly logNeighborChanges: pulumi.Output; readonly password: pulumi.Output; /** * Encryption type (0 to disable encryption, 7 for proprietary) - Range: `0`-`7` */ readonly passwordType: pulumi.Output; /** * Specify a BGP peer-group remote-as */ readonly remoteAs: pulumi.Output; /** * Administratively shut down this neighbor */ readonly shutdown: pulumi.Output; /** * - Range: `0`-`65535` */ readonly timersHoldtime: pulumi.Output; /** * - Range: `0`-`65535` */ readonly timersKeepaliveInterval: pulumi.Output; /** * - Range: `0`-`65535` */ readonly timersMinimumNeighborHold: pulumi.Output; /** * IP hops - Range: `1`-`254` */ readonly ttlSecurityHops: pulumi.Output; /** * Loopback interface */ readonly updateSourceLoopback: pulumi.Output; /** * Set the BGP version to match a neighbor - Range: `4`-`4` */ readonly version: pulumi.Output; /** * Create a BgpNeighbor resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: BgpNeighborArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering BgpNeighbor resources. */ export interface BgpNeighborState { asn?: pulumi.Input; clusterId?: pulumi.Input; /** * Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being * managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. * Default value is `all`. - Choices: `all`, `attributes` */ deleteMode?: pulumi.Input; /** * Neighbor specific description */ description?: pulumi.Input; /** * A device name from the provider configuration. */ device?: pulumi.Input; /** * one-hop away EBGP peer using loopback address */ disableConnectedCheck?: pulumi.Input; /** * Allow EBGP neighbors not on directly connected networks. For single-hop ebgp peers, delete ebgp-multihop directly. */ ebgpMultihop?: pulumi.Input; /** * - Range: `2`-`255` */ ebgpMultihopMaxHop?: pulumi.Input; /** * Retrieve control plane dependent failure info from BFD for BGP GR/NSR operation */ fallOverBfdCheckControlPlaneFailure?: pulumi.Input; /** * Force BFD multi-hop to detect failure */ fallOverBfdMultiHop?: pulumi.Input; /** * Force BFD single-hop to detect failure */ fallOverBfdSingleHop?: pulumi.Input; /** * Enable BFD strict-mode */ fallOverBfdStrictMode?: pulumi.Input; fallOverDefaultEnable?: pulumi.Input; fallOverDefaultRouteMap?: pulumi.Input; fallOverMaximumMetricRouteMap?: pulumi.Input; ip?: pulumi.Input; localAs?: pulumi.Input; /** * Accept either real AS or local AS from the ebgp peer */ localAsDualAs?: pulumi.Input; /** * Do not prepend local-as to updates from ebgp peers */ localAsNoPrepend?: pulumi.Input; /** * Replace real AS with local AS in the EBGP updates */ localAsReplaceAs?: pulumi.Input; /** * Log neighbor up/down and reset reason */ logNeighborChanges?: pulumi.Input; password?: pulumi.Input; /** * Encryption type (0 to disable encryption, 7 for proprietary) - Range: `0`-`7` */ passwordType?: pulumi.Input; /** * Specify a BGP peer-group remote-as */ remoteAs?: pulumi.Input; /** * Administratively shut down this neighbor */ shutdown?: pulumi.Input; /** * - Range: `0`-`65535` */ timersHoldtime?: pulumi.Input; /** * - Range: `0`-`65535` */ timersKeepaliveInterval?: pulumi.Input; /** * - Range: `0`-`65535` */ timersMinimumNeighborHold?: pulumi.Input; /** * IP hops - Range: `1`-`254` */ ttlSecurityHops?: pulumi.Input; /** * Loopback interface */ updateSourceLoopback?: pulumi.Input; /** * Set the BGP version to match a neighbor - Range: `4`-`4` */ version?: pulumi.Input; } /** * The set of arguments for constructing a BgpNeighbor resource. */ export interface BgpNeighborArgs { asn: pulumi.Input; clusterId?: pulumi.Input; /** * Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being * managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. * Default value is `all`. - Choices: `all`, `attributes` */ deleteMode?: pulumi.Input; /** * Neighbor specific description */ description?: pulumi.Input; /** * A device name from the provider configuration. */ device?: pulumi.Input; /** * one-hop away EBGP peer using loopback address */ disableConnectedCheck?: pulumi.Input; /** * Allow EBGP neighbors not on directly connected networks. For single-hop ebgp peers, delete ebgp-multihop directly. */ ebgpMultihop?: pulumi.Input; /** * - Range: `2`-`255` */ ebgpMultihopMaxHop?: pulumi.Input; /** * Retrieve control plane dependent failure info from BFD for BGP GR/NSR operation */ fallOverBfdCheckControlPlaneFailure?: pulumi.Input; /** * Force BFD multi-hop to detect failure */ fallOverBfdMultiHop?: pulumi.Input; /** * Force BFD single-hop to detect failure */ fallOverBfdSingleHop?: pulumi.Input; /** * Enable BFD strict-mode */ fallOverBfdStrictMode?: pulumi.Input; fallOverDefaultEnable?: pulumi.Input; fallOverDefaultRouteMap?: pulumi.Input; fallOverMaximumMetricRouteMap?: pulumi.Input; ip: pulumi.Input; localAs?: pulumi.Input; /** * Accept either real AS or local AS from the ebgp peer */ localAsDualAs?: pulumi.Input; /** * Do not prepend local-as to updates from ebgp peers */ localAsNoPrepend?: pulumi.Input; /** * Replace real AS with local AS in the EBGP updates */ localAsReplaceAs?: pulumi.Input; /** * Log neighbor up/down and reset reason */ logNeighborChanges?: pulumi.Input; password?: pulumi.Input; /** * Encryption type (0 to disable encryption, 7 for proprietary) - Range: `0`-`7` */ passwordType?: pulumi.Input; /** * Specify a BGP peer-group remote-as */ remoteAs?: pulumi.Input; /** * Administratively shut down this neighbor */ shutdown?: pulumi.Input; /** * - Range: `0`-`65535` */ timersHoldtime?: pulumi.Input; /** * - Range: `0`-`65535` */ timersKeepaliveInterval?: pulumi.Input; /** * - Range: `0`-`65535` */ timersMinimumNeighborHold?: pulumi.Input; /** * IP hops - Range: `1`-`254` */ ttlSecurityHops?: pulumi.Input; /** * Loopback interface */ updateSourceLoopback?: pulumi.Input; /** * Set the BGP version to match a neighbor - Range: `4`-`4` */ version?: pulumi.Input; }