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

updating NSX Configuration to host node mady by vcenter #120

Open joungwoongpark opened 5 years ago

joungwoongpark commented 5 years ago

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. 3 nsx configuration

madhukark commented 4 years ago

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:

The request to configure NSX per vCenter cluster is an enhancement. I will file a separate issue to track that.

Thanks!