ansible-for-nsxt
ansible-for-nsxt copied to clipboard
Fix VRF integration with NSX-T 3.1
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]
Resolves #350
THanks @jaymzmac have you verified it with NSX-t 3.0 as well?
@ggverma No, unfortunately I only have access to NSX-T 3.1 in my environment.
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.