ansible-for-nsxt icon indicating copy to clipboard operation
ansible-for-nsxt copied to clipboard

Fix VRF integration with NSX-T 3.1

Open jaymzmac opened this issue 3 years ago • 4 comments

In the current master branch, it is not possible to create a VRF gateway against an NSX-T 3.1 installation.

I have fixed this by making the following changes to the tier0 policy module:

  • Removing "display_name", "id", "description", and "resource_type" properties from vrf_config as these are not valid and currently result in the following error message: "msg": "Received 400 from NSX Manager. Please try again. Json de-serialization error: property <property_name> is unrecognized."

  • Unsetting the default for the multipath_relax property as this is not valid for a VRF gateway and results in the following error message: Error[(400, {'httpStatus': 'BAD_REQUEST', 'error_code': 503175, 'module_name': 'Policy', 'error_message': 'Only ecmp, enabled, BGP Aggregate to be configured for VRF BGP Config.'})]

Signed-off-by: James McEwan [email protected]

jaymzmac avatar Apr 08 '21 14:04 jaymzmac

Resolves #350

jaymzmac avatar Apr 08 '21 14:04 jaymzmac

THanks @jaymzmac have you verified it with NSX-t 3.0 as well?

ggverma avatar Apr 09 '21 00:04 ggverma

@ggverma No, unfortunately I only have access to NSX-T 3.1 in my environment.

jaymzmac avatar Apr 09 '21 07:04 jaymzmac

I've successfully tested the changes in this branch on NSXT 3.1 environment. Please merge soon, so that my project can continue to utilize this module.

chaddchaffee avatar May 07 '21 14:05 chaddchaffee