1. A method for establishing connectivity of nodes in a cloud cluster to a network switch, the method comprising: receiving, by the network switch, a configuration of a switch port group on the network switch, wherein the switch port group comprises ports configured for the cloud cluster, and respective ones of the nodes are connected to respective ones of the ports; receiving from one of the nodes, by the network switch, a request for information of the switch port group; sending to the one of the nodes, by the network switch, the information of the switch port group, wherein the information comprises IP (Internet Protocol) addresses and VLAN (Virtual Local Area Network) addresses available in the switch port group; and in response to determining that the one of the nodes is connected to one of ports that are not in the switch port group, sending to the one of the nodes, by the network switch, information of only the one of the ports that are not in the switch port group; wherein the one of the nodes assigns automatically the IP and VLAN addresses to the nodes in the cloud cluster, the information of the switch port group is stored by the one of the nodes, the information is used by the one of the nodes to assign the IP and VLAN addresses to the nodes in the cloud cluster, the information is used by the one of the nodes to establish a topology of the cloud cluster, and the connectivity of the nodes in the cloud cluster to the network switch is established by the one of the nodes.