The default cluster can be renamed

* dicos/29_one-master.xml: “one_cluster_name” store the name of the
  default cluster.

* postservice/30-one-mng: take care of the customizable cluster name.

* postservice/31-one-netmng: ditoo.

* scripts/onehost_create_all: ditoo.

Ref: #23553
This commit is contained in:
Daniel Dehennin
2018-04-09 10:23:41 +02:00
parent 1a911bd9fc
commit 939f1b7591
4 changed files with 38 additions and 49 deletions

View File

@ -289,9 +289,7 @@ def main():
client = CreoleClient()
one_client = OneClient('oneadmin')
networks = []
# ref https://dev-eole.ac-dijon.fr/issues/16797
# cluster = client.get_creole('one_cluster_name')
cluster = "default"
cluster = client.get_creole('one_cluster_name')
swname = client.get_creole('ovs_sw_name')
zones = client.get_creole('vnets')
vlans = client.get_creole('vnet_vlan_tag')