vmware / ansible-for-nsxt

Ansible delivers simple IT automation that ends repetitive tasks and frees up DevOps teams for more strategic work. This project is to enable this automation for NSX-T installation.
Other
171 stars 140 forks source link

Support nsx-t impactor create transport zone api #401

Open lxiaopei opened 2 years ago

lxiaopei commented 2 years ago

This is the create transport zone api changes for NSX-T impactor.

Create a Transport Zone

Creates a new transport zone. The required parameters are host_switch_name and transport_type (OVERLAY or VLAN). The optional parameters are description and display_name. This api is now deprecated. Please use new api - PUT /infra/sites//enforcement-points/<enforcementpoint- id>/transport-zones/

Could you help update the ansible module? Thanks a lot.

hawa-b commented 2 years ago

related to nsxt_transport_zones.py @avoltmer can you please clarify: Are transport zones part of the policy model? In the NSX Manager GUI, they can be found under System/Fabric/Transportzones, where there is no distinction by Policy/Manager API. Do we need a new module nsxt_policy_transport_zones or can nsxt_transport_zones still be used?