vmware-archive / powernsx

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

No method to add secondary IP address to NSX ESG interfaces #430

Open kevsterd opened 6 years ago

kevsterd commented 6 years ago

When adding NAT entries to an ESG, there is no method to add just a secondary address to the ESG's interface which is mandatory for flows.

Ideally this logic would be added automatically when a NAT rule is added but for now and extension to the Add-NsxEdgeInterfaceAddress method just to add secondary addresses would be good

alagoutte commented 6 years ago

i think missing a Set-NsxEdgeInterfaceAddress cmdlet for modify (Primary and) Secondary Address of one interface

kevsterd commented 6 years ago

Don't mind the actual method just need to be able to set them..... Its a shame NSX doesn't expose NAT address arp's automatically however this would be a good start.

nmbradford commented 6 years ago

you could do this manually as follows -

The main step in the above that requires work is best done using XPath which can be a bit arcane. Ill accept this request as a feature req for next version and will try to add to New-NsxEdgeNatRule