vmware-archive / powernsx

PowerShell module that abstracts the VMware NSX-v API to a set of easily used PowerShell functions
173 stars 90 forks source link

Configuring BGP route filters #555

Open trevorputbrese opened 5 years ago

trevorputbrese commented 5 years ago

This isn't an issue, so much as a question. I know PowerNSX provides a way to deploy an Edge and configure a BGP neighbor. Are there cmdlets to also configure BGP route filters? I skimmed the PowerNSX book and didn't see anything, but I may very well have missed it. Basically, I'd like to know if it's possible to replace the XML in the attachment (submitted via PowerShell) with a PowerNSX command.

API call - route filters.txt

nmbradford commented 5 years ago

I think that's a gap unfortunately, but you should at least take a look at invoke-nsxwebrequest which will make your life easier WRT handling raw XML with NSX.

alagoutte commented 5 years ago

You can look also Set-NsxEdgeBgp, you can update directly xml configuration of BGP...