def config_show(argv): print "Cluster Name: %s" % utils.getClusterName() status.nodes_status(["config"]) print "" print "" config_show_cib() cluster.cluster_uidgid([], True)
def config_show(argv): print("Cluster Name: %s" % utils.getClusterName()) status.nodes_status(["config"]) print("") print("") config_show_cib() cluster.cluster_uidgid([], True)
def print_config(): status.nodes_status(["config"]) print "" print "" print "Resources: " utils.pcs_options["--all"] = 1 resource.resource_show([]) print "" constraint.location_show([]) constraint.order_show([]) constraint.colocation_show([]) print "" prop.list_property([])
def print_config(): print "Cluster Name: %s" % utils.getClusterName() status.nodes_status(["config"]) print "" print "" print "Resources: " utils.pcs_options["--all"] = 1 resource.resource_show([]) print "" print "Stonith Devices: " resource.resource_show([], True) print "Fencing Levels: " print "" stonith.stonith_level_show() constraint.location_show([]) constraint.order_show([]) constraint.colocation_show([]) print "" del utils.pcs_options["--all"] prop.list_property([])