nsxt.PolicyOspfConfig
Explore with Pulumi AI
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:
- Display
Name string - Display name of the resource.
- Gateway
Path string - Policy Path for Tier0 Gateway.
- Default
Originate 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
. - Graceful
Restart stringMode - Graceful Restart Mode, one of
HELPER_ONLY
orDISABLED
. Defaut isHELPER_ONLY
. - Policy
Ospf stringConfig Id - ID of the resource.
- Summary
Addresses List<PolicyOspf Config Summary Address> - Repeatable block to define addresses to summarize or filter external routes.
- List<Policy
Ospf Config Tag> - A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
- Display
Name string - Display name of the resource.
- Gateway
Path string - Policy Path for Tier0 Gateway.
- Default
Originate 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
. - Graceful
Restart stringMode - Graceful Restart Mode, one of
HELPER_ONLY
orDISABLED
. Defaut isHELPER_ONLY
. - Policy
Ospf stringConfig Id - ID of the resource.
- Summary
Addresses []PolicyOspf Config Summary Address Args - Repeatable block to define addresses to summarize or filter external routes.
- []Policy
Ospf Config Tag Args - A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
- display
Name String - Display name of the resource.
- gateway
Path String - Policy Path for Tier0 Gateway.
- default
Originate 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
. - graceful
Restart StringMode - Graceful Restart Mode, one of
HELPER_ONLY
orDISABLED
. Defaut isHELPER_ONLY
. - policy
Ospf StringConfig Id - ID of the resource.
- summary
Addresses List<PolicyOspf Config Summary Address> - Repeatable block to define addresses to summarize or filter external routes.
- List<Policy
Ospf Config Tag> - A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
- display
Name string - Display name of the resource.
- gateway
Path string - Policy Path for Tier0 Gateway.
- default
Originate 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
. - graceful
Restart stringMode - Graceful Restart Mode, one of
HELPER_ONLY
orDISABLED
. Defaut isHELPER_ONLY
. - policy
Ospf stringConfig Id - ID of the resource.
- summary
Addresses PolicyOspf Config Summary Address[] - Repeatable block to define addresses to summarize or filter external routes.
- Policy
Ospf Config Tag[] - 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_ strmode - Graceful Restart Mode, one of
HELPER_ONLY
orDISABLED
. Defaut isHELPER_ONLY
. - policy_
ospf_ strconfig_ id - ID of the resource.
- summary_
addresses Sequence[PolicyOspf Config Summary Address Args] - Repeatable block to define addresses to summarize or filter external routes.
- Sequence[Policy
Ospf Config Tag Args] - A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
- display
Name String - Display name of the resource.
- gateway
Path String - Policy Path for Tier0 Gateway.
- default
Originate 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
. - graceful
Restart StringMode - Graceful Restart Mode, one of
HELPER_ONLY
orDISABLED
. Defaut isHELPER_ONLY
. - policy
Ospf StringConfig Id - ID of the resource.
- summary
Addresses List<Property Map> - Repeatable block to define addresses to summarize or filter external routes.
- 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:
- Gateway
Id string - Tier0 Gateway ID on which OSPF is configured.
- Id string
- The provider-assigned unique ID for this managed resource.
- Locale
Service stringId - 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.
- Gateway
Id string - Tier0 Gateway ID on which OSPF is configured.
- Id string
- The provider-assigned unique ID for this managed resource.
- Locale
Service stringId - 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.
- gateway
Id String - Tier0 Gateway ID on which OSPF is configured.
- id String
- The provider-assigned unique ID for this managed resource.
- locale
Service StringId - 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.
- gateway
Id string - Tier0 Gateway ID on which OSPF is configured.
- id string
- The provider-assigned unique ID for this managed resource.
- locale
Service stringId - 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_ strid - 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.
- gateway
Id String - Tier0 Gateway ID on which OSPF is configured.
- id String
- The provider-assigned unique ID for this managed resource.
- locale
Service StringId - 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.
- Default
Originate bool - A boolean flag to configure advertisement of default route into OSPF domain. Default is
false
. - Description string
- Description of the resource.
- Display
Name 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
. - Gateway
Id string - Tier0 Gateway ID on which OSPF is configured.
- Gateway
Path string - Policy Path for Tier0 Gateway.
- Graceful
Restart stringMode - Graceful Restart Mode, one of
HELPER_ONLY
orDISABLED
. Defaut isHELPER_ONLY
. - Locale
Service stringId - Tier0 Gateway Locale Service ID on which OSPF is configured.
- Path string
- The NSX path of the policy resource.
- Policy
Ospf stringConfig Id - 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.
- Summary
Addresses List<PolicyOspf Config Summary Address> - Repeatable block to define addresses to summarize or filter external routes.
- List<Policy
Ospf Config Tag> - 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 string
- Description of the resource.
- Display
Name 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
. - Gateway
Id string - Tier0 Gateway ID on which OSPF is configured.
- Gateway
Path string - Policy Path for Tier0 Gateway.
- Graceful
Restart stringMode - Graceful Restart Mode, one of
HELPER_ONLY
orDISABLED
. Defaut isHELPER_ONLY
. - Locale
Service stringId - Tier0 Gateway Locale Service ID on which OSPF is configured.
- Path string
- The NSX path of the policy resource.
- Policy
Ospf stringConfig Id - 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.
- Summary
Addresses []PolicyOspf Config Summary Address Args - Repeatable block to define addresses to summarize or filter external routes.
- []Policy
Ospf Config Tag Args - A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
- default
Originate Boolean - A boolean flag to configure advertisement of default route into OSPF domain. Default is
false
. - description String
- Description of the resource.
- display
Name 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
. - gateway
Id String - Tier0 Gateway ID on which OSPF is configured.
- gateway
Path String - Policy Path for Tier0 Gateway.
- graceful
Restart StringMode - Graceful Restart Mode, one of
HELPER_ONLY
orDISABLED
. Defaut isHELPER_ONLY
. - locale
Service StringId - Tier0 Gateway Locale Service ID on which OSPF is configured.
- path String
- The NSX path of the policy resource.
- policy
Ospf StringConfig Id - 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.
- summary
Addresses List<PolicyOspf Config Summary Address> - Repeatable block to define addresses to summarize or filter external routes.
- List<Policy
Ospf Config Tag> - A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
- default
Originate boolean - A boolean flag to configure advertisement of default route into OSPF domain. Default is
false
. - description string
- Description of the resource.
- display
Name 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
. - gateway
Id string - Tier0 Gateway ID on which OSPF is configured.
- gateway
Path string - Policy Path for Tier0 Gateway.
- graceful
Restart stringMode - Graceful Restart Mode, one of
HELPER_ONLY
orDISABLED
. Defaut isHELPER_ONLY
. - locale
Service stringId - Tier0 Gateway Locale Service ID on which OSPF is configured.
- path string
- The NSX path of the policy resource.
- policy
Ospf stringConfig Id - 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.
- summary
Addresses PolicyOspf Config Summary Address[] - Repeatable block to define addresses to summarize or filter external routes.
- Policy
Ospf Config Tag[] - 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_ strmode - Graceful Restart Mode, one of
HELPER_ONLY
orDISABLED
. Defaut isHELPER_ONLY
. - locale_
service_ strid - Tier0 Gateway Locale Service ID on which OSPF is configured.
- path str
- The NSX path of the policy resource.
- policy_
ospf_ strconfig_ id - 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[PolicyOspf Config Summary Address Args] - Repeatable block to define addresses to summarize or filter external routes.
- Sequence[Policy
Ospf Config Tag Args] - A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
- default
Originate Boolean - A boolean flag to configure advertisement of default route into OSPF domain. Default is
false
. - description String
- Description of the resource.
- display
Name 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
. - gateway
Id String - Tier0 Gateway ID on which OSPF is configured.
- gateway
Path String - Policy Path for Tier0 Gateway.
- graceful
Restart StringMode - Graceful Restart Mode, one of
HELPER_ONLY
orDISABLED
. Defaut isHELPER_ONLY
. - locale
Service StringId - Tier0 Gateway Locale Service ID on which OSPF is configured.
- path String
- The NSX path of the policy resource.
- policy
Ospf StringConfig Id - 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.
- summary
Addresses List<Property Map> - Repeatable block to define addresses to summarize or filter external routes.
- List<Property Map>
- A list of scope + tag pairs to associate with this Tier-0 gateway's OSPF configuration.
Supporting Types
PolicyOspfConfigSummaryAddress, PolicyOspfConfigSummaryAddressArgs
PolicyOspfConfigTag, PolicyOspfConfigTagArgs
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.