def ovs_cluster(system, default_data_center): OVS_CLUSTER_NAME = 'ovs-cluster' with clusterlib.cluster(system, default_data_center, OVS_CLUSTER_NAME) as ovs_cluster: ovs_cluster.network_switch_type = clusterlib.SwitchType.OVS yield ovs_cluster
def cluster_0(system, default_data_center): with clusterlib.cluster(system, default_data_center, 'c0') as c0: yield c0
def cluster_1(system, default_data_center): with clusterlib.cluster(system, default_data_center, 'c1') as c1: yield c1
def ovs_cluster(system, default_data_center): OVS_CLUSTER_NAME = 'ovs-cluster' with clusterlib.cluster( system, default_data_center, OVS_CLUSTER_NAME) as ovs_cluster: ovs_cluster.set_network_switch_type(clusterlib.SwitchType.OVS) yield ovs_cluster