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

Get paths for route maps on Tier0 #383

Closed
pokepoke81 opened this issue Jul 2, 2020 · 4 comments · Fixed by #548
Closed

Get paths for route maps on Tier0 #383

pokepoke81 opened this issue Jul 2, 2020 · 4 comments · Fixed by #548
Labels
bug Bug enhancement Enhancement

Comments

@pokepoke81
Copy link

Looking at BGP Neighbor config, is there a way to create or programmatically get the path to a route map?

BGP Neighbor Policy

I'm looking to set the out filter

out_route_filter- (Optional) Path of prefix-list or route map to filter routes for OUT direction.

I can hard code it in, but how can I set it as a data source?

@tvigneron tvigneron added the enhancement Enhancement label Jul 7, 2020
@tvigneron
Copy link
Collaborator

Hello,
The data source is not available as of now, it is on the roadmap.

@pokepoke81
Copy link
Author

What is the format for the paths? I'm currently trying it like this, but it doesn't work. No error and no out route:

out_route_filter = "/infra/tier-0s/a5cc9929-d9eb-4d7e-affa-bbc2cee771dd/route-maps/Primary_Policy"

That string is the policy path I copy from the NSX UI.

@annakhm annakhm added the bug Bug label Jul 8, 2020
@annakhm
Copy link
Collaborator

annakhm commented Jul 8, 2020

Thanks @pokepoke81, indeed there is a bug in this area. Fixing with https://github.com/terraform-providers/terraform-provider-nsxt/pull/387

@annakhm annakhm linked a pull request Jan 28, 2021 that will close this issue
@annakhm
Copy link
Collaborator

annakhm commented Jan 28, 2021

Route Map resource was added, thus closing this.

@annakhm annakhm closed this as completed Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug enhancement Enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants