import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * This resource can manage the OSPF configuration. * * ## Import * * ```sh * $ pulumi import iosxe:index/ospf:Ospf example "Cisco-IOS-XE-native:native/router/Cisco-IOS-XE-ospf:router-ospf/ospf/process-id=1" * ``` */ export declare class Ospf extends pulumi.CustomResource { /** * Get an existing Ospf 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?: OspfState, opts?: pulumi.CustomResourceOptions): Ospf; /** * Returns true if the given object is an instance of Ospf. 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 Ospf; /** * OSPF area parameters */ readonly areas: pulumi.Output; /** * Enable BFD on all interfaces */ readonly bfdAllInterfaces: pulumi.Output; /** * Distribute a default route */ readonly defaultInformationOriginate: pulumi.Output; /** * Always advertise default route */ readonly defaultInformationOriginateAlways: pulumi.Output; /** * Set metric of redistributed routes - Range: `1`-`16777214` */ readonly defaultMetric: 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; /** * A device name from the provider configuration. */ readonly device: pulumi.Output; /** * Administrative distance - Range: `1`-`255` */ readonly distance: pulumi.Output; /** * OSPF domain-tag - Range: `1`-`4294967295` */ readonly domainTag: pulumi.Output; /** * Configure LDP automatic configuration */ readonly mplsLdpAutoconfig: pulumi.Output; /** * Configure LDP-IGP Synchronization */ readonly mplsLdpSync: pulumi.Output; /** * Specify a neighbor router */ readonly neighbors: pulumi.Output; /** * Enable routing on an IP network */ readonly networks: pulumi.Output; /** * Suppress routing updates on all interfaces */ readonly passiveInterfaceDefault: pulumi.Output; /** * OSPF topology priority - Range: `0`-`127` */ readonly priority: pulumi.Output; /** * Process ID - Range: `1`-`65535` */ readonly processId: pulumi.Output; /** * Override configured router identifier (peers will reset) */ readonly routerId: pulumi.Output; /** * Shutdown the OSPF protocol under the current instance */ readonly shutdown: pulumi.Output; /** * Configure IP address summaries */ readonly summaryAddresses: pulumi.Output; /** * Create a Ospf 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: OspfArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Ospf resources. */ export interface OspfState { /** * OSPF area parameters */ areas?: pulumi.Input[]>; /** * Enable BFD on all interfaces */ bfdAllInterfaces?: pulumi.Input; /** * Distribute a default route */ defaultInformationOriginate?: pulumi.Input; /** * Always advertise default route */ defaultInformationOriginateAlways?: pulumi.Input; /** * Set metric of redistributed routes - Range: `1`-`16777214` */ defaultMetric?: 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; /** * A device name from the provider configuration. */ device?: pulumi.Input; /** * Administrative distance - Range: `1`-`255` */ distance?: pulumi.Input; /** * OSPF domain-tag - Range: `1`-`4294967295` */ domainTag?: pulumi.Input; /** * Configure LDP automatic configuration */ mplsLdpAutoconfig?: pulumi.Input; /** * Configure LDP-IGP Synchronization */ mplsLdpSync?: pulumi.Input; /** * Specify a neighbor router */ neighbors?: pulumi.Input[]>; /** * Enable routing on an IP network */ networks?: pulumi.Input[]>; /** * Suppress routing updates on all interfaces */ passiveInterfaceDefault?: pulumi.Input; /** * OSPF topology priority - Range: `0`-`127` */ priority?: pulumi.Input; /** * Process ID - Range: `1`-`65535` */ processId?: pulumi.Input; /** * Override configured router identifier (peers will reset) */ routerId?: pulumi.Input; /** * Shutdown the OSPF protocol under the current instance */ shutdown?: pulumi.Input; /** * Configure IP address summaries */ summaryAddresses?: pulumi.Input[]>; } /** * The set of arguments for constructing a Ospf resource. */ export interface OspfArgs { /** * OSPF area parameters */ areas?: pulumi.Input[]>; /** * Enable BFD on all interfaces */ bfdAllInterfaces?: pulumi.Input; /** * Distribute a default route */ defaultInformationOriginate?: pulumi.Input; /** * Always advertise default route */ defaultInformationOriginateAlways?: pulumi.Input; /** * Set metric of redistributed routes - Range: `1`-`16777214` */ defaultMetric?: 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; /** * A device name from the provider configuration. */ device?: pulumi.Input; /** * Administrative distance - Range: `1`-`255` */ distance?: pulumi.Input; /** * OSPF domain-tag - Range: `1`-`4294967295` */ domainTag?: pulumi.Input; /** * Configure LDP automatic configuration */ mplsLdpAutoconfig?: pulumi.Input; /** * Configure LDP-IGP Synchronization */ mplsLdpSync?: pulumi.Input; /** * Specify a neighbor router */ neighbors?: pulumi.Input[]>; /** * Enable routing on an IP network */ networks?: pulumi.Input[]>; /** * Suppress routing updates on all interfaces */ passiveInterfaceDefault?: pulumi.Input; /** * OSPF topology priority - Range: `0`-`127` */ priority?: pulumi.Input; /** * Process ID - Range: `1`-`65535` */ processId: pulumi.Input; /** * Override configured router identifier (peers will reset) */ routerId?: pulumi.Input; /** * Shutdown the OSPF protocol under the current instance */ shutdown?: pulumi.Input; /** * Configure IP address summaries */ summaryAddresses?: pulumi.Input[]>; }