Esempio n. 1
0
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
Esempio n. 2
0
def cluster_0(system, default_data_center):
    with clusterlib.cluster(system, default_data_center, 'c0') as c0:
        yield c0
Esempio n. 3
0
def cluster_1(system, default_data_center):
    with clusterlib.cluster(system, default_data_center, 'c1') as c1:
        yield c1
Esempio n. 4
0
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