ansible-for-nsxt
ansible-for-nsxt copied to clipboard
updating NSX Configuration to host node mady by vcenter
I used test_transport_nodes.yml to update NSX Configuration of host node. It worked for indepedent host node but not for host node made by vcenter. is there any yml file to update nsx configuration of host node made by vcenter ??
In addition, I know I can update NSX configuration per cluster made by vcenter using test_transport_node_collections.yml. but I just want to make NSX configuraion per host not cluster.
Hi, independent ESXi hosts (managed by vCenter) can be configured for NSX using the nsxt_transport_nodes module. Please look at the example playbook here: https://github.com/vmware/ansible-for-nsxt/blob/master/examples/setup_infra/04_create_transport_nodes.yml
The Transport Nodes are defined in the variable file here: https://github.com/vmware/ansible-for-nsxt/blob/master/examples/setup_infra/setup_infra_vars.yml#L120
The nsxt_transport_nodes modules can configure the following types of Transport Nodes:
- Standalone ESXi hosts
- ESXi hosts managed by vCenter
- Standalone KVM hosts
- Edge Transport Nodes (VM form factor)
- Edge Transport Nodes (Baremetal)
The request to configure NSX per vCenter cluster is an enhancement. I will file a separate issue to track that.
Thanks!