1. Packages
  2. Nsxt Provider
  3. API Docs
  4. PolicyOspfConfig
nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware

nsxt.PolicyOspfConfig

Explore with Pulumi AI

nsxt logo
nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware

    This resource provides a method for the management of OSPF for T0 Gateway on default locale service. A single resource should be specified per T0 Gateway. Edge Cluster is expected to be configured on the Gateway.

    This resource is applicable to NSX Policy Manager only. This resource is supported with NSX 3.1.1 onwards.

    NOTE: NSX does not support deleting OSPF config on gateway, therefore this resource will update NSX object, but never delete it. To undo OSPF configuration, please disable it within the resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as nsxt from "@pulumi/nsxt";
    
    const test = new nsxt.PolicyOspfConfig("test", {
        gatewayPath: nsxt_policy_tier0_gateway.gw1.path,
        enabled: true,
        ecmp: true,
        defaultOriginate: false,
        gracefulRestartMode: "HELPER_ONLY",
        summaryAddresses: [{
            prefix: "20.1.0.0/24",
            advertise: false,
        }],
    });
    
    import pulumi
    import pulumi_nsxt as nsxt
    
    test = nsxt.PolicyOspfConfig("test",
        gateway_path=nsxt_policy_tier0_gateway["gw1"]["path"],
        enabled=True,
        ecmp=True,
        default_originate=False,
        graceful_restart_mode="HELPER_ONLY",
        summary_addresses=[{
            "prefix": "20.1.0.0/24",
            "advertise": False,
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/nsxt/v3/nsxt"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := nsxt.NewPolicyOspfConfig(ctx, "test", &nsxt.PolicyOspfConfigArgs{
    			GatewayPath:         pulumi.Any(nsxt_policy_tier0_gateway.Gw1.Path),
    			Enabled:             pulumi.Bool(true),
    			Ecmp:                pulumi.Bool(true),
    			DefaultOriginate:    pulumi.Bool(false),
    			GracefulRestartMode: pulumi.String("HELPER_ONLY"),
    			SummaryAddresses: nsxt.PolicyOspfConfigSummaryAddressArray{
    				&nsxt.PolicyOspfConfigSummaryAddressArgs{
    					Prefix:    pulumi.String("20.1.0.0/24"),
    					Advertise: pulumi.Bool(false),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nsxt = Pulumi.Nsxt;
    
    return await Deployment.RunAsync(() => 
    {
        var test = new Nsxt.PolicyOspfConfig("test", new()
        {
            GatewayPath = nsxt_policy_tier0_gateway.Gw1.Path,
            Enabled = true,
            Ecmp = true,
            DefaultOriginate = false,
            GracefulRestartMode = "HELPER_ONLY",
            SummaryAddresses = new[]
            {
                new Nsxt.Inputs.PolicyOspfConfigSummaryAddressArgs
                {
                    Prefix = "20.1.0.0/24",
                    Advertise = false,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nsxt.PolicyOspfConfig;
    import com.pulumi.nsxt.PolicyOspfConfigArgs;
    import com.pulumi.nsxt.inputs.PolicyOspfConfigSummaryAddressArgs;
    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 test = new PolicyOspfConfig("test", PolicyOspfConfigArgs.builder()
                .gatewayPath(nsxt_policy_tier0_gateway.gw1().path())
                .enabled(true)
                .ecmp(true)
                .defaultOriginate(false)
                .gracefulRestartMode("HELPER_ONLY")
                .summaryAddresses(PolicyOspfConfigSummaryAddressArgs.builder()
                    .prefix("20.1.0.0/24")
                    .advertise(false)
                    .build())
                .build());
    
        }
    }
    
    resources:
      test:
        type: nsxt:PolicyOspfConfig
        properties:
          gatewayPath: ${nsxt_policy_tier0_gateway.gw1.path}
          enabled: true
          ecmp: true
          defaultOriginate: false
          gracefulRestartMode: HELPER_ONLY
          summaryAddresses:
            - prefix: 20.1.0.0/24
              advertise: false
    

    Create PolicyOspfConfig Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PolicyOspfConfig(name: string, args: PolicyOspfConfigArgs, opts?: CustomResourceOptions);
    @overload
    def PolicyOspfConfig(resource_name: str,
                         args: PolicyOspfConfigArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def PolicyOspfConfig(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         display_name: Optional[str] = None,
                         gateway_path: Optional[str] = None,
                         default_originate: Optional[bool] = None,
                         description: Optional[str] = None,
                         ecmp: Optional[bool] = None,
                         enabled: Optional[bool] = None,
                         graceful_restart_mode: Optional[str] = None,
                         policy_ospf_config_id: Optional[str] = None,
                         summary_addresses: Optional[Sequence[PolicyOspfConfigSummaryAddressArgs]] = None,
                         tags: Optional[Sequence[PolicyOspfConfigTagArgs]] = None)
    func NewPolicyOspfConfig(ctx *Context, name string, args PolicyOspfConfigArgs, opts ...ResourceOption) (*PolicyOspfConfig, error)
    public PolicyOspfConfig(string name, PolicyOspfConfigArgs args, CustomResourceOptions? opts = null)
    public PolicyOspfConfig(String name, PolicyOspfConfigArgs args)
    public PolicyOspfConfig(String name, PolicyOspfConfigArgs args, CustomResourceOptions options)
    
    type: nsxt:PolicyOspfConfig
    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 PolicyOspfConfigArgs
    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 PolicyOspfConfigArgs
    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 PolicyOspfConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PolicyOspfConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PolicyOspfConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var policyOspfConfigResource = new Nsxt.PolicyOspfConfig("policyOspfConfigResource", new()
    {
        DisplayName = "string",
        GatewayPath = "string",
        DefaultOriginate = false,
        Description = "string",
        Ecmp = false,
        Enabled = false,
        GracefulRestartMode = "string",
        PolicyOspfConfigId = "string",
        SummaryAddresses = new[]
        {
            new Nsxt.Inputs.PolicyOspfConfigSummaryAddressArgs
            {
                Advertise = false,
                Prefix = "string",
            },
        },
        Tags = new[]
        {
            new Nsxt.Inputs.PolicyOspfConfigTagArgs
            {
                Scope = "string",
                Tag = "string",
            },
        },
    });
    
    example, err := nsxt.NewPolicyOspfConfig(ctx, "policyOspfConfigResource", &nsxt.PolicyOspfConfigArgs{
    	DisplayName:         pulumi.String("string"),
    	GatewayPath:         pulumi.String("string"),
    	DefaultOriginate:    pulumi.Bool(false),
    	Description:         pulumi.String("string"),
    	Ecmp:                pulumi.Bool(false),
    	Enabled:             pulumi.Bool(false),
    	GracefulRestartMode: pulumi.String("string"),
    	PolicyOspfConfigId:  pulumi.String("string"),
    	SummaryAddresses: nsxt.PolicyOspfConfigSummaryAddressArray{
    		&nsxt.PolicyOspfConfigSummaryAddressArgs{
    			Advertise: pulumi.Bool(false),
    			Prefix:    pulumi.String("string"),
    		},
    	},
    	Tags: nsxt.PolicyOspfConfigTagArray{
    		&nsxt.PolicyOspfConfigTagArgs{
    			Scope: pulumi.String("string"),
    			Tag:   pulumi.String("string"),
    		},
    	},
    })
    
    var policyOspfConfigResource = new PolicyOspfConfig("policyOspfConfigResource", PolicyOspfConfigArgs.builder()
        .displayName("string")
        .gatewayPath("string")
        .defaultOriginate(false)
        .description("string")
        .ecmp(false)
        .enabled(false)
        .gracefulRestartMode("string")
        .policyOspfConfigId("string")
        .summaryAddresses(PolicyOspfConfigSummaryAddressArgs.builder()
            .advertise(false)
            .prefix("string")
            .build())
        .tags(PolicyOspfConfigTagArgs.builder()
            .scope("string")
            .tag("string")
            .build())
        .build());
    
    policy_ospf_config_resource = nsxt.PolicyOspfConfig("policyOspfConfigResource",
        display_name="string",
        gateway_path="string",
        default_originate=False,
        description="string",
        ecmp=False,
        enabled=False,
        graceful_restart_mode="string",
        policy_ospf_config_id="string",
        summary_addresses=[{
            "advertise": False,
            "prefix": "string",
        }],
        tags=[{
            "scope": "string",
            "tag": "string",
        }])
    
    const policyOspfConfigResource = new nsxt.PolicyOspfConfig("policyOspfConfigResource", {
        displayName: "string",
        gatewayPath: "string",
        defaultOriginate: false,
        description: "string",
        ecmp: false,
        enabled: false,
        gracefulRestartMode: "string",
        policyOspfConfigId: "string",
        summaryAddresses: [{
            advertise: false,
            prefix: "string",
        }],
        tags: [{
            scope: "string",
            tag: "string",
        }],
    });
    
    type: nsxt:PolicyOspfConfig
    properties:
        defaultOriginate: false
        description: string
        displayName: string
        ecmp: false
        enabled: false
        gatewayPath: string
        gracefulRestartMode: string
        policyOspfConfigId: string
        summaryAddresses:
            - advertise: false
              prefix: string
        tags:
            - scope: string
              tag: string
    

    PolicyOspfConfig 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 PolicyOspfConfig resource accepts the following input properties:

    DisplayName string
    Display name of the resource.
    GatewayPath string
    Policy Path for Tier0 Gateway.
    DefaultOriginate bool
    A boolean flag to configure advertisement of default route into OSPF domain. Default is false.
    Description string
    Description of the resource.
    Ecmp bool
    A boolean flag to enable/disable ECMP. Default is true.
    Enabled bool
    A boolean flag to enable/disable OSPF. Default is true.
    GracefulRestartMode string
    Graceful Restart Mode, one of HELPER_ONLY or DISABLED. Defaut is HELPER_ONLY.
    PolicyOspfConfigId string
    ID of the resource.
    SummaryAddresses List<PolicyOspfConfigSummaryAddress>
    Repeatable block to define addresses to summarize or filter external routes.
    Tags List<PolicyOspfConfigTag>
    A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
    DisplayName string
    Display name of the resource.
    GatewayPath string
    Policy Path for Tier0 Gateway.
    DefaultOriginate bool
    A boolean flag to configure advertisement of default route into OSPF domain. Default is false.
    Description string
    Description of the resource.
    Ecmp bool
    A boolean flag to enable/disable ECMP. Default is true.
    Enabled bool
    A boolean flag to enable/disable OSPF. Default is true.
    GracefulRestartMode string
    Graceful Restart Mode, one of HELPER_ONLY or DISABLED. Defaut is HELPER_ONLY.
    PolicyOspfConfigId string
    ID of the resource.
    SummaryAddresses []PolicyOspfConfigSummaryAddressArgs
    Repeatable block to define addresses to summarize or filter external routes.
    Tags []PolicyOspfConfigTagArgs
    A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
    displayName String
    Display name of the resource.
    gatewayPath String
    Policy Path for Tier0 Gateway.
    defaultOriginate Boolean
    A boolean flag to configure advertisement of default route into OSPF domain. Default is false.
    description String
    Description of the resource.
    ecmp Boolean
    A boolean flag to enable/disable ECMP. Default is true.
    enabled Boolean
    A boolean flag to enable/disable OSPF. Default is true.
    gracefulRestartMode String
    Graceful Restart Mode, one of HELPER_ONLY or DISABLED. Defaut is HELPER_ONLY.
    policyOspfConfigId String
    ID of the resource.
    summaryAddresses List<PolicyOspfConfigSummaryAddress>
    Repeatable block to define addresses to summarize or filter external routes.
    tags List<PolicyOspfConfigTag>
    A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
    displayName string
    Display name of the resource.
    gatewayPath string
    Policy Path for Tier0 Gateway.
    defaultOriginate boolean
    A boolean flag to configure advertisement of default route into OSPF domain. Default is false.
    description string
    Description of the resource.
    ecmp boolean
    A boolean flag to enable/disable ECMP. Default is true.
    enabled boolean
    A boolean flag to enable/disable OSPF. Default is true.
    gracefulRestartMode string
    Graceful Restart Mode, one of HELPER_ONLY or DISABLED. Defaut is HELPER_ONLY.
    policyOspfConfigId string
    ID of the resource.
    summaryAddresses PolicyOspfConfigSummaryAddress[]
    Repeatable block to define addresses to summarize or filter external routes.
    tags PolicyOspfConfigTag[]
    A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
    display_name str
    Display name of the resource.
    gateway_path str
    Policy Path for Tier0 Gateway.
    default_originate bool
    A boolean flag to configure advertisement of default route into OSPF domain. Default is false.
    description str
    Description of the resource.
    ecmp bool
    A boolean flag to enable/disable ECMP. Default is true.
    enabled bool
    A boolean flag to enable/disable OSPF. Default is true.
    graceful_restart_mode str
    Graceful Restart Mode, one of HELPER_ONLY or DISABLED. Defaut is HELPER_ONLY.
    policy_ospf_config_id str
    ID of the resource.
    summary_addresses Sequence[PolicyOspfConfigSummaryAddressArgs]
    Repeatable block to define addresses to summarize or filter external routes.
    tags Sequence[PolicyOspfConfigTagArgs]
    A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
    displayName String
    Display name of the resource.
    gatewayPath String
    Policy Path for Tier0 Gateway.
    defaultOriginate Boolean
    A boolean flag to configure advertisement of default route into OSPF domain. Default is false.
    description String
    Description of the resource.
    ecmp Boolean
    A boolean flag to enable/disable ECMP. Default is true.
    enabled Boolean
    A boolean flag to enable/disable OSPF. Default is true.
    gracefulRestartMode String
    Graceful Restart Mode, one of HELPER_ONLY or DISABLED. Defaut is HELPER_ONLY.
    policyOspfConfigId String
    ID of the resource.
    summaryAddresses List<Property Map>
    Repeatable block to define addresses to summarize or filter external routes.
    tags List<Property Map>
    A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PolicyOspfConfig resource produces the following output properties:

    GatewayId string
    Tier0 Gateway ID on which OSPF is configured.
    Id string
    The provider-assigned unique ID for this managed resource.
    LocaleServiceId string
    Tier0 Gateway Locale Service ID on which OSPF is configured.
    Path string
    The NSX path of the policy resource.
    Revision double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    GatewayId string
    Tier0 Gateway ID on which OSPF is configured.
    Id string
    The provider-assigned unique ID for this managed resource.
    LocaleServiceId string
    Tier0 Gateway Locale Service ID on which OSPF is configured.
    Path string
    The NSX path of the policy resource.
    Revision float64
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    gatewayId String
    Tier0 Gateway ID on which OSPF is configured.
    id String
    The provider-assigned unique ID for this managed resource.
    localeServiceId String
    Tier0 Gateway Locale Service ID on which OSPF is configured.
    path String
    The NSX path of the policy resource.
    revision Double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    gatewayId string
    Tier0 Gateway ID on which OSPF is configured.
    id string
    The provider-assigned unique ID for this managed resource.
    localeServiceId string
    Tier0 Gateway Locale Service ID on which OSPF is configured.
    path string
    The NSX path of the policy resource.
    revision number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    gateway_id str
    Tier0 Gateway ID on which OSPF is configured.
    id str
    The provider-assigned unique ID for this managed resource.
    locale_service_id str
    Tier0 Gateway Locale Service ID on which OSPF is configured.
    path str
    The NSX path of the policy resource.
    revision float
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    gatewayId String
    Tier0 Gateway ID on which OSPF is configured.
    id String
    The provider-assigned unique ID for this managed resource.
    localeServiceId String
    Tier0 Gateway Locale Service ID on which OSPF is configured.
    path String
    The NSX path of the policy resource.
    revision Number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.

    Look up Existing PolicyOspfConfig Resource

    Get an existing PolicyOspfConfig 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?: PolicyOspfConfigState, opts?: CustomResourceOptions): PolicyOspfConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            default_originate: Optional[bool] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            ecmp: Optional[bool] = None,
            enabled: Optional[bool] = None,
            gateway_id: Optional[str] = None,
            gateway_path: Optional[str] = None,
            graceful_restart_mode: Optional[str] = None,
            locale_service_id: Optional[str] = None,
            path: Optional[str] = None,
            policy_ospf_config_id: Optional[str] = None,
            revision: Optional[float] = None,
            summary_addresses: Optional[Sequence[PolicyOspfConfigSummaryAddressArgs]] = None,
            tags: Optional[Sequence[PolicyOspfConfigTagArgs]] = None) -> PolicyOspfConfig
    func GetPolicyOspfConfig(ctx *Context, name string, id IDInput, state *PolicyOspfConfigState, opts ...ResourceOption) (*PolicyOspfConfig, error)
    public static PolicyOspfConfig Get(string name, Input<string> id, PolicyOspfConfigState? state, CustomResourceOptions? opts = null)
    public static PolicyOspfConfig get(String name, Output<String> id, PolicyOspfConfigState state, CustomResourceOptions options)
    resources:  _:    type: nsxt:PolicyOspfConfig    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.
    The following state arguments are supported:
    DefaultOriginate bool
    A boolean flag to configure advertisement of default route into OSPF domain. Default is false.
    Description string
    Description of the resource.
    DisplayName string
    Display name of the resource.
    Ecmp bool
    A boolean flag to enable/disable ECMP. Default is true.
    Enabled bool
    A boolean flag to enable/disable OSPF. Default is true.
    GatewayId string
    Tier0 Gateway ID on which OSPF is configured.
    GatewayPath string
    Policy Path for Tier0 Gateway.
    GracefulRestartMode string
    Graceful Restart Mode, one of HELPER_ONLY or DISABLED. Defaut is HELPER_ONLY.
    LocaleServiceId string
    Tier0 Gateway Locale Service ID on which OSPF is configured.
    Path string
    The NSX path of the policy resource.
    PolicyOspfConfigId string
    ID of the resource.
    Revision double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    SummaryAddresses List<PolicyOspfConfigSummaryAddress>
    Repeatable block to define addresses to summarize or filter external routes.
    Tags List<PolicyOspfConfigTag>
    A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
    DefaultOriginate bool
    A boolean flag to configure advertisement of default route into OSPF domain. Default is false.
    Description string
    Description of the resource.
    DisplayName string
    Display name of the resource.
    Ecmp bool
    A boolean flag to enable/disable ECMP. Default is true.
    Enabled bool
    A boolean flag to enable/disable OSPF. Default is true.
    GatewayId string
    Tier0 Gateway ID on which OSPF is configured.
    GatewayPath string
    Policy Path for Tier0 Gateway.
    GracefulRestartMode string
    Graceful Restart Mode, one of HELPER_ONLY or DISABLED. Defaut is HELPER_ONLY.
    LocaleServiceId string
    Tier0 Gateway Locale Service ID on which OSPF is configured.
    Path string
    The NSX path of the policy resource.
    PolicyOspfConfigId string
    ID of the resource.
    Revision float64
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    SummaryAddresses []PolicyOspfConfigSummaryAddressArgs
    Repeatable block to define addresses to summarize or filter external routes.
    Tags []PolicyOspfConfigTagArgs
    A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
    defaultOriginate Boolean
    A boolean flag to configure advertisement of default route into OSPF domain. Default is false.
    description String
    Description of the resource.
    displayName String
    Display name of the resource.
    ecmp Boolean
    A boolean flag to enable/disable ECMP. Default is true.
    enabled Boolean
    A boolean flag to enable/disable OSPF. Default is true.
    gatewayId String
    Tier0 Gateway ID on which OSPF is configured.
    gatewayPath String
    Policy Path for Tier0 Gateway.
    gracefulRestartMode String
    Graceful Restart Mode, one of HELPER_ONLY or DISABLED. Defaut is HELPER_ONLY.
    localeServiceId String
    Tier0 Gateway Locale Service ID on which OSPF is configured.
    path String
    The NSX path of the policy resource.
    policyOspfConfigId String
    ID of the resource.
    revision Double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    summaryAddresses List<PolicyOspfConfigSummaryAddress>
    Repeatable block to define addresses to summarize or filter external routes.
    tags List<PolicyOspfConfigTag>
    A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
    defaultOriginate boolean
    A boolean flag to configure advertisement of default route into OSPF domain. Default is false.
    description string
    Description of the resource.
    displayName string
    Display name of the resource.
    ecmp boolean
    A boolean flag to enable/disable ECMP. Default is true.
    enabled boolean
    A boolean flag to enable/disable OSPF. Default is true.
    gatewayId string
    Tier0 Gateway ID on which OSPF is configured.
    gatewayPath string
    Policy Path for Tier0 Gateway.
    gracefulRestartMode string
    Graceful Restart Mode, one of HELPER_ONLY or DISABLED. Defaut is HELPER_ONLY.
    localeServiceId string
    Tier0 Gateway Locale Service ID on which OSPF is configured.
    path string
    The NSX path of the policy resource.
    policyOspfConfigId string
    ID of the resource.
    revision number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    summaryAddresses PolicyOspfConfigSummaryAddress[]
    Repeatable block to define addresses to summarize or filter external routes.
    tags PolicyOspfConfigTag[]
    A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
    default_originate bool
    A boolean flag to configure advertisement of default route into OSPF domain. Default is false.
    description str
    Description of the resource.
    display_name str
    Display name of the resource.
    ecmp bool
    A boolean flag to enable/disable ECMP. Default is true.
    enabled bool
    A boolean flag to enable/disable OSPF. Default is true.
    gateway_id str
    Tier0 Gateway ID on which OSPF is configured.
    gateway_path str
    Policy Path for Tier0 Gateway.
    graceful_restart_mode str
    Graceful Restart Mode, one of HELPER_ONLY or DISABLED. Defaut is HELPER_ONLY.
    locale_service_id str
    Tier0 Gateway Locale Service ID on which OSPF is configured.
    path str
    The NSX path of the policy resource.
    policy_ospf_config_id str
    ID of the resource.
    revision float
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    summary_addresses Sequence[PolicyOspfConfigSummaryAddressArgs]
    Repeatable block to define addresses to summarize or filter external routes.
    tags Sequence[PolicyOspfConfigTagArgs]
    A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
    defaultOriginate Boolean
    A boolean flag to configure advertisement of default route into OSPF domain. Default is false.
    description String
    Description of the resource.
    displayName String
    Display name of the resource.
    ecmp Boolean
    A boolean flag to enable/disable ECMP. Default is true.
    enabled Boolean
    A boolean flag to enable/disable OSPF. Default is true.
    gatewayId String
    Tier0 Gateway ID on which OSPF is configured.
    gatewayPath String
    Policy Path for Tier0 Gateway.
    gracefulRestartMode String
    Graceful Restart Mode, one of HELPER_ONLY or DISABLED. Defaut is HELPER_ONLY.
    localeServiceId String
    Tier0 Gateway Locale Service ID on which OSPF is configured.
    path String
    The NSX path of the policy resource.
    policyOspfConfigId String
    ID of the resource.
    revision Number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    summaryAddresses List<Property Map>
    Repeatable block to define addresses to summarize or filter external routes.
    tags List<Property Map>
    A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.

    Supporting Types

    PolicyOspfConfigSummaryAddress, PolicyOspfConfigSummaryAddressArgs

    bool
    A boolean flag to configure advertisement of external routes into the OSPF domain. Default is true.
    Prefix string
    OSPF Summary address in CIDR format.
    bool
    A boolean flag to configure advertisement of external routes into the OSPF domain. Default is true.
    Prefix string
    OSPF Summary address in CIDR format.
    Boolean
    A boolean flag to configure advertisement of external routes into the OSPF domain. Default is true.
    prefix String
    OSPF Summary address in CIDR format.
    boolean
    A boolean flag to configure advertisement of external routes into the OSPF domain. Default is true.
    prefix string
    OSPF Summary address in CIDR format.
    bool
    A boolean flag to configure advertisement of external routes into the OSPF domain. Default is true.
    prefix str
    OSPF Summary address in CIDR format.
    Boolean
    A boolean flag to configure advertisement of external routes into the OSPF domain. Default is true.
    prefix String
    OSPF Summary address in CIDR format.

    PolicyOspfConfigTag, PolicyOspfConfigTagArgs

    Scope string
    Tag string
    A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
    Scope string
    Tag string
    A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
    scope String
    tag String
    A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
    scope string
    tag string
    A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
    scope str
    tag str
    A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
    scope String
    tag String
    A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.

    Import

    ing

    Importing the resource is not supported - creating the resource would update it to desired state on backend.

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    nsxt vmware/terraform-provider-nsxt
    License
    Notes
    This Pulumi package is based on the nsxt Terraform Provider.
    nsxt logo
    nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware