Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to configure route redistribution for T0 Gateway #409

Closed
tdr2d opened this issue Jul 30, 2020 · 1 comment
Closed

Ability to configure route redistribution for T0 Gateway #409

tdr2d opened this issue Jul 30, 2020 · 1 comment

Comments

@tdr2d
Copy link
Contributor

tdr2d commented Jul 30, 2020

Hello,

I'd like to fully automate the creation of the NSX-T infrastructure, I use a lot of static routing instead of BGP.
Could you provide the ability to configure the route redistribution for T0 Gateways, or give a hint for starting the development if it's easy ?

It is located on this endpoint :

https://nsx-manager.my-corp.priv/policy/api/v1/infra/tier-0s/ca9f8812-9ebf-4f3c-97bc-c379210f6f5d/locale-services count: 1
[{'_create_time': 1596110461754,
  '_create_user': 'admin',
  '_last_modified_time': 1596111003490,
  '_last_modified_user': 'admin',
  '_protection': 'NOT_PROTECTED',
  '_revision': 1,
  '_system_owned': False,
  'display_name': 'default',
  'edge_cluster_path': '/infra/sites/default/enforcement-points/default/edge-clusters/31233233-547e-40de-ae47-3a2096c45ecd',
  'id': 'default',
  'marked_for_delete': False,
  'overridden': False,
  'parent_path': '/infra/tier-0s/ca9f8812-9ebf-4f3c-97bc-c379210f6f5d',
  'path': '/infra/tier-0s/ca9f8812-9ebf-4f3c-97bc-c379210f6f5d/locale-services/default',
  'relative_path': 'default',
  'resource_type': 'LocaleServices',
  'route_redistribution_config': {'bgp_enabled': True,
                                  'enabled': True,
                                  'redistribution_rules': [{'name': 't0_distrib',
                                                            'route_redistribution_types': ['TIER0_CONNECTED',
                                                                                           'TIER1_NAT',
                                                                                           'TIER1_CONNECTED',
                                                                                           'TIER0_STATIC']}]},
  'unique_id': 'eb1b9572-bce7-4d04-8085-cafc610c97a9'}]

https://vdc-download.vmware.com/vmwb-repository/dcr-public/9e1c6bcc-85db-46b6-bc38-d6d2431e7c17/30af91b5-3a91-4d5d-8ed5-a7d806764a16/api_includes/policy_networking_connectivity_tier-0_gateways_tier-0_locale_services.html

@annakhm
Copy link
Collaborator

annakhm commented Jul 30, 2020

Hello @Thomas-Webber, this is already coded with https://github.com/terraform-providers/terraform-provider-nsxt/pull/363. Next release of the provider will offer this.

@annakhm annakhm closed this as completed Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants